:root{color-scheme:light;--bg:#eeeae0;--ink:#394b3d;--muted:#898b7d;--line:#d8d8c9;--surface:rgba(252,250,243,.84);--accent:#bd7254;--button:#3e5b49;--cream:#fffdf3;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",YuGothic,Meiryo,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);transition:background .5s,color .5s}button,input,a{-webkit-tap-highlight-color:transparent}button,a,input{touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button{border:0}a{color:inherit;text-underline-offset:5px}.atelier{max-width:1600px;margin:auto;padding:27px 5.2% 22px}.masthead{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.11em}.wordmark{text-decoration:none;display:flex;align-items:center;gap:10px}.mark{font-family:Georgia,serif;font-size:33px;line-height:1;transform:rotate(-12deg)}.edition{margin-left:15px;color:var(--muted);letter-spacing:.18em;font-size:9px}.making-link{text-decoration:none;font-size:11px}.making-link span{font-size:16px;margin-left:9px}.introduction{position:relative;text-align:center;margin:31px 0 -47px;z-index:1;pointer-events:none}.eyebrow{font:9px Georgia,serif;letter-spacing:.28em;color:var(--accent)}h1{font-family:"Hiragino Mincho ProN","Yu Mincho",YuMincho,Georgia,serif;font-weight:400;font-size:43px;letter-spacing:.13em;line-height:1.4;margin:14px 0 11px}h1 i{font-style:normal;color:var(--accent)}.introduction p{margin:0;font-size:11px;letter-spacing:.24em;color:var(--muted)}.world{position:relative;max-width:1420px;margin:auto}.canvas-frame{width:100%;aspect-ratio:1.63;min-height:300px}#scene{display:block;width:100%;height:100%;touch-action:none;cursor:grab}#scene:active{cursor:grabbing}.scene-note{position:absolute;left:2%;bottom:24px;display:flex;gap:11px;align-items:center;font-size:10px;letter-spacing:.1em;color:var(--muted)}.tiny-leaf{font-size:22px;color:#a29e7d}.scene-help{position:absolute;right:1.9%;top:39%;font-size:10px;letter-spacing:.15em;color:var(--muted);display:flex;align-items:center;gap:9px;pointer-events:none}.scene-help svg{width:22px;height:22px;stroke:currentColor;stroke-width:1;fill:none}.view-switch{position:absolute;right:1.9%;bottom:20px;display:flex;gap:4px;padding:4px;background:rgba(255,255,245,.32);border:1px solid var(--line);border-radius:24px}.view-switch button{background:transparent;border-radius:18px;padding:8px 15px;font-size:10px;letter-spacing:.04em;min-height:34px}.view-switch button:hover,.view-switch button[aria-pressed=true]{background:var(--surface)}.workbench{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:22px 25px;display:flex;align-items:center;gap:23px;box-shadow:0 7px 20px #655c3510;backdrop-filter:blur(10px)}.opening-control{flex:1;min-width:140px}.control-heading{display:flex;justify-content:space-between;align-items:center;gap:30px}.control-heading label,.control-label{font-size:10px;letter-spacing:.09em}.control-heading output{font:19px Georgia,serif;color:var(--accent)}output span{font-size:10px;margin-left:3px}.slider-row{display:flex;align-items:center;gap:12px;margin-top:12px}.book-icon{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:1;flex:none}.book-icon.closed{width:15px}input[type=range]{--progress:100%;margin:0;height:20px;width:100%;background:transparent;cursor:ew-resize;accent-color:var(--ink);appearance:none}input[type=range]::-webkit-slider-runnable-track{height:2px;background:linear-gradient(to right,var(--button) var(--progress),var(--line) var(--progress))}input[type=range]::-moz-range-track{height:2px;background:var(--line)}input[type=range]::-moz-range-progress{height:2px;background:var(--button)}input[type=range]::-webkit-slider-thumb{appearance:none;height:15px;width:15px;margin-top:-6.5px;background:var(--button);border:3px solid var(--cream);border-radius:50%;box-shadow:0 0 0 1px var(--button)}input[type=range]::-moz-range-thumb{height:10px;width:10px;background:var(--button);border:3px solid var(--cream);border-radius:50%;box-shadow:0 0 0 1px var(--button)}.round-action{background:none;display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 0;font-size:10px;white-space:nowrap}.round-action>span:first-child{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:33px;height:33px;font-size:19px}.divider{width:1px;align-self:stretch;background:var(--line);margin:0 1px}.light-control{display:flex;flex-direction:column;gap:9px}.segmented{display:flex;background:#e9e8dd;border-radius:22px;padding:3px;gap:2px}.segmented button{border-radius:20px;font-size:10px;white-space:nowrap;padding:8px 13px;min-height:32px;background:none}.segmented button[aria-pressed=true]{background:#fffdf5;box-shadow:0 2px 5px #52563a12}.segmented button span{font-size:13px;padding-right:3px}.guide-control{display:flex;align-items:center;gap:8px;position:relative;font-size:10px;white-space:nowrap;cursor:pointer;min-height:44px}.guide-control input{position:absolute;opacity:0;width:18px;height:18px;margin:0}.check-mark{border:1px solid #b7baaa;border-radius:4px;width:16px;height:16px;display:grid;place-items:center}.guide-control input:checked+.check-mark{background:var(--button);border-color:var(--button)}.guide-control input:checked+.check-mark:after{content:"✓";color:#fff;font-size:12px}.guide-control input:focus-visible+.check-mark{outline:2px solid var(--accent);outline-offset:3px}.save-action{display:flex;align-items:center;gap:9px;background:var(--button);color:#fffdf0;min-height:44px;padding:12px 17px;border-radius:8px;font-size:10px;white-space:nowrap;letter-spacing:.05em}.save-action svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.3;fill:none}.save-action:hover{filter:brightness(1.12)}.footnote{display:flex;justify-content:space-between;align-items:center;margin:19px 2px 0;color:var(--muted);font-size:9px;letter-spacing:.08em}.footnote>div{display:flex;align-items:center;gap:17px}.footnote button{padding:6px 0;background:none;color:var(--muted);font-size:9px;text-decoration:underline;text-underline-offset:4px}.footnote a{font-size:10px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body.evening{--bg:#343d3d;--ink:#ede7cc;--muted:#b0b8a5;--line:#5e695d;--surface:rgba(62,74,67,.88);--accent:#e8b181;--button:#647d64;--cream:#d5dcc5;color-scheme:dark}.evening .segmented{background:#303c34}.evening .segmented button[aria-pressed=true]{background:#788672;color:#fff4d7}.evening .view-switch{background:#34423d44}.evening .tiny-leaf{color:#cbba83}.evening .check-mark{border-color:#9cac8c}
@media(min-width:1500px){.atelier{padding-top:35px}.introduction{margin-top:36px;margin-bottom:-70px}.canvas-frame{aspect-ratio:1.76}.workbench{gap:32px;padding:24px 34px}}
@media(max-width:1000px){.atelier{padding:22px 4%}.edition{display:none}.introduction{margin-top:28px;margin-bottom:-24px}h1{font-size:38px}.workbench{flex-wrap:wrap;gap:15px 20px;padding:20px}.opening-control{flex-basis:calc(100% - 110px)}.round-action{justify-content:flex-end;min-width:80px}.divider{display:none}.light-control{flex-direction:row;align-items:center;gap:13px}.guide-control{margin-left:auto}.save-action{margin-left:auto}.canvas-frame{aspect-ratio:1.45}.scene-help{top:33%;font-size:9px}.scene-note{bottom:18px}.view-switch{bottom:14px}}
@media(max-width:600px){.atelier{padding:18px 16px 19px}.masthead{font-size:9px;letter-spacing:.06em}.wordmark{gap:7px}.mark{font-size:28px}.making-link{font-size:10px}.introduction{margin-top:29px;margin-bottom:0}.eyebrow{font-size:7px;letter-spacing:.18em}h1{font-size:31px;letter-spacing:.08em;margin:12px 0 9px}.introduction p{font-size:9px;letter-spacing:.16em}.world{margin:0 -14px}.canvas-frame{aspect-ratio:1.05;min-height:0}.scene-help{right:auto;left:20px;top:17px;font-size:8px;gap:6px;letter-spacing:.05em}.scene-help svg{width:18px;height:18px}.scene-note{left:23px;bottom:12px;font-size:8px;gap:6px;letter-spacing:0}.tiny-leaf{font-size:16px}.view-switch{right:18px;bottom:7px;gap:0;padding:2px}.view-switch button{font-size:8px;padding:7px 9px;min-height:31px}.workbench{gap:15px 11px;border-radius:12px;padding:17px 15px;margin-top:5px}.control-heading label,.control-label{font-size:9px}.control-heading output{font-size:18px}.opening-control{flex-basis:calc(100% - 77px)}.round-action{min-width:61px;font-size:9px;gap:6px}.round-action>span:first-child{width:29px;height:29px;font-size:17px}.slider-row{gap:9px;margin-top:10px}.light-control{flex-direction:column;align-items:flex-start;gap:6px}.segmented button{padding:7px 11px;font-size:9px}.guide-control{font-size:9px;margin-left:auto;margin-right:4px;align-self:flex-end;min-height:39px}.save-action{font-size:10px;justify-content:center;width:100%;min-height:43px;margin-top:0}.footnote{font-size:8px;align-items:flex-start;gap:14px;line-height:1.6}.footnote>div{flex-direction:column;align-items:flex-end;gap:5px}.footnote button{font-size:8px;padding:0}.footnote a{font-size:8px}.control-heading{gap:15px}}
.control-heading label,.control-label,.round-action,.segmented button,.guide-control,.save-action{font-size:12px}.view-switch button{font-size:11px}.footnote button,.footnote{font-size:10px}.render-fallback{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;text-align:center;font-size:12px;line-height:1.8}.render-fallback img{max-width:80%;max-height:72%;object-fit:contain}#scene[hidden]{display:none}#scene:focus-visible{outline:none;box-shadow:inset 0 -2px 0 var(--accent)}
@media(max-width:600px){.control-heading label,.control-label,.round-action,.segmented button,.guide-control,.save-action{font-size:12px}.control-heading{gap:8px}.round-action{gap:5px;min-width:68px}.opening-control{flex-basis:calc(100% - 80px)}.view-switch button{font-size:10px;padding:7px 8px}.scene-note{font-size:8px;max-width:44%;line-height:1.5}.footnote button,.footnote{font-size:9px}.guide-control{gap:6px;margin-right:0}.segmented button{padding:7px 9px}.scene-help{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
