/* Страница «Рейтинги» (ratings.html), ТЗ «Классик» №2, п.11–12. */
.rt-champion { border-color: rgba(255, 201, 77, 0.55) !important; background: linear-gradient(135deg, rgba(60, 38, 8, 0.78), rgba(20, 13, 9, 0.7)) !important; box-shadow: 0 0 28px rgba(255, 170, 40, 0.18); }
.rt-champ-title { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: #ffc94d; font-weight: 800; margin-bottom: 10px; }
.rt-champ { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.rt-champ-empty { cursor: default; }
.rt-champ-crest {
  flex: none; width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #4a2a12, #150a05); border: 3px solid #ffc94d; box-shadow: 0 0 22px rgba(255, 190, 60, 0.5);
}
.rt-champ-crest img { width: 100%; height: 100%; object-fit: cover; }
.rt-champ-info { min-width: 0; flex: 1; }
.rt-champ-name { font-size: 1.45rem; font-weight: 800; color: #fff; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; }
.rt-champ-sub { font-size: 0.82rem; color: #e6d3b8; margin-top: 3px; }
.rt-champ-sub b { color: #ffc94d; }
.rt-trophy { flex: none; font-size: 3rem; filter: drop-shadow(0 0 14px rgba(255, 190, 60, 0.8)); animation: rtTrophy 2.6s ease-in-out infinite; }
@keyframes rtTrophy { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-4px) rotate(4deg); } }

.rt-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.rt-tab {
  padding: 8px 4px; border-radius: 8px; border: 1px solid rgba(255, 150, 60, 0.25); background: rgba(255, 255, 255, 0.05); color: #efe3d3;
  font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: background 0.12s, border-color 0.12s;
}
.rt-tab:hover { border-color: rgba(255, 190, 90, 0.7); }
.rt-tab.on { background: linear-gradient(180deg, #ff9a2a, #d4540f); border-color: #ffc94d; color: #fff; }
.rt-period { font-size: 0.8rem; color: #a8927c; margin-bottom: 8px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.rt-period .ic { width: 1.1em; height: 1.1em; }
.rt-period b { color: #ffc94d; }

/* 10 строк видно, остальные до 50 — прокруткой */
.rt-list { max-height: 520px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 140, 60, 0.45) transparent; display: flex; flex-direction: column; gap: 4px; padding-right: 4px; }
.rt-row {
  flex: none; height: 48px; display: grid; grid-template-columns: 34px 38px 1fr auto; align-items: center; gap: 8px; padding: 0 10px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 150, 60, 0.15); cursor: pointer; transition: border-color 0.12s, background 0.12s;
}
.rt-row:hover { border-color: rgba(255, 190, 90, 0.7); background: rgba(255, 150, 60, 0.1); }
.rt-row.mine { border-color: rgba(90, 230, 140, 0.7); background: rgba(60, 200, 120, 0.1); }
.rt-rank { text-align: center; font-weight: 800; font-size: 0.95rem; color: #ffc94d; }
.rt-logo { width: 34px; height: 34px; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.35); font-size: 1.2rem; }
.rt-logo.rt-round { border-radius: 50%; }
.rt-logo img { width: 100%; height: 100%; object-fit: cover; }
.rt-name { font-weight: 700; font-size: 0.92rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-name small { display: block; font-weight: 400; font-size: 0.72rem; color: #a8927c; }
.rt-wins { font-size: 0.78rem; color: #a8927c; white-space: nowrap; }
.rt-wins b { font-size: 1.05rem; color: #fff; }
.rt-empty { padding: 14px 4px; }
.rt-me { margin-top: 8px; }
.rt-me-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: #a8927c; margin-bottom: 4px; }
.rt-note p { margin: 0 0 8px; font-size: 0.86rem; line-height: 1.45; color: #e6d3b8; }
.rt-note ul { margin: 0 0 8px; padding-left: 20px; font-size: 0.86rem; color: #e6d3b8; }
.rt-note b { color: #ffc94d; }
