*{box-sizing:border-box}body{margin:0;color:#394a40;background:#eee5d2;font-family:Songti SC,SimSun,Georgia,serif}canvas{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}header{position:fixed;left:6vw;top:max(5vh,env(safe-area-inset-top));color:#4b4939}h1{font-family:KaiTi,STKaiti,serif;font-weight:400;font-size:clamp(39px,7vw,74px);letter-spacing:.06em;margin:.17em 0}header small{font-size:clamp(9px,1.4vw,13px);letter-spacing:.17em}i{display:inline-block;font: 10px/1.1 serif;color:#ad6752;border:1px solid;border-radius:2px;width:13px;vertical-align:middle}nav,aside{position:fixed;border:1px solid #bcab85;box-shadow:0 5px 20px #3c493326}nav{bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);border-radius:30px;display:flex;align-items:center;justify-content:center;padding:2px 12px;background:#435b4eea;color:#fff0d0;white-space:nowrap}nav b{font-size:16px;font-weight:400;margin:0 8px}button,select,input,.file{font:inherit;color:inherit}button,select,.file,summary{cursor:pointer}button,.file,summary{min-height:44px;padding:8px 11px}button,.file{border:0;background:transparent}nav button{min-width:44px}button:hover,.file:hover{background:#bfae8422}aside{right:max(12px,4vw);bottom:84px;background:#f9f2e2f7;border-radius:14px;width:min(332px,94vw);max-height:76dvh;padding:14px 20px;overflow:auto;font-size:14px}h2{font-size:20px;font-weight:400}label,.row{display:flex;justify-content:space-between;align-items:center;gap:8px}label,summary{padding:8px 0}select,input[type=number]{max-width:122px;background:#f5eddc;border:1px solid #bcaf94;padding:6px;border-radius:5px}details{border-top:1px solid #c5b99c}.file input{display:none}.quiet{opacity:.55}.black{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background:#050605;color:#797b75;z-index:9}.row button,.file{color:#445c4a}.row{flex-wrap:wrap}aside p{font-size:12px;color:#647066}.presets{position:fixed;left:50%;transform:translate(-50%);bottom:max(78px,calc(env(safe-area-inset-bottom) + 60px));display:flex;align-items:center;gap:2px;padding:0 9px;background:#f7efdedf;border:1px solid #b8ae91;border-radius:24px;white-space:nowrap;color:#3e5347}.presets small,.presets span{font-size:11px}.presets button{font-size:13px;padding:5px 8px}.presets button[aria-pressed=true]{color:#315f4a;text-decoration:underline;text-underline-offset:4px}.openAlbum{position:fixed;right:4vw;top:4vh;background:#faf4e5dc;border-radius:24px;font-size:13px;color:#425448}.album{position:fixed;top:0;right:0;bottom:0;left:0;z-index:8;background:#ebe6d9}.album canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain}.folio{position:absolute;bottom:2vh;left:50%;transform:translate(-50%);width:min(94vw,560px);background:#fff7e7ed;border:1px solid #bcad90;border-radius:16px;padding:8px 14px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.folio h2{margin:0}.folio input{width:66px}.folio label{gap:4px}header strong{display:block;margin-bottom:.4em}.studio{z-index:7;bottom:max(4px,env(safe-area-inset-bottom));left:50%;right:auto;transform:translate(-50%);width:min(100%,440px);max-height:57dvh;border-radius:20px 20px 4px 4px}.studio.compact{max-height:19dvh;text-align:center}.studio label{flex:1;font-size:13px}.studio input[type=range]{min-width:55px;width:35%;accent-color:#526e55}.studio output{width:2em}.people,.control{display:flex;align-items:center;justify-content:space-between}.people{position:sticky;top:-14px;background:#f9f2e2}.people [aria-pressed=true]{border-bottom:2px solid #70836b}.control button{font-size:12px}.studio .row h2{margin:0}.live{position:fixed;right:3vw;top:12vh;width:min(94vw,370px);z-index:3;padding:8px 12px;border:1px solid #b8b398;border-radius:12px;background:#faf5e8ed;color:#384e42;font:12px/1.35 system-ui,sans-serif;font-variant-numeric:tabular-nums}.liveHead,.live .people{display:flex;justify-content:space-between;align-items:center}.liveHead span,.live small{font-size:10px;color:#526750}.live .people{position:static;background:none}.live .people button{padding:3px;min-height:26px;font-size:12px}.liveGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}.reading{display:grid;grid-template-columns:1fr auto;align-items:center;position:relative;padding:3px 0 7px;border-top:1px solid #cfc9b5;white-space:nowrap}.reading b{font-weight:600}.reading svg{position:absolute;bottom:0;width:100%;height:9px;color:#567e66}.reading[data-focused=true]{background:#dde6d5}.live small{display:block;margin-top:3px}@media(max-width:600px){.live{top:max(55px,calc(env(safe-area-inset-top) + 46px));right:3vw;width:94vw}.live~header,body:has(.live) header{top:8px;left:4vw}body:has(.live) header :is(small,strong,i){display:none}body:has(.live) header h1{font-size:25px}body:has(.live) .openAlbum{top:4px}}.live.folded{left:auto;width:auto;padding:8px 12px;min-height:36px}.liveHead button{padding:3px 6px;min-height:32px;font-size:11px}
