.location-sheet-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    transition: opacity 0.3s;
}

.location-sheet-mask.show {
    display: block;
    animation: locationMaskFadeIn 0.3s;
}

@keyframes locationMaskFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.location-sheet-container {
    position: fixed;
    font-family: 'MiSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.location-sheet-mask.show .location-sheet-container {
    transform: translateY(0);
}

.location-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 56px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
    position: relative;
    z-index: 100;
    background: #ffffff;
}

.location-sheet-title {
    font-size: 17px;
    font-weight: 500;
    color: #2D272A;
}

.location-sheet-btn {
    background: none;
    border: none;
    font-size: 16px;
    padding: 8px 12px;
    cursor: pointer;
    transition: opacity 0.2s;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    touch-action: manipulation;
    position: relative;
    z-index: 10;
}

.location-sheet-btn:active {
    opacity: 0.6;
}

.cancel-btn {
    color: #666666;
    flex-shrink: 0;
}

.confirm-btn {
    color: #007AFF;
    font-weight: 600;
    flex-shrink: 0;
}

.location-picker-container {
    flex: 1;
    position: relative;
    background: #ffffff;
    overflow: hidden;
    padding: 20px 0;
}

.location-picker-selection-indicator {
    position: absolute;
    top: 50%;
    left: 16px;
    right: 16px;
    height: 44px;
    transform: translateY(-50%);
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    pointer-events: none;
    z-index: 10;
}

/* 移除伪元素，直接使用border */

.location-picker-wheels {
    display: flex;
    height: 220px;
    padding: 0 16px;
    gap: 10px;
    position: relative;
}

.location-picker-wheel {
    flex: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.location-picker-wheel-scroll {
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: grab;
}

.location-picker-wheel-scroll:active {
    cursor: grabbing;
}

.location-picker-wheel-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
    /* Container高220px, 中心在110px, item高44px, 需要110px - 22px = 88px的padding */
    padding: 88px 0;
}

.location-picker-item {
    height: 44px;
    line-height: 44px;
    text-align: center;
    font-size: 16px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-picker-item.selected {
    color: #666;
    font-size: 20px;
    font-weight: 500;
    transform: scale(1.1);
}

.location-picker-item:active {
    opacity: 0.8;
}

.location-picker-fade-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.6) 30%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.6) 70%,
        rgba(255, 255, 255, 0.95) 100%
    );
}

/* 暗色模式支持 - 暂时禁用，保持白色背景 */
/*
@media (prefers-color-scheme: dark) {
    .location-sheet-container {
        background: #1c1c1e;
    }

    .location-sheet-header {
        border-bottom-color: #38383a;
    }

    .location-sheet-title {
        color: #ffffff;
    }

    .confirm-btn {
        color: #ffffff;
    }

    .cancel-btn {
        color: #8e8e93;
    }

    .location-picker-selection-indicator::before,
    .location-picker-selection-indicator::after {
        background: #38383a;
    }

    .location-picker-item {
        color: #8e8e93;
    }

    .location-picker-item.selected {
        color: #ffffff;
        font-weight: 600;
    }

    .location-picker-fade-mask {
        background: linear-gradient(
            to bottom,
            rgba(28, 28, 30, 0.95) 0%,
            rgba(28, 28, 30, 0.6) 30%,
            rgba(28, 28, 30, 0) 40%,
            rgba(28, 28, 30, 0) 60%,
            rgba(28, 28, 30, 0.6) 70%,
            rgba(28, 28, 30, 0.95) 100%
        );
    }
}
*/