
: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 {
  position: relative;
  width: 230px;
  height: 177px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #3b6077;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 36%, #315c754d, transparent 67%), 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 .hero-symbol-caption { max-width: 100%; min-height: 24px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 0; padding: 5px 10px; border: 1px solid #6e99ac70; border-radius: 999px; color: #d1e5ec; background: #0b1b2ab3; font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.hero-symbol-caption i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px #f2c84b1c; }



.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;
  line-height: 1;
  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 .search-submit-label { display: block; line-height: 1.2; }
.search-form button .search-submit-arrow { display: block; width: 20px; height: 20px; flex: none; transform: translateY(-1px); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.search-form button:hover .search-submit-arrow, .search-form button:focus-visible .search-submit-arrow { transform: translate(3px, -1px); }



.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; border-radius: 0 0 16px 16px; }



.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,
.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, background-color .45s 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; }

.hero-metric.is-live { border-color: #3c8465; background-color: #142820; box-shadow: inset 0 1px #a7f2c013, 0 0 24px #46c8880a; }
.hero-metric.is-live:hover { border-color: #65bb8c; box-shadow: inset 0 1px #a7f2c01c, 0 13px 26px #0003, 0 0 28px #46c88819; }
.hero-metric.is-live > span { color: #a4dec0; }
.hero-metric.is-live > span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #6cdda0; box-shadow: 0 0 0 3px #6cdda01c; vertical-align: 2px; }
.hero-metric.is-live > strong { color: #e2f7ea; }
.hero-metric.is-live > small { color: #9dc5af; }

.playtime-toggle { width: 100%; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.playtime-card.hero-metric { display: flex; flex-direction: column; cursor: pointer; }
.playtime-card .playtime-toggle { flex: 1; min-height: 0; display: grid; grid-template-rows: auto minmax(47px, 1fr); padding: 0; border: 0; background: transparent; }
.playtime-toggle > span:first-child { color: #e9d49b; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.playtime-footer { min-width: 0; min-height: 26px; display: flex; align-items: flex-end; gap: 8px; }
.playtime-footer small { min-width: 0; flex: 1; color: #829aaa; font-size: var(--type-small); line-height: normal; }
.playtime-history-link { min-height: 24px; flex: none; display: inline-flex; align-items: center; padding: 0; border: 0; color: #e2cc8a; background: transparent; font-size: 11px; font-weight: 700; line-height: 1.35; text-align: left; text-decoration: underline; text-decoration-color: #e2cc8a66; text-underline-offset: 3px; white-space: nowrap; transition: color .3s ease, text-decoration-color .3s ease; }
.playtime-history-link[hidden] { display: none; }
.playtime-history-link:hover, .playtime-history-link:focus-visible { color: #fff0b9; text-decoration-color: currentColor; }
.playtime-switch { width: 26px; height: 26px; flex: none; display: grid; place-items: center; margin-left: 6px; padding: 0; border: 0; color: var(--gold); background: transparent; }
.playtime-switch-icon { display: inline-grid; width: 26px; height: 26px; place-items: center; border: 1px solid #ad914f77; border-radius: 7px; color: var(--gold); transition: border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.playtime-switch-icon svg { display: block; width: 17px; height: 17px; transform-origin: center; transition: transform .62s cubic-bezier(.2, .8, .2, 1); }
.playtime-card:hover .playtime-switch-icon,
.playtime-toggle:focus-visible + .playtime-footer .playtime-switch-icon,
.playtime-switch:is(:hover, :focus-visible) .playtime-switch-icon { border-color: #f6d765b3; background: #f6d7651c; box-shadow: 0 0 0 3px #f6d7650e; }
.playtime-card:hover .playtime-switch-icon svg,
.playtime-toggle:focus-visible + .playtime-footer .playtime-switch-icon svg,
.playtime-switch:is(:hover, :focus-visible) .playtime-switch-icon svg,
.playtime-toggle[data-playtime-toggle="recent"] + .playtime-footer .playtime-switch-icon svg { transform: rotate(180deg); }
.playtime-toggle[data-playtime-toggle="recent"]:is(:hover, :focus-visible) + .playtime-footer .playtime-switch-icon svg,
.playtime-toggle[data-playtime-toggle="recent"] + .playtime-footer .playtime-switch:is(:hover, :focus-visible) .playtime-switch-icon svg { transform: rotate(360deg); }
.playtime-toggle:active + .playtime-footer .playtime-switch-icon svg,
.playtime-switch:active .playtime-switch-icon svg { transform: rotate(360deg) scale(.88); }
.playtime-toggle[data-playtime-loading="true"] + .playtime-footer .playtime-switch-icon { animation: playtime-wait 1s ease-in-out infinite; }
@keyframes playtime-wait { 50% { opacity: .55; box-shadow: 0 0 0 4px #f6d7651a; } }
@media (prefers-reduced-motion: reduce) { .playtime-switch-icon, .playtime-switch-icon svg, .playtime-history-link { transition: none; animation: none !important; } }



.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-moderator-field { position: relative; border-radius: 6px; transition: background-color .3s ease, box-shadow .3s ease; }
.dialog-moderator-field:hover, .dialog-moderator-field:focus-within { background: #f2c84b0b; box-shadow: 0 0 0 6px #f2c84b0b; }
.dialog-moderator-field:focus-within { outline: 2px solid var(--gold); outline-offset: 5px; }
.dialog-moderator-field a { display: inline-flex; max-width: 100%; align-items: center; gap: 8px; color: inherit; text-decoration: none; transition: color .3s ease; }
.dialog-moderator-field a::before { content: ""; position: absolute; inset: -5px -7px; border-radius: 7px; }
.dialog-moderator-field:hover a, .dialog-moderator-field a:focus-visible { color: var(--gold); }
.dialog-moderator-field a:focus-visible { outline: none; }
.dialog-moderator-field [data-moderator-label] { min-width: 0; overflow-wrap: anywhere; }
.dialog-moderator-arrow { flex: none; font-size: 16px; line-height: 1; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.dialog-moderator-field:hover .dialog-moderator-arrow, .dialog-moderator-field:focus-within .dialog-moderator-arrow { transform: translate(2px,-2px); }



.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: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 16px; row-gap: 16px; margin-bottom: 17px; }



.game-toolbar > .section-heading-row { grid-column: 1; grid-row: 1; min-width: 0; margin-bottom: 0; }
.game-toolbar > p { grid-column: 1; grid-row: 2; min-width: 0; margin: -4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.game-toolbar > .mode-menu { grid-column: 2; grid-row: 1 / 3; align-self: center; }



.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 { width: 18px; height: 18px; margin-top: 2px; display: block; flex: none; }



.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: 88px; height: 88px; border-radius: 19px; font-size: 31px; }



.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[href="/staff-panel"] { 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: 72px; height: 72px; border-radius: 16px; }
}



@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 { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
.game-toolbar > .section-heading-row { grid-column: 1; grid-row: 1; }
.game-toolbar > .mode-menu { grid-column: 1; grid-row: 2; }
.game-toolbar > p { grid-column: 1; grid-row: 3; margin-top: 0; }
}



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

/* Shared loading card for statspage data lookups. */
.stats-loading-card.is-loading { min-width: 0; min-height: 60px; position: relative; display: flex; align-items: center; gap: 14px; margin-bottom: 10px; padding: 10px 16px; overflow: hidden; border: 1px solid #3d596b; border-radius: 10px; color: #e2edf3; background: linear-gradient(105deg, #162a38, #101d29 62%, #142633); box-shadow: inset 0 1px #ffffff13; animation: stats-loader-in .28s cubic-bezier(.22,1,.36,1) both; }
.stats-loading-card.is-loading::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), var(--blue), transparent); transform: translateX(-100%); animation: stats-loader-sweep 2.2s ease-in-out infinite; }
.stats-loader-orbit { width: 38px; height: 38px; flex: 0 0 38px; position: relative; display: grid; place-items: center; }
.stats-loader-orbit i { position: absolute; border: 2px solid transparent; border-radius: 50%; }
.stats-loader-orbit i:nth-child(1) { inset: 1px; border-top-color: var(--gold); border-right-color: #f2c84b44; animation: stats-loader-spin 1.15s linear infinite; }
.stats-loader-orbit i:nth-child(2) { inset: 8px; border-bottom-color: var(--blue); border-left-color: #73c9ee4d; animation: stats-loader-spin .85s linear infinite reverse; }
.stats-loader-orbit i:nth-child(3) { width: 6px; height: 6px; border: 0; background: var(--gold); box-shadow: 0 0 0 4px #f2c84b1a, 0 0 12px #f2c84b7a; animation: stats-loader-pulse 1.15s ease-in-out infinite; }
.stats-loader-copy { min-width: 0; display: grid; gap: 2px; }
.stats-loader-copy strong { color: #f1f7fa; font-size: 12px; line-height: 1.25; }
.stats-loader-copy small { color: #a7c0ce; font-size: 11px; line-height: 1.35; }
.stats-loader-label { margin-left: auto; color: #d6bb69; font-size: 9px; font-weight: 800; letter-spacing: .13em; white-space: nowrap; }
@keyframes stats-loader-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
@keyframes stats-loader-spin { to { transform: rotate(360deg); } }
@keyframes stats-loader-pulse { 50% { opacity: .55; transform: scale(.8); } }
@keyframes stats-loader-sweep { to { transform: translateX(100%); } }
@media (max-width: 600px) { .stats-loader-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .stats-loading-card.is-loading, .stats-loading-card.is-loading::after, .stats-loader-orbit i { animation: none; } }


@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%, 500px);
  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: #c2d2dc; font-size: 11px; font-weight: 500; 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: 6px; }
.profile-rank {
  display: inline-flex;
  max-width: 100%;
  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: 12px;
  font-weight: 800;
  line-height: 1.2;
}
.profile-rank-name { min-width: 0; display: block; line-height: 1.2; overflow-wrap: anywhere; }
.profile-rank small { display: block; color: #b5c7d2; font-size: 10px; font-weight: 700; letter-spacing: .06em; line-height: 1.2; 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: 600px) {
  .profile-presence { border-radius: 16px; }
  .profile-presence-copy > span { overflow-wrap: anywhere; text-overflow: clip; white-space: normal; }
}

@media (max-width: 420px) {
  .profile-identity { align-items: flex-start; }
  .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: border-color .25s ease, background .25s ease; }
.leaderboard-refresh:hover { border-color: var(--gold); background: #172635; }
.leaderboard-refresh span { display: inline-block; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.leaderboard-refresh:hover span { transform: rotate(35deg); }
.leaderboard-panel.is-loading .leaderboard-refresh span { animation: spin .8s linear infinite; }

.leaderboard-status { min-height: 42px; display: flex; align-items: center; gap: 9px; margin-top: 13px; color: #8fa8b8; font-size: 11px; }
.leaderboard-status.is-error { color: #f3a797; }
.leaderboard-panel.is-loading .leaderboard-podium, .leaderboard-panel.is-loading .leaderboard-table-wrap { opacity: .82; pointer-events: none; transition: opacity .25s ease; }
.leaderboard-podium, .leaderboard-table-wrap { transition: opacity .25s ease; }
.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, .leaderboard-podium-card:focus-visible .podium-open { color: var(--podium-color); opacity: 1; transform: translateX(4px); }

.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 { cursor: pointer; 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, .leaderboard-table tbody tr:focus-within { 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-table tbody tr:hover .leaderboard-row-open, .leaderboard-table tbody tr:focus-within .leaderboard-row-open { 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; }
  .leaderboard-panel.is-loading .leaderboard-refresh span { animation: none; }
}


.stats-bans-main { padding-bottom: 9px; }
.bans-intro { animation: ban-rise .42s cubic-bezier(.22,1,.36,1) both; }
.bans-player-link { min-height: 44px; flex: none; display: inline-flex; align-items: center; gap: 18px; padding: 0 15px 0 17px; border: 1px solid #486276; border-radius: 9px; color: #e8f0f5; background: #111c27; font-size: var(--type-small); font-weight: 700; text-decoration: none; transition: color .38s ease, border-color .38s ease, background-color .38s ease, box-shadow .38s ease, transform .4s cubic-bezier(.22,1,.36,1); }
.bans-player-link:hover, .bans-player-link:focus-visible { color: #f3e4b1; border-color: #ad965b; background: #192b39; box-shadow: 0 7px 18px #0002; transform: translateY(-2px); }
.bans-player-link span:last-child { font-size: 19px; line-height: 1; transition: transform .38s cubic-bezier(.22,1,.36,1); }
.bans-player-link:hover span:last-child, .bans-player-link:focus-visible span:last-child { transform: translate(2px,-2px); }
.ban-lookup-panel { position: relative; width: 100%; padding: clamp(18px, .9vw, 22px) clamp(22px, 1.2vw, 28px); overflow: hidden; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 17px; background: linear-gradient(158deg, #182432, #111a24 72%); box-shadow: var(--shadow); transition: border-color .4s ease, box-shadow .4s ease; }
.ban-lookup-panel:hover { border-color: #3d596d; border-top-color: var(--gold); box-shadow: 0 28px 72px #0006; }
.ban-panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.ban-panel-heading h2 { margin: 0; font-size: var(--type-title); letter-spacing: -.04em; }
.ban-panel-heading > div > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: var(--type-body); line-height: 1.6; }
.ban-panel-source { display: inline-flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid #456578; border-radius: 8px; color: #d4e8f2; background: #0a151f; font-size: 11px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.ban-panel-source i { width: 7px; height: 7px; border-radius: 50%; background: #73df9d; box-shadow: 0 0 0 4px #73df9d1a; animation: ban-source-pulse 3s ease-in-out infinite; }
.ban-search { margin-top: 30px; }
.ban-id-field label, .ban-modes legend { display: block; margin-bottom: 9px; color: #96b2c4; font-size: var(--type-label); font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.ban-search-controls { display: grid; grid-template-columns: minmax(230px, 1fr) 226px 145px; align-items: end; gap: 10px; }
.ban-id-field { min-width: 0; }
.ban-id-field input { display: block; width: 100%; height: 56px; min-width: 0; padding: 0 17px; border: 1px solid #486277; border-radius: 9px; outline: none; color: var(--text); background: #09131d; font-size: var(--type-body); transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease; }
.ban-id-field input::placeholder { color: #6e8899; }
.ban-id-field input:hover { border-color: #7193a8; background: #0c1924; }
.ban-id-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px #f2c84b24; }
.ban-search-controls button { height: 56px; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 15px; border: 1px solid var(--gold); border-radius: 9px; color: #111923; background: var(--gold); font-size: var(--type-small); font-weight: 800; line-height: 1; white-space: nowrap; transition: background-color .34s ease, border-color .34s ease, transform .38s cubic-bezier(.22,1,.36,1), box-shadow .34s ease; }
.ban-search-controls button:hover { border-color: #ffe28a; background-color: #ffe28a; transform: translateY(-2px); box-shadow: 0 10px 22px #f2c84b23; }
.ban-search-controls button:active { transform: translateY(0) scale(.98); box-shadow: 0 3px 10px #f2c84b20; }
.ban-search-controls button:disabled { cursor: wait; opacity: .65; transform: none; box-shadow: none; }
.ban-search-arrow { display: block; flex: none; width: 19px; height: 19px; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.ban-search-controls button:hover .ban-search-arrow { transform: translateX(2px); }
.ban-input-hint { margin: 8px 0 0; color: #9db6c6; font-size: var(--type-small); line-height: 1.55; }
.ban-modes { min-width: 0; margin: 0; padding: 0; border: 0; }
.ban-mode-track { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); height: 56px; padding: 4px; border: 1px solid #486277; border-radius: 9px; background: #09131d; transition: border-color .35s ease, box-shadow .35s ease; }
.ban-mode-track::before { content: ""; position: absolute; z-index: 0; inset: 4px auto 4px 4px; width: calc(50% - 4px); border-radius: 6px; background: var(--gold); box-shadow: 0 3px 14px #f2c84b28; transform: translateX(0); transition: transform .58s cubic-bezier(.22,1,.36,1), box-shadow .35s ease; }
.ban-modes:has(input[value="rp"]:checked) .ban-mode-track::before { transform: translateX(100%); }
.ban-mode-track:hover { border-color: #9d915e; }
.ban-mode-track:has(input:focus-visible) { border-color: var(--gold); box-shadow: 0 0 0 3px #f2c84b24; }
.ban-modes label { position: relative; z-index: 1; display: block; min-width: 0; cursor: pointer; }
.ban-modes input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ban-modes label span { display: grid; width: 100%; height: 100%; place-items: center; border-radius: 6px; color: #adc4d2; font-size: var(--type-small); font-weight: 700; line-height: 1; transition: color .35s ease, background-color .35s ease; }
.ban-modes label:hover input:not(:checked) + span { background: #ffffff0b; }
.ban-modes label:hover span { color: #fff; }
.ban-modes input:checked + span, .ban-modes label:hover input:checked + span { color: #111923; }
.ban-modes input:checked + span { transition-delay: .08s; }
.ban-modes input:focus-visible + span { outline: 2px solid #fff; outline-offset: -4px; }
.ban-status { min-height: 22px; margin: 22px 0 0; color: #9bb1c0; font-size: var(--type-small); }
.ban-status:empty { display: none; }
.ban-status.is-error { color: #f1a597; }
.ban-status.is-success { color: #93d7b2; }
.ban-status.is-partial { color: #f0cf76; }
.ban-guide { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.ban-status:not(:empty) ~ .ban-guide { margin-top: 12px; }
.ban-guide[hidden], .ban-result[hidden] { display: none; }
.ban-guide article { min-width: 0; padding: 24px; border: 1px solid #345165; border-radius: 12px; background: #0d1924a8; animation: ban-fade-in .42s ease-out backwards; transition: border-color .4s ease, background-color .4s ease, transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease; }
.ban-guide article:hover { border-color: #65869a; background: #142635; transform: translateY(-3px); box-shadow: 0 14px 28px #0003; }
.ban-guide article:nth-child(2) { animation-delay: .05s; }
.ban-guide-index { color: var(--gold); font-size: var(--type-label); font-weight: 800; letter-spacing: .15em; }
.ban-guide h3 { margin: 8px 0; font-size: clamp(18px, .55vw + 10px, 21px); }
.ban-guide p { max-width: 50ch; margin: 0; color: var(--muted); font-size: var(--type-body); line-height: 1.7; }
.ban-guide strong { color: #e9f2f7; }
.ban-result { display: grid; gap: 12px; margin-top: 10px; }
.ban-results-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; color: #dcebf2; font-size: var(--type-small); }
.ban-results-heading span { color: #9ab1c0; font-size: var(--type-small); }
.ban-record { padding: clamp(20px, 2.5vw, 32px); border: 1px solid #476579; border-radius: 13px; background: linear-gradient(145deg, #1d2d3d, #101b27 75%); animation: ban-fade-in .42s ease-out backwards; transition: border-color .4s ease, box-shadow .4s ease, transform .4s cubic-bezier(.22,1,.36,1); }
.ban-record:hover { border-color: #7a9aae; box-shadow: 0 18px 38px #0004; transform: translateY(-2px); }
.ban-record.is-active:hover { border-color: #d18c78; }
.ban-record.is-active { border-color: #b76d5c; background: radial-gradient(circle at 100% 0, #b76d5c1b, transparent 38%), linear-gradient(145deg, #25303b, #111b25 75%); }
.ban-record-top { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.ban-record-top h3 { margin: 0; font-size: clamp(27px, 3vw, 39px); letter-spacing: -.04em; }
.ban-record-top h3 span { color: var(--gold); }
.ban-record-state { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid #5b8d75; border-radius: 999px; color: #9be3b8; background: #173022; font-size: var(--type-small); font-weight: 800; white-space: nowrap; }
.ban-record.is-active .ban-record-state { border-color: #c28271; color: #ffb5a2; background: #42221e; }
.ban-record-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ban-record-main { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 12px; margin-top: 22px; }
.ban-reason, .ban-player { min-width: 0; padding: 18px 20px; border: 1px solid #3d5669; border-radius: 10px; background: #0b1621a8; }
.ban-reason > span, .ban-player > span { display: block; color: #85a6ba; font-size: var(--type-label); font-weight: 800; letter-spacing: .13em; line-height: 1.4; }
.ban-reason p { margin: 10px 0 0; overflow-wrap: anywhere; font-size: clamp(17px, .5vw + 11px, 20px); font-weight: 700; line-height: 1.5; }
.ban-player { position: relative; display: block; padding-right: 48px; color: inherit; text-decoration: none; transition: border-color .38s ease, background-color .38s ease, box-shadow .38s ease, transform .4s cubic-bezier(.22,1,.36,1); }
a.ban-player:hover, a.ban-player:focus-visible { border-color: #a68e54; background: #152637; box-shadow: inset 0 0 0 1px #f2c84b12, 0 9px 22px #0002; transform: translateY(-2px); }
.ban-player strong { display: block; margin: 10px 0 2px; overflow-wrap: anywhere; font-size: clamp(17px, .5vw + 11px, 20px); line-height: 1.5; }
.ban-player small { display: block; color: #9bb5c5; font-size: var(--type-small); overflow-wrap: anywhere; }
.ban-player > svg { position: absolute; right: 19px; top: 50%; width: 19px; height: 19px; color: #8fafc0; transform: translate(-2px,-50%); transition: color .35s ease, transform .35s cubic-bezier(.22,1,.36,1); }
a.ban-player:hover > svg, a.ban-player:focus-visible > svg { color: var(--gold); transform: translate(2px,-50%); }
.ban-record-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 25px 0; }
.ban-record-details div { min-width: 0; padding-top: 13px; border-top: 1px solid #ffffff1b; }
.ban-record-details dt { color: #83a0b2; font-size: var(--type-label); font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.ban-record-details dd { margin: 7px 0 0; color: #e7f0f5; font-size: var(--type-body); font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.ban-moderator-field dd a { max-width: 100%; display: inline-flex; align-items: center; gap: 8px; color: #e7f0f5; text-decoration: none; transition: color .35s ease; }
.ban-moderator-field dd a span { min-width: 0; overflow-wrap: anywhere; }
.ban-moderator-field dd a svg { width: 16px; height: 16px; flex: none; color: #92afbf; transition: color .35s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.ban-moderator-field dd a:hover, .ban-moderator-field dd a:focus-visible { color: var(--gold); }
.ban-moderator-field dd a:hover svg, .ban-moderator-field dd a:focus-visible svg { color: var(--gold); transform: translateX(3px); }
.ban-moderator-field dd small { display: block; margin-top: 3px; color: #8fa8b8; font-size: var(--type-small); font-weight: 500; }
.ban-record-actions { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 18px; border-top: 1px solid #ffffff1b; }
.ban-record-actions a { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 9px 14px; border: 1px solid #486477; border-radius: 8px; color: #d5e4ec; background: #0d1a26; font-size: var(--type-small); font-weight: 700; text-decoration: none; animation: ban-action-in .32s cubic-bezier(.22,.61,.36,1) backwards; transition: border-color .38s ease, color .38s ease, background-color .38s ease, transform .4s cubic-bezier(.22,1,.36,1), box-shadow .38s ease; }
.ban-record-actions a:nth-child(2) { animation-delay: .04s; }
.ban-record-actions a:nth-child(3) { animation-delay: .08s; }
.ban-record-actions a:hover, .ban-record-actions a:focus-visible { border-color: var(--gold); color: var(--gold); background: #172838; transform: translateY(-2px); box-shadow: 0 8px 18px #0003; }
.ban-record-actions a:active { transform: translateY(0) scale(.98); box-shadow: none; }
.ban-record-actions a svg { display: block; width: 17px; height: 17px; flex: none; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.ban-record-actions a:hover svg, .ban-record-actions a:focus-visible svg { transform: translate(2px,-2px); }
@keyframes ban-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ban-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ban-action-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ban-source-pulse { 50% { box-shadow: 0 0 0 7px #73df9d00, 0 0 12px #73df9d3d; } }
@media (max-width: 800px) { .bans-intro { align-items: start; flex-direction: column; } .bans-player-link { margin-top: 0; } .ban-record-details { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 680px) { .ban-search-controls { grid-template-columns: minmax(0,1fr) 145px; } .ban-id-field { grid-column: 1 / -1; } }
@media (max-width: 600px) { .stats-nav { flex-wrap: wrap; gap: 4px 12px; } .stats-nav nav { width: 100%; gap: 18px; padding: 3px 0 6px; overflow-x: auto; scrollbar-width: none; } .stats-nav nav::-webkit-scrollbar { display: none; } .stats-nav nav a[href="/staff-panel"] { display: inline-flex; } .ban-lookup-panel { padding: 19px 17px; } .ban-panel-heading { display: block; } .ban-panel-heading h2 { font-size: 22px; } .ban-panel-source { margin-top: 15px; } .ban-id-field input, .ban-mode-track, .ban-search-controls button { height: 51px; } .ban-guide, .ban-record-main { grid-template-columns: 1fr; } .ban-record-details { gap: 16px; } }
@media (max-width: 420px) { .ban-search-controls { grid-template-columns: minmax(0,1fr); } .ban-id-field { grid-column: auto; } .ban-search-controls button { width: 100%; } }
@media (max-width: 400px) { .ban-record-details { grid-template-columns: 1fr; } }



.dialog-ban-lookup { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 11px; border: 1px solid #486477; border-radius: 7px; color: #d6e8f1; background: #132536; font-size: 11px; font-weight: 700; text-decoration: none; transition: color .2s, border-color .2s, transform .2s; }
.dialog-ban-lookup:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.dialog-ban-lookup span { font-size: 16px; line-height: 1; }


.monthly-activity-dialog { width: min(760px, calc(100% - 28px)); max-width: none; max-height: min(88dvh, 900px); margin: auto; padding: 0; overflow: hidden; border: 1px solid #587589; border-radius: 18px; color: var(--text); background: #101b27; box-shadow: 0 35px 100px #000b; }
.monthly-activity-dialog[open] { animation: dialog-in .28s cubic-bezier(.22,1,.36,1) both; }
.monthly-activity-dialog.is-closing { animation: dialog-out .18s ease both; }
.monthly-activity-dialog::backdrop { background: #02080dc9; backdrop-filter: blur(7px); animation: backdrop-in .28s ease both; }
.monthly-activity-dialog.is-closing::backdrop { animation: backdrop-out .18s ease both; }
.monthly-activity-inner { max-height: min(88dvh, 900px); display: flex; flex-direction: column; }
.monthly-activity-dialog .dialog-header { flex: none; }
.monthly-activity-dialog .dialog-header p:last-child { max-width: 52ch; font-size: 12px; line-height: 1.5; }
.monthly-activity-body { min-height: 160px; overflow-y: auto; overscroll-behavior: contain; padding: 22px 28px 13px; scrollbar-width: thin; scrollbar-color: #59778a #101b27; }
.monthly-activity-body .stats-loading-card { margin: 0; }
.monthly-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-bottom: 20px; }
.monthly-summary > div { min-width: 0; display: grid; align-content: center; gap: 5px; min-height: 82px; padding: 12px 15px; border: 1px solid #385368; border-radius: 10px; background: #0c1925; }
.monthly-summary > div:first-child { border-color: #a88a45; background: linear-gradient(145deg,#302c23,#111c27); }
.monthly-summary small { color: #91aabb; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.monthly-summary strong { color: #ecf3f7; font-size: clamp(17px,2vw,23px); line-height: 1.2; }
.monthly-summary > div:first-child strong { color: var(--gold); }
.monthly-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.monthly-heading h3 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.monthly-legend { display: flex; gap: 12px; color: #a8bfcd; font-size: 11px; font-weight: 700; }
.monthly-legend span { display: inline-flex; align-items: center; gap: 6px; }
.monthly-legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
.monthly-legend span:last-child i { background: var(--blue); }
.monthly-months { display: grid; gap: 8px; }
.monthly-month-row { min-width: 0; display: grid; grid-template-columns: 205px minmax(0,1fr) 76px; align-items: center; gap: 15px; padding: 12px 14px; border: 1px solid #344e61; border-radius: 9px; background: #0d1a26; animation: monthly-row-in .45s cubic-bezier(.22,1,.36,1) backwards; animation-delay: calc(var(--row-index) * 45ms); transition: border-color .3s ease, background-color .3s ease; }
.monthly-month-row:hover { border-color: #627f91; background: #152737; }
.monthly-month-label { min-width: 0; display: grid; gap: 6px; }
.monthly-month-label > strong { font-size: 13px; font-weight: 600; }
.monthly-mode-breakdown { display: flex; flex-wrap: wrap; gap: 12px; }
.monthly-mode-value { display: inline-flex; align-items: center; gap: 5px; color: #e0c985; font-size: 12px; font-weight: 500; line-height: 1.35; white-space: nowrap; font-variant-numeric: tabular-nums; }
.monthly-mode-value i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--gold); }
.monthly-mode-value strong { color: #f0e5c7; font-size: 12px; font-weight: 600; }
.monthly-mode-value.is-rp { color: #a8cddd; }
.monthly-mode-value.is-rp i { background: var(--blue); }
.monthly-mode-value.is-rp strong { color: #d3e5ed; }
.monthly-bars { height: 12px; overflow: hidden; border-radius: 999px; background: #263c4b; }
.monthly-bar-fill { width: var(--month-width); min-width: 0; height: 100%; display: flex; overflow: hidden; border-radius: inherit; animation: monthly-bar-grow .75s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--row-index) * 45ms + 120ms); transform-origin: left; }
.monthly-bar-pvp { width: var(--pvp-share); height: 100%; background: linear-gradient(90deg,#d8aa3d,var(--gold)); }
.monthly-bar-rp { flex: 1; height: 100%; background: linear-gradient(90deg,#78b7d6,var(--blue)); }
.monthly-month-total { color: #f1f6f9; font-size: 13px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.monthly-notice { margin: 12px 0 0; color: #98b1c1; font-size: 11px; line-height: 1.6; }
.monthly-notice.is-partial { color: #e9cc7d; }
.monthly-feedback { min-height: 150px; display: grid; align-content: center; justify-items: center; gap: 8px; color: #a9bfcd; text-align: center; }
.monthly-feedback strong { color: #f1f6f9; font-size: 18px; }
.monthly-feedback p { max-width: 48ch; margin: 0; font-size: 12px; line-height: 1.6; }
.monthly-retry { min-height: 37px; margin-top: 6px; padding: 7px 15px; border: 1px solid #a88a45; border-radius: 7px; color: var(--gold); background: #251f17; font-size: 11px; font-weight: 800; transition: border-color .3s ease, background-color .3s ease, transform .3s ease; }
.monthly-retry:hover { border-color: var(--gold); background: #362c1a; transform: translateY(-1px); }
.monthly-activity-footer { flex: none; display: flex; align-items: center; gap: 9px; padding: 10px 28px; border-top: 1px solid #ffffff16; color: #9ab1c0; background: #0d1823; font-size: 11px; line-height: 1.5; }
.monthly-activity-footer svg { display: block; width: 16px; height: 16px; flex: none; color: #8eafc1; transform: translateY(-2px); }
@keyframes monthly-row-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes monthly-bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 600px) {
  .monthly-activity-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 13px; }
  .monthly-activity-inner { max-height: calc(100dvh - 22px); }
  .monthly-activity-dialog .dialog-header { padding: 18px; }
  .monthly-activity-body { padding: 18px 15px 11px; }
  .monthly-summary { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .monthly-summary > div:first-child { grid-column: 1 / -1; }
  .monthly-month-row { grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; padding: 11px 12px; }
  .monthly-bars { grid-column: 1 / -1; grid-row: 2; }
  .monthly-activity-footer { align-items: flex-start; padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .monthly-activity-dialog, .monthly-activity-dialog::backdrop, .monthly-month-row, .monthly-bar-fill { animation: none !important; }
  .monthly-month-row, .monthly-retry { transition: none; }
}


.playtime-card .playtime-toggle [data-playtime-value] { font-size: clamp(38px, 2vw, 46px); }



@media (max-width: 600px) {
.playtime-card .playtime-toggle [data-playtime-value] { font-size: clamp(34px, 9vw, 40px); }
}



@media (min-width: 381px) and (max-width: 900px) {
.hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-metrics > .playtime-card { grid-column: 1 / -1; }
.hero-metrics > .hero-metric:last-child { grid-column: auto; }
}
