.drawer{inset:auto 0 var(--drawer-viewport-bottom,0) auto;width:min(100%, var(--drawer-width));height:calc(var(--drawer-viewport-height,100dvh) * var(--drawer-height-ratio));box-sizing:border-box;border-style:solid;border-width:1px 0 0 1px;max-width:none;max-height:none;margin:0;padding:0;position:fixed;overflow:hidden}.drawer[open]{animation:drawer-enter-right var(--drawer-duration) ease-out;flex-direction:column;display:flex}.drawer[data-size=content]{height:auto;max-height:calc(var(--drawer-viewport-height,100dvh) * var(--drawer-height-ratio))}.drawer[data-placement=bottom]{border-width:1px 0 0;border-radius:20px 20px 0 0;width:100%;animation-name:drawer-enter-bottom}.drawer::backdrop{background:0 0}.drawer [data-drawer-swipe=true]{touch-action:none}.drawer[data-dragging=true]{animation:none}.drawer[data-closing=true]{pointer-events:none}html:has(.drawer[open]){overflow:hidden}@keyframes drawer-enter-right{0%{transform:translate(100%)}}@keyframes drawer-enter-bottom{0%{transform:translateY(100%)}}@media (prefers-reduced-motion:reduce){.drawer[open]{animation:none}}