body.ranger-bottomsheet-open {
    overflow: hidden;
    touch-action: none;
}

.ranger-bottomsheet-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 9998;
    transition: background-color 300ms ease-out;
    touch-action: none;
}

.ranger-bottomsheet-backdrop--visible {
    background-color: rgba(0, 0, 0, 0.4);
}

.ranger-bottomsheet-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85%;
    background-color: var(--mud-palette-surface);
    border-radius: 20px 20px 0 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 300ms ease-out, max-height 300ms ease-out, height 300ms ease-out, border-radius 300ms ease-out;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.ranger-bottomsheet-panel--visible {
    transform: translateY(0);
}

.ranger-bottomsheet-panel--fullscreen {
    max-height: 100%;
    height: 100%;
    border-radius: 0;
}

.ranger-bottomsheet-handle-area {
    display: flex;
    justify-content: center;
    padding: 12px 0 8px 0;
    cursor: grab;
    flex-shrink: 0;
}

.ranger-bottomsheet-handle {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background-color: var(--mud-palette-text-disabled);
}

.ranger-bottomsheet-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px 24px 24px;
    -webkit-overflow-scrolling: touch;
}
