*{box-sizing:border-box}:root{font-family:Inter,'Helvetica Neue',Arial,sans-serif;color:#173c4b;background:#f6faff;--accent:#008d89}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}#presentation{position:relative;height:100svh;min-height:520px;overflow:hidden;isolation:isolate;outline:none;background:#d4edf6}#world{position:absolute;inset:0;z-index:-3;touch-action:none}#world canvas{display:block;width:100%;height:100%}.paper-wash{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(0deg,#f6faffed 0%,#f6faffaa 8%,#f6faff00 25%);transition:opacity .7s}#copy{position:absolute;bottom:6%;left:4.7%;max-width:90%;pointer-events:none;transition:opacity .6s,transform .6s;text-shadow:0 1px 12px #f6faff99}#chapter{font-size:clamp(24px,1.8vw,34px);line-height:1.4;font-weight:600;letter-spacing:-.02em;margin:0 0 8px;color:#244a5b;display:flex;gap:12px;align-items:center}#chapter:before{content:'';display:inline-block;width:11px;height:11px;flex-shrink:0;background:var(--accent);border-radius:2px;transform:rotate(-10deg)}h1{font-size:clamp(40px,4vw,76px);line-height:1.04;letter-spacing:-.05em;font-weight:650;white-space:pre-line;margin:0;max-width:1100px;text-wrap:balance}h1 .accent{color:var(--accent)}#body{font-size:clamp(27px,2vw,38px);line-height:1.4;color:#456474;letter-spacing:-.025em;white-space:pre-line;margin:16px 0 0}#body:empty{display:none}#keywords{display:none}#visual-notes{display:none}#progress{position:absolute;left:4.7%;right:4.7%;bottom:18px;height:3px;display:flex;gap:6px;opacity:.7;transition:opacity .6s;pointer-events:none}#progress span{height:2px;flex:1;background:#517c8c33}#progress span.current{height:3px;background:var(--accent)}#progress span.past{background:#65a2a1}.layout-intro .paper-wash{background:#f6faff}.layout-intro #copy{left:8%;top:25%;bottom:auto;max-width:84%;text-shadow:none}.layout-intro #chapter{font-size:clamp(24px,1.8vw,34px);color:var(--accent);margin-bottom:44px;letter-spacing:.03em}.layout-intro #chapter:before{display:none}.layout-intro h1{font-size:clamp(82px,10.2vw,194px);letter-spacing:-.065em;line-height:1.05;margin-bottom:32px}.layout-intro h1 .accent{color:#173c4b}.layout-intro #body{font-size:clamp(30px,3.3vw,61px);color:var(--accent);font-weight:450}.layout-intro #copy:after{content:'';display:block;width:230px;height:5px;background:linear-gradient(90deg,#008d89 0 28%,transparent 28% 36%,#d44838 36% 64%,transparent 64% 72%,#7751d0 72%);margin-top:72px}.layout-intro #progress{opacity:0}.traveling #copy,.traveling #visual-notes{opacity:0;transform:translateY(12px)}.traveling .paper-wash,.traveling #progress{opacity:0}.free-flight #copy,.free-flight #visual-notes,.free-flight .paper-wash,.free-flight #progress{opacity:0}.free-flight #world{cursor:grab}.free-flight #world:active{cursor:grabbing}.layout-roadmap #copy{top:6%;bottom:auto}.layout-roadmap h1{font-size:clamp(40px,4vw,76px)}.layout-roadmap #visual-notes{display:block;position:absolute;left:4.7%;right:4.7%;bottom:7%;transition:opacity .6s,transform .6s}.name-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}.name-card{background:#f6faffe6;padding:20px 24px;border-left:4px solid var(--card-accent);backdrop-filter:blur(8px)}.name-card strong{display:block;font-size:clamp(28px,2.2vw,42px);color:var(--card-accent);margin-bottom:8px;letter-spacing:-.035em}.name-card p{font-size:clamp(24px,1.8vw,34px);margin:0;line-height:1.3;color:#365466;letter-spacing:-.02em}.layout-ending #copy{left:6%;bottom:10%}.layout-ending h1{font-size:clamp(75px,9vw,164px)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#loading{position:fixed;inset:0;z-index:20;background:#f6faff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:25px;pointer-events:none;transition:opacity .5s}#loading.ready{opacity:0}#loading p{font-size:30px;color:#456474;letter-spacing:-.025em}.loading-shape{width:66px;height:66px;border:10px solid #a7e4da;border-radius:13px;background:#008d89;animation:spin 3s ease infinite}@keyframes spin{to{transform:rotate(360deg)}}
dialog{color:#173c4b;background:#fff;border:1px solid #ccdde5;border-radius:18px;padding:34px;box-shadow:0 30px 100px #173c4b30;max-width:calc(100vw - 32px);max-height:88svh;width:720px}dialog::backdrop{background:#ddeaf2bd;backdrop-filter:blur(14px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;margin-bottom:25px}.dialog-heading button{color:#456474;border:none;background:none;font-size:32px;line-height:1;min-width:28px}h2{font-size:34px;letter-spacing:-.035em;line-height:1.12;margin:0}h3{font-size:28px;letter-spacing:-.025em}dialog p{font-size:19px;line-height:1.65;color:#456474}dialog button{font-size:18px}#overview{width:1240px}#scene-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.scene-card{padding:18px;min-height:145px;text-align:left;background:#f3f8fb;border:1px solid #d2e1e9;border-radius:8px;color:#173c4b}.scene-card.active{border:2px solid var(--accent);background:#e7f7f4}.scene-card strong{display:block;font-size:23px;line-height:1.15;letter-spacing:-.035em;white-space:pre-line}.scene-card span{display:block;font-size:15px;color:#637b88;margin-bottom:15px}.scene-card:hover{background:#e7f1f6}#notes{width:780px}#notes-person{color:var(--accent);font-weight:600}#notes-text{font-size:23px;line-height:1.75;white-space:pre-line}.timer-row{display:flex;align-items:center;gap:18px;border-top:1px solid #d7e4eb;padding-top:20px;margin-top:20px}.timer-row>span{font-size:36px;font-variant-numeric:tabular-nums;margin-right:auto}.timer-row button{background:#edf5f8;border:0;border-radius:5px;padding:10px 15px;color:#173c4b}.tool-list{display:grid}.tool-list button{display:flex;justify-content:space-between;text-align:left;border:0;border-bottom:1px solid #dce7ec;background:white;color:#173c4b;padding:18px 0;font-size:21px}.tool-list button:hover{color:var(--accent)}kbd{font-family:inherit;background:#eaf3f7;border:1px solid #d7e6ed;border-radius:4px;padding:2px 7px;font-size:15px;color:#456474}#editor{width:850px}fieldset{border:1px solid #ccdde5;border-radius:9px;padding:20px;margin:25px 0}legend{padding:0 8px;font-size:19px;font-weight:600;color:var(--accent)}label{display:block;font-size:17px;color:#456474;margin:18px 0 7px}input,textarea,select{width:100%;border:1px solid #b7cfdc;border-radius:5px;background:#f7fbfd;color:#173c4b;padding:11px 13px;font-size:19px;line-height:1.5}textarea{resize:vertical}.field-help{font-size:15px;line-height:1.5;color:#637b88}.save-row{position:sticky;bottom:-34px;padding:20px 0;background:white;border-top:1px solid #d7e4eb;display:flex;gap:20px;align-items:center}.primary{background:#008d89;color:white;padding:13px 20px;border:0;border-radius:6px}.reorder{display:flex;gap:15px;margin-top:20px}.reorder button{border:1px solid #b7cfdc;background:#f3f8fb;color:#173c4b;padding:9px 15px;border-radius:5px}.reorder button:disabled{opacity:.35}#info-content a{color:#008d89}#info-content li{font-size:19px;line-height:1.6;padding:10px 0}#info-content table{width:100%;border-collapse:collapse;font-size:19px}#info-content td{padding:13px 8px;border-bottom:1px solid #d7e4eb}#toast{position:fixed;bottom:40px;left:50%;transform:translate(-50%,20px);background:#173c4b;color:white;padding:15px 24px;border-radius:8px;opacity:0;pointer-events:none;transition:.3s;font-size:18px;max-width:85vw;z-index:30}#toast.visible{opacity:1;transform:translate(-50%,0)}#fallback-art{display:none;position:absolute;left:51%;right:4%;top:15%;bottom:18%;background:url('assets/presentation/world-poster.svg') center/contain no-repeat;z-index:-2}.world-fallback #fallback-art{display:block}.fallback-photo{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 20px 30px #173c4b22)}
.world-fallback #world{display:none}.world-fallback .paper-wash{background:linear-gradient(90deg,#f6faff 0 30%,#f6faff00 60%)}.world-fallback #presentation{background:#f6faff}.world-fallback #fallback-art{display:block}.world-fallback #copy{max-width:48%;bottom:12%}.world-fallback #copy h1{font-size:clamp(42px,5.3vw,86px)}.world-fallback .layout-intro #copy{max-width:90%}.world-fallback .layout-intro #copy h1{font-size:clamp(82px,10.2vw,194px)}
@media(max-width:1000px){#copy{bottom:7%}h1{font-size:clamp(36px,4.8vw,60px)}.name-cards{gap:16px}.name-card{padding:16px}.name-card p{font-size:22px}.layout-intro #copy{top:25%}.layout-intro h1{font-size:11vw}}
@media(max-width:759px){#presentation{min-height:540px}#copy{left:6%;bottom:8%;max-width:88%}#chapter{font-size:21px;gap:8px;margin-bottom:7px}h1{font-size:clamp(35px,7vw,55px)}#body{font-size:24px}.layout-intro #copy{left:8%;top:25%;max-width:84%}.layout-intro #chapter{font-size:20px;margin-bottom:28px}.layout-intro h1{font-size:14vw;line-height:1.04;margin-bottom:24px}.layout-intro #body{font-size:27px}.layout-intro #copy:after{margin-top:48px;width:180px}.layout-roadmap #copy{top:5%;left:6%;bottom:auto}.layout-roadmap h1{font-size:34px}.layout-roadmap #chapter{font-size:20px}.layout-roadmap #visual-notes{left:6%;right:6%;bottom:8%}.name-cards{grid-template-columns:1fr;gap:8px}.name-card{display:flex;align-items:center;gap:14px;padding:10px 12px}.name-card strong{font-size:23px;min-width:80px;margin:0}.name-card p{font-size:19px}.layout-ending h1{font-size:15vw}#progress{left:6%;right:6%;gap:4px;bottom:20px}dialog{padding:23px}h2{font-size:28px}dialog p{font-size:17px}#scene-grid{grid-template-columns:repeat(2,1fr);gap:10px}.scene-card{padding:13px;min-height:132px}.scene-card strong{font-size:20px}.scene-card span{font-size:13px}#notes-text{font-size:20px}.save-row{bottom:-23px}.tool-list button{font-size:19px}.world-fallback #copy{max-width:88%;bottom:auto;top:5%}#fallback-art{left:6%;right:6%;top:30%;bottom:20%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
