/* Modal is portalled to body: avoid transformed app containers clipping touch targets. */
#cloudDetail[hidden]{display:none!important}
#cloudDetail:not([hidden]){position:fixed!important;inset:0!important;z-index:14000;padding:64px 12px max(12px,env(safe-area-inset-bottom))!important;align-items:center!important;box-sizing:border-box;touch-action:pan-y}
#cloudDetail .cloud-detail-panel,#cloudDetail .cloud-detail-panel.csd-hero{max-height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;border-radius:24px;width:min(100%,540px)}
#cloudDetailClose{position:absolute;right:max(16px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));width:42px;height:42px;border:1px solid #ffffff60;border-radius:50%;background:#25252be6;color:#fff;font-size:28px;line-height:1;z-index:2;cursor:pointer;touch-action:manipulation}
#cloudDetail .sq-comments{padding:20px;background:var(--bg,#fff);color:var(--ink,#222)}
body:has(#cloudDetail:not([hidden])) #delBackdrop{z-index:15000!important}
.th-export-dialog{position:fixed;inset:0;z-index:50000;background:#0008;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.th-export-dialog>section{width:min(100%,520px);max-height:88vh;max-height:88dvh;overflow:auto;overscroll-behavior:contain;background:var(--bg,#fff);color:var(--ink,#222);padding:20px;border-radius:22px;box-sizing:border-box}
.th-export-dialog header{display:flex;align-items:center;justify-content:space-between}.th-export-dialog button{font:inherit;padding:10px 14px;border:0;border-radius:12px;background:#eeeef3;color:#222;cursor:pointer}.th-export-dialog button:disabled{opacity:.5}.th-export-actions{display:flex;gap:8px;flex-wrap:wrap}.th-export-dialog p{font-size:14px;line-height:1.6}.th-export-dialog .th-export-hint{font-size:12px;opacity:.65}.th-export-dialog img{display:block;width:100%;height:auto;margin-top:16px}.th-export-dialog [hidden]{display:none!important}
#thExportBtn{font-size:13px;white-space:nowrap;width:auto;min-width:42px}#thFsExportBtn{position:absolute;right:70px;top:max(14px,env(safe-area-inset-top));z-index:10;background:#fff;color:#222;border-radius:14px;font-size:13px;width:auto;padding:10px}
