/* ========== 3D 滚轮选择器 ========== */

.date-time-picker, .place-picker {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 20px 0 !important;
    perspective: 1000px; /* 3D 透视 */
    flex-wrap: wrap; /* 允许换行 */
}

.picker-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px; /* 固定宽度 */
    flex-shrink: 0; /* 防止缩小 */
}

.picker-column.wide {
    width: 200px !important; /* 宽列 */
}

.picker-label {
    font-size: 10px;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Noto Sans SC', sans-serif;
}

.picker-container {
    position: relative;
    width: 100%;
    height: 120px !important; /* 3行显示：30px * 3 + padding */
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    /* 内阴影增加深度 */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

/* 遮罩：上下渐变，模拟圆柱体光影 */
.picker-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(244, 241, 234, 1) 0%, 
        rgba(244, 241, 234, 0) 40%, 
        rgba(244, 241, 234, 0) 60%, 
        rgba(244, 241, 234, 1) 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* 中间选中线 */
.picker-mask::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 32px; /* 选项高度 */
    transform: translateY(-50%);
    border-top: 1px solid rgba(185, 28, 28, 0.3);
    border-bottom: 1px solid rgba(185, 28, 28, 0.3);
    background: rgba(185, 28, 28, 0.05);
    pointer-events: none;
}
.picker-wheel {
    height: 100% !important;
    overflow-y: scroll !important;
    scroll-snap-type: y mandatory; /* 滚动吸附 */
    scrollbar-width: none; /* Firefox 隐藏滚动条 */
    -ms-overflow-style: none;  /* IE 10+ */
    padding: 44px 0; /* 上下填充，让第一个和最后一个能居中 (120 - 32)/2 = 44 */
}

.picker-wheel::-webkit-scrollbar {
    display: none; /* Chrome/Safari 隐藏滚动条 */
}

.picker-option {
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-family: 'Noto Serif SC', serif;
    font-size: 14px;
    color: #999;
    scroll-snap-align: center; /* 滚动停止时居中 */
    transition: all 0.2s;
    cursor: pointer;
    letter-spacing: 0; /* 修复字体间隔 */
    white-space: nowrap; /* 防止换行 */
}

/* 选中态（通过JS动态添加 active 类，或者利用 CSS 伪类技巧） */
.picker-option.active {
    color: #000;
    font-weight: bold;
    transform: scale(1.1);
}

/* 悬停效果 */
.picker-option:hover {
    color: #555;
}

/* 按钮样式补丁 */
.retro-btn {
    position: relative;
    background: transparent;
    border: none !important;
    padding: 12px 30px !important;
    color: #2c2c2c !important;
    font-family: 'Noto Serif SC', serif !important;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid #2c2c2c !important;
}

.retro-btn:hover {
    letter-spacing: 4px;
    background: rgba(44, 44, 44, 0.05) !important;
}

/* ==================== 性别选择（出生地下面）==================== */
.gender-selection-container {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
    padding: 0 10px;
    flex-wrap: wrap;
}

.gender-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.04);
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.gender-option:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.75);
}

.gender-option.selected {
    border-color: rgba(185, 28, 28, 0.45);
    background: rgba(185, 28, 28, 0.08);
}

.gender-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #2c2c2c;
    background: rgba(44, 44, 44, 0.06);
}

.gender-label {
    font-size: 13px;
    font-family: 'Noto Serif SC', serif;
    color: #2c2c2c;
    letter-spacing: 1px;
}

