/* ───────── 서든어택 인연 검색 (channel_sa_vs) ───────── */

/* 히어로 */
.savs-hero {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border: 1px solid #e3e6ec; border-radius: 14px;
    padding: 18px 20px; margin-bottom: 16px;
}
.savs-hero__gimg { width: 52px; height: 52px; object-fit: contain; }
.savs-gimg--round { border-radius: 50%; background: #f4f6fb; border: 1px solid #e3e6ec; }
.savs-hero__info { flex: 1; min-width: 0; }
.savs-hero__name { font-size: 20px; font-weight: 800; color: #111; display: flex; align-items: center; gap: 8px; }
.savs-hero__simg { height: 22px; object-fit: contain; }
.savs-hero__meta { font-size: 12px; color: #999; margin-top: 4px; }
.savs-hero__link {
    flex-shrink: 0; font-size: 13px; font-weight: 700; color: #dc2626;
    text-decoration: none; border: 1px solid #f3c5c5; border-radius: 100px; padding: 8px 14px;
}
.savs-hero__link:hover { background: #fef2f2; }

/* 진행률 */
.savs-progress {
    background: #fff; border: 1px solid #e3e6ec; border-radius: 14px;
    padding: 22px 20px; margin-bottom: 16px; text-align: center;
}
.savs-progress__label { font-size: 14px; color: #555; margin-bottom: 12px; }
.savs-progress__label b { color: #dc2626; }
.savs-progress__bar { height: 8px; border-radius: 100px; background: #f1f3f6; overflow: hidden; }
.savs-progress__fill {
    height: 100%; border-radius: 100px;
    background: linear-gradient(90deg, #f87171, #dc2626);
    transition: width .25s ease;
}

.savs-zone__hint { font-size: 13px; color: #999; text-align: center; margin-top: 12px; }

/* 홈: 최근 등록된 인연 / 적대수치 랭킹 */
.savs-home-block { margin-top: 18px; }
.savs-hrow {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 4px; cursor: pointer;
    border-bottom: 1px solid #f4f6f9;
    font-size: 13px;
}
.savs-hrow:last-child { border-bottom: none; }
.savs-hrow:hover { background: #f8fafc; }
.savs-hrow__nick { font-weight: 800; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.savs-hrow__vs { flex-shrink: 0; font-size: 10px; font-weight: 800; color: #fff; background: #111827; border-radius: 4px; padding: 2px 5px; }
.savs-hrow__other { font-weight: 700; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.savs-hrow__none { color: #b0b0b0; font-size: 12px; }
.savs-hrow__host { flex-shrink: 0; margin-left: auto; font-weight: 800; color: #ea580c; font-size: 12px; }
.savs-hrow__meet { flex-shrink: 0; color: #999; font-size: 11px; }
.savs-hrow__cnt { flex-shrink: 0; margin-left: auto; color: #b0b0b0; font-size: 11px; }
.savs-hrow__host + .savs-hrow__cnt,
.savs-hrow .savs-hrow__host ~ .savs-hrow__cnt { margin-left: 8px; }

/* 인트로 (전적검색 '인연' 탭 최초 진입) */
.savs-intro {
    background: #fff; border: 1px solid #e3e6ec; border-radius: 14px;
    padding: 44px 20px; text-align: center;
}
.savs-intro__ic { font-size: 40px; margin-bottom: 12px; }
.savs-intro__title { font-size: 18px; font-weight: 700; color: #111; margin-bottom: 8px; }
.savs-intro__title b { color: #dc2626; }
.savs-intro__desc { font-size: 13px; color: #888; line-height: 1.6; margin-bottom: 18px; }
.savs-intro__btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: #dc2626; color: #fff; border: none; border-radius: 100px;
    padding: 12px 28px; font-size: 15px; font-weight: 800; cursor: pointer;
    transition: background .15s, transform .1s;
}
.savs-intro__btn:hover { background: #b91c1c; }
.savs-intro__btn:active { transform: scale(.97); }

/* 요약 */
.savs-summary { font-size: 13px; color: #666; margin: 4px 2px 14px; }
.savs-summary b { color: #dc2626; }
.savs-summary__tip { color: #b0b0b0; font-size: 12px; }
.savs-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.savs-summary__txt { flex: 1; min-width: 0; }
.savs-refresh {
    display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
    background: #fff; border: 1px solid #e3e6ec; border-radius: 100px;
    padding: 6px 14px; font-size: 12px; font-weight: 700; color: #555; cursor: pointer;
}
.savs-refresh:hover { border-color: #f3c5c5; color: #dc2626; background: #fef2f2; }

/* Top10 블록 */
.savs-block {
    background: #fff; border: 1px solid #e3e6ec; border-radius: 14px;
    padding: 16px 18px; margin-bottom: 18px;
}
.savs-block__title { font-size: 15px; font-weight: 800; color: #111; margin-bottom: 10px; }

.savs-row { border-bottom: 1px solid #f4f6f9; }
.savs-row:last-child { border-bottom: none; }
.savs-row__main {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 4px; cursor: pointer;
}
.savs-row__main:hover { background: #f8fafc; }
.savs-row__rank {
    flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; color: #888; background: #f1f3f6;
}
.savs-row__rank--top { color: #fff; background: #dc2626; }
.savs-block--ally .savs-row__rank--top { background: #2563eb; }
.savs-row__grades { flex-shrink: 0; display: flex; align-items: center; gap: 4px; min-width: 52px; }
.savs-gimg { height: 20px; object-fit: contain; }
.savs-gimg.savs-gimg--round { width: 26px; height: 26px; }
.savs-gimg-ph { width: 26px; height: 26px; border-radius: 50%; background: #f1f3f6; display: inline-block; }
.savs-gimg-unknown {
    width: 26px; height: 26px; border-radius: 50%; background: #f1f3f6;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; cursor: help;
}
.savs-row__name { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.savs-row__clan { font-style: normal; font-size: 11px; font-weight: 500; color: #999; margin-left: 6px; }
.savs-row__cnt { flex-shrink: 0; font-size: 13px; font-weight: 800; color: #333; }
.savs-row__host { flex-shrink: 0; font-size: 12px; font-weight: 700; color: #ea580c; }
.savs-row__go {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #bbb; font-size: 15px; font-weight: 700; text-decoration: none;
    border: 1px solid #e9ecf1;
}
.savs-row__go:hover { color: #dc2626; border-color: #f3c5c5; background: #fef2f2; }

/* 펼침 상세 */
.savs-row__detail {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 4px 4px 12px 38px;
}
.savs-hidden { display: none; }
.savs-stat {
    display: flex; align-items: center; gap: 6px;
    background: #f8f9fb; border: 1px solid #eef0f4; border-radius: 8px;
    padding: 6px 10px; font-size: 12px;
}
.savs-stat span { color: #999; }
.savs-stat b { color: #111; font-weight: 800; }

.sa-pf-empty--sm { padding: 18px 0; }
.sa-pf-empty--sm p { font-size: 13px; color: #999; }

@media (max-width: 640px) {
    .savs-hero { padding: 14px; gap: 10px; }
    .savs-hero__name { font-size: 17px; }
    .savs-row__host { display: none; }
    .savs-row__detail { padding-left: 12px; }
}
