/* Report page (Néo Arène): header with the period and its navigation, key figures, top 10 and the chart. */
.rp-hero { margin-bottom: 22px; }
.rp-head { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.rp-server { display: flex; align-items: center; gap: 18px; text-decoration: none; min-width: 0; }
.rp-icon { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.rp-kind { display: block; color: #ff6b5e; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.rp-title { margin: 4px 0 0; color: #fff; font: 800 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--ar-display, inherit); text-transform: uppercase; overflow-wrap: anywhere; }
.rp-server:hover .rp-title { color: #dfe2ff; }
.rp-nav { display: inline-flex; align-items: center; gap: 6px; padding: 3px; background: rgba(255, 255, 255, 0.04); border-radius: 10px; }
.rp-nav-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: #c9cbd3; font-size: 20px; font-weight: 700; text-decoration: none; }
.rp-nav-btn:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.rp-nav-btn.is-off { color: #3a3d46; }
.rp-period { padding: 0 8px; color: #fff; font-weight: 700; white-space: nowrap; }
.rp-period small { color: #8b8e98; font-weight: 600; }

.profile-facts.rp-facts { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ar-line, #242631); }
.rp-facts .profile-fact { color: var(--ar-muted, #9a9daa); font-size: 0.92rem; padding: 0 18px; border-left: 1px solid var(--ar-line, #242631); cursor: help; }
.rp-facts .profile-fact:first-child { padding-left: 0; border-left: 0; }
.rp-facts .profile-fact b { font-size: 1.12rem; }
.rp-facts .an-delta { color: #6f7280; font-size: 0.8rem; font-weight: 600; margin-left: 4px; white-space: nowrap; }
.rp-facts .an-delta .an-arrow { font-style: normal; font-size: 0.7rem; }
.rp-facts .an-delta.up .an-arrow { color: #4ade80; }
.rp-facts .an-delta.down .an-arrow { color: #f87171; }

.rp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.rp-card { padding: 22px 24px; }
.rp-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.rp-card-title { margin: 0 0 12px; color: #fff; font: 800 1rem/1.2 var(--ar-display, inherit); text-transform: uppercase; letter-spacing: 0.04em; }
.rp-card-head .rp-card-title { margin: 0; }
.rp-chart { height: 340px; }

.rp-top { list-style: none; margin: 0; padding: 0; }
.rp-top-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; }
.rp-top-row + .rp-top-row { border-top: 1px solid #1d1f28; }
.rp-rank { color: #8b8e98; font: 800 1.05rem/1 var(--ar-display, inherit); font-style: italic; text-align: center; }
.rp-rank.rank-1 { color: #f5c542; }
.rp-rank.rank-2 { color: #c9ced6; }
.rp-rank.rank-3 { color: #d08a4f; }
.rp-who { display: flex; align-items: center; gap: 10px; min-width: 0; color: #e3e5e8; font-weight: 600; text-decoration: none; }
.rp-who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.rp-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-who:hover { color: #fff; }
.rp-val { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.rp-hours { color: #717cf8; font-variant-numeric: tabular-nums; }
.rp-val small { color: #72767d; font-size: 0.78rem; }
.rp-empty { color: #8b8e98; text-align: center; padding: 30px 0; }
.rp-foot { margin: 18px 0 0; text-align: right; }
.rp-foot a { color: #a3a6b0; font-weight: 600; text-decoration: none; }
.rp-foot a:hover { color: #fff; }

@media (max-width: 860px) {
    .rp-grid { grid-template-columns: 1fr; }
    .rp-chart { height: 280px; }
    .profile-facts.rp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
    .rp-facts .profile-fact { padding: 0; border-left: 0; }
    .rp-card { padding: 18px 16px; }
}
