: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; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  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: 80px;
  padding: 12px 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;
  text-decoration: none;
}
.stats-brand img { width: 51px; height: 51px; object-fit: contain; }
.stats-brand small {
  display: block;
  margin-top: -3px;
  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 {
  color: #bccbd6;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}
.stats-nav nav a:hover, .stats-nav nav a[aria-current] { color: var(--gold); }
.stats-main { width: min(100% - 48px, 1260px); margin: 0 auto; padding-bottom: 54px; }
.stats-hero {
  min-height: 298px;
  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(35px, 4.8vw, 65px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.053em;
}
.stats-hero h1 em { color: var(--gold); font-style: normal; }
.hero-description {
  max-width: 675px;
  margin: 19px 0 0;
  color: #b6c5d1;
  font-size: 14px;
  line-height: 1.85;
}
.hero-symbol {
  width: 230px;
  height: 177px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #3b6077;
  border-radius: 22px;
  background: linear-gradient(145deg, #223d51, #10202e);
  box-shadow: 0 29px 55px #0006, inset 0 1px #ffffff24;
  transform: rotate(5deg);
  animation: float-mark 7s ease-in-out infinite;
}
.hero-symbol > span {
  color: #e0f4ff;
  font-size: 80px;
  font-weight: 800;
  letter-spacing: -.11em;
  line-height: 1;
  text-shadow: 0 0 36px #4db8f17a;
}
.symbol-dot { color: var(--gold); }
.hero-symbol small { margin-top: 10px; color: #a4c5d7; font-size: 9px; letter-spacing: .1em; }

.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 { align-self: center; padding-left: 20px; color: #9db6c8; font-size: 30px; line-height: 1; }
.search-form input {
  width: 100%;
  min-width: 0;
  padding: 0 15px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 13px;
}
.search-form input::placeholder { color: #899eae; }
.search-form button {
  min-width: 146px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  color: #172028;
  background: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}
.search-form button:hover { background: #ffdb70; }
.search-form button:active { transform: scale(.97); }
.search-form button span { font-size: 20px; font-weight: 400; }
.search-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 16px; }
.search-footer > span:first-child { margin-right: 5px; color: #91a3b1; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.input-chip { padding: 5px 9px; border: 1px solid #ffffff1b; border-radius: 6px; color: #c2cfda; background: #ffffff0b; font-size: 10px; font-weight: 600; }
.content-panel { min-height: 0; margin-top: 22px; overflow: visible; transition: border-color .25s ease; }
.content-panel.is-busy { border-color: #496275; }
.empty-state { max-width: 620px; margin: auto; padding: 32px 22px 36px; text-align: center; animation: rise-in .36s ease both; }
.empty-orbit {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid #4d7187;
  border-radius: 15px;
  color: var(--gold);
  background: #203849;
  transform: rotate(-8deg);
}
.empty-orbit span { font-size: 36px; line-height: 1; 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; }

.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(135px, 1fr) minmax(95px, .6fr) 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 .2s ease, transform .2s ease;
}
.result-row:nth-child(2) { animation-delay: .04s; }
.result-row:nth-child(3) { animation-delay: .08s; }
.result-row:nth-child(4) { animation-delay: .12s; }
.result-row:last-child { border-bottom: 0; }
.result-row:hover, .result-row:focus-visible, .result-row.is-opening { background: #24405591; }
.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-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-detail strong { margin-top: 4px; font-size: 12px; font-weight: 600; }
.row-arrow { color: var(--gold); font-size: 20px; transition: transform .2s ease; }

.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; }
.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:last-child { margin: 7px 0 0; color: #c0d0dc; font-size: 12px; }
.profile-name-block > p:last-child span { margin-right: 8px; color: #86a3b6; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.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 .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.profile-actions a:hover, .copy-id:hover, .back-button:hover { border-color: var(--gold); color: var(--gold); background: #263a45; transform: translateY(-2px); }
.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: 134px; display: flex; flex-direction: column; padding: 19px; border: 1px solid #344b5d; border-radius: 11px; background: #0d1721; }
.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; margin: auto 0 7px; font-size: clamp(18px, 2vw, 27px); letter-spacing: -.035em; line-height: 1.24; }
.hero-metric.featured strong { color: var(--gold); font-size: clamp(25px, 3vw, 37px); }
.hero-metric strong.server-value { font-size: clamp(13px, 1.15vw, 17px); line-height: 1.4; }
.hero-metric small { color: #829aaa; font-size: 10px; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; align-items: start; }
.profile-main { min-width: 0; }
.profile-section { padding: 0 0 29px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.profile-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.section-heading-row { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.section-heading-row > span { display: grid; place-items: center; width: 33px; height: 33px; flex: none; border: 1px solid #546d80; border-radius: 8px; color: var(--gold); background: #233748; font-size: 11px; font-weight: 800; }
.section-heading-row .eyebrow { margin: 0 0 2px; font-size: 9px; }
.section-heading-row h3 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.section-description { margin: -4px 0 17px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.mode-grid, .moderation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mode-card { min-width: 0; padding: 16px; border: 1px solid #344b5d; border-radius: 10px; background: #0d1721; transition: border-color .2s ease, transform .2s ease; }
.mode-card:hover { border-color: #6b8ba0; transform: translateY(-2px); }
.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 { position: relative; min-height: 78px; padding: 15px 16px 12px 61px; border-bottom: 1px solid #344b5d; background: linear-gradient(115deg, #213748, #142330); }
.moderation-mode { position: absolute; top: 17px; left: 15px; width: 35px; height: 35px; 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; }
.moderation-list { display: grid; }
.moderation-row { min-height: 62px; display: flex; align-items: center; gap: 11px; padding: 11px 16px; border-bottom: 1px solid #ffffff12; }
.moderation-row:last-child { border-bottom: 0; }
.moderation-symbol { width: 31px; height: 31px; flex: none; display: grid; place-items: center; border: 1px solid #4a697e; border-radius: 7px; color: #b9d9e9; background: #203a4c; font-size: 11px; font-weight: 800; }
.moderation-row.has-active .moderation-symbol { border-color: #c4796d; color: #ffc5b9; background: #6c393533; }
.moderation-row > div { min-width: 0; }
.moderation-row > div strong, .moderation-row > div small { display: block; }
.moderation-row > div strong { font-size: 11px; }
.moderation-row > div small { margin-top: 2px; color: #8fa6b6; font-size: 9px; }
.moderation-row.has-active > div small { color: #ffb0a4; }
.moderation-row > b { margin-left: auto; font-size: 18px; }
.moderation-history { border-top: 1px solid #344b5d; }
.moderation-history summary { min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 9px 16px; color: #e9d58e; background: #192b38; cursor: pointer; font-size: 10px; font-weight: 800; list-style: none; transition: background .2s ease; }
.moderation-history summary::-webkit-details-marker { display: none; }
.moderation-history summary:hover, .moderation-history[open] summary { background: #243a49; }
.moderation-history summary span { font-size: 17px; font-weight: 400; transition: transform .2s ease; }
.moderation-history[open] summary span { transform: rotate(180deg); }
.moderation-entries { max-height: 360px; overflow-y: auto; padding: 8px; animation: menu-in .2s ease both; }
.moderation-entry { padding: 10px; border-bottom: 1px solid #ffffff18; }
.moderation-entry:last-child { border-bottom: 0; }
.moderation-entry-top { display: flex; align-items: center; gap: 7px; }
.entry-type, .entry-active { padding: 3px 6px; border-radius: 4px; background: #2c4454; color: #d6e6ef; font-size: 9px; font-weight: 800; }
.entry-active { background: #623b39; color: #ffc4b9; }
.moderation-entry time { margin-left: auto; color: #8ca7b8; font-size: 9px; text-align: right; }
.moderation-entry p { margin: 7px 0 0; overflow-wrap: anywhere; color: #f1f5f8; font-size: 10px; line-height: 1.5; }
.moderation-entry small { display: block; margin-top: 5px; color: #8ca7b8; font-size: 9px; line-height: 1.4; }
.moderation-unavailable, .moderation-truncated { margin: 7px 9px; color: var(--muted); font-size: 10px; line-height: 1.5; }

.game-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.game-toolbar > p { margin: 0; color: var(--muted); font-size: 11px; }
.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: 18px; right: 14px; width: 8px; height: 8px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .2s ease; }
.mode-menu[open] .mode-chevron { transform: translateY(4px) 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 .15s ease, color .15s ease; }
.mode-options button:hover, .mode-options button:focus-visible { color: #fff; background: #2b4658; }
.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; }
.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: flex; gap: 11px; align-items: flex-start; color: var(--muted); }
.side-note p { margin: 0; font-size: 10px; line-height: 1.65; }
.note-mark { width: 18px; height: 18px; flex: none; display: grid; place-items: center; border: 1px solid #7794a8; border-radius: 50%; color: #c0d8e5; font-size: 11px; font-weight: 700; }
.profile-bottom { margin-top: 31px; padding-top: 17px; border-top: 1px solid var(--line); }
.back-button { background: #182a39; }
.stats-note { display: flex; align-items: flex-start; gap: 11px; padding: 17px 4px; 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 { 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; }

@keyframes spin { to { transform: rotate(360deg); } }
@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) rotate(5deg); } 50% { transform: translateY(-8px) rotate(5deg); } }

@media (max-width: 1050px) {
  .hero-symbol { width: 180px; height: 145px; }
  .hero-symbol > span { font-size: 63px; }
  .profile-layout { grid-template-columns: minmax(0, 1fr) 235px; gap: 16px; }
  .moderation-grid { grid-template-columns: 1fr; }
  .moderation-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .moderation-row { min-width: 0; border-bottom: 0; border-right: 1px solid #ffffff12; padding: 10px; }
  .moderation-row:last-child { border-right: 0; }
  .moderation-symbol { display: none; }
}
@media (max-width: 800px) {
  .stats-hero { min-height: 0; }
  .hero-symbol { display: none; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .profile-banner { flex-wrap: wrap; }
  .profile-actions { margin-left: 110px; justify-content: flex-start; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .hero-metric:last-child { grid-column: 1 / -1; min-height: 110px; }
  .hero-metric strong.server-value { font-size: 17px; }
  .result-row { grid-template-columns: 48px minmax(0, 1fr) minmax(100px, .5fr) 18px; gap: 12px; }
  .result-detail:nth-of-type(3) { display: none; }
}
@media (max-width: 600px) {
  .stats-nav { min-height: 68px; padding: 9px 16px; }
  .stats-brand { gap: 8px; font-size: 12px; }
  .stats-brand img { width: 42px; height: 42px; }
  .stats-nav nav { gap: 12px; }
  .stats-nav nav a { font-size: 10px; }
  .stats-nav nav a:nth-child(3) { display: none; }
  .stats-main { width: min(100% - 30px, 1260px); padding-bottom: 35px; }
  .stats-hero { padding: 38px 0 33px; }
  .stats-hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero-description { font-size: 12px; line-height: 1.7; }
  .search-panel { padding: 19px 17px; }
  .panel-heading h2 { margin-bottom: 15px; font-size: 22px; }
  .panel-kicker { display: none; }
  .search-form { display: grid; gap: 9px; overflow: visible; border: 0; background: none; }
  .search-icon { display: none; }
  .search-form input { height: 51px; border: 1px solid #466075; border-radius: 7px; background: #09121c; }
  .search-form button { min-height: 47px; border-radius: 7px; }
  .empty-state { padding: 29px 18px 33px; }
  .state-box { padding: 27px 17px; }
  .section-bar { align-items: start; flex-direction: column; gap: 3px; padding: 18px; }
  .section-bar h2 { font-size: 20px; }
  .result-row { min-height: 73px; grid-template-columns: 42px minmax(0, 1fr) 18px; padding: 10px 16px; }
  .result-avatar { width: 40px; height: 40px; }
  .result-detail { display: none; }
  .profile-banner { padding: 23px 18px; gap: 15px; }
  .profile-identity { gap: 13px; }
  .profile-avatar { width: 64px; height: 64px; border-radius: 14px; }
  .profile-name-block h2 { font-size: 25px; }
  .profile-name-block .eyebrow { font-size: 8px; }
  .profile-actions { width: 100%; margin: 0; }
  .profile-body { padding: 23px 17px; }
  .profile-source { display: none; }
  .hero-metrics { gap: 8px; margin: 19px 0 29px; }
  .hero-metric { min-height: 119px; padding: 13px; }
  .hero-metric strong { font-size: 15px; }
  .hero-metric.featured strong { font-size: 25px; }
  .mode-grid, .profile-sidebar { grid-template-columns: 1fr; }
  .moderation-list { grid-template-columns: 1fr 1fr 1fr; }
  .moderation-row { display: block; text-align: center; }
  .moderation-row > b { display: block; margin: 7px 0 0; }
  .game-toolbar { align-items: stretch; flex-direction: column; }
  .mode-menu { width: 100%; }
  .mode-options { width: 100%; }
  .combat-grid { grid-template-columns: 1fr 1fr; }
  .ranking-strip { grid-template-columns: 1fr; gap: 6px; }
  .ranking-strip > div { min-height: 42px; }
  .activity-grid { grid-template-columns: 1fr 1fr; }
  .activity-grid > div:nth-child(3n) { border-right: 1px solid #ffffff13; }
  .activity-grid > div:nth-child(2n) { border-right: 0; }
  .activity-grid > div:nth-last-child(-n + 3) { border-bottom: 1px solid #ffffff13; }
  .activity-grid > div:last-child { border-bottom: 0; }
  .stats-footer { padding: 19px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
