:root{--sf-top:calc(max(var(--safe-top), var(--tg-top)) + 10px);--sf-inset:8px}html:not(.layout-desktop) body{--sheet-gx:var(--sf-inset);--sheet-gb:var(--sf-inset)}html:not(.layout-desktop) body [data-sf=large]:not(#sf){position:absolute;top:var(--sf-top);left:0;right:0;bottom:0;width:auto;height:auto;max-height:none;margin:0 auto;border-radius:var(--sf-r-large,var(--sf-r-top));transform-origin:50% 0;box-shadow:0 -6px 24px rgb(0 0 0/calc(.24 * var(--shadow-k)));--sheet-pb:calc(16px + var(--safe-bottom))}html:not(.layout-desktop) body [data-sf=large]:not([data-sf-at=medium]):not(#sf){border-bottom-left-radius:var(--sf-r-bottom);border-bottom-right-radius:var(--sf-r-bottom)}@media(min-width:601px){html:not(.layout-desktop) body{--sf-r-bottom:0px}}html:not(.layout-desktop) body .modal>.modal-content[data-sf=large]:not(#sf){transform:translateY(calc(100% + 40px))}html:not(.layout-desktop) body .modal:is(.active,.sf-closing)>.modal-content[data-sf=large]:not(#sf){transform:translateY(0);will-change:transform}html:not(.layout-desktop) body [data-sf=large][data-sf-at=medium]:not(#sf),html:not(.layout-desktop) body .modal:is(.active,.sf-closing)>.modal-content[data-sf=large][data-sf-at=medium]:not(#sf){transform:translateY(var(--sf-ym,0px))scale(var(--sf-s,1));height:var(--sf-mh,auto);bottom:auto}html:not(.layout-desktop) body [data-sf=large][data-sf-at=medium]:not(#sf){--sheet-pb:max(16px, calc(var(--safe-bottom) - var(--sf-inset)))}html:not(.layout-desktop) body .modal-content[data-sf=large]:not([data-sf-scroll]):not(#sf){padding-bottom:var(--safe-bottom)}html:not(.layout-desktop) body [data-sf=large]:not(#sf) .modal-scroll{padding-bottom:var(--safe-bottom)}html:not(.layout-desktop) body [data-sf=large]:not(#sf)>.modal-sheet{height:100%;max-height:none;border-radius:inherit}@media not all and (any-pointer:coarse){html:not(.layout-desktop) [data-sf] .modal-handle,html:not(.layout-desktop) [data-sf] .sheet-grab::after{visibility:hidden}}html:not(.layout-desktop) [data-sf],html:not(.layout-desktop) [data-sf] .modal-scroll,html:not(.layout-desktop) [data-sf] .off-fs-body,html:not(.layout-desktop) [data-sf] .sheet-body{scrollbar-width:none}html:not(.layout-desktop) [data-sf]::-webkit-scrollbar,html:not(.layout-desktop) [data-sf] ::-webkit-scrollbar{display:none}html:not(.layout-desktop) body.kb-open [data-sf=large]:not(#sf){border-bottom-left-radius:0;border-bottom-right-radius:0;--sheet-pb:16px}html:not(.layout-desktop) body.kb-open .modal-content[data-sf=large]:not([data-sf-scroll]):not(#sf),html:not(.layout-desktop) body.kb-open [data-sf=large]:not(#sf) .modal-scroll{padding-bottom:0}html:not(.layout-desktop) body [data-sf=fit]:not(#sf){width:100%;margin:0;border-radius:var(--sf-r-float);max-height:calc(100% - var(--sf-top));--sheet-pb:max(16px, calc(var(--safe-bottom) - var(--sf-inset)))}html:not(.layout-desktop) body .modal:is(.active,.sf-closing){align-items:flex-end;justify-content:center}.modal.sf-closing{display:flex;pointer-events:auto}