:root{font-family:system-ui,-apple-system,sans-serif;color:#e8dac1;background:#262a29;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 60% 0,#3d4740,transparent 70%),#252b2a}main{max-width:1120px;margin:auto;padding:30px 28px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}h1{font:normal clamp(38px,5vw,58px) Georgia,serif;letter-spacing:-1.7px;margin:2px 0 5px}.eyebrow{font-size:10px;letter-spacing:2px;color:#b8b89c;font-weight:700;margin:0 0 8px}.lede{font:17px Georgia,serif;color:#c7c9ae;margin:0}.stamp{display:grid;place-content:center;text-align:center;border:1px solid #b09d6b;border-radius:100%;width:85px;height:85px;font:10px/1.8 system-ui;letter-spacing:2px;color:#d4c18f}.topbar{border-top:1px solid #596154;display:flex;align-items:center;justify-content:space-between;padding-top:22px}h2{font:28px Georgia,serif;margin:0}.progress{text-align:right}.progress strong{font:30px Georgia,serif;display:block;color:#f0cf81}.progress span{font-size:10px;color:#b9bca2}.brief{font-size:13px;line-height:1.6;color:#c8cbb6;margin:12px 0 24px;min-height:22px}.stage{display:grid;grid-template-columns:1fr 1fr;gap:24px}.caption{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1px;margin-bottom:10px;color:#d6c8a8}.caption span{letter-spacing:0;color:#aeb79f;font-size:10px}.stage canvas{width:100%;height:auto;display:block;border-radius:18px;box-shadow:0 16px 30px #111a1755;touch-action:none}.stage canvas:focus-visible{outline:3px solid #e7c56f;outline-offset:4px}.canvas-help{font-size:10px;color:#b8bea7;text-align:center;margin:11px 0 0}.desk{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;margin-top:24px;padding:22px 0;border-top:1px solid #596154;border-bottom:1px solid #596154}.piece-tabs,.tools,.row{display:flex;gap:7px;flex-wrap:wrap}button,select{font:12px system-ui;color:#e5dfca;background:#3c4841;border:1px solid #6e7865;border-radius:8px;padding:10px 12px;min-height:40px;cursor:pointer}button:hover{background:#4d5d51}button:disabled{opacity:.45;cursor:default}button:focus-visible{outline:3px solid #e5c979;outline-offset:2px}.piece-tabs button{flex:1}.piece-tabs button[aria-pressed=true]{background:#d4b876;color:#2c372e;border-color:#d4b876}.tools{margin-top:12px;align-items:center}.arrows{display:flex;gap:4px}.arrows button{padding:8px 12px}.check{font-size:11px;color:#cbd1b8;display:flex;align-items:center;gap:4px}.selected{font-size:10px;color:#aebaa1;min-height:16px}.actions .row button{flex:1}#message{font:13px/1.6 Georgia,serif;color:#e0d1a9;min-height:42px;margin:12px 0}.primary{width:100%;background:#e0cb92;color:#28372d;border-color:#e0cb92;font-weight:700}.primary:hover{background:#ead9a9}.primary:disabled{background:#3c4841;color:#b7bea6;border-color:#6e7865}.journal{margin:25px 0}#chapters{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}#chapters button{font-size:10px;line-height:1.5;text-align:left;min-height:66px}#chapters button.current{border-color:#e4ca7d}#chapters .done{color:#f0cd7b}details{font-size:12px;line-height:1.7;color:#b8c2a9;border-top:1px solid #596154;padding-top:18px}summary{font-size:13px;color:#e0d9bb;cursor:pointer}a{color:#d3c28f}footer{font-size:10px;color:#8fa18d;margin-top:25px;padding-bottom:10px}@media(max-width:720px){main{padding:20px 14px}.stamp{width:65px;height:65px;font-size:8px}.lede{font-size:14px}.eyebrow{font-size:8px;letter-spacing:1.6px}header{margin-bottom:20px}.stage{gap:10px}.caption{font-size:8px;display:block;line-height:1.6}.caption span{display:block;font-size:9px}.stage canvas{border-radius:10px}.canvas-help{font-size:9px}.desk{grid-template-columns:1fr;gap:8px;padding:16px 0}.brief{font-size:12px;margin-bottom:16px}.progress strong{font-size:25px}h2{font-size:23px}#chapters{grid-template-columns:repeat(3,1fr)}.piece-tabs button{padding:9px 7px;font-size:11px}.tools{gap:7px}.arrows button{padding:9px 13px}.actions .row button{font-size:11px}.selected{margin-bottom:6px}}@media(max-width:360px){.tools{gap:4px}.arrows button{padding:8px 10px}}
