:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: rgba(16, 20, 28, .74);
  --panel-strong: #121823;
  --line: rgba(153, 171, 199, .16);
  --line-bright: rgba(172, 193, 225, .28);
  --text: #edf3ff;
  --muted: #8492a8;
  --dim: #4c596e;
  --gold: #f4c76d;
  --blue: #7ea9ff;
  --danger: #ff9191;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(700px 450px at 50% -180px, rgba(74, 110, 187, .3), transparent 72%),
    radial-gradient(500px 400px at 6% 75%, rgba(31, 66, 116, .15), transparent 75%),
    linear-gradient(135deg, #07090d 0%, #0a0e15 47%, #07090d 100%);
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .2;
  background-image: linear-gradient(rgba(142, 162, 198, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(142, 162, 198, .08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
button, input { font: inherit; }
button { cursor: pointer; }
.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; }

.site-header, main { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 94px; }
.brand { display: inline-grid; place-items: center; color: var(--gold); text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(242, 194, 101, .44);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 225, 153, .14), rgba(123, 78, 19, .08));
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 0 35px rgba(235, 178, 65, .09);
}
.brand-mark svg { width: 30px; height: 30px; }

.controls { display: flex; align-items: center; gap: 9px; }
.segmented { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 11px; background: rgba(12, 16, 23, .72); box-shadow: inset 0 1px rgba(255,255,255,.02); }
.segment { min-width: 42px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--dim); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.segment:hover { color: var(--text); }
.segment.is-active { color: #11151d; background: linear-gradient(135deg, #f7cf7a, #d99640); box-shadow: 0 3px 12px rgba(0,0,0,.28); }
.search-box { display: flex; align-items: center; gap: 9px; width: 190px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(12, 16, 23, .72); color: var(--dim); }
.search-box:focus-within { border-color: rgba(126, 169, 255, .68); box-shadow: 0 0 0 3px rgba(93, 143, 240, .1); }
.search-box svg, .icon-button svg { width: 17px; height: 17px; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; }
.search-box input::placeholder { color: var(--dim); }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 11px; background: rgba(12, 16, 23, .72); color: var(--muted); }
.icon-button:hover { color: var(--gold); border-color: rgba(242, 194, 101, .44); }

main { padding: 34px 0 80px; }
.leaderboard { position: relative; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.podium-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 136px;
  padding: 23px 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(125deg, rgba(20, 27, 39, .86), rgba(9, 13, 20, .85));
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 18px 38px rgba(0,0,0,.14);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.podium-card::before { position: absolute; inset: 0; content: ""; opacity: .7; background: linear-gradient(120deg, transparent 38%, rgba(255,255,255,.04), transparent 62%); pointer-events: none; }
.podium-card.place-1 { border-color: rgba(244, 199, 109, .48); background: linear-gradient(125deg, rgba(64, 48, 25, .56), rgba(14, 18, 25, .93)); }
.podium-card.place-2 { border-color: rgba(158, 183, 216, .3); }
.podium-card.place-3 { border-color: rgba(190, 119, 74, .32); }
.podium-place { position: absolute; top: 14px; right: 16px; color: rgba(202, 216, 238, .16); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.podium-identity { position: relative; display: grid; gap: 7px; min-width: 0; }
.podium-identity strong { overflow: hidden; color: var(--text); font-size: 15px; font-weight: 750; letter-spacing: -.015em; text-overflow: ellipsis; white-space: nowrap; }
.podium-identity span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.podium-identity span::before { display: inline-block; width: 5px; height: 5px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--gold); content: ""; }
.place-2 { order: 1; }
.place-1 { order: 2; transform: translateY(-7px); }
.place-3 { order: 3; }
@media (hover: hover) and (min-width: 761px) {
  .podium-card:hover { transform: translateY(-3px); border-color: var(--line-bright); box-shadow: inset 0 1px rgba(255,255,255,.06), 0 24px 42px rgba(0,0,0,.25); }
  .podium-card.place-1:hover { transform: translateY(-10px); border-color: rgba(244, 199, 109, .72); }
}

.rank-emblem {
  --tier-a: #798aa1;
  --tier-b: #39495e;
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 43px;
  height: 48px;
  color: #f3f8ff;
  background: linear-gradient(150deg, var(--tier-a), var(--tier-b));
  clip-path: polygon(50% 0, 90% 17%, 82% 73%, 50% 100%, 18% 73%, 10% 17%);
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.4));
}
.rank-emblem::before { position: absolute; inset: 3px; border: 1px solid rgba(255,255,255,.38); clip-path: inherit; content: ""; }
.rank-emblem::after { position: absolute; width: 58%; height: 1px; top: 52%; background: rgba(255,255,255,.38); content: ""; }
.rank-emblem b { position: relative; z-index: 2; color: #fafdff; font-size: 12px; font-weight: 900; line-height: 1; text-shadow: 0 1px 3px rgba(0,0,0,.75); }
.rank-orbit { position: absolute; z-index: 1; width: 18px; height: 18px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; box-shadow: 0 0 0 3px rgba(0,0,0,.09); }
.rank-emblem.is-large { width: 67px; height: 74px; }
.rank-emblem.is-large b { font-size: 18px; }
.rank-emblem.is-large .rank-orbit { width: 27px; height: 27px; }
.tier-silver { --tier-a: #9caec2; --tier-b: #4c6077; }
.tier-nova { --tier-a: #6ba2fc; --tier-b: #354d99; }
.tier-guardian { --tier-a: #a97bed; --tier-b: #543b9e; }
.tier-legend { --tier-a: #e69561; --tier-b: #934130; }
.tier-global { --tier-a: #f6d26e; --tier-b: #ad6a21; }

.status-line { min-height: 0; margin: 0; color: var(--danger); font-size: 12px; text-align: center; }
.status-line:empty { display: none; }
.table-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(11, 15, 22, .72); box-shadow: inset 0 1px rgba(255,255,255,.025), 0 20px 48px rgba(0,0,0,.16); }
table { width: 100%; border-collapse: collapse; }
th { height: 57px; padding: 0 18px; color: var(--dim); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-align: left; }
td { height: 70px; padding: 10px 18px; border-top: 1px solid rgba(153, 171, 199, .09); color: var(--muted); font-size: 13px; }
tbody tr { transition: background .15s ease, transform .15s ease; }
tbody tr:hover { background: rgba(102, 136, 194, .075); }
tbody tr:first-child { background: linear-gradient(90deg, rgba(233, 178, 73, .09), transparent 48%); }
.place-col { width: 68px; }
.rank-col { width: 87px; }
.table-icon { width: 17px; height: 17px; vertical-align: middle; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
td.numeric { color: #b6c4d8; }
.xp-cell { color: #efd184 !important; font-weight: 700; }
.rank-number { color: var(--dim); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
tr:first-child .rank-number { color: var(--gold); }
.account-cell { color: var(--text); font-weight: 700; }
.account-wrap { display: flex; align-items: center; gap: 12px; }
.account-initial { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid rgba(150, 172, 206, .22); border-radius: 10px; background: linear-gradient(145deg, rgba(126, 169, 255, .13), rgba(59, 74, 98, .12)); color: #c7d8ff; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.rank-cell { padding-top: 7px; padding-bottom: 7px; }
.empty-state { padding: 80px 20px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 15px; border: 1px solid var(--line-bright); border-radius: 14px; color: var(--gold); }
.empty-icon svg { width: 22px; height: 22px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 13px; }
.mobile-list { display: none; }

@media (max-width: 900px) {
  .site-header, main { width: min(100% - 36px, 1200px); }
  .podium { gap: 10px; }
  .podium-card { min-height: 116px; gap: 13px; padding: 19px 18px; }
  .rank-emblem.is-large { width: 56px; height: 63px; }
  .podium-identity strong { font-size: 14px; }
  th, td { padding-inline: 12px; }
}

@media (max-width: 760px) {
  body::before { background-size: 48px 48px; opacity: .14; }
  .site-header, main { width: min(100% - 32px, 680px); }
  .site-header { min-height: 0; padding: 21px 0 16px; align-items: center; flex-wrap: wrap; gap: 16px; }
  .brand-mark { width: 44px; height: 44px; border-radius: 14px; }
  .brand-mark svg { width: 28px; height: 28px; }
  .controls { width: 100%; gap: 8px; }
  .segmented { flex: 0 0 auto; }
  .segment { min-width: 43px; padding: 9px 10px; }
  .search-box { flex: 1 1 120px; width: auto; min-width: 0; height: 42px; }
  .search-box input { position: static; width: 100%; opacity: 1; pointer-events: auto; }
  .icon-button { flex: 0 0 auto; width: 42px; height: 42px; }
  main { padding: 17px 0 42px; }
  .podium { grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
  .podium-card { min-height: 95px; padding: 17px 18px; border-radius: 16px; }
  .place-1, .place-2, .place-3 { order: initial; transform: none; }
  .podium-card.place-1 { order: -1; }
  .podium-place { top: 13px; right: 15px; }
  .rank-emblem.is-large { width: 50px; height: 56px; }
  .podium-identity { gap: 5px; }
  .podium-identity strong { font-size: 14px; }
  .podium-identity span { font-size: 11px; }
  .table-shell { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  table { display: none; }
  .mobile-list { display: grid; gap: 10px; }
  .mobile-player { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(125deg, rgba(19, 26, 38, .9), rgba(9, 13, 20, .92)); box-shadow: inset 0 1px rgba(255,255,255,.035), 0 14px 30px rgba(0,0,0,.12); }
  .mobile-player::after { position: absolute; top: -35px; right: -45px; width: 145px; height: 145px; border: 1px solid rgba(126, 169, 255, .11); border-radius: 50%; content: ""; pointer-events: none; }
  .mobile-player:first-child { border-color: rgba(244, 199, 109, .45); background: linear-gradient(125deg, rgba(67, 51, 27, .69), rgba(12, 16, 23, .95)); }
  .mobile-player-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 15px; min-height: 72px; padding: 13px 16px; }
  .mobile-place { flex: 0 0 30px; color: var(--dim); font-size: 11px; font-weight: 900; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
  .mobile-player:first-child .mobile-place { color: var(--gold); }
  .mobile-identity { display: flex; align-items: center; min-width: 0; gap: 12px; }
  .mobile-identity strong { overflow: hidden; color: var(--text); font-size: 14px; font-weight: 760; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(153, 171, 199, .1); }
  .mobile-stat { display: grid; min-width: 0; place-items: center; gap: 4px; padding: 11px 3px 12px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
  .mobile-stat + .mobile-stat { border-left: 1px solid rgba(153, 171, 199, .08); }
  .mobile-stat svg { width: 16px; height: 16px; color: var(--dim); }
  .mobile-stat b { overflow: hidden; max-width: 100%; color: #c5d1e2; font-size: 11px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-stat.stat-xp b, .mobile-player:first-child .mobile-stat.stat-xp b { color: #efd184; }
  .empty-state { margin-top: 4px; padding: 58px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(11, 15, 22, .72); }
}

/* Compact screens retain the complete account and rank identity. */
@media (max-width: 390px) {
  .site-header, main { width: calc(100% - 24px); }
  .site-header { padding-top: 14px; }
  .controls { gap: 6px; }
  .segmented { padding: 2px; }
  .segment { min-width: 38px; padding: 9px 7px; }
  .search-box { gap: 7px; padding-inline: 10px; }
  .mobile-player-head { gap: 11px; padding-inline: 13px; }
  .mobile-place { flex-basis: 26px; }
  .mobile-identity { gap: 10px; }
  .rank-emblem { width: 39px; height: 44px; }
}

/* Rank names are authoritative API values; insignia are visual accents. */
body { background: radial-gradient(ellipse at 50% 0, #17202a 0, transparent 60%), #090c10; }
body::before { display: none; }
.podium-card, .table-shell, .mobile-player { border-radius: 10px; }
.podium-card { background: #11171e; box-shadow: none; }
.podium-card::before, .mobile-player::after { display: none; }
.podium-card.place-1 { background: linear-gradient(110deg, #27251d, #12181e); border-color: #77633d; }
.podium-identity span::before { display: none; }
.rank-emblem, .rank-emblem.is-large { width: 46px; height: 38px; clip-path: none; background: transparent; color: #b3c0cc; filter: none; }
.rank-emblem::before, .rank-emblem::after { display: none; }
.rank-emblem svg { display: block; width: 100%; height: 100%; }
.rank-emblem.is-large { width: 58px; height: 48px; }
.tier-nova { color: #cfb578; }
.tier-guardian { color: #a1b4c2; }
.tier-legend { color: #c3bd9b; }
.tier-global { color: #e2c477; }
.rank-wrap { display: flex; align-items: center; gap: 11px; }
.rank-name, .podium-identity .rank-name { color: #b4c1cd; font-size: 12px; line-height: 1.5; font-weight: 500; letter-spacing: .01em; white-space: normal; }
.rank-col { width: 240px; }
.place-col { width: 52px; }
th, td { padding-inline: 14px; }
th { color: #95a4b5; letter-spacing: .025em; font-size: 11px; white-space: nowrap; background: #10161d; }
th .sr-only { position: static; width: auto; height: auto; padding: 0; margin: 0 5px 0 0; clip: auto; overflow: visible; white-space: normal; }
.table-icon { width: 14px; height: 14px; color: #74869a; }
.account-wrap { min-width: 0; }
.account-wrap > span:last-child { overflow-wrap: anywhere; }
.account-initial { flex-shrink: 0; background: #19232f; border-radius: 5px; color: #bcc8d5; }
.player-details { min-width: 0; display: grid; gap: 3px; }
.player-details strong { display: block; }
button:focus-visible, a:focus-visible { outline: 2px solid #d1b476; outline-offset: 4px; }
[hidden] { display: none !important; }
@media (min-width: 761px) and (max-width: 1050px) {
  th, td { padding-inline: 8px; }
  th .table-icon { display: none; }
  .rank-col { width: 180px; }
  .rank-wrap { gap: 6px; }
  .rank-wrap .rank-emblem { width: 32px; }
  .account-initial { display: none; }
  .podium-card { padding-inline: 14px; gap: 10px; }
}
@media (max-width: 760px) {
  .mobile-player { background: #11171e; box-shadow: none; }
  .mobile-player:first-child { background: linear-gradient(110deg, #24231c, #11171e); }
  .mobile-player-head { min-height: 86px; }
  .mobile-identity { flex: 1; }
  .mobile-identity .rank-emblem { width: 40px; height: 36px; }
  .mobile-place { flex-basis: 22px; }
  .mobile-stat { padding: 12px 2px; gap: 5px; }
  .mobile-stat svg { color: #91a2b4; }
  .stat-label { font-size: 10px; color: #9aa9ba; }
  .mobile-stat b { font-size: 12px; }
  .search-box input { min-width: 0; font-size: 16px; }
  .rank-name { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Competitive skill-group artwork and tournament standings layout. */
:root { --gold: #d9bb7b; --line: #28313a; --muted: #98a5b3; }
body { background: radial-gradient(ellipse 80% 500px at 50% 0, #242c32, transparent), #0c1014; }
.site-header { border-bottom: 1px solid #ffffff0c; min-height: 96px; }
main { padding-top: 44px; }
.brand-mark { border-radius: 8px; box-shadow: none; }
.podium { align-items: end; gap: 18px; margin-bottom: 36px; padding-top: 14px; }
.podium-card { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 0; min-height: 280px; padding: 28px 20px 0; border-radius: 6px; background: linear-gradient(170deg, #222c36, #141a21 70%); border-color: #39444e; box-shadow: 0 16px 32px #0003; }
.podium-card.place-1 { min-height: 310px; transform: none; background: radial-gradient(ellipse at 50% 0, #68552b55, transparent 65%), linear-gradient(170deg, #282b29, #171c21 70%); border-color: #8d7549; }
.podium-card.place-3 { background: linear-gradient(170deg, #2d2927, #141a21 70%); }
.podium-place { top: 17px; left: 20px; right: auto; color: #aebdcc; font-size: 27px; font-weight: 400; letter-spacing: -.05em; }
.place-1 .podium-place { color: #e2c585; }
.place-3 .podium-place { color: #c99d80; }
.rank-emblem, .rank-emblem.is-large { display: flex; align-items: center; justify-content: center; width: 86px; height: 38px; flex-shrink: 0; }
.rank-emblem img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rank-emblem.is-large { width: 170px; height: 74px; margin: 9px 0 16px; }
.place-1 .rank-emblem.is-large { width: 196px; height: 82px; }
.podium-identity { width: 100%; justify-items: center; text-align: center; gap: 6px; padding-bottom: 20px; }
.podium-identity strong { max-width: 100%; font-size: 21px; letter-spacing: -.035em; }
.podium-identity .rank-name { min-height: 18px; font-size: 12px; color: #a9b7c5; }
.podium-identity > span:last-child { margin-top: 9px; font-size: 17px; color: #dcc18e; letter-spacing: .015em; }
.podium-metrics { align-self: end; display: grid; grid-template-columns: 1fr 1fr; width: calc(100% + 40px); border-top: 1px solid #ffffff12; background: #0002; }
.podium-metrics .mobile-stat { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 5px; color: #9aa8b8; font-size: 11px; }
.podium-metrics .mobile-stat + .mobile-stat { border-left: 1px solid #ffffff12; }
.podium-metrics svg { width: 14px; height: 14px; }
.podium-metrics b { color: #dfe6ed; font-size: 12px; font-weight: 600; }
.table-shell { border-radius: 6px; background: #11171d; box-shadow: 0 12px 36px #0002; }
th { height: 49px; background: #1a222b; color: #aab7c5; font-weight: 500; font-size: 11px; }
td { height: 84px; border-top-color: #ffffff09; }
.rank-col { width: 290px; }
.rank-wrap { gap: 17px; }
.rank-name { color: #b6c2ce; }
.rank-number { color: #8394a5; font-size: 14px; font-weight: 500; }
.account-initial { width: 33px; height: 33px; border: 1px solid #ffffff12; background: #222e3a; color: #b3c1ce; font-weight: 500; }
.account-cell { font-size: 14px; font-weight: 600; }
.xp-cell { color: #dac398 !important; }
@media (hover: hover) and (min-width: 761px) {
  .podium-card:hover, .podium-card.place-1:hover { transform: translateY(-4px); }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .rank-col { width: 220px; }
  .rank-wrap { gap: 9px; }
  .rank-wrap .rank-emblem { width: 65px; }
  .podium-card { padding-inline: 14px; }
  .podium-metrics { width: calc(100% + 28px); }
  .podium-identity strong { font-size: 18px; }
}
@media (max-width: 760px) {
  .site-header { padding-top: 18px; padding-bottom: 20px; }
  main { padding-top: 22px; }
  .podium { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; padding-top: 0; align-items: stretch; }
  .podium-card { min-height: 207px; padding: 27px 10px 0; }
  .podium-card.place-1 { grid-column: 1 / -1; min-height: 240px; padding-top: 21px; }
  .podium-place { top: 10px; left: 12px; font-size: 20px; }
  .rank-emblem.is-large { width: 115px; height: 46px; margin: 8px 0 11px; }
  .place-1 .rank-emblem.is-large { width: 174px; height: 66px; }
  .podium-identity { padding-bottom: 13px; gap: 4px; }
  .podium-identity strong { font-size: 16px; }
  .place-1 .podium-identity strong { font-size: 23px; }
  .podium-identity .rank-name { font-size: 10px; min-height: 30px; }
  .place-1 .rank-name { font-size: 12px; min-height: 18px; }
  .podium-identity > span:last-child { margin-top: 5px; font-size: 13px; }
  .podium-metrics { width: calc(100% + 20px); }
  .podium-metrics .mobile-stat { gap: 4px; padding: 10px 2px; }
  .podium-metrics svg { display: none; }
  .podium-metrics .stat-label { font-size: 9px; }
  .table-shell { box-shadow: none; background: transparent; }
  .mobile-list { gap: 12px; }
  .mobile-player { border-radius: 6px; background: #151c23; }
  .mobile-player:first-child { background: #1d211f; border-color: #706244; }
  .mobile-player-head { padding: 17px 12px; min-height: 100px; gap: 10px; }
  .mobile-place { flex-basis: 20px; font-size: 12px; font-weight: 500; }
  .mobile-identity { gap: 13px; }
  .mobile-identity .rank-emblem { width: 75px; height: 32px; }
  .player-details { gap: 6px; }
  .mobile-identity strong { font-size: 14px; }
  .mobile-stats { background: #0002; }
  .mobile-stat { padding-block: 12px; }
}

/* Server switcher */
.server-switcher {
  margin-inline: 18px;
}
.server-switcher .segment {
  padding: 8px 14px;
  font-size: 11px;
}
.server-switcher .segment[data-server="mix"].is-active {
  background: linear-gradient(135deg, #ff7518, #fe3c00);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(254, 60, 0, .35);
}

/* Faceit badge styling maintaining seamless design */
.rank-emblem.is-faceit {
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent !important;
  clip-path: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .4));
}
.rank-emblem.is-faceit::before {
  display: none !important;
}
.rank-emblem.is-faceit img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.rank-emblem.is-faceit.is-large {
  width: 72px;
  height: 72px;
  margin: 10px 0 16px;
}
.place-1 .rank-emblem.is-faceit.is-large {
  width: 82px;
  height: 82px;
}

@media (max-width: 760px) {
  .server-switcher {
    order: 3;
    width: 100%;
    justify-content: center;
    margin: 8px 0 0 0;
  }
  .site-header {
    flex-wrap: wrap;
    min-height: auto;
    gap: 8px;
  }
  .rank-emblem.is-faceit.is-large { width: 48px; height: 48px; margin: 8px 0 11px; }
  .place-1 .rank-emblem.is-faceit.is-large { width: 60px; height: 60px; }
  .mobile-identity .rank-emblem.is-faceit { width: 34px; height: 34px; }
}
