.wheel-backdrop {
    align-items: flex-end;
    padding: 0;
    z-index: 120;
}

.wheel-sheet {
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
    animation: sheet-up 0.28s ease;
}

@keyframes sheet-up {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.wheel-title {
    font-size: 14px;
    font-weight: 560;
    text-align: center;
    margin-bottom: 10px;
}

.wheel-columns {
    display: flex;
    gap: 8px;
}

.wheel-actions {
    display: flex;
    gap: 10px;
}

.wheel-actions .btn {
    flex: 1;
    min-width: 0;
}

.wheel-cancel {
    color: var(--text-3);
}

.wheel-cancel:hover {
    color: var(--text-2);
}

.wheel-columns .wheel-viewport {
    flex: 1;
    min-width: 0;
}

.wheel-viewport {
    position: relative;
    height: 220px;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    margin-bottom: 14px;
    mask-image: linear-gradient(transparent, black 25%, black 75%, transparent);
    -webkit-mask-image: linear-gradient(transparent, black 25%, black 75%, transparent);
}

.wheel-viewport::-webkit-scrollbar {
    display: none;
}

.wheel-highlight {
    position: sticky;
    top: 88px;
    height: 44px;
    margin-bottom: -44px;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    pointer-events: none;
}

.wheel-item {
    height: 44px;
    display: grid;
    place-items: center;
    scroll-snap-align: center;
    font-size: 16px;
    color: var(--text-3);
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
    position: relative;
    z-index: 1;
}

.wheel-item.near {
    color: var(--text-2);
}

.wheel-item.current {
    color: var(--text);
    font-weight: 600;
    font-size: 17.5px;
}

@media (min-width: 640px) {
    .wheel-backdrop {
        align-items: center;
        padding: 20px;
    }

    .wheel-sheet {
        border-radius: var(--radius-lg);
    }
}
