/**
 * team-fav.css
 * チームの応援（2026-11-25 続き202）：チーム詳細の「応援する」ボタン・チーム一覧の人数・マイページの「応援中のチーム」。
 * Tailwind は事前ビルド済みで、使えるクラスが限られるため、ここで書く。
 */

/* ===== チーム詳細：キャプテンの行と応援ボタン ===== */
.team-fav-row {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(69, 10, 10, .4);
}
.team-fav-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 999px;
    border: 1px solid #3f3f46; background: rgba(0, 0, 0, .35); color: #d4d4d8;
    font-size: 13px; font-weight: 600; letter-spacing: .02em; cursor: pointer;
    transition: border-color .15s, background-color .15s, color .15s, transform .15s;
}
.team-fav-btn:hover { border-color: #be123c; color: #fda4af; }
.team-fav-btn:disabled { opacity: .6; cursor: wait; }
.team-fav-btn .team-fav-icon { font-size: 18px; font-variation-settings: 'FILL' 0; }
.team-fav-btn .team-fav-num {
    min-width: 24px; padding: 1px 8px; border-radius: 999px;
    background: rgba(63, 63, 70, .6); color: #e4e4e7; font-size: 12px; text-align: center;
}
.team-fav-btn.is-on {
    border-color: #e11d48; color: #ffe4e6;
    background: linear-gradient(90deg, rgba(136, 19, 55, .75), rgba(69, 10, 10, .75));
    box-shadow: 0 0 16px rgba(225, 29, 72, .35);
}
.team-fav-btn.is-on .team-fav-icon { color: #fb7185; font-variation-settings: 'FILL' 1; }
.team-fav-btn.is-on .team-fav-num { background: rgba(0, 0, 0, .35); }
.team-fav-btn.is-pop .team-fav-icon { animation: team-fav-pop .45s ease-out; }
@keyframes team-fav-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.45); }
    100% { transform: scale(1); }
}
@media (max-width: 639px) {
    .team-fav-row .team-fav-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .team-fav-btn.is-pop .team-fav-icon { animation: none; }
}

/* ===== チーム一覧のカード：応援している人数 ===== */
.team-fav-chip {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 11px; color: #fda4af;
}
.team-fav-chip .msi { font-size: 14px; font-variation-settings: 'FILL' 1; color: #fb7185; }

/* ===== マイページ：応援中のチーム ===== */
.cheer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.cheer-card {
    display: flex; gap: 12px; align-items: center; min-width: 0;
    padding: 12px 14px; border-radius: 12px;
    border: 1px solid rgba(136, 19, 55, .45); background: rgba(24, 24, 27, .85);
    transition: border-color .15s, background-color .15s;
}
.cheer-card:hover { border-color: #e11d48; background: rgba(39, 39, 42, .9); }
.cheer-logo {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; object-fit: cover;
    border: 1px solid rgba(225, 29, 72, .5); background: #09090b;
    display: flex; align-items: center; justify-content: center; color: #fb7185;
}
.cheer-logo .msi { font-size: 22px; font-variation-settings: 'FILL' 1; }
.cheer-body { min-width: 0; flex: 1; }
.cheer-name { display: block; font-weight: 700; color: #f4f4f5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cheer-fans { display: block; font-size: 11px; color: #fda4af; }
.cheer-next { display: block; margin-top: 4px; font-size: 12px; line-height: 1.45; color: #a1a1aa; overflow-wrap: anywhere; }
.cheer-next b { color: #fde68a; font-weight: 600; }
.cheer-empty { font-size: 12px; color: #71717a; }
