:root{color-scheme:dark;--bg:#10171c;--panel:#172128;--line:#2d3a42;--text:#e9e8df;--muted:#9caab0;--accent:#dfb978;--mint:#8ab8ac;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{border:1px solid var(--line);border-radius:5px;background:transparent;color:var(--text);padding:10px 14px}button:hover{border-color:var(--accent)}.masthead{height:96px;max-width:1480px;margin:auto;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{text-decoration:none;display:flex;align-items:center;gap:13px;font-size:17px;letter-spacing:.16em;font-weight:600}.brand-mark{font-family:Georgia,serif;border:1px solid var(--accent);color:var(--accent);width:36px;height:40px;display:grid;place-items:center;font-size:29px;font-weight:400;transform:skewY(-7deg)}.brand small{display:block;color:var(--muted);letter-spacing:.18em;font-size:8px;margin-top:5px}.account{display:flex;align-items:center;gap:18px;font-size:10px;letter-spacing:.12em;color:var(--muted)}.quiet{background:transparent;color:var(--muted);font-size:12px}.eyebrow{font-size:10px;letter-spacing:.2em;font-weight:600;color:var(--accent);line-height:1.7}h1{font-family:Georgia,"Times New Roman",serif;font-size:66px;line-height:1.08;font-weight:400;margin:20px 0}h1 span{color:var(--accent)}h2{font-family:Georgia,serif;font-weight:400;font-size:28px;margin:9px 0 14px}h3{font-size:12px;letter-spacing:.04em;font-weight:500;margin:0 0 16px}.muted{color:var(--muted);line-height:1.8;font-size:13px}.fine{color:var(--muted);font-size:10px;line-height:1.8}.welcome{max-width:1280px;margin:70px auto;display:grid;grid-template-columns:1.2fr 1fr;gap:9%;padding:0 5%;align-items:center}.welcome-art{position:relative;background:radial-gradient(ellipse at 40% 30%,#31414a,#172128 60%);height:640px;border:1px solid var(--line);overflow:hidden}.welcome-art img{width:100%;height:100%;object-fit:cover}.art-label{position:absolute;bottom:20px;left:20px;color:#8d9da5;font-size:8px;letter-spacing:.14em}.intro{font-family:Georgia,serif;color:#cbd2d1;font-size:23px;line-height:1.5}.welcome-copy>.muted{max-width:360px}form label{display:block;color:var(--muted);font-size:11px;margin:17px 0 8px}input,textarea,select{color:var(--text);background:#111a20;border:1px solid var(--line);border-radius:4px;outline:none}input{width:100%;padding:13px}input:focus,textarea:focus,select:focus{border-color:var(--accent)}.primary{background:var(--accent);color:#171d21;border-color:var(--accent);font-size:12px;font-weight:600;display:flex;justify-content:space-between;gap:30px;align-items:center}.primary:hover{background:#edcd97}#login-form{max-width:350px;margin-top:24px}#login-form button{margin-top:23px;width:100%;padding:15px}.welcome-copy>.fine{max-width:350px;margin-top:26px}.chapter-heading{max-width:1360px;margin:35px auto 28px;padding:0 4%;display:flex;align-items:end;justify-content:space-between;gap:20px}.chapter-heading h1{font-size:43px;margin:7px 0 0}.chapter-heading p{margin:0}.world-controls{display:flex;gap:8px}.world-controls select{max-width:190px;padding:9px;font-size:11px}.game-grid{max-width:1360px;margin:auto;padding:0 4%;display:grid;grid-template-columns:315px minmax(0,1fr);gap:26px;align-items:start}.world-panel{border:1px solid var(--line);border-radius:6px;background:var(--panel);overflow:hidden}.scene{height:195px;position:relative;background:radial-gradient(ellipse,#30424d,#152027);border-bottom:1px solid var(--line)}.scene img{width:100%;height:100%;object-fit:cover}.scene .art-label{font-size:7px;bottom:12px;left:18px}.location-meta,.panel-section{padding:24px}.location-meta p{margin:0}.location-meta .muted{font-size:12px}.time-row{display:flex;align-items:center;gap:7px;font-size:9px;color:var(--mint);margin-top:20px}.time-row>span:last-child{margin-left:auto;font-size:7px;letter-spacing:.1em}.status-dot{width:5px;height:5px;background:var(--mint);border-radius:50%}.panel-section{border-top:1px solid var(--line)}.routes{display:flex;flex-direction:column;gap:8px}.routes button{display:flex;justify-content:space-between;text-align:left;font-size:12px}.routes button:after{content:'↗';color:var(--accent)}.section-title{display:flex;justify-content:space-between}.section-title span{font-size:10px;color:var(--muted)}.journal-entry{border-left:1px solid #52645f;padding-left:12px;margin:17px 0;color:#c0cbc9;font-size:11px;line-height:1.75}.story-panel{border:1px solid var(--line);border-radius:6px;background:#141e25;overflow:hidden}.story-bar{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:19px 28px;align-items:center}.story-bar>span:last-child{font-size:8px;letter-spacing:.12em;color:var(--muted)}.story{padding:5px 32px 20px;max-height:660px;min-height:325px;overflow:auto;scrollbar-color:#43525c transparent}.story-entry{padding:24px 0;border-bottom:1px solid #27343c}.story-entry:last-child{border:0}.story-entry .speaker{font-size:9px;letter-spacing:.17em;color:var(--accent);display:flex;justify-content:space-between;margin-bottom:12px}.story-entry .speaker time{color:#7c919c;font-size:8px}.story-entry p{white-space:pre-wrap;font-family:Georgia,serif;font-size:17px;line-height:1.85;margin:0;color:#d5dad6}.story-entry.player p{font-family:inherit;font-size:13px;color:#a9c8c1}.story-entry.system p{font:12px/1.8 system-ui;color:var(--muted)}.composer{margin:0 22px 22px;border:1px solid var(--line);border-radius:5px;background:#111a20;padding:18px}.speaker-row{display:flex;align-items:center;gap:11px;margin-bottom:15px}.portrait{border:1px solid #4e5f62;border-radius:50%;height:35px;width:35px;display:grid;place-items:center;color:var(--mint)}.speaker-row label{font-size:8px;margin:0 0 3px}.speaker-row select{border:0;font-size:12px;padding:0 18px 0 0;background:transparent}.speaker-row>.fine{margin-left:auto;font-size:8px;max-width:90px}.composer textarea{display:block;width:100%;resize:vertical;border:0;background:transparent;font-size:13px;line-height:1.7;padding:4px 0;min-height:75px;max-height:300px}.composer textarea:focus{outline:0}.composer:focus-within{border-color:#748c89}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px}.composer-bottom .fine{font-size:9px;max-width:260px}.composer .primary{padding:10px 16px}.game-footer{max-width:1360px;padding:22px 4% 35px;margin:auto;display:flex;justify-content:space-between;color:#6f848e;font-size:8px;letter-spacing:.12em}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#293840;color:#f0e7d7;box-shadow:0 8px 35px #0008;border:1px solid #687670;border-radius:6px;max-width:600px;width:calc(100% - 40px);padding:16px 22px;font-size:13px;line-height:1.7;z-index:10}#more-history{margin:0 25px 20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1500px){.welcome{margin-top:100px}}@media(max-width:950px){.game-grid{grid-template-columns:260px minmax(0,1fr);gap:16px}.location-meta,.panel-section{padding:18px}.story{padding:5px 22px 20px}.composer{margin:0 14px 14px}.welcome{gap:6%;margin-top:45px}.welcome-art{height:600px}h1{font-size:52px}}@media(max-width:700px){.masthead{height:77px;padding:0 6%}.brand{font-size:14px}.brand small{font-size:7px}.account{gap:8px;font-size:8px}.welcome{display:flex;flex-direction:column-reverse;margin:35px auto;padding:0 7%;gap:30px;align-items:stretch}.welcome-art{height:220px}.welcome-copy h1{font-size:52px}.welcome-copy>.muted,#login-form,.welcome-copy>.fine{max-width:none}.intro{font-size:22px}.chapter-heading{align-items:start;padding:0 5%;margin:25px 0}.chapter-heading h1{font-size:33px}.world-controls{flex-direction:column;align-items:end}.world-controls select{max-width:135px}.game-grid{padding:0 5%;display:flex;flex-direction:column;gap:18px}.world-panel{width:100%}.world-panel .scene{display:none}.location-meta{padding:20px}.location-meta h2{font-size:25px}.panel-section{padding:18px 20px}.world-panel .panel-section:last-child{display:none}.routes{flex-direction:row;flex-wrap:wrap}.routes button{gap:20px}.world-panel .panel-section:has(#journal){max-height:220px;overflow:auto}.story-panel{width:100%}.story{max-height:65vh;min-height:300px;padding:2px 22px 18px}.story-entry p{font-size:16px}.composer{padding:14px}.composer-bottom .fine{font-size:8px;max-width:160px}.story-bar{padding:17px 22px}.game-footer{padding:25px 5%;font-size:7px;gap:15px}}
