/* BottomSheet — draggable sheet anchored to viewport bottom with snap states */

.bottom-sheet-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--sheet-bg, #1a1a2e);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    max-width: 600px;
    margin: 0 auto;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    touch-action: none;
    will-change: transform;
}

.bottom-sheet-overlay.dragging {
    transition: none;
}

.bottom-sheet-overlay.hidden {
    transform: translateY(100%);
}

.bottom-sheet-handle {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 6px;
    cursor: grab;
}

.bottom-sheet-handle-bar {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.bottom-sheet-peek {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px 8px;
    font-size: 14px;
    min-height: 0;
}

.bottom-sheet-content {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px 16px;
}
