:root{font:15px/1.5 system-ui;color:#25272b;background:#f5f3ee;--line:#dddcd5}*{box-sizing:border-box}body{margin:0}main{max-width:1500px;margin:auto;padding:28px 4vw}header{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:20px}a{color:inherit;text-decoration:none}header a:first-child{font-size:12px;letter-spacing:2px}.intro{padding:55px 0 40px;max-width:820px}.intro span,.preview-head span,.editor>span{font-size:11px;letter-spacing:2px;color:#81745d}h1{font:clamp(40px,5vw,72px)/1.04 Georgia;margin:18px 0;letter-spacing:-2px}.intro p{max-width:650px;color:#626469;font-size:18px}.workspace{display:grid;grid-template-columns:220px minmax(290px,430px) minmax(270px,1fr);gap:32px;align-items:start}h2{font-size:20px;font-weight:550}#choices{display:grid;gap:9px}button{font:inherit;cursor:pointer;border:1px solid var(--line);background:white;color:inherit;border-radius:12px;padding:12px 15px}#choices button{text-align:left;background:transparent;padding:16px}#choices button[aria-pressed=true]{background:#242c32;color:white;border-color:#242c32}#choices small{display:block;margin-top:6px;opacity:.7;font-size:11px}.small{font-size:12px;color:#777;line-height:1.6}.preview-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.preview-head button{font-size:11px;padding:6px 12px}.post{background:#fff;border:1px solid #ddd;border-radius:19px;overflow:hidden;box-shadow:0 20px 50px #3434310a}.post-head{display:flex;gap:10px;align-items:center;padding:15px}.avatar{border:1px solid #dbc4a0;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;font:14px Georgia}.post-head small{display:block;color:#777;font-size:10px}.post-head>span{margin-left:auto}.social{display:flex;justify-content:space-between;font-size:27px;padding:10px 15px}.caption{padding:0 16px 16px;font-size:13px;white-space:pre-wrap;line-height:1.6;max-height:300px;overflow:auto}.post-footer{font-size:11px;color:#777;margin:0;padding:12px 16px;border-top:1px solid #eee}.editor{background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px}.editor label{display:block;font-size:12px;margin:14px 0;color:#67696b}input,textarea{font:14px/1.45 system-ui;display:block;width:100%;border:1px solid var(--line);border-radius:10px;padding:12px;margin-top:6px;background:#faf9f6;color:#25272b}textarea{resize:vertical}.actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.actions button{font-size:12px}#export,#save{background:#25313b;color:white}#status{font-size:12px;min-height:40px}footer{padding:45px 0 15px;color:#7b7b7a;font-size:12px}@media(max-width:1050px){.workspace{grid-template-columns:190px 1fr}.editor{grid-column:1/-1}}@media(max-width:620px){main{padding:20px}.intro{padding:32px 0 20px}.workspace{display:block}#choices{grid-template-columns:1fr 1fr;margin-bottom:24px}#choices button{padding:12px;font-size:12px}aside>.small{display:none}.editor{margin-top:24px}header a{font-size:11px}.post{max-width:430px;margin:auto}h1{letter-spacing:-1px}}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a9b6bd;outline-offset:3px}
/* Mobile workbench: compact library, working area first, deliberate mode. */
.mobile-tools{display:none}@media(max-width:620px){header{padding-bottom:10px}.intro{padding:12px 0}.intro h1{font-size:28px;margin:8px 0}.intro p{font-size:13px;margin:8px 0}.intro>span{font-size:9px}.workspace aside h2{display:none}#choices{display:flex;overflow-x:auto;gap:8px;padding-bottom:8px;margin:8px 0 12px;scroll-snap-type:x proximity}#choices button{flex:0 0 150px;scroll-snap-align:start}#choices small{display:none}.mobile-tools{position:sticky;top:0;z-index:5;display:flex;gap:8px;background:#f5f3eef2;padding:8px 0}.mobile-tools button{flex:1;font-size:12px}.mobile-tools button[aria-pressed=true]{background:#25313b;color:white}.workspace[data-mobile-view=preview] .editor{display:none}.workspace[data-mobile-view=editor]>section:not(.editor){display:none}.editor{margin-top:8px;padding:16px}.post{border-radius:12px}.preview-head{margin-top:8px}}
/* Stable canvas and immediate tactile response; no layout animation. */
#art{aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#eae7df;--format-ratio:.8}#art>.y3-studio-stage{flex:none;width:min(100%,calc(var(--format-ratio)*125%))!important;max-height:100%}.caption{height:220px;max-height:220px;scrollbar-gutter:stable}.intro{min-height:300px}.editor h2{min-height:30px}.editor #logic{min-height:42px}#choices{min-height:560px}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform 70ms ease-out,background-color 100ms ease-out,box-shadow 100ms ease-out}button:active{transform:translateY(1px) scale(.985);box-shadow:inset 0 2px 5px #0002}button:disabled{cursor:wait}input,textarea,select{touch-action:manipulation}input:focus,textarea:focus{border-color:#71818e;box-shadow:0 0 0 2px #71818e18}.preview-head{min-height:34px}.preview-head select{max-width:65%}@media(max-width:620px){.intro{min-height:100px}#choices{min-height:50px;max-height:70px}#art{max-height:60svh}.caption{height:150px;max-height:150px}.mobile-tools{backdrop-filter:blur(12px)}main{overflow-anchor:none}}@media(prefers-reduced-motion:reduce){button{transition:none}button:active{transform:none}}
@media(max-width:620px){.intro{min-height:56px}.intro p,.intro>span{display:none}#art{max-height:none}}
/* The studio opens on the work, not a landing-page hero. */
main{padding-top:18px}.intro{min-height:0;max-width:none;padding:18px 0 20px;display:flex;align-items:center;justify-content:space-between;gap:24px}.intro>span{display:none}.intro h1{font:32px/1.12 Georgia;letter-spacing:-.7px;margin:0;max-width:660px}.intro p{font-size:13px;margin:0;max-width:340px}.workspace{gap:24px;grid-template-columns:200px minmax(290px,430px) minmax(270px,1fr)}header{padding-bottom:12px}@media(max-width:1050px){.workspace{grid-template-columns:170px 1fr}.intro h1{font-size:28px}.intro p{display:none}}@media(max-width:620px){.intro{padding:12px 0;min-height:50px}.intro h1{font-size:24px;letter-spacing:-.4px}.workspace{display:block}}
