:root{--ink:#302c25;--paper:#f0e6d1;--serif:'Noto Serif SC','Songti SC',serif}*{box-sizing:border-box}body{margin:0;background:#c3a380;color:var(--ink)}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #d4bb79;outline-offset:4px}header{height:72px;background:#eee7d9;display:flex;align-items:center;padding:0 4%;gap:40px;position:relative;z-index:10}.brand{display:flex;align-items:center;gap:12px;font:19px var(--serif);letter-spacing:.2em}.brand img{width:38px;height:44px}.brand small{display:block;font-size:9px;margin-top:6px;letter-spacing:.24em}nav{display:flex;gap:37px;margin:auto;font-size:12px;letter-spacing:.15em}nav a{padding:10px 0}nav [aria-current]{border-bottom:1px solid #94815f}.original{font-size:11px;color:#817561}#stage{height:calc(100svh - 72px);min-height:620px;position:relative;overflow:hidden;isolation:isolate}#worldCanvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#worldCanvas:active{cursor:grabbing}.vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse,transparent 45%,#31221824);z-index:2}.heading{position:absolute;top:5%;left:4%;z-index:4;color:#f5ead5;text-shadow:0 2px 18px #26181275,0 1px 4px #26181255;transition:opacity .35s,translate .6s}.heading h1{font:500 clamp(47px,5vw,74px)/1.2 var(--serif);letter-spacing:.13em;margin:0 0 14px}.heading>p:not(.eyebrow){font:13px/1.9 var(--serif);letter-spacing:.12em;margin:0}.eyebrow{font:9px var(--serif);letter-spacing:.25em;margin:0 0 13px;opacity:.88}.time{margin-top:20px;display:flex;gap:8px}.time button{border:1px solid #f4e6c338;background:#3e302d6b;border-radius:30px;color:#f3e7d2;padding:7px 17px;font-size:11px;backdrop-filter:blur(8px)}.time [aria-pressed=true]{background:#f0e6d1;color:#514331}#labels{position:absolute;inset:0;pointer-events:none;z-index:3}.person-label{position:absolute;left:0;top:0;white-space:nowrap;border:1px solid #f2dfb31c;background:#40322bcc;color:#f3e8d2;padding:6px 12px;border-radius:30px;font:12px var(--serif);letter-spacing:.12em;pointer-events:auto;backdrop-filter:blur(5px);transition:opacity .3s,background .3s}.person-label.on{background:#efe1c4;color:#3b352a}.person-label.off{opacity:0;pointer-events:none}#bubble{position:absolute;left:0;top:0;z-index:7;width:365px;max-width:calc(100% - 36px);background:#f2e8d2f5;padding:25px 25px 21px;box-shadow:0 15px 45px #281e252f,inset 0 0 0 1px #fff9e566,inset 0 0 0 6px #dacba757;border:1px solid #c4b28c;border-radius:3px;opacity:0;transition:opacity .45s;pointer-events:none}#bubble.in{opacity:1;pointer-events:auto}#bubble:before{content:'';position:absolute;left:-10px;top:var(--tail,70px);width:18px;height:18px;transform:rotate(45deg);background:#f2e8d2;border-bottom:1px solid #c4b28c;border-left:1px solid #c4b28c}#name{font:600 24px var(--serif);letter-spacing:.1em;margin:0 0 7px;padding-right:25px}.chapter{font-size:9px;letter-spacing:.1em;color:#887858;margin:0 0 16px}#close{position:absolute;right:12px;top:12px;border:0;background:none;width:28px;height:28px;font-size:23px;color:#796c56}blockquote{font:18px/1.9 var(--serif);letter-spacing:.04em;margin:0;color:#3b3a30}#context{font:13px/1.9 var(--serif);color:#6b624e;margin:15px 0 0;padding-top:13px;border-top:1px solid #bcaa8444}.fate{margin-top:15px;padding-top:14px;border-top:1px solid #bcaa8444;font:16px/1.8 var(--serif);color:#8a6b35}.fate small{display:block;font-size:10px;color:#908367;margin-top:3px}.actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:20px}.actions button,.actions a{border:1px solid #b9a989;border-radius:25px;padding:8px 12px;font-size:10px;letter-spacing:.06em;background:transparent}.actions a{background:#3b342a;border-color:#3b342a;color:#f1e5ce}.hint{position:absolute;bottom:75px;left:50%;translate:-50% 0;background:#3e302b91;border:1px solid #ddc39822;border-radius:30px;padding:10px 20px;color:#ecdfc4;font-size:10px;letter-spacing:.12em;white-space:nowrap;pointer-events:none;z-index:3;transition:opacity .3s}.zoom{position:absolute;right:24px;bottom:90px;display:grid;gap:8px;z-index:4}.zoom button{border:1px solid #e7d5aa55;background:#40342d9c;color:#f0e2c5;border-radius:50%;height:39px;width:39px;font-size:20px}.cast{position:absolute;bottom:0;left:0;right:0;z-index:6;padding:12px 4%;height:57px;display:flex;align-items:center;justify-content:center;gap:32px;background:#302e28ba;backdrop-filter:blur(8px);border-top:1px solid #e8d8b51b;overflow-x:auto;scrollbar-width:none}.cast button{border:0;background:none;color:#e6d8bd;font:12px var(--serif);white-space:nowrap;letter-spacing:.12em;padding:7px 0}.cast button[aria-pressed=true]{color:#fff3d6;border-bottom:1px solid #d6c18d}.talking .heading{opacity:0;translate:-10px 0;pointer-events:none}.talking .hint{opacity:0}#loading{position:absolute;inset:0;display:grid;place-items:center;z-index:8;background:#d4c3a4;color:#6c5b3d;font:15px var(--serif);letter-spacing:.2em;transition:opacity .6s}#loading[hidden]{display:none}@media(max-width:700px){header{height:64px;padding:0 5%;gap:16px}.brand img{width:31px;height:36px}.brand{font-size:15px}.brand small{font-size:8px}nav{margin-left:auto;margin-right:0;gap:20px;font-size:11px}nav a:nth-child(n+3),.original{display:none}#stage{height:calc(100svh - 64px);min-height:650px}.heading{top:12px;left:5%}.heading .eyebrow{margin:0 0 4px}.heading h1{font-size:34px;margin:0 0 4px}.heading>p:not(.eyebrow){font-size:11px;line-height:1.5}.time{margin-top:14px}.time button{padding:6px 14px;font-size:10px}.person-label{font-size:10px;padding:5px 9px}.cast{justify-content:flex-start;padding:12px 6%;gap:25px}.cast button{font-size:12px}.hint{font-size:8px;bottom:66px;padding:9px 13px;letter-spacing:.06em}.zoom{right:14px;bottom:100px}.zoom button{width:34px;height:34px}#bubble{width:auto;left:16px!important;right:16px;top:auto!important;bottom:73px;max-width:none;padding:19px 22px 17px;max-height:42%;overflow-y:auto}#bubble:before{display:none}#name{font-size:22px}blockquote{font-size:16px;line-height:1.8}.chapter{margin-bottom:10px}.actions{margin-top:15px}#context{font-size:12px}.talking .zoom{opacity:0;pointer-events:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.time-control{position:relative;isolation:isolate;display:flex;align-items:stretch;gap:2px;width:216px;height:38px;margin-top:20px;padding:3px;border:1px solid #f2e8d247;border-radius:99px;background:#281e2f66;backdrop-filter:blur(8px)}.time-control button{position:relative;z-index:1;flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;color:#f2e8d2c7;border-radius:99px;font-size:11px;letter-spacing:.08em;padding:0;transition:color .3s;text-shadow:none}.time-control button[aria-pressed=true]{color:#39312a}.time-control svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round}.time-selection{position:absolute;top:3px;bottom:3px;left:72px;width:68px;border-radius:99px;background:#f0e7d3;box-shadow:0 1px 5px #241c2d12;pointer-events:none;transition:left .42s cubic-bezier(.22,1,.36,1),width .25s}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:700px){.time-control{width:196px;height:32px;margin-top:8px}.time-control button{font-size:10px}}@media(prefers-reduced-motion:reduce){.time-selection{transition:none}}

#bubble[data-side="left"]:before{left:auto;right:-10px;transform:rotate(225deg)}

/* Shared site header, with the complete main navigation. */
.hd{height:auto;display:block;padding:0;position:relative;background:var(--paper);border-bottom:1px solid #91836a2b}.hd .wrap{max-width:none;padding:0 4%;height:72px;gap:32px}.hd .nav{margin:0 0 0 auto;gap:30px;font-size:12px}.hd .nav a{display:block;white-space:nowrap}.hd .nav [aria-current]{border-bottom:1px solid #94815f}#stage{height:calc(100svh - var(--site-header-height,72px));min-height:480px}
@media(max-width:760px){.hd .wrap{height:auto;min-height:108px;padding:9px 5% 8px;gap:7px;flex-wrap:wrap}.hd .nav{width:100%;margin:0;gap:8px;justify-content:space-between;font-size:11px}.hd .nav a:nth-child(n){display:block;padding:6px 0}.hd .fs-brand-word b{font-size:16px}#stage{height:calc(100svh - var(--site-header-height,108px));min-height:480px}}
