
:root {
  color-scheme: dark;
  --page: #090e14;
  --surface: #111b26;
  --surface-raised: #172432;
  --surface-deep: #0c151f;
  --line: #2b3c4c;
  --line-bright: #456178;
  --text: #f5f8fb;
  --muted: #a5b5c2;
  --gold: #f2c84b;
  --blue: #73c9ee;
  --red: #f18a77;
  --shadow: 0 26px 70px #0005;
}



* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }



html { scroll-behavior: smooth; }



body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background:
    radial-gradient(ellipse 58% 42% at 75% 4%, #17344b7a, transparent 76%),
    linear-gradient(180deg, #0b1119, var(--page) 44%);
  font-family: Poppins, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}



button, input { font: inherit; }



button { cursor: pointer; }



a { color: inherit; }



:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }



.stats-nav {
  min-height: 66px;
  padding: 7px clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #ffffff18;
  background: #0a1018d9;
  backdrop-filter: blur(18px);
}



.stats-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.15;
  text-decoration: none;
}



.stats-brand img { width: 44px; height: 44px; object-fit: contain; }



.stats-brand small {
  display: block;
  margin-top: 1px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: .27em;
}



.stats-nav nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px); }



.stats-nav nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #bccbd6;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  transition: color .32s ease, text-shadow .32s ease;
}



.stats-nav nav a:hover, .stats-nav nav a[aria-current] { color: var(--gold); text-shadow: 0 0 16px #f2c84b44; }



.stats-main { width: min(100% - 48px, 1520px); margin: 0 auto; padding-bottom: 9px; }



.stats-hero {
  max-width: 1260px;
  min-height: 298px;
  margin: 0 auto;
  padding: 48px 0 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}



.hero-copy { max-width: 765px; }



.eyebrow {
  margin: 0 0 11px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}



.eyebrow-line {
  display: inline-block;
  width: 26px;
  height: 2px;
  margin: 0 9px 4px 0;
  background: var(--gold);
}



.stats-hero h1 {
  margin: 0;
  font-size: clamp(38px, 3.2vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.053em;
}



.stats-hero h1 em { color: var(--gold); font-style: normal; }



.hero-description {
  max-width: 675px;
  margin: 19px 0 0;
  color: #b6c5d1;
  font-size: 14px;
  line-height: 1.85;
}



.hero-symbol {
  width: 230px;
  height: 177px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #3b6077;
  border-radius: 22px;
  background: linear-gradient(145deg, #223d51, #10202e);
  box-shadow: 0 29px 55px #0006, inset 0 1px #ffffff24;
  animation: float-mark 7s ease-in-out infinite;
}



.hero-symbol > img {
  width: min(62%, 112px);
  height: min(62%, 96px);
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 9px 18px #0007) drop-shadow(0 0 18px #4db8f13b);
}



.symbol-dot { color: var(--gold); }



.hero-symbol small { margin-top: 8px; color: #a4c5d7; font-size: clamp(7px, .42vw, 9px); letter-spacing: .08em; line-height: 1; white-space: nowrap; }



.search-panel, .content-panel {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(158deg, #182432, #111a24 72%);
  box-shadow: var(--shadow);
}



.search-panel { padding: 25px 30px 24px; border-top: 3px solid var(--gold); }



.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }



.panel-heading .eyebrow { margin-bottom: 3px; }



.panel-heading h2 { margin: 0 0 18px; font-size: 26px; letter-spacing: -.035em; }



.panel-kicker { color: #8298a9; font-size: 10px; font-weight: 800; letter-spacing: .14em; }



.search-form {
  min-height: 62px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #466075;
  border-radius: 9px;
  background: #09121c;
  transition: border-color .2s ease, box-shadow .2s ease;
}



.search-form:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px #f2c84b26; }



.search-icon { width: 66px; flex: 0 0 66px; display: grid; place-items: center; color: #9db6c8; }



.search-icon svg { display: block; width: 27px; height: 27px; }



.search-form input {
  width: 100%;
  min-width: 0;
  padding: 0 15px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 13px;
}



.search-form input::placeholder { color: #899eae; }



.search-form button {
  min-width: 146px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  color: #172028;
  background: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background .34s ease, transform .38s cubic-bezier(.22, 1, .36, 1), box-shadow .34s ease;
}



.search-form button:hover { background: #ffdb70; box-shadow: inset 0 0 28px #fff3; }



.search-form button:active { transform: scale(.97); }



.search-form button span { font-size: 20px; font-weight: 400; }



.search-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 16px; }



.search-footer > span:first-child { margin-right: 5px; color: #91a3b1; font-size: 10px; font-weight: 800; letter-spacing: .14em; }



.input-chip { padding: 5px 9px; border: 1px solid #ffffff1b; border-radius: 6px; color: #c2cfda; background: #ffffff0b; font-size: 10px; font-weight: 600; }



.content-panel { min-height: 0; margin-top: 22px; overflow: visible; transition: border-color .25s ease; }



.content-panel.is-busy { border-color: #496275; }



.empty-state { max-width: 620px; margin: auto; padding: 32px 22px 36px; text-align: center; animation: rise-in .36s ease both; }



.empty-orbit {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid #4d7187;
  border-radius: 15px;
  color: var(--gold);
  background: #203849;
  transform: rotate(-8deg);
}



.empty-orbit svg { display: block; width: 32px; height: 32px; transform: rotate(8deg); }



.empty-state .eyebrow { margin-bottom: 6px; }



.empty-state h2 { margin: 0 0 7px; font-size: clamp(21px, 2.6vw, 29px); letter-spacing: -.035em; }



.empty-state p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }



.state-box {
  min-height: 0;
  max-width: 690px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  padding: 34px 20px;
  text-align: left;
  animation: rise-in .3s ease both;
}



.state-box:not(.loading-state) { display: block; text-align: center; }



.state-box .eyebrow { margin: 0 0 4px; }



.state-box h2 { margin: 0 0 4px; font-size: clamp(19px, 2.7vw, 27px); letter-spacing: -.035em; }



.state-box p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }



.loader, .mini-loader {
  display: inline-block;
  flex: none;
  border: 3px solid #516879;
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}



.loader { width: 36px; height: 36px; }



.mini-loader { width: 18px; height: 18px; border-width: 2px; vertical-align: middle; }



.connection-dots { display: inline-flex; align-items: end; gap: 3px; margin-left: 6px; }



.connection-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); animation: connection-dot 1.1s ease-in-out infinite; }



.connection-dots i:nth-child(2) { animation-delay: .16s; }



.connection-dots i:nth-child(3) { animation-delay: .32s; }



.loading-state::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: loading-sweep 1.6s ease-in-out infinite; }



.loading-state { position: relative; overflow: hidden; }



.section-bar { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 23px 28px; border-bottom: 1px solid var(--line); }



.section-bar .eyebrow { margin-bottom: 3px; }



.section-bar h2 { margin: 0; font-size: 24px; letter-spacing: -.035em; }



.section-bar > span { color: var(--muted); font-size: 11px; }



.result-list { display: grid; }



.result-row {
  width: 100%;
  min-height: 83px;
  display: grid;
  grid-template-columns: 50px minmax(160px, 1.1fr) minmax(200px, 1.45fr) minmax(95px, .5fr) 20px;
  align-items: center;
  gap: 17px;
  padding: 12px 28px;
  border: 0;
  border-bottom: 1px solid #ffffff14;
  color: var(--text);
  background: transparent;
  text-align: left;
  animation: rise-in .34s ease both;
  transition: background .34s ease, transform .38s cubic-bezier(.22, 1, .36, 1), box-shadow .34s ease;
}



.result-row:nth-child(2) { animation-delay: .04s; }



.result-row:nth-child(3) { animation-delay: .08s; }



.result-row:nth-child(4) { animation-delay: .12s; }



.result-row:last-child { border-bottom: 0; }



.result-row:hover, .result-row:focus-visible, .result-row.is-opening { background: #24405591; box-shadow: inset 3px 0 var(--gold); }



.result-row:hover .row-arrow, .result-row.is-opening .row-arrow { transform: translateX(4px); }



.result-avatar, .profile-avatar { display: grid; place-items: center; color: var(--gold); background: linear-gradient(145deg, #2b5268, #132b3b); font-weight: 800; }



.result-avatar { width: 48px; height: 48px; border: 1px solid #52758a; border-radius: 12px; font-size: 19px; }

.result-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }



.result-name, .result-detail { min-width: 0; }



.result-name strong, .result-name small, .result-detail strong, .result-detail small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }



.result-name strong { font-size: 14px; }



.result-name small, .result-detail small { margin-top: 3px; color: #93a9ba; font-size: 10px; }



.result-name small:last-child { color: #748b9c; }



.result-name .result-mobile-server { display: none; }



.result-detail strong { margin-top: 4px; font-size: 12px; font-weight: 600; }



.result-server strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; overflow-wrap: anywhere; font-size: 11px; line-height: 1.45; }



.row-arrow { color: var(--gold); font-size: 20px; transition: transform .2s ease; }

.row-arrow,
.punishment-arrow,
.profile-actions a > span,
.search-form button > span,
.stats-footer a > span,
.back-arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-grid;
  place-items: center;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
}



.profile-shell { animation: rise-in .42s cubic-bezier(.2, .8, .2, 1) both; }



.profile-banner {
  position: relative;
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px clamp(22px, 3vw, 40px);
  border-bottom: 1px solid #5a748635;
  border-radius: 17px 17px 0 0;
  background:
    radial-gradient(ellipse 65% 125% at 94% -15%, #3b78a04a, transparent 70%),
    linear-gradient(112deg, #1d3243, #162331 65%);
}



.profile-banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #6ac7ed 45%, transparent 85%);
}



.profile-identity { min-width: 0; display: flex; align-items: center; gap: 22px; }



.profile-avatar { width: 88px; height: 88px; flex: none; overflow: hidden; border: 2px solid #6b91a7; border-radius: 20px; font-size: 32px; box-shadow: 0 12px 32px #0005; }



.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }



.profile-name-block { min-width: 0; overflow-wrap: anywhere; }

.profile-name-heading { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; }



.profile-name-block .eyebrow { margin: 0 0 6px; color: #f6d765; font-size: 10px; }



.profile-separator { margin: 0 4px; color: #7996a9; }



.profile-name-block h2 { overflow-wrap: anywhere; margin: 0; font-size: clamp(27px, 3vw, 39px); line-height: 1.15; letter-spacing: -.05em; }



.profile-name-block > p:nth-of-type(2) { margin: 7px 0 0; color: #c0d0dc; font-size: 12px; }



.profile-name-block > p:nth-of-type(2) span { margin-right: 8px; color: #86a3b6; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }



.profile-presence { display: inline-flex; max-width: 100%; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 8px 11px; border: 1px solid #677681; border-radius: 7px; background: #20303a; color: #c0d0da; font-size: 11px; }



.profile-presence i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #a4b0ba; }



.profile-presence strong { font-size: 11px; letter-spacing: .07em; }



.profile-presence span { min-width: 0; overflow-wrap: anywhere; color: #d9e4e9; }



.profile-presence.online { border-color: #3e936e; background: #1e4236; color: #aaf4c9; }



.profile-presence.online i { background: #52e698; box-shadow: 0 0 0 4px #52e69822; animation: presence-pulse 1.8s ease-in-out infinite; }



.profile-presence.offline { border-color: #a86b70; background: #3e272e; color: #ffd0d0; }



.profile-presence.offline i { background: #f2979a; }



.profile-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }



.profile-actions a, .copy-id, .back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 39px;
  padding: 9px 12px;
  border: 1px solid #537087;
  border-radius: 7px;
  color: #e4edf4;
  background: #0e1b28b8;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .3s ease, background .3s ease, color .3s ease, transform .38s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease;
}



.profile-actions a:hover, .copy-id:hover, .back-button:hover { border-color: var(--gold); color: var(--gold); background: #263a45; transform: translateY(-2px); box-shadow: 0 8px 20px #0003; }



.profile-actions a:active, .copy-id:active, .back-button:active { transform: scale(.97); }



.profile-actions a span { color: var(--gold); font-size: 16px; }



.profile-body { padding: clamp(22px, 3vw, 38px); }



.profile-intro { display: flex; align-items: start; justify-content: space-between; gap: 20px; }



.profile-intro .eyebrow { margin-bottom: 5px; }



.profile-intro h3 { margin: 0; font-size: clamp(25px, 2.7vw, 34px); letter-spacing: -.04em; }



.profile-intro p:last-child { max-width: 660px; margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }



.profile-source { padding: 7px 10px; border: 1px solid #6a815a; border-radius: 999px; color: #d4e7b5; background: #4c633421; font-size: 9px; font-weight: 800; letter-spacing: .09em; white-space: nowrap; }



.hero-metrics { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 12px; margin: 25px 0 34px; }



.hero-metric { min-height: 146px; min-width: 0; display: grid; grid-template-rows: auto minmax(63px, 1fr) auto; padding: 19px; border: 1px solid #344b5d; border-radius: 11px; background: #0d1721; transition: transform .4s cubic-bezier(.22, 1, .36, 1), border-color .35s ease, box-shadow .35s ease; }



.hero-metric:hover { transform: translateY(-3px); border-color: #607c8e; box-shadow: 0 13px 26px #0003; }



.hero-metric.featured { border-color: #b68e36; background: linear-gradient(140deg, #433b27, #18212a 73%); }



.hero-metric > span { color: #a3b7c5; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }



.hero-metric.featured > span { color: #e9d49b; }



.hero-metric strong { display: block; align-self: center; margin: 0; overflow-wrap: anywhere; font-size: clamp(18px, 2vw, 27px); letter-spacing: -.035em; line-height: 1.24; }



.hero-metric.featured strong { color: var(--gold); font-size: clamp(25px, 3vw, 37px); }



.hero-metric strong.server-value { font-size: clamp(13px, 1.15vw, 17px); line-height: 1.4; }



.hero-metric small { color: #829aaa; font-size: 10px; }



.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; align-items: start; }



.profile-main { min-width: 0; }



.profile-section { padding: 0 0 29px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }



.profile-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }



.section-heading-row { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }



.section-heading-row > span { display: grid; place-items: center; width: 33px; height: 33px; flex: none; border: 1px solid #546d80; border-radius: 8px; color: var(--gold); background: #233748; font-size: 11px; font-weight: 800; }



.section-heading-row .eyebrow { margin: 0 0 2px; font-size: 9px; }



.section-heading-row h3 { margin: 0; font-size: 20px; letter-spacing: -.03em; }



.section-description { margin: -4px 0 17px; color: var(--muted); font-size: 11px; line-height: 1.6; }



.mode-grid, .moderation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }



.mode-card { min-width: 0; padding: 16px; border: 1px solid #344b5d; border-radius: 10px; background: #0d1721; transition: border-color .35s ease, transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease; }



.mode-card:hover { border-color: #6b8ba0; transform: translateY(-3px); box-shadow: 0 13px 27px #0003; }



.mode-card-head { display: flex; align-items: center; gap: 10px; }



.mode-emblem { width: 39px; height: 39px; flex: none; display: grid; place-items: center; border: 1px solid #62849a; border-radius: 9px; color: #bce8fa; background: #244257; font-size: 12px; font-weight: 800; }



.mode-card-head > div { min-width: 0; }



.mode-card-head small { display: block; color: #809aab; font-size: 9px; font-weight: 800; letter-spacing: .08em; }



.mode-card-head h4 { margin: 0; font-size: 13px; }



.mode-card-head > strong { margin-left: auto; color: var(--gold); font-size: 16px; white-space: nowrap; }



.mode-card-foot { display: flex; justify-content: space-between; gap: 9px; margin-top: 19px; padding-top: 11px; border-top: 1px solid #ffffff18; }



.mode-card-foot span { color: #8098aa; font-size: 9px; font-weight: 800; letter-spacing: .06em; }



.mode-card-foot strong { color: #d9e2e9; font-size: 10px; font-weight: 600; text-align: right; }



.mode-card > p { margin: 9px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }



.moderation-content { min-height: 0; }



.data-loading, .game-message { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 16px; border: 1px solid #344b5d; border-radius: 9px; color: var(--muted); background: #0d1721; font-size: 11px; }



.moderation-grid { align-items: start; animation: rise-in .3s ease both; }



.moderation-group { min-width: 0; overflow: hidden; border: 1px solid #344b5d; border-radius: 10px; background: #0d1721; }



.moderation-group header { min-height: 69px; display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-bottom: 1px solid #344b5d; background: linear-gradient(115deg, #213748, #142330); }



.moderation-mode { width: 39px; height: 39px; flex: none; display: grid; place-items: center; border: 1px solid #6c8a9e; border-radius: 8px; color: var(--gold); font-size: 10px; font-weight: 800; }



.moderation-group h4 { margin: 0; font-size: 14px; }



.moderation-group header p { margin: 3px 0 0; color: #97adbc; font-size: 10px; }



.punishment-stack { display: grid; gap: 9px; padding: 10px; }



.punishment-card { overflow: hidden; border: 1px solid #31485a; border-radius: 8px; background: #111e29; transition: border-color .35s ease, background .35s ease, transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease; }



.punishment-card:hover, .punishment-card:has(.punishment-trigger:focus-visible) { border-color: #86aabd; background: #1a3040; transform: translateY(-3px); box-shadow: 0 13px 27px #0003; }



.punishment-card.has-active { border-color: #875e5e; }



.punishment-trigger { width: 100%; min-height: 69px; display: flex; align-items: center; gap: 12px; padding: 12px 15px; border: 0; color: var(--text); background: transparent; text-align: left; }



.moderation-symbol { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border: 1px solid #4a697e; border-radius: 6px; color: #b9d9e9; background: #203a4c; font-size: 10px; font-weight: 800; }



.has-active .moderation-symbol { border-color: #c4796d; color: #ffc5b9; background: #6c393533; }



.punishment-title { min-width: 0; display: grid; gap: 3px; }



.punishment-title strong { font-size: 13px; }



.punishment-title small { color: #91a9b8; font-size: 10px; line-height: 1.4; }



.has-active .punishment-title small { color: #ffb6a9; }



.punishment-total { margin-left: auto; font-size: 23px; font-weight: 800; line-height: 1; }



.punishment-arrow { margin-left: 5px; color: var(--gold); font-size: 19px; transition: transform .38s cubic-bezier(.22, 1, .36, 1); }



.punishment-card:hover .punishment-arrow, .punishment-card:has(.punishment-trigger:focus-visible) .punishment-arrow { transform: translate(2px, -2px); }

.punishment-trigger {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto 18px;
  align-items: center;
}

.punishment-total { margin-left: 0; }
.punishment-arrow { margin-left: 0; text-align: right; }

.punishment-preview {
  grid-column: 2 / 5;
  min-width: 0;
  display: grid;
  gap: 3px;
  margin-top: 2px;
  padding-top: 9px;
  border-top: 1px solid #ffffff12;
}

.punishment-preview small { color: #91a8b7; font-size: clamp(11px, .1vw + 8.5px, 12px); font-weight: 800; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; }
.punishment-preview strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #dce8ee; font-size: clamp(13px, .12vw + 10px, 15px); line-height: 1.5; }
.punishment-preview > span { overflow: hidden; color: #9aafbc; font-size: clamp(11px, .1vw + 8.5px, 12px); line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.punishment-preview.is-clear strong { color: #9fd8b7; }

@media (max-width: 600px) {
  .punishment-trigger { padding: 13px; }
  .punishment-preview { grid-column: 1 / 5; }
}



.punishment-dialog { width: min(760px, calc(100% - 28px)); max-width: none; max-height: min(88vh, 900px); margin: auto; padding: 0; overflow: hidden; border: 1px solid #5a7689; border-radius: 20px; color: var(--text); background: #101b27; box-shadow: 0 35px 110px #000b; }



.punishment-dialog[open] { animation: dialog-in .25s cubic-bezier(.2, .8, .2, 1) both; }



.punishment-dialog.is-closing { animation: dialog-out .18s ease both; }



.punishment-dialog::backdrop { background: #02080dc9; backdrop-filter: blur(7px); animation: backdrop-in .25s ease both; }



.punishment-dialog.is-closing::backdrop { animation: backdrop-out .18s ease both; }



.punishment-dialog-inner { display: flex; flex-direction: column; max-height: min(88vh, 900px); }



.dialog-header { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 27px 30px 22px; border-bottom: 1px solid #ffffff1c; background: radial-gradient(ellipse at 85% 0%, #315a6e66, transparent 60%), linear-gradient(120deg, #203747, #142431); }



.dialog-header .eyebrow { margin-bottom: 4px; font-size: 10px; }



.dialog-header h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }



.dialog-header p:last-child { margin: 4px 0 0; color: #a7bac7; font-size: 11px; }



.dialog-close { position: relative; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid #6b889a; border-radius: 10px; color: #d6e5ed; background: #10212d; box-shadow: inset 0 1px #ffffff12; transition: color .32s ease, border-color .32s ease, background .32s ease, box-shadow .36s ease, transform .42s cubic-bezier(.22, 1, .36, 1); }



.dialog-close:hover, .dialog-close:focus-visible { color: var(--gold); border-color: var(--gold); background: #263a45; box-shadow: 0 9px 22px #0004, 0 0 0 3px #f2c84b15; transform: translateY(-1px) scale(1.05); }



.dialog-close:active { transform: translateY(0) scale(.94); }



.dialog-close-icon { position: relative; width: 16px; height: 16px; display: block; transition: transform .48s cubic-bezier(.18, .8, .2, 1); }



.dialog-close-icon::before, .dialog-close-icon::after { content: ""; position: absolute; top: 7px; left: 0; width: 16px; height: 2px; border-radius: 99px; background: currentColor; }



.dialog-close-icon::before { transform: rotate(45deg); }



.dialog-close-icon::after { transform: rotate(-45deg); }



.dialog-close:hover .dialog-close-icon, .dialog-close:focus-visible .dialog-close-icon { transform: rotate(90deg); }



.dialog-close:active .dialog-close-icon { transform: rotate(180deg); }



.dialog-summary { display: grid; grid-template-columns: .7fr .7fr 1.6fr; gap: 10px; padding: 18px 30px; border-bottom: 1px solid #ffffff14; }



.dialog-summary > div { min-width: 0; display: grid; gap: 3px; padding: 12px 14px; border: 1px solid #344b5d; border-radius: 9px; background: #0c1823; }



.dialog-summary small { color: #90aabb; font-size: 9px; font-weight: 800; letter-spacing: .08em; }



.dialog-summary strong { overflow-wrap: anywhere; font-size: 20px; line-height: 1.3; }



.dialog-summary .dialog-steam-id { font-size: 13px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }



.dialog-tabs { display: flex; gap: 6px; padding: 13px 30px 14px; border-bottom: 1px solid #ffffff14; }



.dialog-tabs button { min-height: 35px; display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border: 1px solid #40596b; border-radius: 7px; color: #b7cad6; background: #182b39; font-size: 11px; font-weight: 700; transition: background .32s ease, border-color .32s ease, color .32s ease, transform .38s cubic-bezier(.22, 1, .36, 1); }



.dialog-tabs button:hover { border-color: #85a5b7; color: #fff; transform: translateY(-1px); }



.dialog-tabs button[aria-pressed="true"] { border-color: var(--gold); color: #172128; background: var(--gold); }



.dialog-tabs button span { opacity: .75; font-size: 10px; }



.dialog-record-list { min-height: 140px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #5b7b8e #101d28; display: grid; align-content: start; gap: 12px; padding: 21px 30px 25px; }



.dialog-record { padding: 19px; border: 1px solid #395367; border-radius: 11px; background: linear-gradient(145deg, #162838, #101e2a); animation: record-in .28s ease both; animation-delay: calc(var(--entry-index) * 35ms); }



.dialog-record-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #a4b9c8; font-size: 10px; }



.dialog-record-index { color: var(--gold); font-weight: 800; letter-spacing: .08em; }



.dialog-record-status { margin-left: auto; padding: 4px 8px; border: 1px solid #547084; border-radius: 999px; color: #bdcfda; background: #233848; font-size: 9px; font-weight: 800; text-transform: uppercase; }



.dialog-record-status.is-active { border-color: #bb7a6c; color: #ffd0c7; background: #5d3533; }



.dialog-record h3 { margin: 13px 0 16px; overflow-wrap: anywhere; font-size: 15px; line-height: 1.5; }



.dialog-record-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 19px; margin: 0; padding-top: 14px; border-top: 1px solid #ffffff18; }



.dialog-record-fields div { min-width: 0; }



.dialog-record-fields dt { margin-bottom: 4px; color: #8fa9ba; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }



.dialog-record-fields dd { margin: 0; overflow-wrap: anywhere; color: #e9f1f5; font-size: 11px; line-height: 1.5; }



.dialog-loading, .dialog-empty { min-height: 150px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #aabfcc; font-size: 12px; }



.dialog-empty { flex-direction: column; gap: 4px; text-align: center; }



.dialog-empty span { color: var(--gold); font-size: 27px; }



.dialog-empty h3 { margin: 0; font-size: 17px; }



.dialog-empty p { margin: 0; color: #94adbb; font-size: 11px; }



.dialog-footer { padding: 13px 30px; border-top: 1px solid #ffffff18; color: #91a9b8; font-size: 10px; }



.game-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 15px; }



.game-toolbar > p { margin: -4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }



.mode-menu { position: relative; min-width: 190px; z-index: 2; }



.mode-menu[open] { z-index: 5; }



.mode-menu summary { min-height: 46px; display: grid; grid-template-columns: 1fr auto; align-content: center; padding: 7px 35px 7px 13px; border: 1px solid #587489; border-radius: 8px; background: #122534; cursor: pointer; list-style: none; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }



.mode-menu summary::-webkit-details-marker { display: none; }



.mode-menu summary:hover, .mode-menu[open] summary { border-color: var(--gold); background: #1d3443; }



.mode-menu[open] summary { box-shadow: 0 0 0 3px #f2c84b1d; }



.mode-menu-title { grid-column: 1; color: #8faabb; font-size: 8px; font-weight: 800; letter-spacing: .1em; }



.mode-menu summary strong { grid-column: 1; margin-top: 1px; font-size: 11px; }



.mode-chevron { position: absolute; top: 50%; right: 10px; width: 18px; height: 18px; display: grid; place-items: center; transform: translateY(-50%); }
.mode-chevron::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }



.mode-menu[open] .mode-chevron::before { transform: translateY(2px) rotate(225deg); }



.mode-options { position: absolute; top: calc(100% + 7px); right: 0; width: max(100%, 205px); max-height: 270px; display: grid; gap: 3px; overflow-y: auto; padding: 7px; border: 1px solid #587489; border-radius: 9px; background: #152533; box-shadow: 0 20px 45px #0009; animation: menu-in .18s ease both; }



.mode-options button { width: 100%; min-height: 35px; padding: 8px 10px; border: 0; border-radius: 5px; color: #d9e5ee; background: transparent; font-size: 11px; font-weight: 600; text-align: left; transition: background .3s ease, color .3s ease, transform .36s cubic-bezier(.22, 1, .36, 1); }



.mode-options button:hover, .mode-options button:focus-visible { color: #fff; background: #2b4658; transform: translateX(2px); }



.mode-options button[aria-pressed="true"] { color: #18212b; background: var(--gold); font-weight: 800; }



.game-stat-content { animation: rise-in .28s ease both; }



.combat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }



.combat-metric { min-height: 99px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; border: 1px solid #344b5d; border-radius: 9px; background: #0d1721; }



.combat-metric.primary { border-color: #947833; background: linear-gradient(130deg, #3a3524, #15212a); }



.combat-metric span { color: #9db2c1; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }



.combat-metric strong { font-size: 27px; line-height: 1; letter-spacing: -.04em; }



.combat-metric.primary strong { color: var(--gold); }



.ranking-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }



.ranking-strip > div { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; border: 1px solid #344b5d; border-radius: 8px; background: #0d1721; }



.ranking-strip span { color: var(--muted); font-size: 10px; }



.ranking-strip strong { color: #dcebf2; font-size: 13px; }



.stat-source-note { margin: 8px 0 0; color: #91a9b8; font-size: 10px; line-height: 1.5; }



.activity-panel { margin-top: 16px; border: 1px solid #344b5d; border-radius: 10px; overflow: hidden; background: #0d1721; }



.activity-panel-head { display: flex; justify-content: space-between; gap: 15px; padding: 13px 16px; border-bottom: 1px solid #344b5d; color: #e3edf3; font-size: 11px; font-weight: 800; }



.activity-panel-head small { color: #829baa; font-size: 9px; letter-spacing: .08em; }



.activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }



.activity-grid > div { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 10px 15px; border-right: 1px solid #ffffff13; border-bottom: 1px solid #ffffff13; }



.activity-grid > div:nth-child(3n) { border-right: 0; }



.activity-grid > div:nth-last-child(-n + 3) { border-bottom: 0; }



.activity-grid span { color: #9badba; font-size: 10px; }



.activity-grid strong { font-size: 12px; }



.profile-sidebar { display: grid; gap: 13px; position: sticky; top: 22px; }



.side-card { padding: 19px; border: 1px solid #344b5d; border-radius: 10px; background: #0d1721; }



.side-card .eyebrow { margin: 0 0 5px; font-size: 9px; }



.side-card h3 { margin: 0 0 12px; font-size: 17px; }



.side-card dl { margin: 0; }



.side-card dl > div { padding: 11px 0; border-top: 1px solid #ffffff17; }



.side-card dt { color: #8ba2b2; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }



.side-card dd { margin: 5px 0 0; overflow-wrap: anywhere; font-size: 11px; font-weight: 600; }



.side-card dd.steam-id-value { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }



.copy-id { width: 100%; margin-top: 12px; justify-content: space-between; }



.side-note { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 11px; align-items: start; color: var(--muted); }



.side-note p { margin: 0; font-size: 10px; line-height: 1.65; }



.note-mark { box-sizing: border-box; width: 18px; height: 18px; margin-top: 1.5px; display: grid; place-items: center; border: 1px solid #7794a8; border-radius: 50%; color: #c0d8e5; font-size: 11px; line-height: 1; font-weight: 700; }



.profile-bottom { margin-top: 31px; padding-top: 17px; border-top: 1px solid var(--line); }



.back-button { gap: 16px; background: #182a39; }



.back-arrow { display: inline-block; font-size: 17px; line-height: 1; transition: transform .38s cubic-bezier(.22, 1, .36, 1); }



.back-button:hover .back-arrow { transform: translateX(-3px); }



.stats-note { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 11px; padding: 14px 4px 7px; color: #92a9b9; font-size: 10px; line-height: 1.65; }



.stats-note p { margin: 0; }



.stats-footer { display: flex; justify-content: space-between; gap: 20px; padding: 23px clamp(20px, 5vw, 76px); border-top: 1px solid #ffffff17; color: #8da1af; font-size: 10px; }



.stats-footer a { display: inline-flex; align-items: center; gap: 7px; color: #c8d8e3; font-weight: 700; text-decoration: none; }



.stats-footer a:hover { color: var(--gold); }



.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; }



:root {
  --type-label: clamp(12px, .12vw + 9px, 13px);
  --type-small: clamp(13px, .18vw + 9.5px, 15px);
  --type-body: clamp(15px, .25vw + 10px, 16.5px);
  --type-title: clamp(22px, .45vw + 15px, 27px);
}



.stats-main { width: min(calc(100% - clamp(30px, 3.2vw, 92px)), clamp(1200px, 77vw, 2800px)); flex: 1 0 auto; }



.stats-hero { min-height: 0; max-width: min(100%, 1700px); padding: clamp(24px, 1.3vw, 34px) 0 clamp(22px, 1.3vw, 34px); gap: 24px; }



.hero-copy { max-width: 770px; }



.stats-hero h1 { font-size: clamp(36px, 1.8vw, 44px); line-height: 1.08; }



.hero-description { max-width: 650px; margin-top: 13px; line-height: 1.6; }



.hero-symbol { width: clamp(160px, 7vw, 190px); height: clamp(125px, 5.4vw, 145px); }



.hero-symbol > img { width: min(60%, 96px); height: min(60%, 82px); }



.eyebrow, .panel-kicker, .search-footer > span:first-child,
.profile-name-block .eyebrow, .profile-name-block > p:nth-of-type(2) span,
.hero-metric > span, .section-heading-row .eyebrow,
.mode-card-head small, .mode-card-foot span, .moderation-mode,
.moderation-symbol, .dialog-header .eyebrow, .dialog-summary small,
.dialog-record-status, .dialog-record-fields dt, .mode-menu-title,
.combat-metric span, .activity-panel-head small, .side-card .eyebrow,
.side-card dt, .profile-source { font-size: var(--type-label); }



.stats-brand small, .hero-symbol small { font-size: 11px; }



.stats-nav nav a, .input-chip, .search-form button,
.result-name small, .result-detail small, .result-server strong,
.profile-presence, .profile-presence strong, .profile-actions a,
.copy-id, .back-button, .hero-metric small, .mode-card-foot strong,
.mode-card > p, .moderation-group header p, .punishment-title small,
.dialog-header p:last-child, .dialog-tabs button, .dialog-tabs button span,
.dialog-record-top, .dialog-record-fields dd, .dialog-empty p,
.dialog-footer, .mode-menu summary strong, .mode-options button,
.ranking-strip span, .stat-source-note, .activity-grid span,
.side-card dd, .side-card dd.steam-id-value, .side-note p,
.stats-note, .stats-footer { font-size: var(--type-small); }



.hero-description, .search-form input, .empty-state p:last-child,
.state-box p:last-child, .section-bar > span, .result-detail strong,
.profile-name-block > p:nth-of-type(2), .profile-intro p:last-child,
.section-description, .data-loading, .game-message,
.game-toolbar > p, .dialog-record h3, .dialog-loading,
.activity-panel-head, .dialog-summary .dialog-steam-id { font-size: var(--type-body); }



.panel-heading h2, .section-bar h2, .section-heading-row h3,
.profile-intro h3 { font-size: var(--type-title); }



.result-name strong, .mode-card-head h4, .moderation-group h4,
.punishment-title strong, .ranking-strip strong, .activity-grid strong,
.side-card h3 { font-size: clamp(16px, .42vw + 9px, 19px); }



.search-panel { padding: clamp(18px, .9vw, 22px) clamp(22px, 1.2vw, 28px); }



.panel-heading h2 { margin-bottom: clamp(11px, .6vw, 15px); }



.search-form { min-height: clamp(52px, 2.5vw, 62px); }



.search-form button { min-width: 142px; }



.search-footer { margin-top: 12px; }



.content-panel { margin-top: 18px; }



.input-chip { padding: 6px 10px; }



.result-row { min-height: 86px; grid-template-columns: 50px minmax(160px, 1.1fr) minmax(200px, 1.45fr) minmax(105px, .5fr) 24px; gap: clamp(13px, 1vw, 22px); }



.result-avatar { width: 48px; height: 48px; }



.profile-avatar { width: 76px; height: 76px; border-radius: 17px; font-size: 28px; }



.profile-name-block h2 { font-size: clamp(28px, 1.45vw, 38px); }



.profile-presence { min-height: 39px; }



.profile-actions a, .copy-id, .back-button { min-height: 40px; padding: 9px 12px; }



.profile-banner { min-height: clamp(128px, 5.5vw, 150px); padding-top: clamp(20px, 1vw, 28px); padding-bottom: clamp(20px, 1vw, 28px); }



.profile-body { padding: clamp(20px, 1.3vw, 32px); }



.hero-metric { min-height: clamp(128px, 5.2vw, 146px); padding: clamp(16px, .85vw, 20px); grid-template-rows: auto minmax(54px, 1fr) auto; }



.hero-metric strong { font-size: clamp(21px, 1.1vw, 30px); }



.hero-metric.featured strong { font-size: clamp(29px, 1.5vw, 39px); }



.hero-metric strong.server-value { font-size: clamp(15px, .75vw, 19px); }



.profile-layout { grid-template-columns: minmax(0, 1fr) clamp(270px, 15vw, 330px); }



.section-heading-row > span { width: 36px; height: 36px; font-size: var(--type-label); }



.mode-card, .side-card { padding: clamp(16px, .9vw, 22px); }



.mode-emblem, .moderation-mode { width: 40px; height: 40px; }



.mode-card-head > strong { font-size: clamp(18px, .8vw, 22px); }



.punishment-trigger { min-height: 70px; }



.moderation-symbol { width: 30px; height: 30px; }



.punishment-total { font-size: clamp(23px, 1vw, 28px); }



.punishment-dialog { width: min(820px, calc(100% - 28px)); }



.dialog-tabs button { min-height: 40px; }



.dialog-record { padding: clamp(18px, .85vw, 22px); }



.dialog-record-fields { gap: 16px 20px; }



.mode-menu { min-width: 200px; }



.mode-menu summary { min-height: 48px; }



.mode-chevron { top: 50%; }



.mode-options button { min-height: 38px; }



.combat-metric { min-height: 102px; }



.combat-metric strong { font-size: clamp(27px, 1.2vw, 34px); }



.ranking-strip > div { min-height: 56px; }



.activity-grid > div { min-height: 54px; }



.side-card dd { line-height: 1.5; }



.stats-footer { line-height: 1.5; }



@keyframes spin { to { transform: rotate(360deg); } }



@keyframes connection-dot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }



@keyframes loading-sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }



@keyframes presence-pulse { 50% { box-shadow: 0 0 0 7px #52e69800; } }



@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }



@keyframes menu-in { from { opacity: 0; transform: translateY(-5px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }



@keyframes float-mark { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }



@keyframes dialog-in { from { opacity: 0; transform: translateY(15px) scale(.965); } to { opacity: 1; transform: translateY(0) scale(1); } }



@keyframes dialog-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }



@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }



@keyframes backdrop-out { to { opacity: 0; } }



@keyframes record-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }



@media (max-width: 1050px) {
.hero-symbol { width: 180px; height: 145px; }
}



@media (max-width: 1050px) {
.hero-symbol > img { width: 96px; height: 82px; }
}



@media (max-width: 1050px) {
.profile-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; }
}



@media (max-width: 1050px) {
.moderation-grid { grid-template-columns: 1fr; }
}



@media (max-width: 800px) {
.stats-hero { min-height: 0; }
}



@media (max-width: 800px) {
.hero-symbol { display: none; }
}



@media (max-width: 800px) {
.profile-layout { grid-template-columns: 1fr; }
}



@media (max-width: 800px) {
.profile-sidebar { position: static; grid-template-columns: 1fr 1fr; }
}



@media (max-width: 800px) {
.profile-banner { flex-wrap: wrap; }
}



@media (max-width: 800px) {
.profile-actions { margin-left: 110px; justify-content: flex-start; }
}



@media (max-width: 800px) {
.hero-metrics { grid-template-columns: 1fr 1fr; }
}



@media (max-width: 800px) {
.hero-metric:last-child { grid-column: 1 / -1; min-height: 110px; }
}



@media (max-width: 800px) {
.hero-metric strong.server-value { font-size: 17px; }
}



@media (max-width: 800px) {
.result-row { grid-template-columns: 48px minmax(0, 1fr) minmax(100px, .5fr) 18px; gap: 12px; }
}



@media (max-width: 800px) {
.result-detail:nth-of-type(4) { display: none; }
}



@media (max-width: 800px) {
.stats-main { width: calc(100% - 32px); }
}



@media (max-width: 600px) {
.stats-nav { min-height: 60px; padding: 6px 16px; }
}



@media (max-width: 600px) {
.stats-brand { gap: 8px; font-size: 12px; }
}



@media (max-width: 600px) {
.stats-brand img { width: 38px; height: 38px; }
}



@media (max-width: 600px) {
.stats-nav nav { gap: 12px; }
}



@media (max-width: 600px) {
.stats-nav nav a { font-size: 10px; }
}



@media (max-width: 600px) {
.stats-nav nav a:nth-child(4) { display: none; }
}



@media (max-width: 600px) {
.stats-main { width: min(100% - 30px, 1520px); padding-bottom: 8px; }
}



@media (max-width: 600px) {
.stats-hero { padding: 38px 0 33px; }
}



@media (max-width: 600px) {
.stats-hero h1 { font-size: clamp(34px, 9vw, 48px); }
}



@media (max-width: 600px) {
.hero-description { font-size: 12px; line-height: 1.7; }
}



@media (max-width: 600px) {
.search-panel { padding: 19px 17px; }
}



@media (max-width: 600px) {
.panel-heading h2 { margin-bottom: 15px; font-size: 22px; }
}



@media (max-width: 600px) {
.panel-kicker { display: none; }
}



@media (max-width: 600px) {
.search-form { display: grid; gap: 9px; overflow: visible; border: 0; background: none; }
}



@media (max-width: 600px) {
.search-icon { display: none; }
}



@media (max-width: 600px) {
.search-form input { height: 51px; border: 1px solid #466075; border-radius: 7px; background: #09121c; }
}



@media (max-width: 600px) {
.search-form button { min-height: 47px; border-radius: 7px; }
}



@media (max-width: 600px) {
.empty-state { padding: 29px 18px 33px; }
}



@media (max-width: 600px) {
.state-box { padding: 27px 17px; }
}



@media (max-width: 600px) {
.section-bar { align-items: start; flex-direction: column; gap: 3px; padding: 18px; }
}



@media (max-width: 600px) {
.section-bar h2 { font-size: 20px; }
}



@media (max-width: 600px) {
.result-row { min-height: 73px; grid-template-columns: 42px minmax(0, 1fr) 18px; padding: 10px 16px; }
}



@media (max-width: 600px) {
.result-avatar { width: 40px; height: 40px; }
}



@media (max-width: 600px) {
.result-detail { display: none; }
}



@media (max-width: 600px) {
.result-name .result-mobile-server { display: block; margin-top: 7px; color: #a7c0cf; white-space: normal; overflow-wrap: anywhere; line-height: 1.45; }
}


@media (max-width: 600px) {
.profile-banner { padding: 23px 18px; gap: 15px; }
}



@media (max-width: 600px) {
.profile-identity { gap: 13px; }
}



@media (max-width: 600px) {
.profile-avatar { width: 64px; height: 64px; border-radius: 14px; }
}



@media (max-width: 600px) {
.profile-name-block h2 { font-size: 25px; }
}



@media (max-width: 600px) {
.profile-name-block .eyebrow { font-size: 8px; }
}



@media (max-width: 600px) {
.profile-actions { width: 100%; margin: 0; }
}



@media (max-width: 600px) {
.profile-body { padding: 23px 17px; }
}



@media (max-width: 600px) {
.profile-source { display: none; }
}



@media (max-width: 600px) {
.hero-metrics { gap: 8px; margin: 19px 0 29px; }
}



@media (max-width: 600px) {
.hero-metric { min-height: 119px; padding: 13px; grid-template-rows: auto minmax(55px, 1fr) auto; }
}



@media (max-width: 600px) {
.hero-metric strong { font-size: 15px; }
}



@media (max-width: 600px) {
.hero-metric.featured strong { font-size: 25px; }
}



@media (max-width: 600px) {
.mode-grid, .profile-sidebar { grid-template-columns: 1fr; }
}



@media (max-width: 600px) {
.profile-presence { font-size: 9px; }
}



@media (max-width: 600px) {
.game-toolbar { align-items: stretch; flex-direction: column; }
}



@media (max-width: 600px) {
.mode-menu { width: 100%; }
}



@media (max-width: 600px) {
.mode-options { width: 100%; }
}


@media (max-width: 600px) {
.combat-grid { grid-template-columns: 1fr 1fr; }
}



@media (max-width: 600px) {
.ranking-strip { grid-template-columns: 1fr; gap: 6px; }
}



@media (max-width: 600px) {
.ranking-strip > div { min-height: 42px; }
}



@media (max-width: 600px) {
.activity-grid { grid-template-columns: 1fr 1fr; }
}



@media (max-width: 600px) {
.activity-grid > div:nth-child(3n) { border-right: 1px solid #ffffff13; }
}



@media (max-width: 600px) {
.activity-grid > div:nth-child(2n) { border-right: 0; }
}



@media (max-width: 600px) {
.activity-grid > div:nth-last-child(-n + 3) { border-bottom: 1px solid #ffffff13; }
}



@media (max-width: 600px) {
.activity-grid > div:last-child { border-bottom: 0; }
}



@media (max-width: 600px) {
.stats-footer { padding: 19px 16px; }
}



@media (max-width: 600px) {
.punishment-dialog { width: calc(100% - 20px); border-radius: 13px; }
}



@media (max-width: 600px) {
.dialog-header { padding: 20px 18px 17px; }
}



@media (max-width: 600px) {
.dialog-summary { grid-template-columns: 1fr 1fr; padding: 14px 18px; }
}



@media (max-width: 600px) {
.dialog-summary > div:last-child { grid-column: 1 / -1; }
}



@media (max-width: 600px) {
.dialog-tabs { padding: 12px 18px; }
}



@media (max-width: 600px) {
.dialog-tabs button { flex: 1; justify-content: center; padding: 7px 5px; }
}



@media (max-width: 600px) {
.dialog-record-list { padding: 16px 18px 20px; }
}



@media (max-width: 600px) {
.dialog-record { padding: 15px; }
}



@media (max-width: 600px) {
.dialog-record-fields { grid-template-columns: 1fr; gap: 10px; }
}



@media (max-width: 600px) {
.dialog-footer { padding: 12px 18px; }
}



@media (max-width: 600px) {
.stats-nav nav a { font-size: 12px; }
}



@media (max-width: 600px) {
.stats-brand { font-size: 14px; }
}



@media (max-width: 600px) {
.stats-main { width: calc(100% - 24px); }
}



@media (max-width: 600px) {
.hero-description { font-size: var(--type-body); }
}



@media (max-width: 600px) {
.search-form input { font-size: 16px; }
}



@media (max-width: 600px) {
.search-form button { min-width: 0; }
}



@media (max-width: 600px) {
.section-bar h2 { font-size: var(--type-title); }
}



@media (max-width: 600px) {
.profile-name-block h2 { font-size: clamp(27px, 7.4vw, 36px); }
}



@media (max-width: 600px) {
.profile-name-block .eyebrow { font-size: var(--type-label); }
}



@media (max-width: 600px) {
.profile-presence { font-size: var(--type-small); }
}



@media (max-width: 600px) {
.profile-body { padding: 23px 16px; }
}



@media (max-width: 600px) {
.hero-metric { min-height: 142px; grid-template-rows: auto minmax(60px, 1fr) auto; padding: 14px; }
}



@media (max-width: 600px) {
.hero-metric strong { font-size: 20px; }
}



@media (max-width: 600px) {
.hero-metric.featured strong { font-size: 30px; }
}



@media (max-width: 600px) {
.hero-metric strong.server-value { font-size: 17px; }
}



@media (max-width: 600px) {
.dialog-record-fields dd { line-height: 1.55; }
}


@media (max-width: 600px) {
.dialog-tabs { flex-wrap: wrap; }
}



@media (max-width: 600px) {
.dialog-tabs button { flex: 1 1 auto; }
}



@media (max-width: 600px) {
.stats-footer { flex-wrap: wrap; }
}


@media (max-width: 380px) {
.stats-nav { gap: 12px; }
}



@media (max-width: 380px) {
.stats-brand img { width: 32px; height: 32px; }
}



@media (max-width: 380px) {
.stats-brand { font-size: 12px; }
}



@media (max-width: 380px) {
.stats-nav nav { gap: 9px; }
}



@media (max-width: 380px) {
.stats-nav nav a { font-size: 11px; }
}


@media (max-width: 380px) {
.hero-metrics { grid-template-columns: 1fr; }
}



@media (max-width: 380px) {
.hero-metric:last-child { grid-column: auto; }
}



@media (max-width: 380px) {
.hero-metric { min-height: 128px; }
}



@media (max-width: 380px) {
.profile-identity { align-items: flex-start; }
}



@media (max-width: 380px) {
.profile-avatar { width: 54px; height: 54px; }
}



@media (min-width: 3200px) and (max-resolution: 1.25dppx) {
:root {
    --type-label: 13px;
    --type-small: 15px;
    --type-body: 18px;
    --type-title: 29px;
  }
}



@media (min-width: 3200px) and (max-resolution: 1.25dppx) {
.stats-hero { max-width: 2100px; }
}



@media (min-width: 3200px) and (max-resolution: 1.25dppx) {
.hero-copy { max-width: 900px; }
}



@media (min-width: 3200px) and (max-resolution: 1.25dppx) {
.stats-hero h1 { font-size: 49px; }
}



@media (min-width: 3200px) and (max-resolution: 1.25dppx) {
.hero-description { max-width: 820px; }
}



@media (min-width: 3200px) and (max-resolution: 1.25dppx) {
.hero-symbol { width: 205px; height: 155px; }
}



@media (min-width: 3200px) and (max-resolution: 1.25dppx) {
.hero-symbol > img { width: 104px; height: 88px; }
}



@media (min-width: 3200px) and (max-resolution: 1.25dppx) {
.profile-name-block h2 { font-size: 43px; }
}



@media (min-width: 3200px) and (max-resolution: 1.25dppx) {
.hero-metric { min-height: 150px; }
}



@media (min-width: 3200px) and (max-resolution: 1.25dppx) {
.hero-metric strong { font-size: 33px; }
}



@media (min-width: 3200px) and (max-resolution: 1.25dppx) {
.hero-metric.featured strong { font-size: 42px; }
}



@media (min-width: 3200px) and (max-resolution: 1.25dppx) {
.hero-metric strong.server-value { font-size: 21px; }
}



@media (min-width: 801px) and (max-height: 900px) {
.stats-hero { padding-top: 18px; padding-bottom: 20px; }
}


@media (min-width: 801px) and (max-height: 900px) {
.search-panel { padding-top: 17px; padding-bottom: 17px; }
}



@media (min-width: 801px) and (max-height: 900px) {
.panel-heading h2 { margin-bottom: 10px; }
}


@media (min-width: 801px) and (max-height: 900px) {
.search-footer { margin-top: 10px; }
}



@media (min-width: 801px) and (max-height: 900px) {
.profile-banner { min-height: 132px; padding-top: 18px; padding-bottom: 18px; }
}

/* Refined identity header and presence placement. */
.profile-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.profile-banner-tools {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.profile-presence {
  width: fit-content;
  max-width: min(100%, 420px);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #20303a, #15232e);
  box-shadow: inset 0 1px #ffffff0b;
}

.profile-presence-copy { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center; }
.profile-presence-copy strong { flex: none; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.profile-presence-copy > span { overflow: hidden; color: #adbec9; font-size: 9px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.profile-presence.online { background: linear-gradient(135deg, #1b3b31, #142a25); }
.profile-presence.offline { background: linear-gradient(135deg, #39262c, #251d24); }

.profile-detail-ranks dd { display: flex; flex-wrap: wrap; gap: 7px; }
.profile-rank {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid color-mix(in srgb, var(--profile-rank-color) 48%, #344b5d);
  border-radius: 7px;
  color: var(--profile-rank-color);
  background: color-mix(in srgb, var(--profile-rank-color) 10%, #0d1721);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.profile-rank-name { display: inline-flex; align-items: center; line-height: 1; }
.profile-rank small { min-height: 10px; display: inline-flex; align-items: center; color: #91a7b5; font-size: 7px; font-weight: 700; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }

@media (max-width: 800px) {
  .profile-banner { grid-template-columns: 1fr; align-items: stretch; }
  .profile-banner-tools { width: 100%; }
  .profile-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-actions a { width: 100%; box-sizing: border-box; }
}

@media (max-width: 420px) {
  .profile-identity { align-items: flex-start; }
  .profile-avatar { width: 68px; height: 68px; }
  .profile-name-block .eyebrow { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .profile-name-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .profile-presence { max-width: 100%; }
  .profile-actions { gap: 7px; }
  .profile-actions a { padding-inline: 8px; font-size: 9px; }
}


@media (max-height: 500px) {
  .punishment-dialog { max-height: calc(100dvh - 24px); }
  .punishment-dialog-inner { display: block; max-height: calc(100dvh - 26px); overflow-y: auto; overscroll-behavior: contain; }
  .punishment-dialog .dialog-header { position: sticky; top: 0; z-index: 2; padding: 12px 18px; }
  .punishment-dialog .dialog-record-list { overflow: visible; }
}



.stats-leaderboards-main { padding-top: clamp(30px, 4vw, 64px); padding-bottom: 44px; }
.leaderboards-intro { max-width: 1320px; display: flex; align-items: end; justify-content: space-between; gap: 36px; margin: 0 auto clamp(26px, 3vw, 42px); animation: leaderboard-intro-in .65s cubic-bezier(.22,1,.36,1) both; }
.leaderboards-intro h1 { margin: 0; font-size: clamp(38px, 4.2vw, 68px); line-height: 1.03; letter-spacing: -.055em; }
.leaderboards-intro h1 em { color: var(--gold); font-style: normal; }
.leaderboards-intro > div > p:last-child { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.leaderboards-search-link { min-height: 52px; flex: none; display: inline-flex; align-items: center; gap: 28px; padding: 0 19px 0 22px; border: 1px solid #486276; border-radius: 10px; color: #e8f0f5; background: #111c27; font-size: 12px; font-weight: 700; text-decoration: none; transition: color .25s ease, border-color .25s ease, transform .35s cubic-bezier(.22,1,.36,1), background .25s ease; }
.leaderboards-search-link svg, .podium-open svg, .leaderboard-row-open svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.leaderboards-search-link:hover { color: #151c22; border-color: var(--gold); background: var(--gold); transform: translateY(-2px); }
.leaderboards-search-link:hover svg { transform: translateX(3px); }
.leaderboards-search-link svg { transition: transform .3s cubic-bezier(.22,1,.36,1); }

.leaderboard-panel {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(22px, 1.5vw, 32px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: radial-gradient(circle at 88% 0, #24496452, transparent 31%), linear-gradient(155deg, #172533, #0d1721 76%);
  box-shadow: var(--shadow);
}

.leaderboard-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold), #fff1a6 36%, #3e6b84 76%, transparent); }
.leaderboard-panel::after { content: ""; position: absolute; width: 280px; height: 280px; right: -150px; top: -170px; border: 1px solid #73c9ee18; border-radius: 50%; box-shadow: 0 0 0 32px #73c9ee08, 0 0 0 68px #73c9ee05; pointer-events: none; animation: leaderboard-orbit 12s linear infinite; }
.leaderboard-panel:has(.leaderboard-select.is-open) { overflow: visible; }
.leaderboard-panel:has(.leaderboard-select.is-open)::after { display: none; }
.leaderboard-heading { position: relative; z-index: 1; display: flex; align-items: start; justify-content: space-between; gap: 30px; }
.leaderboard-heading h2 { margin: 0; font-size: clamp(25px, 2vw, 34px); letter-spacing: -.045em; }
.leaderboard-heading > div:first-child > p:last-child { max-width: 650px; margin: 8px 0 0; color: var(--muted); font-size: var(--type-body); line-height: 1.65; }
.leaderboard-live { min-width: 132px; display: grid; grid-template-columns: 9px auto; align-items: center; gap: 3px 10px; padding: 12px 15px; border: 1px solid #4c6a7c; border-radius: 9px; background: #0a141eaa; }
.leaderboard-live i { width: 8px; height: 8px; grid-row: 1 / 3; border-radius: 50%; background: #67e59d; box-shadow: 0 0 0 5px #67e59d13; animation: leaderboard-live 1.8s ease-out infinite; }
.leaderboard-live span { color: #e6f0f5; font-size: 12px; font-weight: 800; letter-spacing: .11em; line-height: 1.2; }
.leaderboard-live small { color: #91a9b9; font-size: 10px; line-height: 1.25; }

.leaderboard-toolbar { position: relative; z-index: 2; display: flex; align-items: end; gap: 10px; margin-top: 25px; }
.leaderboard-tabs { width: clamp(360px, 32vw, 450px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-self: stretch; gap: 4px; padding: 4px; border: 1px solid #344c5e; border-radius: 10px; background: #09131d; }
.leaderboard-tabs button { min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 8px; border: 1px solid #344c5e; border-radius: 7px; color: #b4c9d6; background: #14222e; font-size: 11px; transition: color .25s ease, background .3s ease, transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease; }
.leaderboard-tabs button:hover { color: #f3f7fa; transform: translateY(-1px); }
.leaderboard-tabs button[aria-pressed="true"] { color: #111923; border-color: var(--gold); background: var(--gold); box-shadow: 0 7px 18px #0005, inset 0 1px #fff8; }
.leaderboard-tabs button span { font-size: 14px; }
.leaderboard-select { min-width: 170px; position: relative; display: grid; gap: 5px; }
.leaderboard-select[hidden] { display: none; }
.leaderboard-select > span { color: #8da4b5; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.leaderboard-select select { width: 100%; min-height: 48px; padding: 0 38px 0 13px; border: 1px solid #405b6d; border-radius: 9px; outline: 0; color: #edf5fa; background: #0a141e; font: 700 11px Poppins, sans-serif; cursor: pointer; transition: border-color .25s ease, box-shadow .25s ease; }
.leaderboard-select select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px #f2c84b1c; }
.leaderboard-select select.leaderboard-native-select { display: none; }
.leaderboard-dropdown-trigger { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 14px 0 16px; border: 1px solid #526c7e; border-radius: 9px; color: #f3f7fa; background: linear-gradient(135deg, #172736, #0b1721); font: 700 12px Poppins, sans-serif; text-align: left; cursor: pointer; box-shadow: inset 0 1px #ffffff0d; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.leaderboard-dropdown-trigger:hover, .leaderboard-select.is-open .leaderboard-dropdown-trigger { border-color: var(--gold); background: linear-gradient(135deg, #203344, #101d29); }
.leaderboard-dropdown-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.leaderboard-dropdown-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaderboard-dropdown-chevron { width: 8px; height: 8px; flex: none; border-right: 2px solid #a9bfcc; border-bottom: 2px solid #a9bfcc; transform: translateY(-2px) rotate(45deg); transition: transform .25s ease, border-color .25s ease; }
.leaderboard-select.is-open .leaderboard-dropdown-chevron { border-color: var(--gold); transform: translateY(2px) rotate(225deg); }
.leaderboard-dropdown-menu { width: max-content; min-width: 100%; max-width: min(320px, calc(100vw - 48px)); max-height: 286px; position: absolute; z-index: 20; top: calc(100% + 7px); left: 0; padding: 6px; overflow-y: auto; border: 1px solid #526b7e; border-radius: 11px; background: linear-gradient(160deg, #1b2b3a, #0c1721 72%); box-shadow: 0 22px 46px #0009, inset 0 1px #ffffff13; scrollbar-color: #577185 #101b26; scrollbar-width: thin; animation: leaderboard-menu-in .2s cubic-bezier(.22,1,.36,1) both; }
.leaderboard-dropdown-menu[hidden] { display: none; }
.leaderboard-dropdown-option { min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 11px 8px 13px; border-radius: 7px; color: #d1e0e9; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: color .15s ease, background .15s ease; }
.leaderboard-dropdown-option.is-active { color: #fff; background: #2b4355; }
.leaderboard-dropdown-option[aria-selected="true"] { color: #f5d776; background: #b88c2e20; }
.leaderboard-dropdown-option[aria-selected="true"]::after { content: "✓"; color: var(--gold); font-size: 14px; font-weight: 800; }
.leaderboard-dropdown-option[aria-selected="true"].is-active { background: #6d593244; }
.leaderboard-stat-select { min-width: 190px; }
.leaderboard-refresh { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 1px solid #405b6d; border-radius: 9px; color: var(--gold); background: #0a141e; font-size: 21px; transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .25s ease, background .25s ease; }
.leaderboard-refresh:hover { transform: rotate(35deg); border-color: var(--gold); background: #172635; }
.leaderboard-panel.is-loading .leaderboard-refresh span { animation: spin .8s linear infinite; }

.leaderboard-status { min-height: 38px; display: flex; align-items: center; gap: 9px; margin-top: 13px; color: #8fa8b8; font-size: 10px; }
.leaderboard-status.is-error { color: #f3a797; }
.leaderboard-status .mini-loader { width: 15px; height: 15px; }
.leaderboard-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
.leaderboard-podium-card { --podium-color: #79bddc; min-width: 0; min-height: 132px; position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 22px 50px 22px 20px; overflow: hidden; border: 1px solid #385466; border-radius: 13px; color: var(--text); background: linear-gradient(145deg, #1c3040, #0b151f); text-align: left; animation: leaderboard-card-in .58s var(--podium-delay) cubic-bezier(.22,1,.36,1) both; transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .3s ease, box-shadow .3s ease; }
.leaderboard-podium-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, #ffffff0d 45%, transparent 70%); transform: translateX(-110%); transition: transform .7s ease; }
.leaderboard-podium-card:hover { transform: translateY(-5px); border-color: var(--podium-color); box-shadow: 0 18px 34px #0005; }
.leaderboard-podium-card:hover::before { transform: translateX(110%); }
.leaderboard-podium-card.place-1 { --podium-color: var(--gold); border-color: #9e803b; background: radial-gradient(circle at 75% 15%, #f2c84b20, transparent 35%), linear-gradient(145deg, #3a3524, #111a22 72%); }
.podium-crown { position: absolute; right: 16px; top: 12px; color: var(--podium-color); opacity: .8; font-size: 17px; }
.podium-place { position: absolute; right: 17px; bottom: -17px; color: #ffffff08; font-size: 86px; font-weight: 800; line-height: 1; }
.podium-avatar { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--podium-color) 70%, #365365); border-radius: 14px; color: var(--podium-color); background: #0a151f; font-size: 21px; font-weight: 800; box-shadow: inset 0 0 22px #73c9ee0e; }
.podium-copy { min-width: 0; }
.podium-copy strong, .podium-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-copy strong { font-size: clamp(13px, 1vw, 17px); }
.podium-copy small { margin-top: 4px; color: #a9bfcc; font-size: 12px; }
.podium-score { min-width: 82px; text-align: right; }
.podium-score b, .podium-score small { display: block; }
.podium-score b { color: var(--podium-color); font-size: clamp(21px, 1.5vw, 30px); letter-spacing: -.04em; }
.podium-score small { color: #849dac; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.podium-open { position: absolute; right: 15px; bottom: 14px; width: 28px; height: 28px; display: grid; place-items: center; color: #a9c0ce; opacity: .72; transform: translateX(-3px); transition: color .25s ease, opacity .25s ease, transform .3s ease; }
.leaderboard-podium-card:hover .podium-open { opacity: 1; transform: none; }

.leaderboard-table-wrap { margin-top: 12px; overflow: hidden; border: 1px solid #304555; border-radius: 12px; background: #0a141dc7; }
.leaderboard-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.leaderboard-table th { padding: 12px 16px; border-bottom: 1px solid #405568; color: #8099aa; background: #152330; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-align: left; text-transform: uppercase; }
.leaderboard-table th:first-child { width: 82px; text-align: center; }
.leaderboard-table th:nth-child(2) { width: 34%; }
.leaderboard-table th:nth-child(3) { width: 17%; text-align: center; }
.leaderboard-table th:nth-child(4) { text-align: right; }
.leaderboard-table th:last-child { width: 58px; }
.leaderboard-table tbody tr { animation: leaderboard-row-in .42s var(--row-delay) cubic-bezier(.22,1,.36,1) both; transition: background .25s ease, box-shadow .25s ease; }
.leaderboard-table tbody tr:hover { background: #20394c7a; box-shadow: inset 3px 0 var(--gold); }
.leaderboard-table td { height: 66px; padding: 9px 16px; border-bottom: 1px solid #ffffff0d; }
.leaderboard-table tr:last-child td { border-bottom: 0; }
.leaderboard-table td:first-child { text-align: center; }
.leaderboard-table td:nth-child(3) { text-align: center; }
.leaderboard-table td:nth-child(4) { text-align: right; }
.leaderboard-rank { color: #91a9b8; font-size: 11px; font-weight: 800; }
.leaderboard-player { width: 100%; min-width: 0; display: flex; align-items: center; gap: 11px; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; }
.leaderboard-initial { width: 37px; height: 37px; flex: none; display: grid; place-items: center; border: 1px solid #45677a; border-radius: 10px; color: var(--gold); background: #152a39; font-size: 13px; font-weight: 800; }
.leaderboard-player > span:last-child { min-width: 0; }
.leaderboard-player strong, .leaderboard-player small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaderboard-player strong { font-size: 12px; }
.leaderboard-player small { margin-top: 3px; color: #a9bfcc; font-size: 12px; }
.leaderboard-value { color: #f5d776; font-size: 14px; font-variant-numeric: tabular-nums; }
.leaderboard-secondary { color: #9bb0be; font-size: 10px; }
.leaderboard-row-open { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #3d596c; border-radius: 8px; color: #b5c9d5; background: #142430; transition: color .2s ease, border-color .2s ease, transform .3s cubic-bezier(.22,1,.36,1); }
.leaderboard-row-open svg { width: 17px; height: 17px; }
.leaderboard-row-open:hover { color: var(--gold); border-color: var(--gold); transform: translateX(3px); }
.leaderboard-more { width: 100%; min-height: 46px; border: 0; border-top: 1px solid #304555; color: #b9c9d4; background: #12202c; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: color .25s ease, background .25s ease; }
.leaderboard-more:hover { color: var(--gold); background: #1a2d3c; }

@keyframes leaderboard-card-in { from { opacity: 0; transform: translateY(18px) scale(.975); } to { opacity: 1; transform: none; } }
@keyframes leaderboard-row-in { from { opacity: 0; transform: translateX(-9px); } to { opacity: 1; transform: none; } }
@keyframes leaderboard-live { 0% { box-shadow: 0 0 0 0 #67e59d66; } 70%, 100% { box-shadow: 0 0 0 8px #67e59d00; } }
@keyframes leaderboard-orbit { to { transform: rotate(360deg); } }
@keyframes leaderboard-intro-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes leaderboard-menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .leaderboards-intro { align-items: start; }
  .leaderboard-toolbar { flex-wrap: wrap; }
  .leaderboard-tabs { width: 100%; }
  .leaderboard-select { flex: 1; }
  .leaderboard-podium { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .leaderboard-podium-card { min-height: 116px; }
  .leaderboard-table th:nth-child(4), .leaderboard-table td:nth-child(4) { display: none; }
  .leaderboard-table th:nth-child(2) { width: auto; }
}

@media (max-width: 600px) {
  .stats-leaderboards-main { width: min(100% - 28px, 1520px); padding-top: 34px; }
  .leaderboards-intro { display: block; margin-bottom: 25px; }
  .leaderboards-intro h1 { font-size: clamp(36px, 11vw, 50px); }
  .leaderboards-intro > div > p:last-child { font-size: 12px; }
  .leaderboards-search-link { margin-top: 20px; }
  .leaderboard-panel { padding: 19px 15px; }
  .leaderboard-heading { display: block; }
  .leaderboard-live { width: max-content; margin-top: 15px; }
  .leaderboard-toolbar { align-items: stretch; }
  .leaderboard-tabs button { padding: 9px 5px; font-size: 10px; }
  .leaderboard-tabs button span { display: none; }
  .leaderboard-select { min-width: calc(100% - 58px); }
  .leaderboard-stat-select { order: 4; min-width: 100%; }
  .leaderboard-podium-card { grid-template-columns: 44px minmax(0, 1fr) auto; min-height: 108px; padding: 15px 43px 15px 14px; gap: 10px; }
  .podium-avatar { width: 44px; height: 44px; border-radius: 12px; font-size: 18px; }
  .podium-score { min-width: 65px; }
  .podium-score b { font-size: 19px; }
  .leaderboard-table th { padding: 10px 7px; }
  .leaderboard-table th:first-child { width: 54px; }
  .leaderboard-table th:nth-child(3) { width: 29%; }
  .leaderboard-table th:last-child { width: 43px; }
  .leaderboard-table td { height: 60px; padding: 8px 7px; }
  .leaderboard-initial { width: 32px; height: 32px; }
  .leaderboard-player small { display: none; }
  .leaderboard-value { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .leaderboards-intro, .leaderboard-panel::after, .leaderboard-live i, .leaderboard-podium-card, .leaderboard-table tbody tr, .leaderboard-dropdown-menu { animation: none; }
}
