:root{color:#413e36;font-synthesis:none;font-synthesis-weight:none;--red:#ad5144;--line:#ddd6c8;--muted:#817c6e;--gold:#aa833e;background:#f5f1e8;font-family:Yu Gothic UI,Hiragino Kaku Gothic ProN,Meiryo,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.42}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline-offset:4px;outline:3px solid #a37c39}button{touch-action:manipulation}a{color:inherit}.app{max-width:1440px;margin:auto;padding:0 5vw}header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:85px;display:flex}.brand{letter-spacing:.18em;align-items:center;gap:12px;font-size:11px;font-weight:650;text-decoration:none;display:flex}.brand svg{width:38px;height:38px;fill:var(--red)}.brand-small{letter-spacing:.3em;color:var(--muted);margin-top:4px;font-size:8px;display:block}.edition{letter-spacing:.13em;font-family:Georgia,serif;font-size:17px}.edition span{color:#aaa292;font-size:12px}.text-button{background:0 0;border:0;min-height:44px;padding:10px 0;font-size:11px}.text-button span{border:1px solid #b6af9f;border-radius:50%;place-items:center;width:22px;height:22px;margin-left:7px;display:inline-grid}main{padding:30px 0 0}.intro{justify-content:space-between;align-items:center;margin-bottom:26px;display:flex}.eyebrow{letter-spacing:.23em;color:var(--gold);margin:0 0 9px;font-size:9px;font-weight:600}h1{letter-spacing:.08em;margin:0;font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:32px;font-weight:500;line-height:1.4}.title-dot{color:var(--red)}.intro-copy{color:#8a8272;margin:0;font-family:Yu Mincho,serif;font-size:12px;line-height:1.9}.workspace{border:1px solid var(--line);background:#faf8f2;grid-template-columns:minmax(0,1fr) 325px;min-width:0;display:grid}.paper-stage{background:radial-gradient(at 50% 42%,#fffdf7 10%,#f0ede3 100%);flex-direction:column;min-height:496px;display:flex;position:relative;overflow:hidden}.stage-meta{z-index:1;color:#938b7b;letter-spacing:.09em;justify-content:space-between;margin:23px 26px 0;font-size:10px;display:flex;position:relative}.stage-meta i{border:1px solid #b49a73;width:7px;height:7px;margin-right:6px;display:inline-block;transform:rotate(45deg)}.viewport{background-image:radial-gradient(#c9bda34d .65px,#0000 .65px);background-size:20px 20px;position:absolute;inset:45px 0 80px}.viewport canvas{touch-action:none;width:100%;height:100%;display:block}.view-error{background:#fff6e8;padding:24px;font-size:13px;position:absolute;inset:25%}.view-toolbar{z-index:1;background:#f8f5edcc;border:1px solid #e1daca;border-radius:30px;justify-content:center;gap:4px;max-width:100%;margin:auto auto 0;padding:3px 9px;display:flex}.view-toolbar button{background:0 0;border:0;border-radius:50%;min-width:42px;min-height:38px;padding:0 9px;font-size:11px}.view-toolbar button:hover{background:#e9e1d2}.view-toolbar span{border-right:1px solid var(--line);height:20px;margin:auto 5px}.gesture-note{text-align:center;color:#999080;letter-spacing:.08em;margin:11px 0 18px;font-size:9px}.guide-panel{border-left:1px solid var(--line);background:#fffdf8;min-width:0;padding:24px}.step-heading{letter-spacing:.07em;color:#8b7d67;justify-content:space-between;align-items:center;font-size:9px;display:flex}.step-count{color:#a69b8c;font-size:10px}.step-count b{color:var(--red);font-family:Georgia,serif;font-size:24px;font-weight:400}.progress-track{background:#eee8db;height:2px;margin:12px 0 21px}.progress-track span{background:var(--red);height:100%;transition:width .2s;display:block}h2{letter-spacing:.035em;margin:0 0 10px;font-family:Yu Mincho,serif;font-size:21px;font-weight:600}.step-detail{color:#827866;min-height:40px;margin:0 0 17px;font-size:11px;line-height:1.85}.crease-choice{text-align:left;background:#f8f5ed;border:1px solid #ded4c0;align-items:center;gap:12px;width:100%;min-height:78px;padding:9px 10px;display:flex}.crease-choice[aria-pressed=true]{background:#f5eee0;border-color:#b68446}.crease-choice svg{flex-shrink:0;width:62px;height:62px}.crease-choice small{color:#9b8a70;letter-spacing:.12em;margin-bottom:5px;font-size:9px;display:block}.crease-choice strong{font-size:11px;font-weight:600;display:block}.choice-hint{color:#968a76;margin-top:5px;font-size:8px;display:block}.choice-check{color:var(--gold);margin-left:auto;font-size:17px}.action-label{color:#97876f;letter-spacing:.1em;margin:17px 0 7px;font-size:9px}.action-label span{float:right;font-size:8px}.fold-actions{gap:7px;display:flex}.fold-actions button{background:#fffdf8;border:1px solid #dfd7c8;flex:1;min-height:40px;padding:8px;font-size:11px}.fold-actions button[aria-pressed=true]{border-color:var(--red);color:var(--red);background:#fbefea}.fold-actions button:hover{background:#f6f0e4}.action-icon{color:#ae8f68;margin-right:9px;font-family:Georgia,serif;font-size:18px}.primary-button{background:var(--red);color:#fff6e9;letter-spacing:.07em;border:0;justify-content:space-between;align-items:center;width:100%;min-height:46px;margin:14px 0 17px;padding:13px 18px;font-size:12px;display:flex}.primary-button:hover:enabled{background:#963e34}.primary-button:disabled{color:#867c69;opacity:1;background:#ded6c8}.motion-control>div:first-child{color:#9b8c74;justify-content:space-between;font-size:9px;display:flex}input[type=range]{width:100%;accent-color:var(--red);cursor:pointer;height:22px;margin:4px 0 0}.motion-bottom{justify-content:space-between;align-items:center;display:flex}.motion-bottom button{background:0 0;border:0;min-height:32px;padding:0 4px;font-size:10px}.slow-label{color:#8b806d;align-items:center;gap:4px;min-height:32px;font-size:9px;display:flex}.slow-label input{accent-color:var(--red)}.status{color:#a75a48;min-height:28px;margin:11px 0 8px;font-size:10px;line-height:1.65}.tip{color:#9b907e;border-top:1px solid #ece6db;margin:0 0 8px;padding-top:10px;font-size:9px;line-height:1.7}.history{justify-content:space-between;gap:12px;display:flex}.history button{color:#8b7d66;background:0 0;border:0;min-height:35px;padding:0 3px;font-size:10px}.chapter-progress{justify-content:space-between;gap:8px;margin:23px 0 20px;display:flex}.chapter-item{color:#a59c8b;border-top:1px solid #dad3c5;flex:1;padding-top:9px;font-size:9px}.chapter-item b{margin-right:8px;font-family:Georgia,serif;font-size:12px;font-weight:400}.chapter-item.active{color:var(--red);border-color:var(--red)}.chapter-item.done{color:#77775e}.chapter-item.done b:after{content:" ·"}.completion{text-align:center;pointer-events:none;color:#a15c49;z-index:1;position:absolute;top:30px;left:0;right:0}.completion span{letter-spacing:.14em;font-size:10px}.completion strong{letter-spacing:.2em;margin-top:8px;font-family:Yu Mincho,serif;font-size:25px;font-weight:500;display:block}.completion p{letter-spacing:.09em;color:#938773;font-size:10px}.paper-stage.finished .stage-meta{visibility:hidden}.paper-stage.finished .viewport{inset:105px 0 80px}footer{border-top:1px solid var(--line);color:#a09583;letter-spacing:.07em;justify-content:space-between;padding:16px 0 20px;font-size:9px;display:flex}dialog{border:1px solid var(--line);color:#554b3b;background:#fffdf6;width:min(480px,90vw);max-height:85vh;padding:32px}dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#3a322c70}dialog h2{margin:15px 0}dialog p,dialog li{font-size:12px;line-height:1.9}dialog ol{padding-left:22px}dialog .credit{color:#998775;border-top:1px solid var(--line);padding-top:16px;font-size:9px}.dialog-close{color:#a18366;background:0 0;border:0;min-width:44px;min-height:44px;font-size:25px;position:absolute;top:8px;right:10px}[hidden]{display:none!important}@media (min-width:1000px) and (max-height:820px){header{height:63px}main{padding-top:20px}.intro{margin-bottom:18px}h1{font-size:29px}.paper-stage{min-height:460px}.guide-panel{padding:17px 22px}.progress-track{margin:7px 0 13px}.step-detail{min-height:37px;margin-bottom:11px}.crease-choice{min-height:64px;padding:5px 10px}.crease-choice svg{width:51px;height:51px}.action-label{margin-top:11px}.primary-button{margin:10px 0 11px}.status{min-height:25px;margin:5px 0}.tip{padding-top:7px;font-size:8px}.chapter-progress{margin:17px 0}.gesture-note{margin-bottom:13px}}@media (max-width:760px){.app{padding:0 18px}header{height:67px}.edition{font-size:14px}.brand{font-size:9px}.brand svg{width:30px}.brand-small{font-size:6px}.intro-copy{display:none}main{padding-top:24px}.intro{margin-bottom:21px}h1{font-size:29px}.eyebrow{font-size:8px}.workspace{grid-template-columns:1fr}.paper-stage{min-height:320px}.stage-meta{margin:16px 17px 0;font-size:9px}.viewport{inset:25px 0 67px}.view-toolbar{padding:0 8px}.view-toolbar button{min-width:44px;min-height:44px}.gesture-note{margin:7px 0 11px;font-size:8px}.guide-panel{border-left:0;border-top:1px solid var(--line);padding:21px}.progress-track{margin:8px 0 15px}.step-detail{min-height:0;margin-bottom:17px;font-size:12px}.fold-actions button{min-height:44px}.crease-choice{min-height:70px}.crease-choice svg{width:52px;height:52px}.action-label{font-size:10px}.action-label span{font-size:9px}.primary-button{min-height:48px;font-size:13px}.motion-bottom button,.history button{min-height:44px}.slow-label{min-height:44px;font-size:10px}.status{min-height:19px;font-size:11px}.tip{font-size:10px}.chapter-progress{flex-wrap:wrap;gap:15px 12px}.chapter-item{flex-basis:calc(33.333% - 12px);font-size:9px}footer{font-size:8px}.completion strong{font-size:22px}.completion p{display:none}.paper-stage.finished .viewport{inset:70px 0 67px}}@media (max-width:350px){.app{padding:0 12px}.guide-panel{padding:17px}.paper-stage{min-height:286px}.brand-small{display:none}.edition{font-size:12px}.choice-hint{font-size:7px}.stage-meta{font-size:8px}.view-toolbar button{padding:0 7px}.intro{margin-bottom:15px}h1{font-size:26px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.step-detail,.crease-choice strong,.fold-actions button{font-size:12px}.choice-hint{font-size:10px}.motion-control>div:first-child,.motion-bottom button,.slow-label,.history button,.status{font-size:11px}.tip{font-size:10px}.view-toolbar button{font-size:12px}.crease-choice small,.action-label,.action-label span{font-size:10px}@media (min-width:1000px) and (max-height:820px){header{height:54px}main{padding-top:13px}.intro{margin-bottom:13px}.guide-panel{padding:14px 20px}.step-detail{margin-bottom:10px;line-height:1.6}.progress-track{margin-bottom:10px}.primary-button{margin:9px 0}.tip{display:none}.chapter-progress{margin:12px 0}footer{padding:10px 0}}@media (max-width:760px){html{scroll-padding-top:345px}.paper-stage{z-index:2;border-bottom:1px solid var(--line);height:334px;min-height:334px;position:sticky;top:0;box-shadow:0 5px 15px #4a3b2210}.guide-panel{border-top:0}.choice-hint{font-size:9px}.status,.step-detail{font-size:12px}}@media (max-width:350px){html{scroll-padding-top:303px}.paper-stage{height:292px;min-height:292px}.choice-hint{font-size:8px}}.viewing-controls .primary-button{justify-content:center;min-height:48px;margin:0 0 8px;font-size:14px}.watch-all-button{color:#7b5140;background:#f9f1e4;border:1px solid #ba9980;width:100%;min-height:46px;padding:9px 12px;font-size:12px}.watch-all-button:hover{background:#efe1cd}.watch-all-button[aria-pressed=true]{border-color:var(--red);color:#8d4337;background:#f8e7df}.viewing-note{color:#857763;min-height:38px;margin:9px 0;font-size:11px;line-height:1.7}.manual-folding{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 0 16px}.manual-folding summary{cursor:pointer;color:#84725d;touch-action:manipulation;align-content:center;min-height:44px;padding:9px 0;font-size:11px;display:list-item}.manual-folding summary:focus-visible{outline-offset:3px;outline:3px solid #a37c39}.manual-folding[open] summary{margin-bottom:7px}.manual-folding .primary-button{font-size:12px}.manual-folding:not([open])+.motion-control{margin-top:3px}
