/* Rank card on the result sheet and the first-game coach line. */
.rank-card { margin: 0.75rem 0 0.25rem; padding: 0.6rem 0.75rem; border: 1px solid var(--theme-border); border-radius: 10px; background: rgba(56, 189, 248, 0.07); text-align: left; }
.rank-card.is-up { border-color: var(--theme-gold); background: rgba(245, 158, 11, 0.12); animation: mf-rank-pop 0.5s ease-out; }
.rank-row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; font-weight: 700; font-size: 0.9rem; color: var(--theme-text); }
.rank-gain { color: var(--theme-success); font-family: var(--font-label); }
.rank-bar { height: 6px; margin: 0.45rem 0; border-radius: 3px; background: rgba(148, 163, 184, 0.25); overflow: hidden; }
.rank-bar span { display: block; height: 100%; background: var(--theme-accent); border-radius: 3px; transition: width 0.6s ease-out; }
.rank-card.is-up .rank-bar span { background: var(--theme-gold); }
.rank-goal { margin: 0; font-size: 0.72rem; line-height: 1.4; color: var(--theme-text-muted); }
.mf-coach { margin: -0.2rem 0 0; padding: 0.5rem 0.75rem; min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; line-height: 1.4; color: var(--theme-text); text-align: center; border: 1px solid var(--theme-accent); border-radius: 10px; background: rgba(56, 189, 248, 0.1); }
@keyframes mf-rank-pop { 0% { transform: scale(0.94); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .rank-card.is-up { animation: none; } .rank-bar span { transition: none; } }
