/* ─── 约会小镇地图屏幕 ─── */
#date-map-screen {
    background: #87CEEB;
    overflow: hidden;
}

#date-map-screen .date-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, transparent 100%);
    pointer-events: none;
}
#date-map-screen .date-header .back-btn {
    pointer-events: auto;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,0,0,0.08);
    color: #6a5a4a;
    font-size: 18px;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}
#date-map-screen .date-header .back-btn:hover {
    background: rgba(255,255,255,0.85);
}
#date-map-screen .date-header .title {
    flex: 1;
    text-align: center;
    color: #6a4a3a;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 4px;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

/* 底部提示 */
#date-hint {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    z-index: 100;
    letter-spacing: 1px;
    pointer-events: none;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
    white-space: nowrap;
}

/* ─── 详情面板（底部抽屉） ─── */
#date-panel {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    background: rgba(255,248,240,0.96);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px 24px 30px;
    color: #4a3a2a;
    backdrop-filter: blur(14px);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.08);
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    max-height: 55vh;
    overflow-y: auto;
}
#date-panel.active {
    transform: translateY(0);
    pointer-events: auto;
}
/* 拖拽条 */
#date-panel::before {
    content: '';
    display: block;
    width: 40px; height: 4px;
    background: rgba(0,0,0,0.08);
    border-radius: 2px;
    margin: 0 auto 12px;
}
#date-panel h2 {
    font-size: 20px;
    color: #4a3a2a;
    margin-bottom: 2px;
    letter-spacing: 1px;
}
#date-panel .sub {
    font-size: 12px;
    color: rgba(74,58,42,0.45);
    margin-bottom: 10px;
}
#date-panel .desc {
    font-size: 14px;
    line-height: 1.7;
    color: #6a5a4a;
    margin-bottom: 12px;
}
#date-panel .stat {
    font-size: 13px;
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(74,58,42,0.06);
}
#date-panel .stat:last-of-type {
    border-bottom: none;
}
#date-panel .stat .lbl { color: #8a7a6a; }
#date-panel .stat .val { color: #cc6644; font-weight: 600; }
#date-panel .btn-go {
    width: 100%;
    margin-top: 16px;
    padding: 12px 0;
    background: linear-gradient(135deg, #ff8866, #ff6644);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 3px;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(255,102,68,0.25);
}
#date-panel .btn-go:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,102,68,0.35);
}
#date-panel .btn-go:active {
    transform: translateY(0);
}

/* 移动端适配 */
@media (max-width: 480px) {
    #date-panel {
        padding: 16px 18px 24px;
    }
    #date-panel h2 { font-size: 18px; }
    #date-hint { font-size: 11px; white-space: normal; padding: 0 20px; }
}
