/* Looking for Team page */

.lft-page {
    padding: 24px 16px 48px;
    min-height: 70vh;
    color: #fff;
}

.lft-container {
    width: min(1100px, 95%);
    margin: 0 auto;
}

.lft-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding: 24px;
    border: 1px solid rgba(218, 0, 186, 0.25);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(218, 0, 186, 0.08), rgba(0, 212, 255, 0.05));
}

.lft-header-top {
    display: flex;
    gap: 16px;
    align-items: center;
}

.lft-game-art {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lft-kicker {
    margin: 0 0 4px;
    color: #da00ba;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.lft-header h1 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.lft-subtitle {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.lft-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
}

.lft-game-switch {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.lft-game-switch select {
    min-width: 180px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #1a1a2e;
    color: #fff;
}

.lft-manage-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #da00ba, #6c00ff);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.lft-manage-btn:hover {
    color: #fff;
    filter: brightness(1.08);
}

.lft-stats {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
}

.lft-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #00d4ff;
}

.lft-stat-label {
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.lft-empty {
    text-align: center;
    padding: 48px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.lft-empty i {
    font-size: 2rem;
    color: #da00ba;
    margin-bottom: 12px;
}

.lft-empty h2 {
    margin: 0 0 8px;
}

.lft-empty p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 18px;
}

.lft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.lft-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(41, 48, 69, 0.85);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.lft-card:hover {
    transform: translateY(-2px);
    border-color: rgba(218, 0, 186, 0.55);
    color: inherit;
}

.lft-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(218, 0, 186, 0.45);
}

.lft-card-body {
    min-width: 0;
    flex: 1;
}

.lft-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.lft-card-top h3 {
    margin: 0;
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lft-pill {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(218, 0, 186, 0.2);
    border: 1px solid rgba(218, 0, 186, 0.55);
    color: #ff7ae8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.lft-bio {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lft-bio.muted {
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
}

.lft-updated {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Shared profile badge */
.lft-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(218, 0, 186, 0.18);
    border: 1px solid rgba(218, 0, 186, 0.55);
    vertical-align: middle;
    font-size: 0.72rem;
    line-height: 1.2;
}

.lft-badge-compact {
    margin-left: 0;
    padding: 1px 6px;
    font-size: 0.65rem;
    gap: 4px;
}

.lft-badge-label {
    color: #ff7ae8;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.lft-badge-game {
    color: #fff;
    font-weight: 600;
}

/* Team roster: pin LFT to top-right of member card */
.member-card-compact {
    position: relative;
}

.member-lft-corner {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    pointer-events: none;
}

.member-lft-corner .lft-badge {
    margin-left: 0;
}

.lft-profile-bio {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
}

@media (max-width: 700px) {
    .lft-header {
        padding: 18px;
    }

    .lft-actions {
        width: 100%;
    }

    .lft-game-switch,
    .lft-manage-btn {
        width: 100%;
    }
}
