.bsheet-layer{z-index:70;overscroll-behavior:contain;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.bsheet-scrim{opacity:0;background:#080e1880;transition:opacity .26s cubic-bezier(.23,1,.32,1);position:absolute;inset:0}.bsheet-layer[data-state=open] .bsheet-scrim{opacity:1}.bsheet{width:min(640px,100%);max-height:calc(100dvh - 24px - env(safe-area-inset-top));background:var(--bg);color:var(--text);will-change:transform;border-radius:28px 28px 0 0;outline:none;flex-direction:column;transition:transform .26s cubic-bezier(.32,.72,0,1);display:flex;position:relative;transform:translateY(100%);box-shadow:0 -8px 40px #00000040}.bsheet-layer[data-state=open] .bsheet{transition-duration:.38s;transform:none}.bsheet-layer[data-state=out] .bsheet{transition-duration:.26s;transform:translateY(100%)}.bsheet-top{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;flex:none;padding-top:8px}.bsheet-grab{background:var(--line);border-radius:3px;width:36px;height:5px;margin:0 auto;display:block}.bsheet-bar{justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:6px 12px 6px 20px;display:flex}.bsheet-bar h2{overflow-wrap:anywhere;letter-spacing:-.03em;min-width:0;margin:0;font-size:1.375rem;font-weight:700;line-height:1.2}.bsheet-x{background:var(--line);width:44px;height:44px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;transition:transform .16s cubic-bezier(.23,1,.32,1);display:grid}.bsheet-x:active{transform:scale(.97)}.bsheet-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;padding:4px 16px calc(24px + env(safe-area-inset-bottom));padding-left:max(16px, env(safe-area-inset-left));padding-right:max(16px, env(safe-area-inset-right));flex:auto;overflow-y:auto}.bsheet-body>*{min-width:0;max-width:100%}@media (prefers-reduced-motion:reduce){.bsheet,.bsheet-layer[data-state=open] .bsheet,.bsheet-layer[data-state=out] .bsheet{opacity:0;transition:opacity .2s;transform:none}.bsheet-layer[data-state=open] .bsheet{opacity:1}.bsheet-scrim{transition-duration:.2s}.bsheet-x:active{transform:none}}
