/* ===== 滑动匹配 ===== */
.swipe-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    position: relative;
    touch-action: pan-y;
}

.swipe-card {
    width: 100%;
    max-width: 360px;
    height: calc(100vh - var(--header-height) - var(--nav-height) - 120px);
    max-height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
    user-select: none;
    will-change: transform;
    cursor: grab;
    touch-action: none;
}
.swipe-card:active { cursor: grabbing; }

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
}
.card-info { display: flex; align-items: baseline; gap: 10px; }
.card-name { font-size: 28px; font-weight: 700; }
.card-age { font-size: 22px; font-weight: 300; opacity: 0.9; }
.card-bio { margin-top: 6px; font-size: 14px; opacity: 0.85; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.card-tag {
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 12px;
    color: white;
}

.card-action-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity 0.1s;
    pointer-events: none;
    z-index: 2;
}
.card-action-overlay span {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 4px;
    border: 4px solid;
    padding: 8px 24px;
    border-radius: 12px;
    transform: rotate(-20deg);
}
.like-overlay span { color: #2ecc71; border-color: #2ecc71; }
.nope-overlay span { color: #e74c3c; border-color: #e74c3c; }
.super-overlay span { color: #3498db; border-color: #3498db; font-size: 36px; }

.swipe-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 12px 0 calc(var(--nav-height) + 16px);
}
.swipe-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
}
.swipe-btn:hover { transform: scale(1.15); }
.swipe-btn:active { transform: scale(0.95); }

.nope-btn { background: white; color: #e74c3c; box-shadow: 0 2px 10px rgba(231,76,60,0.3); }
.like-btn { background: white; color: #2ecc71; box-shadow: 0 2px 10px rgba(46,204,113,0.3); }
.super-btn { background: white; color: #3498db; box-shadow: 0 2px 10px rgba(52,152,219,0.3); }

.swipe-empty {
    text-align: center;
    color: var(--text-light);
}
.swipe-empty i { font-size: 64px; color: #ddd; margin-bottom: 16px; }
.swipe-empty p { font-size: 16px; }
