body{margin:0;overflow:hidden}canvas{display:block}body.diary-mode>#screenshot-control,body.diary-mode>#transport-controls,body.diary-mode>#debug-controls-panel,body.diary-mode>#statistics-overlay{display:none!important}.diary-settings-sheet{z-index:2200;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));color:#fff;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#161616f2;border:1px solid #fff3;border-radius:12px;width:min(560px,100vw - 24px);max-height:min(60vh,100vh - 170px);font-family:Arial,sans-serif;position:fixed;overflow:hidden;box-shadow:0 18px 60px #00000061}.diary-settings-sheet[hidden]{display:none!important}.diary-settings-sheet__header{z-index:2;background:#181818;border-bottom:1px solid #ffffff1f;justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding:7px 9px 7px 14px;display:flex;position:sticky;top:0}.diary-settings-sheet__header button,.diary-settings-sheet__content button,.diary-settings-sheet__content select,.diary-settings-sheet__content input{min-height:44px}.diary-settings-sheet__header button{color:#fff;cursor:pointer;background:#292929;border:1px solid #777;border-radius:8px;padding:8px 13px}.diary-settings-sheet__header button:focus-visible,.diary-settings-sheet__content button:focus-visible,.diary-settings-sheet__content select:focus-visible,.diary-settings-sheet__content input:focus-visible{outline-offset:2px;outline:3px solid #82b8ff}.diary-settings-sheet__content{overscroll-behavior:contain;touch-action:pan-y;max-height:calc(min(60vh,100vh - 170px) - 54px);padding:10px;overflow-y:auto}.diary-settings-sheet #transport-controls{flex-wrap:wrap;align-items:center;display:flex;border-radius:9px!important;width:100%!important;max-width:none!important;min-height:0!important;margin:0 0 10px!important;padding:10px!important;position:static!important;transform:none!important}.diary-settings-sheet #transport-controls input[type=range]{touch-action:none;flex:1;min-width:130px}.diary-settings-sheet #screenshot-control{width:100%;margin:0 0 10px;display:block!important;position:static!important}.diary-settings-sheet #debug-controls-panel{--width:100%;display:block;width:100%!important;max-height:none!important;position:static!important}.diary-settings-sheet .lil-gui .title,.diary-settings-sheet .lil-gui .controller{min-height:38px}.diary-settings-sheet #statistics-overlay{max-width:100%;margin-top:10px;position:static!important}@media (width<=700px){.diary-settings-sheet{right:8px;bottom:calc(86px + env(safe-area-inset-bottom));width:auto;max-height:min(60vh,100vh - 160px);left:8px}.diary-settings-sheet__content{max-height:calc(min(60vh,100vh - 160px) - 54px)}.diary-settings-sheet #transport-controls{gap:8px!important}.diary-settings-sheet #transport-controls>*{flex:120px}.diary-settings-sheet #transport-controls button,.diary-settings-sheet #transport-controls select{min-width:120px}}
