/* The ranking page: the phone's own look (phone.css), with tabs. */
.r-lang {
  margin-inline-start: auto; padding: 6px 10px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--wash); font-size: 14px;
}
.r-lang option { color: #000; }
.r-head { text-align: center; }
.r-head h1 { font-size: 28px; font-weight: 900; color: var(--hi); margin: 4px 0; }
.r-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.r-tab {
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink);
  text-decoration: none; font-weight: 700; font-size: 15px;
}
.r-tab.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.r-sub { color: var(--dim); text-align: center; margin: 0 0 10px; font-size: 14px; }
.r-table li { padding: 10px 12px; }
.r-table .p-pts { white-space: nowrap; color: var(--hi); }
.r-cat h2 { font-size: 16px; color: var(--accent); margin: 16px 0 6px; text-align: center; }
.r-cat:first-child h2 { margin-top: 0; }
/* country against country: this season or all time, and each country's own players */
.r-period { display: flex; justify-content: center; gap: 0; margin: 0 auto 12px; width: max-content; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.r-period a { padding: 6px 16px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.r-period a.on { background: var(--accent); color: var(--accent-ink); }
.r-lands li { padding: 0; }
.r-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.r-row .p-who { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; flex: 1; }
.r-row .p-who small { color: var(--dim); font-size: 12px; }
.r-hint { margin: 10px 0 0; }
.r-home {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: -4px auto 12px; width: max-content; max-width: 100%;
  padding: 6px 14px; border-radius: 999px; background: var(--wash); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px;
}
.r-home .p-cflag, .r-land .p-cflag { height: 1.1em; }
.r-back { display: inline-block; color: var(--accent); text-decoration: none; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.r-land { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 22px; font-weight: 900; color: var(--hi); margin: 0 0 10px; }
.r-play { display: block; text-align: center; text-decoration: none; margin-top: 14px; }

/* GeoNames' credit, under the boards (2026-11-22) */
.r-credit { margin: 4px 0 18px; text-align: center; font-size: 12px; }
.r-credit a { color: var(--dim); text-decoration: none; }
