:root{color:#20211f;background:#faf9f7;font:16px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}main{max-width:760px;padding:max(24px,env(safe-area-inset-top)) 20px max(45px,env(safe-area-inset-bottom));margin:auto}header,.tools{justify-content:space-between;align-items:center;gap:12px;display:flex}header{margin:10px 0 22px}.brand,.hint,small,.empty{color:#646560}.brand{font-size:13px;font-weight:650}h1,h2,p{margin:0}h1{letter-spacing:-.055em;font-size:clamp(40px,8vw,56px);line-height:1.1}h2{margin:26px 0 14px;font-size:23px}.mode{background:#edede8;border-radius:20px;padding:4px 11px;font-size:13px}button,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}.templates,.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.templates button{background:#eee;border:0;border-radius:16px;padding:0;display:grid;position:relative;overflow:hidden}.templates img{object-fit:cover;width:100%;height:clamp(124px,25vw,175px)}.templates strong{color:#fff;text-align:left;background:linear-gradient(#0000,#0009);padding:26px 12px 9px;position:absolute;bottom:0;left:0;right:0}form{background:#fff;border:1px solid #cfcec7;border-radius:20px;margin-top:20px;padding:16px}form:focus-within{outline:2px solid #787970}label{font-weight:650;display:block}textarea{resize:vertical;background:0 0;border:0;outline:none;width:100%;margin:8px 0}.switch{background:#f1f1ee;border-radius:18px;padding:3px;display:flex}.switch button,.submit{background:0 0;border:0;border-radius:16px;padding:7px 14px}.switch button[aria-pressed=true]{background:#fff;box-shadow:0 1px 4px #0002}.submit{color:#fff;background:#242521}.hint,small{font-size:13px}.hint{margin:8px 3px}.empty,.placeholder{background:#efefeb;border-radius:14px;padding:22px 12px}article{background:#fff;border:1px solid #e4e3df;border-radius:14px;align-self:start;overflow:hidden}article img,video{width:100%;display:block}.meta{overflow-wrap:anywhere;padding:10px}.meta a,.meta button{color:inherit;background:0 0;border:0;padding:5px 0;font-size:14px;text-decoration:underline}[role=alert]{color:#913522}
