:root{color-scheme:dark;font-family:Georgia,'Times New Roman',serif;color:#f0e4c8;background:#172b31}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}#view{display:block;width:100%;height:100%;outline:none;touch-action:none}button,a{-webkit-tap-highlight-color:transparent}button{font:12px 'Segoe UI',sans-serif;color:#e5ddc9;background:#162c34bb;border:1px solid #d1c4a53d;border-radius:5px;padding:10px 14px;cursor:pointer;transition:background .15s,border-color .15s}button:hover,button:focus-visible{background:#3b514d;border-color:#e2d09b;outline:2px solid #d7bc7b55;outline-offset:3px}a{color:inherit;text-decoration:none}header{position:absolute;top:0;left:0;width:100%;padding:20px 30px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#0d1e28dd,transparent);pointer-events:none}header a{font-size:27px;display:flex;align-items:center;gap:12px;pointer-events:auto}header a span{font:11px 'Segoe UI',sans-serif;letter-spacing:3px}header>div{display:flex;align-items:center;gap:10px;pointer-events:auto}#pad{font:11px 'Segoe UI',sans-serif;color:#c3cfbd;margin-right:8px}kbd{font:11px 'Segoe UI',sans-serif}.eyebrow{font:10px 'Segoe UI',sans-serif;letter-spacing:2.5px;color:#d4c399;margin:0 0 10px}#place{position:absolute;left:32px;top:101px;max-width:560px;pointer-events:none;text-shadow:0 2px 10px #101d23}h1{font-size:35px;font-weight:400;line-height:1.1;margin:0 0 12px}#objective{font:13px 'Segoe UI',sans-serif;color:#dfdfcb;max-width:400px;line-height:1.6;margin:0}#reticle{position:absolute;left:50%;top:50%;height:4px;width:4px;border-radius:50%;background:#f3e6bb55;pointer-events:none}#prompt{position:absolute;left:50%;bottom:177px;transform:translateX(-50%);font:13px 'Segoe UI',sans-serif;background:#152e35e8;border:1px solid #cfbc8e88;border-radius:6px;padding:12px 21px;max-width:80vw;text-align:center;pointer-events:none;box-shadow:0 3px 16px #0003}#prompt:empty{display:none}#companion{position:absolute;bottom:53px;left:26px;right:26px;max-width:800px;padding:15px 18px;display:flex;gap:16px;align-items:center;background:linear-gradient(90deg,#10232de8,#10232d9c);border:1px solid #d8c18b22;border-radius:8px;backdrop-filter:blur(9px)}.face{font:27px monospace;letter-spacing:-3px;border:1px solid #a1c3b178;box-shadow:0 0 17px #93dbad15;background:#214c42;color:#aad5b1;border-radius:7px;padding:9px 12px}#companion .eyebrow{font-size:9px;margin-bottom:5px}#line{font-size:16px;line-height:1.5;margin:0}#patch{margin-left:auto;color:#d5c291;border-radius:50%;height:32px;width:32px;padding:0;flex-shrink:0}footer{position:absolute;left:30px;right:30px;bottom:17px;display:flex;justify-content:space-between;gap:20px;font:10px 'Segoe UI',sans-serif;color:#e5dfc9cc;pointer-events:none;text-shadow:0 1px 5px #000}footer b{font-size:9px;border:1px solid #e0d2a844;border-radius:3px;padding:2px 4px;margin:0 3px 0 7px;font-weight:400}#saved{padding-left:18px;color:#b7d3b3}#memory-count{position:absolute;right:30px;bottom:82px;font:17px 'Segoe UI',sans-serif;background:#132833bd;border:1px solid #d8c18b22;padding:12px 18px;border-radius:6px}.spark{color:#e8ce90;font-size:26px;vertical-align:middle;margin-right:8px}#memory-count small{display:block;font-size:8px;letter-spacing:2px;color:#b4c3b1;margin-top:3px}dialog{border:1px solid #b6bd9c66;border-radius:12px;background:#172e38f5;color:#e9dfc9;padding:0;width:min(620px,90vw);max-height:85vh;box-shadow:0 30px 120px #0009}dialog::backdrop{background:#07151ba8;backdrop-filter:blur(5px)}.panel-inner{position:relative;padding:42px}dialog h2{font-size:35px;font-weight:400;line-height:1.18;margin:0 0 23px}#panel-body p{font-size:15px;line-height:1.8;color:#ced4c6;margin:12px 0}#panel-body strong{color:#e8d9b4;font-weight:400}#panel-body .controls{font:13px 'Segoe UI',sans-serif;line-height:2.1}#panel-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}#panel-actions button:first-child{color:#192d33;background:#d7c18f;border-color:#d7c18f}#close{position:absolute;top:12px;right:13px;border:0;background:transparent;font-size:21px;padding:3px 9px}#loading{position:absolute;inset:0;z-index:10;background:#172b31;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#e7d4aa}#loading .mark{font-size:65px}#loading p{font-size:27px;margin:20px 0 12px}#loading small{font:12px 'Segoe UI',sans-serif;color:#b1c3b5}#loading[hidden]{display:none}@media(max-width:760px){header{padding:14px}header a span{display:none}#pad{display:none}header>div{gap:5px}header button{padding:8px}#place{left:18px;top:82px}h1{font-size:27px}.eyebrow{font-size:8px}#companion{left:12px;right:12px;bottom:46px;padding:10px;gap:10px}.face{font-size:20px;padding:7px}#line{font-size:13px}#memory-count{bottom:150px;right:14px;font-size:13px}footer{left:14px;right:14px;font-size:9px}footer span:last-child{display:none}.panel-inner{padding:30px}dialog h2{font-size:29px}#prompt{bottom:230px;font-size:11px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

#companion{display:none}#speech{position:fixed;z-index:8;transform:translate(-50%,-100%);padding:18px 21px;color:#20333a;background:#f5ecd8;border:2px solid #bfa978;border-radius:23px;box-shadow:0 9px 35px #0005;font:16px/1.55 'Segoe UI',sans-serif;max-height:min(62vh,500px);overflow:visible}#speech[hidden]{display:none}#speech::after{content:'';position:absolute;bottom:-15px;left:calc(50% - 10px);border-top:16px solid #f5ecd8;border-left:11px solid transparent;border-right:11px solid transparent}#speech strong{display:block;color:#5f6250;font-size:14px;letter-spacing:.07em;margin-bottom:7px}#speech-text{max-height:36vh;overflow:auto}#speech-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}#speech-actions:empty{display:none}#speech button{font-size:14px;color:#f4ecd8;background:#3f5d59;border:1px solid #6f8872;padding:9px 12px}#speech button:focus-visible{outline:3px solid #b78a3d;outline-offset:3px}#speech.offscreen::after{display:none}#speech:not(.conversation){pointer-events:none;max-width:360px}header button{font-size:14px}#prompt{bottom:95px}body:has(#speech.conversation:not([hidden])) #prompt{display:none}@media(max-width:760px){header>div{max-width:85vw;overflow:auto}header button{white-space:nowrap;font-size:12px}#speech{font-size:15px;padding:14px 16px}#place{max-width:75vw}}

body.gathering #place,body.gathering #memory-count,body.gathering footer{display:none}body.gathering header{opacity:.45}body.gathering header:hover{opacity:1}

body.gathering #place,body.gathering #memory-count,body.gathering footer{display:none}body.gathering header{opacity:.45}body.gathering header:hover{opacity:1}

#credits{position:fixed;inset:0;z-index:30;background:radial-gradient(ellipse at 19% 52%,#375a63 0,#162b42 46%,#0b1629 100%);color:#f2e5c8;font:16px/1.55 'Segoe UI',sans-serif;overflow:auto;isolation:isolate}#credits[hidden]{display:none}.credit-top{display:flex;justify-content:space-between;gap:20px;padding:28px 40px;position:relative;z-index:2;font-size:12px;letter-spacing:.22em;color:#d5c49b}.credit-stars{position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle,#e2d7ad 1px,transparent 2px),radial-gradient(circle,#9bafb8 1px,transparent 2px);background-size:173px 137px,241px 197px;background-position:17px 30px,97px 66px;opacity:.3}.credit-stage{position:relative;display:grid;grid-template-columns:minmax(280px,.9fr) minmax(480px,1.25fr);align-items:center;gap:6vw;min-height:calc(100vh - 240px);max-width:1320px;margin:auto;padding:35px 48px 70px}.credit-house{height:430px;position:relative;background:linear-gradient(90deg,#3c6568,#537a75 50%,#3c6568);border:5px solid #b6a27c;border-radius:8px 8px 3px 3px;transform:rotate(-2deg);box-shadow:20px 23px 0 #0a192955,0 0 100px #b6c89815}.credit-roof{position:absolute;left:-34px;right:-34px;top:-87px;height:105px;background:#39505a;clip-path:polygon(50% 0,100% 85%,95% 100%,5% 100%,0 85%);filter:drop-shadow(0 5px #b6a27c)}.credit-house:before{content:'';position:absolute;left:20%;top:-62px;width:29px;height:54px;background:#9a8069;border:3px solid #bba280;z-index:-1}.credit-house:after{content:'';position:absolute;left:8%;right:8%;bottom:20px;height:5px;background:#b6a27c;box-shadow:0 -140px 0 #b6a27c,0 -280px 0 #b6a27c}.credit-windows{display:grid;grid-template-columns:repeat(3,1fr);gap:30px 22px;padding:35px 24px}.credit-window{height:115px;position:relative;border:5px solid #b4a580;background:#182f40;display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:4px;box-shadow:inset 0 0 14px #081c2c}.credit-window i{background:#526c74}.credit-window span{position:absolute;inset:0;display:grid;place-items:center;font:40px Georgia;color:#b3bcac;opacity:.35}.credit-window.lit i{background:#f0cd8a}.credit-window.lit{box-shadow:0 0 25px #ffd58e66}.credit-window.lit span{opacity:1;color:#665943;animation:credit-float 3s ease-in-out infinite}.credit-frontdoor{position:absolute;bottom:0;left:calc(50% - 31px);width:62px;height:105px;background:#243c46;border:4px solid #b6a27c;border-bottom:0;border-radius:40px 40px 0 0;text-align:center;padding-top:32px;font:28px Georgia;color:#e7cb8b}.credit-page{position:relative;min-height:400px;padding:8px 0;animation:credit-unfold .6s ease-out}.credit-label{font-size:12px;letter-spacing:.23em;color:#d5b57b}.credit-page h1{font:clamp(30px,3.2vw,49px)/1.08 Georgia,serif;letter-spacing:-.02em;margin:12px 0 26px;color:#f5e9ce}.credit-entries{display:grid;gap:21px}.credit-entries section{border-left:2px solid #acbead66;padding-left:18px}.credit-entries h2{font:24px/1.15 Georgia,serif;margin:0 0 5px;color:#f2d49d}.credit-role{font-size:14px;color:#a9c8c0;margin:0 0 5px}.credit-copy{font-size:16px;line-height:1.55;margin:0;color:#d4ded8;max-width:620px}.credit-quote{font:italic 21px/1.4 Georgia;color:#d6bd87;margin:27px 0 0}.credit-rail{height:56px;position:relative;overflow:hidden;margin-top:-36px}.credit-track{position:absolute;bottom:2px;left:0;right:0;height:8px;border-top:2px solid #ab9977;border-bottom:2px solid #ab9977;background:repeating-linear-gradient(90deg,transparent 0 22px,#8b7b64 22px 26px)}.credit-train{position:absolute;bottom:10px;display:flex;gap:8px;align-items:flex-end;animation:credit-journey 26s linear infinite;color:#b2c2a4;font-size:35px;line-height:1}.credit-train span{filter:drop-shadow(0 5px #111f2b)}.credit-train .train-lamp{color:#ffdd91;font-size:42px;text-shadow:0 0 18px #ffcc65}.credit-bottom{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 40px;background:#0c1b2c99;border-top:1px solid #c4b78733}.credit-dots{display:flex;gap:10vertex;gap:10px}.credit-dots span{display:block;width:9px;height:12px;background:#587a79;border:1px solid #a7b79b;border-radius:4px 4px 0 0}.credit-dots span.lit{background:#efd295;box-shadow:0 0 12px #efc27d88}.credit-count{font-size:14px;color:#b5c9c3;white-space:nowrap}.credit-buttons{display:flex;gap:8px;flex-wrap:wrap}.credit-buttons button{font-size:14px;border-color:#b5c39b66;padding:10px 13px}.credit-buttons button[data-command=next]{background:#dbc28f;color:#1e3540}.credit-buttons button:disabled{opacity:.35;cursor:default}.credits-paused .credit-train,.credits-paused .credit-window span{animation-play-state:paused}body.showing-credits header,body.showing-credits #speech{visibility:hidden}@keyframes credit-journey{from{left:-180px}to{left:calc(100% + 20px)}}@keyframes credit-float{50%{transform:translateY(-5px) rotate(5deg)}}@keyframes credit-unfold{from{opacity:.3;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:900px){.credit-stage{grid-template-columns:1fr;padding:80px 26px 50px;gap:50px}.credit-house{max-width:330px;height:330px;width:100%;margin:auto}.credit-window{height:80px}.credit-windows{gap:20px;padding:26px 20px}.credit-house:after{box-shadow:0 -110px 0 #b6a27c,0 -220px 0 #b6a27c}.credit-page{min-height:0}.credit-top{padding:22px;font-size:10px}.credit-bottom{padding:18px 22px;flex-wrap:wrap}.credit-buttons{width:100%}.credit-rail{margin-top:0}.credit-page h1{font-size:34px}}@media(prefers-reduced-motion:reduce){#credits *{animation:none!important}} 

.credit-dots{display:flex;gap:9px}.credit-dots span{width:8px;height:8px;border-radius:50%;background:#6b8585}.credit-dots span.lit{background:#e8cc8c;box-shadow:0 0 12px #ffdd8b55}

#credits[data-room="memory"]{background:#101a27}#credits[data-room="memory"] .credit-top,#credits[data-room="memory"] .credit-house,#credits[data-room="memory"] .credit-rail,#credits[data-room="memory"] .credit-bottom,#credits[data-room="memory"] .credit-label,#credits[data-room="memory"] .credit-entries,#credits[data-room="memory"] .credit-quote,#credits[data-room="memory"] .credit-stars{display:none!important}#credits[data-room="memory"] .credit-stage{display:grid;grid-template-columns:1fr;place-items:center;min-height:100svh;max-width:none;margin:0;padding:40px}#credits[data-room="memory"] .credit-page{min-height:0;max-width:900px;text-align:center;animation:none}#credits[data-room="memory"] h1{font:clamp(26px,3.8vw,46px)/1.6 Georgia,serif;letter-spacing:.015em;color:#f0e5cf;margin:0}
#credits[data-room="memory"] .credit-stage{display:grid;grid-template-columns:1fr;place-items:center;min-height:100svh;max-width:none;margin:0;padding:36px}#credits[data-room="memory"] .credit-page{min-height:0;max-width:950px;text-align:center;padding:0;animation:none}

#credits[data-room="memory"] .memorial-name{display:block}#credits[data-room="memory"] .memorial-last{display:block;font-size:.75em;margin-top:1em}
/* Musical homecoming: a real-time stage, with the last words given their own darkness. */
#credits{background:#000;isolation:isolate;overflow:hidden;color:#f5e8ce;font-family:Georgia,serif}
#credits[hidden]{display:none!important}.cinema-scene,.cinema-vignette{position:absolute;inset:0;width:100%;height:100%}.cinema-vignette{pointer-events:none;background:radial-gradient(ellipse at 50% 58%,transparent 30%,#0009 95%)}
.cinema-top{position:absolute;top:25px;left:4%;right:4%;font:11px system-ui;letter-spacing:.25em;color:#dbccac99;display:flex;justify-content:space-between}.cinema-copy{position:absolute;top:12%;left:12%;width:76%;text-align:center;opacity:var(--copy-opacity);text-shadow:0 2px 8px #000,0 0 35px #000;pointer-events:none}.cinema-copy h1{font-size:clamp(22px,3vw,38px);line-height:1.2;margin:.2em 0}.cinema-copy h2{font-size:clamp(23px,3vw,36px);margin:.2em}.cinema-entries{display:flex;gap:25px;justify-content:center}.cinema-entries section{max-width:520px}.cinema-entries .credit-role{font:12px system-ui;color:#e8c68f;letter-spacing:.05em}.cinema-entries .credit-copy{font-size:clamp(14px,1.4vw,18px);line-height:1.5;margin:.4em auto;max-width:560px}.cinema-empty .cinema-copy{display:none}.cinema-heart{position:absolute;bottom:12%;left:calc(50% - 15px);font-size:30px;color:#d6a58b;opacity:var(--heart-opacity);transform:scale(var(--heart-scale));text-shadow:0 0 24px #ed976c88}.cinema-controls{position:absolute;bottom:16px;left:3%;right:3%;display:flex;align-items:center;gap:8px;font:12px system-ui;opacity:.5;transition:opacity .2s}.cinema-controls:hover,.cinema-controls:focus-within{opacity:1}.cinema-controls button,.cinema-gate button{color:#f3dfbb;background:#182327;border:1px solid #bba77566;border-radius:22px;padding:9px 15px;cursor:pointer}.cinema-controls label{margin-left:auto;display:flex;gap:8px;align-items:center}.cinema-controls input{width:75px;accent-color:#d7bc82}.cinema-time{min-width:78px}.cinema-gate{position:absolute;inset:0;background:#000;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;z-index:4}.cinema-gate[hidden]{display:none}.cinema-gate h2{font-size:38px;font-weight:normal}.cinema-gate p{color:#c3b99e}.cinema-gate button{font-size:17px;padding:14px 28px}.cinema-memorial .cinema-copy{top:38%;left:15%;width:70%}.cinema-memorial h1{font-weight:normal;font-size:clamp(25px,3.4vw,44px);line-height:1.6;max-width:820px;margin:auto}.cinema-memorial .cinema-top,.cinema-memorial .cinema-controls{opacity:0;pointer-events:none}.cinema-memorial .cinema-heart{bottom:22%;opacity:calc(var(--heart-opacity)*var(--copy-opacity))}
@media(max-width:650px){.cinema-copy{top:12%;left:5%;width:90%}.cinema-entries{gap:8px}.cinema-entries .credit-copy{font-size:13px}.cinema-top span{display:none}.cinema-controls{flex-wrap:wrap}.cinema-controls button{font-size:10px;padding:7px}.cinema-controls label{margin-left:0}.cinema-memorial .cinema-copy{top:30%}}
#credits.cinema-memorial .cinema-top,#credits.cinema-memorial .cinema-controls,#credits[data-room="opening"] .cinema-top,#credits[data-room="lights"] .cinema-top{visibility:hidden}
#credits.cinema-memorial .cinema-copy{top:37%;left:20%;width:60%;max-width:none}
#credits.cinema-memorial h1{font-size:clamp(24px,3vw,44px);font-weight:normal;line-height:1.65;color:#f2e6ce}
#credits .cinema-copy{color:#f5e8ce}#credits .cinema-label{font:10px system-ui;letter-spacing:.22em;color:#dbc698}
@media(max-width:650px){#credits.cinema-memorial .cinema-copy{left:8%;width:84%;top:30%}}
#credits .cinema-entries:has(section:nth-child(2)) h2{font-size:clamp(18px,2vw,28px)}
#credits .cinema-entries:has(section:nth-child(2)) .credit-copy{font-size:clamp(12px,1.15vw,16px)}
#credits[data-room="opening"] .cinema-controls{opacity:0}#credits[data-room="opening"] .cinema-controls:hover,#credits[data-room="opening"] .cinema-controls:focus-within{opacity:.8}

/* Two visible hearts keep time with the recording. */
#credits .cinema-heart{top:7%;bottom:auto;font-size:clamp(54px,6vw,92px);line-height:1;pointer-events:none;color:#e9a791;opacity:var(--heart-opacity);text-shadow:0 0 30px #ed976c88;transform:scale(var(--heart-scale));}
#credits .cinema-heart-left{left:4%;right:auto}#credits .cinema-heart-right{right:4%;left:auto}

#credits.cinema-memorial .cinema-copy{left:5%;width:90%}
#credits.cinema-memorial h1{max-width:none;font-size:clamp(18px,3vw,40px)}
#credits.cinema-memorial .dedication-line{display:block;white-space:nowrap}
#credits.cinema-memorial .dedication-line-1{font-size:clamp(19px,4.6vw,52px);margin:.24em 0}
