:root {
  --bg: #0c0d10;
  --card: #15161a;
  --accent: #1c1d23;
  --accent-2: #282a32;
  --border: #303139;
  --muted: #a7a8b4;
  --orange: #f28b30;
  --orange-dim: #f28b3018;
}
[x-cloak] {
  display: none !important;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(ellipse at 14% 0, #f28b3009, transparent 48%), #0c0d10;
  color: #f4f3f0;
}
body > nav {
  background: #0e0f12ed !important;
  border-color: #2b2b31 !important;
}
a,
button,
input {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible,
input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
main {
  width: 100%;
  min-width: 0;
}
body > main {
  max-width: 1400px;
  padding-block: 36px;
}
.main-card,
.info-card {
  background: linear-gradient(145deg, #191a20, #121318);
  border: 1px solid #303139;
  box-shadow: 0 20px 55px #0003;
  border-radius: 18px;
}
.rankings-intro h1 {
  letter-spacing: -0.04em;
  font-size: clamp(25px, 3vw, 37px);
}
.rankings-intro p {
  color: #a8a8b4;
}
.mode-tab {
  background: #18191f !important;
  border-color: #33343c;
  flex: 1 0 62px;
  max-width: 104px;
}
.mode-tab.active {
  background: #f28b3015 !important;
  border-color: #f28b30;
  box-shadow: inset 0 -2px #f28b30;
}
.mode-tab:hover {
  border-color: #806246;
}
.overall-header,
.overall-row {
  grid-template-columns: 104px minmax(150px, 210px) 48px minmax(0, 1fr);
  gap: 18px;
}
.overall-row {
  position: relative;
  isolation: isolate;
  min-height: 115px;
  border-color: #2d2e36;
  background: #17181e;
  margin-block: 12px;
  border-radius: 12px;
  cursor: pointer;
}
.overall-row:hover {
  background: #1d1e25;
  border-color: #5a5149;
}
.overall-row.top-3 {
  background: #17181e;
  overflow: visible;
}
.overall-row.top-3::before,
.overall-row.top-3::after {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: var(--podium-width, 360px);
  max-width: 65%;
  clip-path: polygon(0 0, 100% 0, calc(100% - 54px) 100%, 0 100%);
  border-radius: 12px 0 0 12px;
  z-index: -1;
  pointer-events: none;
}
.overall-row.top-3::before {
  background: linear-gradient(
    120deg,
    var(--podium-light),
    var(--podium-base) 30%,
    #18191e 98%
  );
  box-shadow: inset 0 2px #ffffff55;
}
.overall-row.top-3::after {
  top: auto;
  height: 8px;
  bottom: -7px;
  background: linear-gradient(90deg, var(--podium-edge), #17181c);
  z-index: -2;
}
.overall-row[data-placement="1"] {
  --podium-light: #b78a32;
  --podium-base: #5c451e;
  --podium-edge: #8e641d;
  --podium-width: 450px;
}
.overall-row[data-placement="2"] {
  --podium-light: #959ba6;
  --podium-base: #464c55;
  --podium-edge: #646c7b;
  --podium-width: 390px;
}
.overall-row[data-placement="3"] {
  --podium-light: #a77150;
  --podium-base: #583e30;
  --podium-edge: #704528;
  --podium-width: 330px;
}
.overall-row.top-3 .rank-skin-box {
  background: transparent;
  box-shadow: none;
}
.overall-row .rank-skin {
  object-fit: contain;
  image-rendering: auto;
}
.rank-shimmer-1::before,
.rank-shimmer-2::before,
.rank-shimmer-3::before {
  display: none;
}
.rank-num {
  font-variant-numeric: tabular-nums;
}
.player-info {
  min-width: 0;
}
.player-info > :first-child {
  font-size: 18px;
  letter-spacing: -0.025em;
}
.overall-row .tiers-area {
  justify-content: flex-end;
}
.tier-badge:hover {
  transform: none;
}
.tier-tooltip {
  position: fixed;
  transform: none;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 16px);
  z-index: 6000;
}
.modal-card {
  background: #17181e;
  border-color: #41424c;
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
}
.profile-skin {
  object-fit: contain;
  background: radial-gradient(ellipse, #4d3b2e, #202127 75%);
}
.profile-tier-row {
  background: #202127;
  border-color: #34353e;
}
.person-card {
  border-color: #32333b;
  background: #18191f;
  box-shadow: 0 6px 20px #0002;
}
.person-card img {
  object-fit: cover;
}
.r20-heading {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d59d6b;
  margin: 0 0 12px;
}
.r20-podium {
  max-width: 800px;
  margin: 0 auto 36px;
  display: grid;
  gap: 12px;
}
.r20-podium-row {
  position: relative;
  display: grid;
  grid-template-columns: 48px 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px 28px 16px 18px;
  border: 1px solid #68502f;
  border-radius: 10px;
  background: linear-gradient(115deg, #785521, #312719 55%, #191a20);
  box-shadow:
    0 6px 0 #483414,
    0 14px 22px #0004;
  width: 100%;
}
.r20-podium-row:nth-child(2) {
  width: 94%;
  background: linear-gradient(115deg, #676d77, #30333b 55%, #191a20);
  border-color: #757c86;
  box-shadow:
    0 6px 0 #353941,
    0 14px 22px #0004;
}
.r20-podium-row:nth-child(3) {
  width: 88%;
  background: linear-gradient(115deg, #75503b, #322820 55%, #191a20);
  border-color: #976f52;
  box-shadow:
    0 6px 0 #483224,
    0 14px 22px #0004;
}
.r20-podium-row img {
  width: 56px;
  height: 70px;
  object-fit: contain;
}
.r20-podium-row b {
  font-size: 26px;
}
.r20-podium-row strong {
  font-size: 18px;
  display: block;
}
.r20-podium-row small {
  color: #d5cfc5;
}
.r20-podium-row a {
  text-decoration: none;
  color: inherit;
}
.r20-account-link {
  padding: 8px 10px;
  border: 1px solid #383940;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  text-decoration: none;
  color: #e5e0d7;
}
.r20-account {
  max-width: 760px;
  margin: 36px auto;
  padding: 24px;
}
.r20-account h1 {
  font-size: 30px;
  font-weight: 800;
  margin: 12px 0;
}
.r20-account p {
  line-height: 1.7;
  color: #b9b7c0;
}
.r20-button {
  display: inline-block;
  border: 1px solid #b06b32;
  border-radius: 8px;
  padding: 10px 16px;
  background: #f28b30;
  color: #15110e;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.r20-button.secondary {
  background: #24252c;
  color: #f5eade;
  border-color: #49454a;
}
.r20-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.r20-interests {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-block: 24px;
}
.r20-interests label {
  padding: 12px;
  background: #202127;
  border-radius: 8px;
  font-size: 13px;
}
.r20-empty {
  padding: 20px;
  border: 1px dashed #46434a;
  border-radius: 12px;
  color: #b1aeb8;
  text-align: center;
}
.r20-history {
  width: 100%;
  margin-top: 16px;
  font-size: 12px;
}
.r20-history summary {
  cursor: pointer;
  color: #d8a373;
  margin-bottom: 10px;
}
.r20-history p {
  padding: 8px;
  border-bottom: 1px solid #34343a;
  color: #b6b3bd;
}
.home-tab.active {
  box-shadow: 0 3px 14px #f28b3028;
}
.home-tab {
  padding: 9px 18px;
}
.info-card p {
  line-height: 1.8;
}
footer {
  color: #99939e;
}
body > nav ul {
  gap: 4px;
}
.discord-item:hover {
  background: #28262b;
}
.discord-dropdown {
  background: #19191f;
  border-color: #34333c;
}
.tier-col {
  background: #17181e;
  border-color: #33343b;
}
.tier-player-mode:hover {
  filter: brightness(1.13);
}
@media (max-width: 1100px) {
  .overall-header,
  .overall-row {
    grid-template-columns: 88px minmax(130px, 170px) 42px minmax(0, 1fr);
    gap: 12px;
  }
  .mode-tab {
    max-width: none;
  }
  .overall-row.top-3::before,
  .overall-row.top-3::after {
    max-width: 70%;
  }
}
@media (max-width: 767px) {
  body > main {
    padding: 20px 12px;
  }
  .overall-row {
    grid-template-columns: 74px minmax(0, 1fr) 36px;
    gap: 10px;
    min-height: 100px;
  }
  .overall-row .rank-skin-box {
    width: 74px;
  }
  .overall-row.top-3::before {
    bottom: auto;
    height: 92px;
    max-width: 83%;
    width: var(--podium-width);
  }
  .overall-row.top-3::after {
    display: none;
  }
  .overall-row[data-placement="1"] {
    --podium-width: 85%;
  }
  .overall-row[data-placement="2"] {
    --podium-width: 78%;
  }
  .overall-row[data-placement="3"] {
    --podium-width: 70%;
  }
  .overall-row .tiers-area {
    grid-column: 1/-1;
    justify-content: flex-end;
    border-color: #36343a;
  }
  .player-info > :first-child {
    font-size: 16px;
  }
  .r20-account-link {
    font-size: 10px;
    padding: 6px;
  }
  .nav-search {
    width: min(170px, 39vw);
  }
  .main-card {
    padding: 18px 12px;
  }
  .r20-podium-row {
    grid-template-columns: 30px 42px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }
  .r20-podium-row img {
    width: 42px;
    height: 58px;
  }
  .r20-podium-row > small {
    grid-column: 3;
  }
  .r20-podium-row strong {
    font-size: 15px;
  }
  .r20-account {
    margin: 16px 12px;
    padding: 20px;
  }
  .r20-interests {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-tier-row {
    grid-template-columns: minmax(0, 1fr) 36px 95px;
  }
  .r20-podium-row b {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.r20-mobile-nav {
  display: none;
}
@media (max-width: 767px) {
  .r20-mobile-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 10px;
    border-bottom: 1px solid #292930;
    font-size: 12px;
    color: #c1b8b0;
  }
}

.overall-row.top-3 { overflow:hidden; border:0; }
.overall-row.top-3::before { inset:0 auto 0 0; background:var(--podium-bright); box-shadow:none; border-radius:12px 0 0 12px; }
.overall-row.top-3::after { display:none; }
.overall-row[data-placement="1"] { --podium-bright:#ffcb3d; }
.overall-row[data-placement="2"] { --podium-bright:#d8e1ee; }
.overall-row[data-placement="3"] { --podium-bright:#e99c61; }
.overall-row.top-3 .rank-num,.overall-row.top-3 .player-info,.overall-row.top-3 .player-info * { color:#191a20; }
.overall-row.top-3 .player-info .account-label { color:#08572c; }
.r20-podium-row,.r20-podium-row:nth-child(2),.r20-podium-row:nth-child(3) { border:0; box-shadow:none; color:#191a20; background:#ffcb3d; }
.r20-podium-row:nth-child(2) { background:#d8e1ee; }
.r20-podium-row:nth-child(3) { background:#e99c61; }
.r20-podium-row small { color:#32343d; }
.mode-tab { display:flex; flex-direction:column; align-items:center; justify-content:center; }
.mode-tab img,.icon-circle img { display:block; margin:auto; object-fit:contain; object-position:center; }
.category-tab img { width:18px; height:18px; object-fit:contain; }
.r21-section-title { display:flex; align-items:center; gap:8px; }
.r21-section-title img { width:22px; height:22px; object-fit:contain; }
.r21-tier-title { font-size:20px; line-height:1.3; font-weight:500; text-transform:none; }
.r21-tier-title b { font-size:inherit; font-weight:900; }
img.r21-identity-icon { display:inline-block; width:16px; height:16px; margin-right:5px; object-fit:contain; border-radius:0; background:none; vertical-align:middle; }
.r21-name-line { display:flex; align-items:center; gap:5px; flex-wrap:wrap; }
.r21-name-line img { flex:none; }
.r21-team-portraits { display:flex; align-items:center; flex:none; gap:8px; }
.person-card .r21-team-skin { height:64px; width:44px; border-radius:0; background:none; object-fit:contain; }
.person-card .r21-team-copy { min-width:0; }
.person-card strong,.person-card p { overflow-wrap:anywhere; }
.modal-card { width:min(600px,100%); padding:26px 24px; }
.r21-profile { text-align:left; width:100%; }
.r21-profile h2 { display:flex; align-items:center; gap:4px; margin:0 0 4px; font-size:28px; font-weight:900; line-height:1.2; overflow-wrap:anywhere; }
.r21-profile h3 { margin:24px 0 12px; font-size:16px; font-weight:800; }
.r21-profile-header { display:flex; gap:18px; align-items:flex-start; padding-top:12px; }
.r21-head { width:64px; height:64px; image-rendering:pixelated; border-radius:8px; flex:none; }
.r21-profile-identity { flex:1; min-width:0; }
.r21-profile-identity p { margin:5px 0; color:#aeb4c2; font-size:13px; }
.r21-profile-identity small { font-size:12px; color:#aeb4c2; }
.r21-profile .r21-combat { margin-top:14px; color:#f1b774; font-weight:700; }
.r21-progress { height:5px; border-radius:4px; background:#090b10; margin:8px 0 6px; overflow:hidden; }
.r21-progress span { display:block; height:100%; background:#ff8b4a; border-radius:4px; transition:width .3s; }
.r21-profile-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:26px 0 20px; padding:16px 0; background:#14161d; border-radius:12px; }
.r21-profile-stats div { padding:0 12px; border-right:1px solid #30343f; }
.r21-profile-stats div:last-child { border:0; }
.r21-profile-stats small { display:block; color:#aeb4c2; font-size:11px; margin-bottom:6px; }
.r21-profile-stats strong { font-size:18px; }
.r21-profile-modes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.r21-profile-mode { display:flex; align-items:center; gap:9px; padding:10px; min-height:48px; border:1px solid #30343f; border-radius:9px; background:#151820; text-decoration:none; }
.r21-profile-mode img { height:21px; width:21px; object-fit:contain; flex:none; }
.r21-profile-mode span { font-size:13px; color:#c6cad4; overflow-wrap:anywhere; }
.r21-profile-mode strong { margin-left:auto; font-size:12px; padding:8px; border-radius:5px; color:#ddd; }
.r21-tier.ht1,.r21-tier.lt1 { background:#ffcd43; color:#2a2210; }
.r21-tier.ht2,.r21-tier.lt2 { background:#d7e1eb; color:#202832; }
.r21-tier.ht3,.r21-tier.lt3 { background:#ba7c48; color:#fff; }
.r21-tier.ht4,.r21-tier.lt4,.r21-tier.ht5,.r21-tier.lt5 { background:#313a4a; }
.r21-full-page { max-width:760px; margin:36px auto; padding:28px; background:#11151f; border:1px solid #30343f; border-radius:20px; }
.r21-full-page .r20-history { width:100%; }
.r21-award { display:inline-block; padding:3px 8px; margin:3px 0; border-radius:5px; background:#702dc2; color:white; font-size:11px; font-weight:700; }
[data-tester-month="true"] { background:#542384 !important; color:white; }
.overall-row[data-tester-month="true"]::before { background:#702dc2; }
.overall-row[data-tester-month="true"] .player-info *,.overall-row[data-tester-month="true"] .rank-num { color:white !important; }
.r20-podium-row[data-tester-month="true"] small { color:#e9d6ff; }
@media(max-width:600px) {
 .r21-full-page { margin:14px 10px; padding:20px 14px; }
 .r21-profile-header { gap:12px; }
 .r21-profile h2 { font-size:23px; }
 .r21-profile-modes { gap:6px; }
 .r21-profile-mode { gap:5px; padding:8px; }
 .r21-profile-mode span { font-size:11px; }
 .r21-profile-mode strong { padding:7px 5px; }
 .modal-card { padding:24px 14px; }
 .r21-profile-stats div { padding:0 8px; }
}

.modal-card { max-width:620px; }
.player-info .discord-username { display:flex; align-items:center; gap:5px; }
.player-info .discord-username::before { content:""; display:block; flex:none; width:14px; height:14px; background:url('/discord_logo.png?v=35') center/contain no-repeat; }
.category-links img { width:18px; height:18px; object-fit:contain; }

.r21-combat { display:flex; align-items:center; gap:6px; }
img.r21-combat-icon { display:inline-block; width:19px; height:19px; object-fit:contain; margin-right:4px; vertical-align:middle; }
.r21-combat img.r21-combat-icon { width:23px; height:23px; }
.tier-player-mode img.r21-tier-head { width:35px; height:35px; object-fit:contain; image-rendering:pixelated; border-radius:4px; flex-shrink:0; }
.tier-player-mode .name > span:first-child::before { content:""; display:inline-block; width:13px; height:13px; margin-right:4px; background:url('/minecraft_logo.webp?v=35') center/contain no-repeat; }
.tier-player-mode .discord-username::before { content:""; display:inline-block; width:12px; height:12px; margin-right:4px; background:url('/discord_logo.png?v=35') center/contain no-repeat; }

@media(max-width:600px) { main.r21-full-page { width:calc(100% - 20px); } }

/* Centered mode slots and metallic podiums */
.overall-row[data-placement="1"],.r20-podium-row:nth-child(1) { --r22-metal:linear-gradient(132deg,#ad772e 0%,#dbad4b 18%,#ffe58b 38%,#c18a35 57%,#f4d072 77%,#b47d32 100%); --r22-edge:#f5d784; }
.overall-row[data-placement="2"],.r20-podium-row:nth-child(2) { --r22-metal:linear-gradient(132deg,#8e969e 0%,#cbd1d7 18%,#f5f6f8 38%,#a7afb8 57%,#e6e9ee 77%,#9ca4ae 100%); --r22-edge:#e2e8ef; }
.overall-row[data-placement="3"],.r20-podium-row:nth-child(3) { --r22-metal:linear-gradient(132deg,#80502f 0%,#ae7549 18%,#d6a16b 38%,#95603b 57%,#c48d58 77%,#875333 100%); --r22-edge:#e2b48d; }
.overall-row.top-3 { overflow:hidden; border:1px solid var(--r22-edge); box-shadow:0 0 0 0 transparent; }
.overall-row.top-3::before { background:var(--r22-metal); box-shadow:none; }
.overall-row.top-3:focus-visible { outline:2px solid var(--r22-edge); outline-offset:2px; box-shadow:0 0 18px color-mix(in srgb,var(--r22-edge),transparent 82%); }
.r20-podium-row:nth-child(1),.r20-podium-row:nth-child(2),.r20-podium-row:nth-child(3) { background:var(--r22-metal); border:1px solid var(--r22-edge); box-shadow:none; }
.r20-podium-row:hover { outline:2px solid var(--r22-edge); outline-offset:2px; }
.overall-row[data-placement="3"] .player-info *,.overall-row[data-placement="3"] .rank-num,.r20-podium-row:nth-child(3),.r20-podium-row:nth-child(3) small { color:#fff6e8; }
.overall-row .tiers-area { display:grid; grid-template-columns:repeat(var(--r22-modes,16),minmax(0,1fr)); gap:5px; justify-items:center; align-items:start; min-width:0; }
.overall-row .tier-badge { width:100%; min-width:0; height:62px; gap:3px; }
.tier-badge .icon-circle { width:30px; height:30px; display:grid; place-items:center; margin:0 auto; }
.tier-badge .icon-circle img { width:26px; height:26px; margin:0; }
.tier-badge .tier-label { font-size:9px; min-width:28px; padding:1px 3px; line-height:14px; }
.tier-badge .peak-status { font-size:7px; line-height:9px; }
.tier-badge.r22-missing-tier .icon-circle { border:2px dashed #364252 !important; background:transparent; }
.tier-badge.r22-missing-tier .tier-label { background:#1b2432 !important; color:#687689 !important; }
.mode-tab img { width:30px; height:30px; object-fit:contain; object-position:center; }
.account-label.paid,.overall-row .account-label.paid,.r21-profile .account-label.paid { background:linear-gradient(100deg,#08521f,#3c7949) !important; background-clip:text !important; -webkit-background-clip:text !important; color:transparent !important; -webkit-text-fill-color:transparent !important; font-weight:900; }
.account-label.cracked,.overall-row .account-label.cracked,.r21-profile .account-label.cracked { background:linear-gradient(100deg,#da975d,#ffde90) !important; background-clip:text !important; -webkit-background-clip:text !important; color:transparent !important; -webkit-text-fill-color:transparent !important; font-weight:900; }
.tier-player-mode.r22-player-entry { min-height:44px; height:44px; padding:4px 8px; display:flex; align-items:center; gap:7px; }
.tier-player-mode.r22-player-entry .r44-tier-portrait {position:relative;display:block;width:32px;height:36px;min-width:32px;flex:0 0 32px;background:none;}
.tier-player-mode.r22-player-entry img.r38-tier-bust {display:block;width:32px;height:36px;min-width:32px;max-width:32px;border:0;outline:0;border-radius:0;background:transparent;object-fit:contain;object-position:center bottom;image-rendering:auto;flex-shrink:0;}
.r22-player-entry .name { font-size:11px; line-height:1.2; flex:1; min-width:0; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.r22-player-entry .name::before { display:none; }
.r22-high { background:var(--hightier); }
.r22-low { background:var(--lowtier); }
.modal-card { overflow:hidden; padding:18px; max-height:calc(100dvh - 24px); width:min(660px,100%); max-width:660px; }
.modal-card > button { z-index:5; }
.r22-fit-frame { width:100%; min-width:0; position:relative; }
.r21-profile { width:100%; }
.r21-profile-header { gap:12px; padding-top:3px; }
.r21-head { width:48px; height:48px; border-radius:6px; }
.r21-profile h2 { font-size:24px; line-height:1.15; margin:0; }
.r21-profile-identity p { font-size:11px; margin:3px 0; }
.r21-profile-identity small { font-size:10px; }
.r21-profile .r21-combat { margin:4px 0 0; gap:4px; }
.r21-combat img.r21-combat-icon { width:17px; height:17px; }
.r21-progress { margin:5px 0 3px; height:4px; }
.r22-status-line { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.r22-status-line .account-label { font-size:10px; }
.r21-profile-stats { margin:12px 0 10px; padding:9px 0; }
.r21-profile-stats small { margin-bottom:3px; font-size:10px; }
.r21-profile-stats strong { font-size:16px; }
.r22-profile-tabs { display:flex; align-items:center; justify-content:center; gap:8px; margin:0 0 10px; }
.r22-profile-tabs button { font-size:11px; padding:6px 12px; border:1px solid #37404e; background:#171c26; border-radius:6px; color:#aab6c5; }
.r22-profile-tabs button[aria-selected="true"] { color:#f5f1eb; border-color:#c07c3c; background:#33271e; }
.r21-profile-modes { gap:5px 8px; }
.r21-profile-mode { min-height:30px; padding:4px 8px; gap:7px; border-radius:6px; }
.r21-profile-mode img { width:19px; height:19px; }
.r21-profile-mode span { font-size:11px; }
.r21-profile-mode strong { font-size:10px; padding:4px 6px; }
.r21-profile-mode.r22-untested img { opacity:.62; }
.r21-profile-mode.r22-untested span,.r21-profile-mode.r22-untested strong { color:#707c8d; }
.r21-profile-peaks h3 { font-size:11px; margin:9px 0 5px; }
.r22-peak-chips { display:flex; flex-wrap:wrap; gap:4px; }
.r22-peak-chips span { padding:3px 6px; font-size:10px; color:#d3ba97; border:1px solid #4c4033; border-radius:4px; }
.r22-history-tab { margin:0; min-height:144px; }
.r22-history-record { padding:10px; margin-bottom:7px; background:#171c26; border:1px solid #303a49; border-radius:7px; }
.r22-history-record strong { display:block; font-size:12px; }
.r22-history-record small { display:block; color:#93a1b6; font-size:10px; margin-top:4px; }
.r22-history-pages { display:flex; justify-content:center; align-items:center; gap:12px; margin-top:10px; }
.r22-history-pages button { padding:6px 12px; font-size:11px; border:1px solid #414958; border-radius:5px; }
.r22-history-pages button:disabled { opacity:.4; }
html.r22-modal-open { overflow:hidden; }
body.r22-player-page { height:100dvh; min-height:0; display:flex; flex-direction:column; overflow:hidden; }
.r22-player-page > nav,.r22-player-page > .r20-mobile-nav { flex-shrink:0; }
body.r22-player-page main.r21-full-page { flex:1; min-height:0; width:calc(100% - 24px); max-width:760px; margin:10px auto; padding:14px 18px; overflow:hidden; }
.r22-player-page main > a { display:block; font-size:11px; margin-bottom:10px; }
@media(max-width:1100px) { .overall-row .tiers-area { grid-template-columns:repeat(8,minmax(0,1fr)); } }
@media(max-width:767px) {
 .overall-row .tiers-area { grid-column:1/-1; width:100%; gap:5px; justify-items:center; }
 .tier-badge .icon-circle { width:28px; height:28px; }
 .tier-badge .icon-circle img { width:24px; height:24px; }
 .overall-row .tier-badge { height:54px; }
 .overall-row { padding-bottom:10px; }
 .modal-card { padding:15px 12px; }
 .r21-profile h2 { font-size:21px; }
 .r21-profile-modes { gap:5px; }
 .r21-profile-mode { padding:4px 6px; gap:4px; }
 .r21-profile-mode img { width:17px; height:17px; }
 .r21-profile-mode span { font-size:10px; }
 body.r22-player-page main.r21-full-page { margin:6px auto; padding:10px 12px; }
}
@media(max-height:550px) and (min-width:640px) {
 .r21-profile-modes { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .r21-profile-header { gap:10px; }
 .r21-profile-identity { display:grid; grid-template-columns:1fr 1fr; column-gap:16px; align-items:center; }
 .r21-profile-identity h2,.r22-discord { grid-column:1; }
 .r22-status-line { grid-column:2; grid-row:1; }
 .r21-profile-identity .r21-combat { grid-column:2; grid-row:2; margin:0; }
 .r21-progress { grid-column:2; }
 .r21-profile-identity small { grid-column:2; }
 .r21-profile-stats { margin:7px 0; padding:6px 0; }
 .r22-profile-tabs { margin-bottom:6px; }
}
@media(max-height:550px) and (min-width:640px) {
 body.r22-player-page > nav {height:42px;min-height:42px;}
 body.r22-player-page main.r21-full-page {margin:6px auto;padding:10px 14px;}
 .r21-full-page > a {margin-bottom:4px;}
 .r21-profile-mode {min-height:25px;padding:2px 6px;}
 .r21-profile-mode img {width:16px;height:16px;}
 .r21-profile-mode strong {padding:2px 4px;font-size:9px;}
 .r21-profile-mode span {font-size:10px;}
 .r21-profile-peaks {display:flex;align-items:center;gap:8px;margin-top:6px;}
 .r21-profile-peaks h3 {margin:0;}
 .r21-profile-stats {margin:6px 0;padding:5px 0;}
 .r22-profile-tabs button {padding:4px 9px;}
}
.overall-row[data-tester-month="true"] { --r22-edge:#c89aff; }
.overall-row[data-tester-month="true"]::before { background:#702dc2 !important; }

@font-face { font-family:AfriMinecraft;src:url('/fonts/minecraft.ttf?v=35') format('truetype');font-weight:400;font-style:normal;font-display:swap; }
:root {
 --ht1:#E8BA3A;--lt1:#D5B355;--ht2:#C4D3E7;--lt2:#A0A7B2;
 --ht3:#F89F5A;--lt3:#C67B42;--ht4:#81749A;--lt4:#655B79;--ht5:#8F82A8;--lt5:#655B79;
 --tier-1:#E8BA3A;--tier-2:#C4D3E7;--tier-3:#F89F5A;--tier-4:#81749A;--tier-5:#8F82A8;
 --tier-1-foreground:#251e0e;--tier-2-foreground:#1d2530;--tier-3-foreground:#2b1c10;--tier-4-foreground:#f8f4ff;--tier-5-foreground:#1e1827;
}
.r23-mc-name,.player-info > :first-child,.r22-player-entry .name { font-family:AfriMinecraft,Inter,sans-serif;font-weight:400;font-synthesis:none;letter-spacing:0; }
.r23-mc-name { line-height:1.35; }
.overall-row .tier-badge .icon-circle { width:32px;height:32px;display:grid;place-items:center;box-sizing:border-box; }
.overall-row .tier-badge .icon-circle img { display:block;width:24px;height:24px;max-width:100%;max-height:100%;object-fit:contain;margin:0; }
.overall-row .tier-badge:not(.r22-missing-tier) .icon-circle { background:color-mix(in srgb,var(--r23-tier) 12%,#22232c);border:1px solid var(--r23-tier) !important; }
.overall-row .tier-badge:not(.r22-missing-tier) .icon-circle img { filter:drop-shadow(0 1px 1px #17191e55); }
.overall-row .tier-badge.r22-missing-tier .icon-circle { background:#131922;border:2px dashed #3d485b !important; }
.overall-row .tier-badge.r22-missing-tier .icon-circle img { opacity:.38;filter:blur(.4px); }
.overall-row .tier-badge .tier-label {width:32px;min-width:0;box-sizing:border-box;padding:1px 0;text-align:center;}
.overall-row .tier-badge:not(.r22-missing-tier) .tier-label {color:#111720 !important;}
img.r21-combat-icon,.r21-combat img.r21-combat-icon,img.r21-identity-icon[src='/discord_logo.png'] { width:14px;height:14px;flex:none;object-fit:contain; }
.overall-row.top-3::before { width:var(--r23-podium-width,510px);max-width:none; }
.r21-tier.ht1 {background:#E8BA3A;color:#251e0e;}.r21-tier.lt1 {background:#D5B355;color:#251e0e;}
.r21-tier.ht2 {background:#C4D3E7;color:#1d2530;}.r21-tier.lt2 {background:#A0A7B2;color:#1d2530;}
.r21-tier.ht3 {background:#F89F5A;color:#2b1c10;}.r21-tier.lt3 {background:#C67B42;color:#fff;}
.r21-tier.ht4 {background:#81749A;}.r21-tier.lt4 {background:#655B79;}.r21-tier.ht5 {background:#8F82A8;}.r21-tier.lt5 {background:#655B79;}
.tier-col-header { text-align:center; }
.r23-top-players { padding:30px 24px 26px;margin-bottom:30px;border:1px solid #303139;border-radius:18px;background:linear-gradient(135deg,#191a20,#101217 65%);text-align:center; }
.r23-top-players h1 { font-size:clamp(25px,3.2vw,40px);font-weight:800;line-height:1.2;margin-bottom:8px; }
.r23-top-players header > p {color:#929eaf;font-size:13px;}
.r23-podium-stage { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:16px;max-width:690px;margin:42px auto 18px; }
.r23-podium-card { display:grid;grid-template-rows:minmax(0,1fr) 68px;position:relative;height:308px;border:1px solid #373b44;border-radius:10px;background:#0d1015;text-decoration:none;min-width:0;transition:border-color .15s,box-shadow .15s; }
.r23-podium-card[data-place='1'] {grid-column:2;grid-row:1;height:350px;--r23-medal:#E8BA3A;--r23-floor:linear-gradient(132deg,#ad772e,#ffe58b 38%,#c18a35 58%,#f4d072);}
.r23-podium-card[data-place='2'] {grid-column:1;grid-row:1;--r23-medal:#C4D3E7;--r23-floor:linear-gradient(132deg,#8e969e,#f5f6f8 38%,#a7afb8 58%,#e6e9ee);}
.r23-podium-card[data-place='3'] {grid-column:3;grid-row:1;--r23-medal:#F89F5A;--r23-floor:linear-gradient(132deg,#80502f,#d6a16b 38%,#95603b 58%,#c48d58);}
.r23-podium-card:hover,.r23-podium-card:focus-visible {outline:2px solid var(--r23-medal);outline-offset:3px;border-color:var(--r23-medal);}
.r23-podium-body { display:flex;flex-direction:column;align-items:center;gap:8px;min-height:0;min-width:0;padding:15px 10px 0; }
.r23-podium-body .r23-mc-name {font-size:clamp(10px,1.8vw,17px);color:var(--r23-medal);white-space:nowrap;max-width:100%;}
.r23-podium-body > small {font-size:12px;color:#a8b0c0;}
.r23-podium-body > img {flex:1;min-height:0;width:130px;max-width:95%;height:190px;object-fit:contain;object-position:center bottom;}
.r23-podium-floor {display:grid;place-items:center;font-size:48px;font-weight:900;line-height:1;background:var(--r23-floor);color:#211d1b;border-radius:0 0 9px 9px;}
.r23-podium-card > img.r23-crown {position:absolute;top:-30px;left:calc(50% - 13px);width:26px;height:26px;}
.r23-podium-card[data-tester-month='true'] .r23-podium-floor {background:#702dc2;color:#fff;}
.r23-runners {display:grid;gap:8px;max-width:690px;margin:0 auto 18px;}
.r23-runner {display:grid;grid-template-columns:24px 34px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:53px;padding:6px 15px;text-decoration:none;border:1px solid #303844;border-radius:8px;background:#0e1117;text-align:left;}
.r23-runner > b {font-size:18px;color:#96a3b7;text-align:center;}
.r23-runner > img {width:34px;height:40px;object-fit:contain;}
.r23-runner > strong {font-size:14px;overflow-wrap:anywhere;}
.r23-runner > small {font-size:12px;color:#a8b0c0;white-space:nowrap;}
.r23-runner:hover {border-color:#bc8c50;}
.r23-full-leaderboard {display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:8px 18px;border:1px solid #ffb955;background:#f28b30;color:#18130e;font-size:13px;font-weight:700;border-radius:8px;text-decoration:none;}
.r23-full-leaderboard img {width:34px;height:24px;object-fit:contain;image-rendering:pixelated;}
.r23-full-leaderboard:hover {background:#ffab4c;}
@media(max-width:767px) {
 .overall-row.top-3::before {height:91px;max-width:none;width:var(--r23-podium-width,calc(100% + 84px));}
 .r23-top-players {padding:24px 12px 22px;}
 .r23-podium-stage {gap:8px;margin-top:36px;}
 .r23-podium-card {height:245px;grid-template-rows:minmax(0,1fr) 50px;}
 .r23-podium-card[data-place='1'] {height:277px;}
 .r23-podium-body {padding:12px 5px 0;gap:5px;}
 .r23-podium-body .r23-mc-name {font-size:clamp(8px,2.5vw,12px);}
 .r23-podium-body > small {font-size:10px;}
 .r23-podium-body > img {width:90px;height:150px;max-width:100%;}
 .r23-podium-floor {font-size:36px;}
 .r23-runner {padding:6px 9px;gap:8px;grid-template-columns:20px 28px minmax(0,1fr) auto;}
 .r23-runner > strong {font-size:11px;}
 .r23-runner > small {font-size:10px;}
 .r23-runner > img {width:28px;height:36px;}
}
:root {--ht1-fg:#251e0e;--lt1-fg:#251e0e;--ht2-fg:#1d2530;--lt2-fg:#1d2530;--ht3-fg:#2b1c10;--lt3-fg:#25190f;--ht4-fg:#fff;--lt4-fg:#fff;--ht5-fg:#fff;--lt5-fg:#fff;}
@media(min-width:768px) {.overall-row .tiers-area {padding-left:32px;}}
.r23-full-leaderboard img {width:34px;height:14px;object-fit:cover;object-position:center;}

/* R24: current style, square tier badges and outlined controls. */
.tier-badge .icon-circle,.tier-badge .tier-label,.r21-profile-mode .r21-tier {border-radius:0;}
.overall-row .tier-badge .icon-circle {display:grid;place-items:center;padding:0;}
.overall-row .tier-badge .icon-circle img {width:24px;height:24px;object-fit:contain;object-position:center;}
.overall-row.top-3 .rank-skin-box {background:#222837;border:1px solid #454d5d;border-radius:10px;box-shadow:0 2px 5px #0003;}
.overall-row.top-3 .rank-skin-box .rank-num {color:#f4f3f0;}
.overall-row.top-3 {top:auto;}
.overall-row.top-3::before {width:var(--r24-podium-width,360px);max-width:none;}
.overall-row {margin-block:14px;}
.overall-row[data-placement="3"] {margin-bottom:18px;}
.overall-row .tiers-area {padding-left:0;}
:is(button,[role="tab"],.home-tab,.mode-tab,.category-links a,.r20-button,.r20-account-link,.r23-full-leaderboard,.r24-info-links a,.r20-mobile-nav a,nav ul > li > a) {border-width:2px;border-style:solid;border-color:#4a505e;box-shadow:3px 3px 0 #050608;transition:border-color .15s,box-shadow .15s,background .15s;}
:is(button,[role="tab"],.home-tab,.mode-tab,.category-links a,.r20-button,.r20-account-link,.r23-full-leaderboard,.r24-info-links a,.r20-mobile-nav a,nav ul > li > a):hover:not(:disabled) {border-color:#fff;box-shadow:3px 3px 0 #050608;}
button:not(.home-tab):not(.r20-button) {border-radius:8px;}
.home-tab.active,.mode-tab.active,.r22-profile-tabs button[aria-selected="true"] {border-color:#fff;}
.r23-full-leaderboard,.r20-button:not(.secondary) {border-color:#fff;}
nav ul > li > a,.r20-mobile-nav a {border-radius:8px;}
button:disabled {cursor:default;box-shadow:none;}
.r24-info-links {align-items:stretch;}
.r24-info-links > :is(a,button) {display:inline-flex;align-items:center;justify-content:center;min-height:42px;}
.r24-guide-button {border-radius:8px;font-size:14px;}
.r24-points-guide {scroll-margin-top:85px;}
.r24-guide-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px;}
.r24-guide-heading h2 {font-size:24px;font-weight:800;}
.r24-guide-heading button {font-size:12px;padding:8px 12px;}
.r24-points-guide > p {font-size:13px;color:#b5b8c4;margin:0 0 18px;}
.r24-combat-ranks {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.r24-combat-rank {display:flex;align-items:center;gap:12px;min-width:0;padding:14px;border:1px solid #363c49;border-radius:10px;background:#171b24;}
.r24-combat-rank img {width:26px;height:26px;flex:none;object-fit:contain;}
.r24-combat-rank h3 {font-size:13px;font-weight:700;margin-bottom:5px;}
.r24-combat-rank strong {display:block;font-size:12px;color:#f4b46d;}
.r24-combat-rank small {display:block;font-size:11px;color:#9faabc;margin-top:3px;}
.r24-guide-subheading {font-size:18px;font-weight:800;margin:28px 0 10px;}
.r24-tier-points {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.r24-tier-value {display:flex;align-items:center;gap:12px;padding:8px 12px;border:1px solid #343b47;border-radius:8px;background:#151922;}
.r24-tier-value b {display:grid;place-items:center;min-width:48px;height:28px;font-size:12px;}
.r24-tier-value span {font-size:13px;color:#d5dce6;}
.r24-peak-holds {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px;}
.r24-peak-holds > div {display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid #343b47;border-radius:8px;text-align:center;background:#151922;}
.r24-peak-holds b,.r24-peak-holds strong {font-size:12px;}
.r24-peak-holds small {font-size:10px;color:#a8b2c2;}
.r24-points-guide > .r24-guide-example {padding:14px;border-left:3px solid #f28b30;background:#f28b300c;border-radius:0 8px 8px 0;margin-bottom:0;}
@media(max-width:767px) {
 .overall-row.top-3::before {width:var(--r24-podium-width,calc(100% - 60px));height:91px;clip-path:polygon(0 0,100% 0,calc(100% - 24px) 100%,0 100%);}
 .overall-row .tiers-area {grid-template-columns:repeat(auto-fit,minmax(36px,1fr));gap:8px 5px;}
 .overall-row .player-info > :first-child {padding-right:6px;}
 .overall-row .player-info > :last-child {display:flex;align-items:center;gap:5px;font-size:10px;padding-right:24px;}
 .overall-row .player-info > :last-child > span {min-width:0;}
}
@media(max-width:460px) {.r24-combat-ranks {grid-template-columns:1fr;}.r24-peak-holds {grid-template-columns:repeat(2,minmax(0,1fr));}.r24-tier-value {padding:8px;gap:8px;}.r24-tier-value span {font-size:12px;}}

/* Keep one diagonal across the medals, with room for every visible text line. */
.overall-row.top-3 .player-info {padding-right:16px;}
.overall-row.top-3 .player-info .r21-award {max-width:100%;white-space:normal;overflow-wrap:anywhere;}
.overall-row.top-3::before {
 width:var(--r25-podium-width,360px);
 height:var(--r25-podium-height,100%);
 clip-path:polygon(0 0,100% 0,calc(100% - var(--r25-podium-cut,40px)) 100%,0 100%);
}

/* Display the supplied PNG at its artwork bounds; preserve its original pixels. */
.r26-brand {position:relative;display:block;flex:none;width:180px;aspect-ratio:1774 / 346;overflow:hidden;background:transparent;}
body > nav > div:first-child,body > nav > div:first-child > a {flex-shrink:0;}
.r26-brand > img,body > nav .r26-brand > img {position:absolute;display:block;left:0;top:-73.6994219653%;width:100%;height:auto;max-width:none;object-fit:contain;object-position:center;transform:none;background:transparent;}
@media(max-width:1100px) {.r26-brand {width:140px;}}
@media(min-width:768px) and (max-width:1100px) {
 body > nav {gap:8px;}
 body > nav .r26-search-slot {flex:1;min-width:64px;}
 body > nav .r26-search-slot > .relative {width:100%;min-width:0;}
 body > nav .r26-search-slot .nav-search {width:100%;min-width:0;}
 body > nav > .r20-account-link {flex-shrink:0;}
}
@media(max-width:767px) {
 .r26-brand {width:112px;}
 body > nav {gap:8px;padding-inline:12px;}
 body > nav .r26-search-slot {flex:1;min-width:0;}
 body > nav .r26-search-slot > .relative {width:100%;min-width:0;}
 body > nav .r26-search-slot .nav-search {width:100%;min-width:0;}
 body > nav > .r20-account-link {flex-shrink:0;}
}
.discord-dropdown {left:0;right:auto;top:calc(100% + 10px);transform:none;animation:none;transition:none;width:280px;max-width:calc(100vw - 24px);}
.discord-item {display:flex;flex-direction:row;justify-content:flex-start;transform:none;}
.category-links a {position:relative;min-height:38px;border-color:#424957;color:#aeb8c9;}
.category-links a[aria-current="page"] {background:#f28b3020;color:#ffd59b;border-color:#ffb867;box-shadow:0 0 0 2px #f28b3014;}

.category-links {padding-bottom:8px;}
.r29-footer {display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;width:calc(100% - 48px);max-width:1352px;margin:28px auto 0;padding:22px 0;border-top:1px solid #29303c;color:#929cad;font-size:11px;line-height:1.6;flex-shrink:0;}
.r29-footer span:last-child {text-align:right;}
.r22-player-page .r29-footer {font-size:8px;gap:4px;margin:0 auto;padding:6px 0;}
.r29-sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.r29-skeleton-list {display:grid;gap:14px;}
.r29-skeleton-row {display:grid;grid-template-columns:150px minmax(100px,210px) 42px 1fr;gap:18px;align-items:center;min-height:125px;padding:14px 16px;border:1px solid #2c323e;border-radius:12px;background:#151820;}
.r29-skeleton-row :is(i,b,em),.r29-skeleton-slots {display:block;background:linear-gradient(100deg,#252c38 20%,#364252 45%,#252c38 70%);background-size:220% 100%;animation:r29-shimmer 1.4s ease-in-out infinite;border-radius:6px;}
.r29-skeleton-row i {height:88px;}.r29-skeleton-row b {height:13px;margin:8px 0;width:85%;}.r29-skeleton-row b:last-child {width:60%;}.r29-skeleton-row em {height:30px;}.r29-skeleton-slots {height:40px;}
@keyframes r29-shimmer {0%,100%{background-position:100% 0;opacity:.6;}50%{background-position:0 0;opacity:1;}}
@keyframes r29-row-in {from{opacity:0;transform:translateX(-12px);}to{opacity:1;transform:translateX(0);}}
.r29-ranking-list .overall-row {animation:r29-row-in .28s ease-out both;animation-delay:calc(var(--r29-row,0) * 24ms);}
.overall-row {grid-template-columns:230px minmax(150px,210px) 48px minmax(0,1fr);min-height:130px;}
.overall-header {grid-template-columns:230px minmax(150px,210px) 48px minmax(0,1fr);}
.overall-row.top-3::before,.overall-row.top-3::after {display:none;}
.overall-row.top-3 .player-info {padding-right:0;}
.overall-row.top-3 .player-info,.overall-row.top-3 .player-info * {color:#e7ebf3;}
.overall-row .rank-skin-box {position:relative;isolation:isolate;width:220px;height:100px;flex:none;}
.overall-row.top-3 .rank-skin-box {background:transparent;border:0;border-radius:9px;box-shadow:none;overflow:visible;}
.overall-row.top-3 .rank-skin-box::after {content:"";position:absolute;inset:0;z-index:-1;border-radius:9px 0 0 9px;clip-path:polygon(0 0,100% 0,calc(100% - 50px) 100%,0 100%);background:repeating-linear-gradient(119deg,#ffffff33 0 23px,#0000000c 23px 46px),var(--r29-medal);}
.overall-row[data-placement="1"] {--r29-medal:#eed05b;}.overall-row[data-placement="2"] {--r29-medal:#a6cde8;}.overall-row[data-placement="3"] {--r29-medal:#d9a16b;}
.overall-row .rank-skin {position:absolute;bottom:0;right:24px;top:auto;width:85px;height:112px;max-height:none;object-fit:contain;object-position:center bottom;z-index:1;}
.overall-row .rank-num {position:absolute;left:15px;top:0;bottom:0;display:flex;align-items:center;font-size:32px;color:#fff;font-weight:900;z-index:2;text-shadow:2px 2px 0 #0004;}
.overall-row.top-3 .rank-num {font-style:italic;font-size:36px;}
.overall-row .tiers-area {grid-template-columns:repeat(auto-fit,minmax(34px,1fr));}
.r29-search-trigger {display:block;width:100%;padding:9px 12px;font-size:12px;text-align:left;color:#9eabba;background:#171d27;border:1px solid #394151;border-radius:10px;white-space:nowrap;}
.r26-search-slot:has(.r29-search-trigger) {width:190px;}
.nav-search[readonly] {cursor:pointer;}
.r29-search-dialog {position:fixed;inset:0;margin:auto;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 28px);overflow:auto;padding:22px;background:#11151f;border:1px solid #3b4355;border-radius:22px;color:#e7ebf5;box-shadow:0 28px 100px #000a;}
.r29-search-dialog::backdrop {background:#05070bd1;backdrop-filter:blur(6px);}
.r29-search-head {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;}
.r29-search-head h2 {font-size:18px;font-weight:800;}.r29-search-close {width:32px;height:32px;font-size:23px;line-height:1;}
.r29-search-dialog input {width:100%;height:46px;padding:0 12px;border:1px solid #424d62;border-radius:8px;background:#0c1019;color:white;font-size:15px;}
.r29-search-label {display:flex;justify-content:space-between;align-items:center;margin:20px 0 10px;color:#99a6bd;font-size:11px;text-transform:uppercase;letter-spacing:.06em;}
.r29-search-label button {padding:3px 8px;font-size:10px;}
.r29-search-result {display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 8px;border-radius:10px;text-decoration:none;}
.r29-search-result:hover,.r29-search-result:focus-visible {background:#20283a;}.r29-search-result img {width:36px;height:36px;object-fit:contain;border-radius:5px;flex:none;}
.r29-search-result strong {font-size:14px;color:#e4eafa;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.r29-search-points {margin-left:auto;padding:4px 8px;background:#252c40;border-radius:15px;font-size:11px;color:#aab9d6;white-space:nowrap;}.r29-search-empty {font-size:12px;color:#98a7be;padding:14px 0;}
@media(max-width:1100px) {.overall-row,.overall-header {grid-template-columns:190px minmax(130px,165px) 42px minmax(0,1fr);}.overall-row .rank-skin-box {width:180px;}.overall-row .rank-skin {right:16px;}}
@media(max-width:767px) {
 .overall-row {grid-template-columns:104px minmax(0,1fr) 36px;gap:10px;}.overall-row .rank-skin-box {width:104px;height:80px;}.overall-row .rank-skin {width:64px;height:90px;right:0;}.overall-row.top-3 .rank-skin-box::after {clip-path:polygon(0 0,100% 0,calc(100% - 30px) 100%,0 100%);}.overall-row .rank-num,.overall-row.top-3 .rank-num {left:10px;font-size:27px;}
 .r29-skeleton-row {grid-template-columns:104px 1fr 36px;gap:10px;}.r29-skeleton-slots {grid-column:1/-1;}
 .r29-footer {width:calc(100% - 28px);font-size:10px;gap:8px;padding:16px 0;}.r29-footer span:last-child {text-align:left;}
 .r26-search-slot:has(.r29-search-trigger) {width:auto;flex:1;min-width:0;}.r29-search-trigger {padding:8px;font-size:10px;}
}
@media(prefers-reduced-motion:reduce) {.r29-ranking-list .overall-row,.r29-skeleton-row :is(i,b,em),.r29-skeleton-slots {animation:none;}}

/* Homepage medals share the leaderboard stripe and skin treatment. */
.r23-top-players .r30-home-logo {width:min(440px,100%);margin:0 auto 24px;}
.r23-top-players .r23-podium-stage {grid-template-columns:minmax(0,1fr);gap:16px;max-width:760px;margin:32px auto 16px;}
.r30-home-ranking {display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:24px;min-height:122px;padding:10px;border:1px solid #383d48;border-radius:12px;background:#10131c;text-align:left;text-decoration:none;}
.r30-home-ranking[data-place="1"] {--r30-medal:#eed05b;--r30-edge:#f5d784;}
.r30-home-ranking[data-place="2"] {--r30-medal:#a6cde8;--r30-edge:#e2e8ef;}
.r30-home-ranking[data-place="3"] {--r30-medal:#d9a16b;--r30-edge:#e2b48d;}
.r30-home-ranking:hover,.r30-home-ranking:focus-visible {outline:2px solid var(--r30-edge);outline-offset:2px;}
.r30-home-medal {position:relative;isolation:isolate;height:100px;}
.r30-home-medal::before {content:"";position:absolute;inset:0;z-index:-1;border-radius:9px 0 0 9px;clip-path:polygon(0 0,100% 0,calc(100% - 30px) 100%,0 100%);background:repeating-linear-gradient(119deg,#ffffff33 0 23px,#0000000c 23px 46px),var(--r30-medal);}
.r30-home-medal img {position:absolute;right:3px;bottom:0;width:96px;height:112px;object-fit:contain;object-position:center bottom;}
.r30-home-position {position:absolute;left:17px;top:0;bottom:0;display:flex;align-items:center;font-size:38px;font-style:italic;font-weight:900;color:white;text-shadow:2px 2px #0004;}
.r30-home-copy {display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;overflow-wrap:anywhere;}
.r30-home-copy .r23-mc-name {font-size:20px;color:#f2f4fa;line-height:1.4;max-width:100%;}
.r30-home-copy small {font-size:13px;color:#a8b0c0;}
@media(max-width:767px) {
 .r23-top-players .r30-home-logo {width:min(340px,100%);margin-bottom:20px;}
 .r30-home-ranking {grid-template-columns:110px minmax(0,1fr);gap:12px;padding:8px;min-height:100px;}
 .r30-home-medal {height:80px;}.r30-home-medal img {width:66px;height:90px;right:0;}
 .r30-home-position {left:9px;font-size:28px;}.r30-home-copy .r23-mc-name {font-size:clamp(10px,3.2vw,16px);}.r30-home-copy small {font-size:11px;}
}

/* Profile layout: banner, protected Minecraft portrait, position and tier strip. */
.r23-top-players .r23-podium-stage {grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:16px;max-width:690px;margin:42px auto 18px;}
.r23-podium-floor {background:repeating-linear-gradient(119deg,#ffffff33 0 23px,#0000000c 23px 46px),var(--r23-floor);}

.modal-card:has(.r31-profile) {padding:0;background:transparent;border:0;box-shadow:none;width:min(700px,100%);max-width:700px;}
.modal-card:has(.r31-profile) > button {display:none;}
.r31-profile {--r31-accent:#b6a6df;--r31-surface:#141420;position:relative;isolation:isolate;overflow:hidden;border:1px solid #363541;border-radius:30px;background:var(--r31-surface);padding:0;color:#ededfa;}
.r31-profile .r31-banner {position:relative;isolation:isolate;overflow:hidden;height:120px;background:linear-gradient(115deg,#45434e,#3e223b 45%,#55525c);background-position:center;background-size:cover;}
.r31-profile .r31-banner::before {content:"";position:absolute;inset:-24px;background-image:var(--profile-banner-image,none);background-position:center 38%;background-size:cover;filter:blur(24px) saturate(.7);opacity:.55;transform:scale(1.08);pointer-events:none;}
.r31-profile .r31-banner::after {content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,16,29,.55),rgba(17,16,29,.78));pointer-events:none;}
.r31-profile-actions {position:absolute;top:14px;right:14px;display:flex;gap:7px;z-index:8;}
.r31-profile-actions > :is(button,a) {display:grid;place-items:center;width:36px;height:36px;background:#0b0d16;border:1px solid #363747;border-radius:50%;color:#ededfa;font-size:24px;line-height:1;text-decoration:none;padding:0;}
.r31-profile-actions .r31-menu-toggle {font-size:16px;letter-spacing:1px;}
.r31-profile-menu {position:absolute;top:44px;right:44px;display:grid;width:220px;background:#1e1f31;border:1px solid #393a4b;border-radius:18px;padding:10px;box-shadow:0 14px 35px #0006;}
.r31-profile-menu :is(button,a) {text-align:left;background:none;border:0;padding:11px 8px;border-radius:8px;color:#b7bbd4;font-size:14px;text-decoration:none;}
.r31-profile-menu :is(button,a):hover {background:#303147;color:#fff;}
.r31-profile-menu a {border-top:1px solid #373747;border-radius:0;margin-top:5px;}
.r31-profile .r31-profile-content {padding:0 24px 18px;}
.r31-skin-circle {position:relative;margin-top:-60px;width:144px;height:144px;border-radius:50%;background:var(--r31-surface);display:grid;place-items:end center;overflow:hidden;}
.r31-skin-circle > img {width:120px;height:132px;object-fit:contain;object-position:center bottom;}
.r31-profile h2 {font-size:30px;line-height:1.3;margin:20px 0 9px;overflow-wrap:anywhere;}
.r31-profile .r31-identity-details {display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;min-height:0;}
.r31-profile .r22-discord {display:flex;align-items:center;gap:5px;margin:0;font-size:11px;}
.r31-profile .r21-combat {display:flex;align-items:center;gap:6px;font-size:12px;margin:8px 0 5px;}
.r31-profile .r21-combat-icon {width:18px;height:18px;object-fit:contain;}
.r31-progress {height:3px;max-width:310px;background:#070912;border-radius:3px;overflow:hidden;}.r31-progress span {display:block;height:100%;background:var(--r31-accent);}
.r31-progress-caption {font-size:10px;color:#a4abc0;}
.r31-section-label {font-size:12px;text-transform:uppercase;letter-spacing:.17em;font-weight:700;color:#9da5c2;margin:20px 0 10px;}
.r31-position-row {display:flex;align-items:center;gap:10px;height:52px;border-radius:28px;background:#202031;overflow:hidden;font-size:18px;}
.r31-position-row > strong {display:grid;place-items:center;height:100%;width:83px;background:#353448;clip-path:polygon(0 0,75% 0,100% 100%,0 100%);padding-right:10px;color:#fff;font-size:27px;font-style:italic;}
.r31-position-row[data-position="1"] > strong {background:repeating-linear-gradient(119deg,#fff4 0 18px,#0001 18px 36px),#e8ba3a;}
.r31-position-row[data-position="2"] > strong {background:repeating-linear-gradient(119deg,#fff4 0 18px,#0001 18px 36px),#a6cde8;}
.r31-position-row[data-position="3"] > strong {background:repeating-linear-gradient(119deg,#fff4 0 18px,#0001 18px 36px),#d9a16b;}
.r31-position-row > span {color:#a3a7c3;font-size:16px;}.r31-tiers-heading {border-top:1px solid #ffffff12;padding-top:15px;margin-top:16px;}
.r31-tier-strip {display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px 8px;border-radius:22px;background:#202031;padding:15px 10px;}
.r31-tier-slot {--r31-tier:#737991;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;text-decoration:none;}
.r31-tier-circle {display:grid;place-items:center;width:38px;height:38px;border:3px solid var(--r31-tier);border-radius:50%;background:#10131e;}
.r31-tier-circle img {width:25px;height:25px;object-fit:contain;}
.r31-tier-slot strong {color:var(--r31-tier);background:color-mix(in srgb,var(--r31-tier) 20%,#141420);padding:3px 7px;border-radius:14px;font-size:12px;line-height:1;}
.r31-empty .r31-tier-circle {border-style:dashed;border-color:#3a3e52;}.r31-empty img {opacity:.38;}.r31-empty strong {background:#262638;color:#71768e;}
.r31-tier-slot small {font-size:8px;color:#b0aabd;}.r31-tier-slot:focus-visible {outline:2px solid var(--r31-accent);border-radius:8px;}
body.r22-player-page main.r21-full-page {padding:0;max-width:700px;background:transparent;border:0;}
body.r22-player-page main.r21-full-page > a {padding-left:8px;}
@media(max-width:767px){
 .r23-top-players .r23-podium-stage {gap:8px;margin-top:36px;}
 .r31-profile {border-radius:24px;}.r31-profile .r31-profile-content {padding:0 18px 14px;}.r31-profile .r31-banner {height:105px;}
 .r31-skin-circle {width:120px;height:120px;margin-top:-52px;}.r31-skin-circle>img {width:100px;height:110px;}.r31-profile h2 {font-size:clamp(17px,5.1vw,26px);margin-top:15px;}
 .r31-position-row {gap:7px;height:46px;font-size:15px;}.r31-position-row>strong {width:68px;font-size:25px;}.r31-position-row>span {font-size:13px;}
 .r31-tier-strip {gap:10px 6px;padding:12px 8px;grid-template-columns:repeat(8,minmax(0,1fr));}.r31-tier-circle {width:28px;height:28px;border-width:2px;}.r31-tier-circle img {width:19px;height:19px;}.r31-tier-slot strong {font-size:10px;padding:3px 4px;}
 .r31-profile-menu {width:190px;right:0;}.r31-section-label {font-size:11px;}.r31-profile h3 {grid-column:auto;}
}

.r31-profile-menu {background:#1e1f31 !important;overflow:hidden;}
.r31-profile-menu :is(button,a) {display:block;background:#222334 !important;border:1px solid #353748 !important;border-radius:8px !important;margin:3px 0 !important;box-shadow:none !important;}
.r31-profile-menu :is(button,a):hover {background:#303147 !important;}
.r31-profile-menu a {border-top:1px solid #353748 !important;}
.r32-discord-login {display:flex;align-items:center;justify-content:center;gap:12px;width:100%;max-width:360px;padding:15px 22px;border:1px solid #8b91f4;border-radius:10px;background:#5865f2;color:#fff;font-weight:700;text-decoration:none;}
.r32-discord-login img {width:24px;height:24px;object-fit:contain;}
.r32-login-note {font-size:12px;color:#a5adc4;margin-top:12px;}

.r31-profile {border:2px solid transparent;background:linear-gradient(180deg,color-mix(in srgb,var(--r32-frameTop,#363541) 16%,var(--r31-surface,#141420)),color-mix(in srgb,var(--r32-frameBottom,#363541) 16%,var(--r31-surface,#141420))) padding-box,linear-gradient(180deg,var(--r32-frameTop,#363541),var(--r32-frameBottom,#363541)) border-box;}
.r32-social-details {font-size:12px;color:#b2b7ce;}.r32-badges {display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:6px 0;}
.r32-badge {display:inline-flex;align-items:center;gap:5px;}.r32-badge img {width:18px;height:18px;}.r32-badge small {font-size:10px;}
.r32-member-since {font-size:10px;color:#a2abc5;}

/* Gamemode lists: double chevrons for high tiers, single chevrons for low tiers. */
.tier-player-mode.r22-player-entry.r22-high {background:#263244;}
.tier-player-mode.r22-player-entry.r22-low {background:#161e2a;}
.tier-player-mode.r22-player-entry.r22-high:is(:hover,:focus-visible) {background:#304158;filter:none;}
.tier-player-mode.r22-player-entry.r22-low:is(:hover,:focus-visible) {background:#1d293a;filter:none;}
.r22-player-entry .r37-tier-direction {display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;margin-left:auto;color:#3d526f;}
.r22-player-entry.r22-low .r37-tier-direction {color:#2d3e54;}
.r37-tier-direction svg {display:block;width:22px;height:22px;}

/* Skeletons share loaded row, portrait, region, tier and header classes. */
.r45-overall-skeleton,.r45-loaded-rows {display:block;}
.r45-overall-skeleton,.r47-tier-loading {animation:r48-skeleton-pulse 2s cubic-bezier(.4,0,.6,1) infinite;}
@keyframes r48-skeleton-pulse {0%,100%{opacity:1}50%{opacity:.5}}
.r45-skeleton-block {display:block;background:#252c38;border-radius:4px;}
.r45-overall-skeleton .r45-skeleton-row,.r47-tier-skeleton-row {pointer-events:none;}
.r45-overall-skeleton .r45-skeleton-row {animation:none;}
.r45-skeleton-row .rank-skin-box::after {display:none;}
.r49-skeleton-medal {position:absolute;inset:0;border-radius:9px;}
.top-3 .r49-skeleton-medal {clip-path:polygon(0 0,100% 0,calc(100% - 50px) 100%,0 100%);border-radius:9px 0 0 9px;}
.r49-skeleton-number {width:1em;height:1em;}
.r49-skeleton-name {display:inline-block;width:9ch;max-width:85%;height:1em;vertical-align:middle;}
.r49-skeleton-combat-icon {display:inline-block;width:14px;height:14px;margin-right:4px;vertical-align:middle;}
.r49-skeleton-combat {display:inline-block;width:14ch;max-width:calc(100% - 22px);height:1em;vertical-align:middle;}
.r45-skeleton-row .player-region {background:#252c38;}
.r45-overall-skeleton .overall-row .tier-badge.r45-skeleton-tier .icon-circle {border:1px solid #364252!important;background:#252c38;border-radius:0;}
.r45-skeleton-row .r45-skeleton-tier .tier-label {background:#252c38;border-radius:0;}
.r45-overall-skeleton[data-category="main"] .r45-skeleton-tier:nth-child(n+9),.r45-overall-skeleton[data-category="sub"] .r45-skeleton-tier:nth-child(n+9) {display:none;}
.r47-tier-skeleton-row .r44-tier-portrait.r45-skeleton-block {background:#303849;}
.r49-tier-skeleton-name {height:1em;max-width:55%;}
.r49-tier-skeleton-arrow {width:22px;height:22px;}
.tier-grid {align-items:start;}
.r49-empty-tier {display:flex;align-items:center;justify-content:center;min-height:44px;padding:12px 8px;background:#161e2a;color:#64708b;font-size:12px;line-height:20px;}
.r29-ranking-list .r45-loaded-rows .overall-row {animation:r48-player-card-slide-in .5s ease-out both;animation-delay:calc(var(--r29-row,0)*40ms);}
@keyframes r48-player-card-slide-in {from{opacity:0;translate:-24px 0}to{opacity:1;translate:0 0}}
@media(max-width:767px) {.top-3 .r49-skeleton-medal {clip-path:polygon(0 0,100% 0,calc(100% - 30px) 100%,0 100%);}}
@media(prefers-reduced-motion:reduce) {.r45-overall-skeleton,.r47-tier-loading,.r29-ranking-list .r45-loaded-rows .overall-row {animation:none;}}

/* Native image loading keeps cached and freshly loaded portraits visible. */
.tier-player-mode.r22-player-entry img.r38-tier-bust,.overall-row img.r45-ranking-skin {opacity:1;visibility:visible;}

/* Pointer clicks do not leave a clipped row outline; keyboard focus stays visible. */
.tier-player-mode.r22-player-entry:focus {outline:none;}
.tier-player-mode.r22-player-entry:focus-visible {outline:2px solid #fff;outline-offset:-2px;}
