:root {
  --bg: #08090b;
  --panel: #12151b;
  --panel-2: #171b23;
  --panel-3: #1c212b;
  --line: rgba(255,255,255,.09);
  --text: #f5f6f8;
  --muted: #9ba3b1;
  --muted-2: #697382;
  --red: #ef302b;
  --red-2: #ff5149;
  --red-dark: #951b1b;
  --green: #36d28a;
  --amber: #ffbd55;
  --shadow: 0 20px 55px rgba(0,0,0,.32);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--text); background: radial-gradient(ellipse at 50% -25%, rgba(115,17,17,.20), transparent 48%), var(--bg); font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif; font-size: 14px; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
.page-noise { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E"); }
.wrap { width: min(1200px, calc(100% - 44px)); margin-inline: auto; }
.topbar { height: 78px; position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 34px; padding: 0 max(22px, calc((100vw - 1200px)/2)); background: rgba(8,9,11,.91); border-bottom: 1px solid rgba(239,48,43,.26); box-shadow: 0 8px 35px rgba(0,0,0,.28); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: white; font-family: 'Barlow Condensed', sans-serif; font-size: 30px; font-weight: 900; line-height: 1; background: linear-gradient(145deg, #ff5149, #c9151b); box-shadow: 0 7px 22px rgba(239,48,43,.25), inset 0 1px 0 rgba(255,255,255,.26); }
.brand-copy { display: flex; flex-direction: column; gap: 2px; letter-spacing: .08em; }
.brand-copy strong { font-size: 17px; font-weight: 800; letter-spacing: .045em; }
.brand-copy small { color: #9ca3af; font-size: 8px; font-weight: 700; letter-spacing: .25em; }
.main-nav { display: flex; height: 100%; align-items: center; gap: 5px; margin-left: 12px; }
.main-nav a { position: relative; display: inline-flex; align-items: center; height: 100%; padding: 0 16px; color: #b9c0ca; font-size: 12px; font-weight: 750; letter-spacing: .025em; transition: color .2s ease; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active::after { content: ''; position: absolute; height: 2px; left: 13px; right: 13px; bottom: 0; background: var(--red); box-shadow: 0 0 13px var(--red); }
.topbar-right { display: flex; align-items: center; gap: 22px; margin-left: auto; white-space: nowrap; }
.api-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 30px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.api-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 11px currentColor; }
.api-status.online { color: var(--green); border-color: rgba(54,210,138,.22); }
.api-status.online i { background: var(--green); }
.api-status.offline { color: #ff6767; border-color: rgba(255,103,103,.22); }
.api-status.offline i { background: #ff6767; }
.home-link { color: #e6e8ec; font-size: 11px; font-weight: 700; }
.home-link span { color: var(--red-2); padding-left: 4px; }
.mobile-menu { display: none; color: white; background: transparent; border: 0; font-size: 23px; cursor: pointer; }
.hero { position: relative; min-height: 320px; overflow: hidden; margin-top: 22px; border: 1px solid rgba(239,48,43,.35); border-radius: 18px; background: #09090a; box-shadow: var(--shadow); isolation: isolate; }
.hero-image, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-image { background-image: url('assets/balkanium-hero-red.jpg'); background-size: cover; background-position: center 48%; opacity: .70; }
.hero-shade { background: linear-gradient(90deg, rgba(5,5,6,.94) 0%, rgba(5,5,6,.76) 42%, rgba(5,5,6,.20) 100%), linear-gradient(0deg, rgba(5,5,6,.45), transparent 65%); }
.hero-content { max-width: 660px; padding: 57px 56px 52px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #ff6a63; font-size: 9px; font-weight: 850; letter-spacing: .22em; }
.eyebrow span { width: 17px; height: 2px; background: var(--red); box-shadow: 0 0 10px var(--red); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 13px 0 7px; font-family: 'Barlow Condensed', Impact, sans-serif; font-size: clamp(48px, 6vw, 75px); font-weight: 900; letter-spacing: .005em; line-height: .93; text-shadow: 0 3px 35px rgba(0,0,0,.6); }
.hero h1 em, h2 em { color: var(--red-2); font-style: normal; }
.hero p { max-width: 480px; margin: 13px 0 24px; color: #c9cdd4; font-size: 13px; line-height: 1.65; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 42px; padding: 0 17px; border-radius: 8px; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, filter .2s ease; }
.button:hover { transform: translateY(-2px); filter: brightness(1.12); }
.button-red { color: #fff; background: linear-gradient(135deg, #fa4039, #b51016); box-shadow: 0 8px 22px rgba(239,48,43,.2); }
.button-red b { font-size: 16px; }
.button-ghost { border: 1px solid rgba(255,255,255,.25); background: rgba(10,10,12,.48); color: #fff; }
.hero-stamp { position: absolute; right: 26px; bottom: 24px; display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.6); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.hero-stamp strong { color: white; }
.overview-section { padding-top: 44px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 19px; }
.section-heading h2 { margin: 8px 0 0; font-family: 'Barlow Condensed', Impact, sans-serif; font-size: 34px; font-weight: 800; letter-spacing: .035em; line-height: 1; }
.updated-label { color: var(--muted-2); font-size: 10px; font-weight: 650; }
.metric-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.metric-card { min-height: 126px; padding: 18px 19px 15px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, rgba(25,29,38,.96), rgba(16,18,24,.96)); box-shadow: 0 10px 27px rgba(0,0,0,.13); }
.metric-card-red { border-color: rgba(239,48,43,.30); background: linear-gradient(145deg, rgba(75,21,25,.45), rgba(19,20,26,.97)); }
.metric-label { display: flex; align-items: center; justify-content: space-between; color: #a8b0bc; font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.metric-icon { color: var(--red-2); font-size: 16px; }
.pulse-icon { color: var(--green); font-size: 12px; text-shadow: 0 0 12px var(--green); }
.metric-value { margin: 11px 0 3px; font-family: 'Barlow Condensed', Impact, sans-serif; font-size: 38px; font-weight: 800; line-height: .98; letter-spacing: .015em; }
.metric-note { color: #727c8a; font-size: 9px; }
.server-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 13px; }
.server-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 12px; background: rgba(18,21,27,.9); }
.server-card-main { min-width: 0; }
.server-title-row { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.server-title { font-size: 12px; font-weight: 800; }
.server-state { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 8px; font-weight: 850; letter-spacing: .1em; }
.server-state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.server-state.offline { color: #ff6666; }
.server-map { color: #8b95a4; font-size: 10px; }
.server-count { flex: 0 0 auto; text-align: right; font-family: 'Barlow Condensed', sans-serif; font-size: 27px; font-weight: 800; }
.server-count small { display: block; color: #77808d; font-family: Inter, sans-serif; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.server-loading { display: block; }
.skeleton-line { width: 45%; height: 11px; margin: 3px 0 12px; border-radius: 5px; background: #252a34; animation: shimmer 1.4s infinite; }
.skeleton-line.short { width: 25%; height: 8px; }
@keyframes shimmer { 50% { opacity: .45; } }
.ratio-explainer { margin: 10px 2px 0; color: #78818f; font-size: 9px; line-height: 1.55; }
.ratio-explainer strong { color: #aeb5c0; }
.section-block { padding-top: 52px; }
.select-wrap { display: flex; align-items: center; gap: 11px; color: #7d8795; font-size: 8px; font-weight: 850; letter-spacing: .13em; }
.select-wrap select { min-width: 185px; padding: 10px 30px 10px 12px; border: 1px solid var(--line); border-radius: 7px; color: #e9edf2; background: #171b23; font-size: 10px; font-weight: 700; letter-spacing: 0; outline: none; }
.table-shell { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, rgba(20,23,30,.97), rgba(14,16,21,.97)); box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; text-align: left; }
.data-table th { padding: 14px 15px; border-bottom: 1px solid rgba(255,255,255,.09); color: #778291; font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.data-table td { padding: 13px 15px; border-bottom: 1px solid rgba(255,255,255,.055); color: #cbd0d8; font-size: 10px; font-weight: 550; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(239,48,43,.055); }
.rank-cell { width: 42px; color: #7e8794 !important; font-family: 'Barlow Condensed', sans-serif; font-size: 17px !important; font-weight: 800 !important; }
.rank-cell.top-rank { color: var(--red-2) !important; }
.player-cell { display: flex; align-items: center; gap: 9px; min-width: 150px; }
.player-avatar { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(239,48,43,.25); border-radius: 8px; color: #ffaaa5; background: linear-gradient(145deg, #3a171b, #17171c); font-size: 10px; font-weight: 900; }
.player-name-button { max-width: 190px; overflow: hidden; padding: 0; border: 0; background: none; color: #f0f2f5; font-size: 10px; font-weight: 800; text-overflow: ellipsis; cursor: pointer; }
.player-name-button:hover { color: var(--red-2); }
.steam-mini { display: block; margin-top: 3px; color: #697381; font-size: 8px; font-weight: 500; }
.ratio-pill { display: inline-flex; align-items: center; min-width: 57px; justify-content: center; padding: 5px 7px; border: 1px solid rgba(239,48,43,.18); border-radius: 6px; color: #ff8a83; background: rgba(239,48,43,.08); font-size: 9px; font-weight: 850; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; color: #87909d; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #626a76; }
.status-pill.online { color: var(--green); }
.status-pill.online::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
.empty-cell { padding: 30px 16px !important; color: #828c99 !important; text-align: center; }
.table-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 3px 0; color: #75808e; font-size: 9px; }
.table-foot a { color: #ff7770; font-weight: 800; }
.table-foot a b { padding-left: 5px; }
.foot-muted { color: #5f6875; }
.search-box { display: flex; align-items: center; gap: 7px; width: min(350px, 100%); padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #151920; }
.search-box > span { color: #ff7770; font-size: 21px; }
.search-box input { width: 100%; height: 39px; border: 0; outline: 0; color: #f3f4f6; background: transparent; font-size: 10px; }
.search-box input::placeholder { color: #67717e; }
.search-box button { border: 0; color: #8d96a3; background: transparent; font-size: 19px; cursor: pointer; }
.count-chip { padding: 8px 11px; border: 1px solid rgba(239,48,43,.22); border-radius: 6px; color: #ff827b; background: rgba(239,48,43,.07); font-size: 8px; font-weight: 850; letter-spacing: .1em; }
.bans-table td { max-width: 250px; overflow: hidden; text-overflow: ellipsis; }
.footer { margin-top: 70px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(5,6,8,.72); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 90px; }
.footer-brand .brand-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 23px; }
.footer-brand .brand-copy strong { font-size: 13px; }
.footer-brand .brand-copy small { font-size: 7px; }
.footer-inner > span, .footer-inner > a:last-child { color: #727c89; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.footer-inner > a:last-child { color: #ff7770; }
.modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 22px; background: rgba(0,0,0,.78); backdrop-filter: blur(9px); }
.modal-backdrop[hidden] { display: none; }
.profile-modal { position: relative; width: min(740px, 100%); max-height: min(88vh, 820px); overflow: auto; padding: 27px; border: 1px solid rgba(239,48,43,.33); border-radius: 16px; background: linear-gradient(145deg, #1a1d25, #0d0f14); box-shadow: 0 25px 80px rgba(0,0,0,.6); }
.modal-close { position: absolute; top: 14px; right: 16px; width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 8px; color: #cbd1d8; background: #20242d; font-size: 22px; cursor: pointer; }
.profile-kicker { margin-bottom: 15px; color: #ff716a; font-size: 8px; font-weight: 850; letter-spacing: .2em; }
.profile-top { display: flex; align-items: center; gap: 14px; }
.profile-avatar { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(239,48,43,.4); border-radius: 14px; color: white; background: linear-gradient(145deg, #f13b34, #6a1218); font-family: 'Barlow Condensed', sans-serif; font-size: 35px; font-weight: 900; }
.profile-top h2 { margin: 0 0 5px; font-family: 'Barlow Condensed', sans-serif; font-size: 33px; line-height: 1; }
.profile-steam { color: #77818f; font-size: 9px; }
.profile-ratio { margin: 22px 0 17px; padding: 15px; border: 1px solid rgba(239,48,43,.22); border-radius: 10px; background: rgba(239,48,43,.055); }
.profile-ratio > div:first-child { display: flex; align-items: baseline; justify-content: space-between; }
.profile-ratio small { color: #a7b0bc; font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.profile-ratio strong { color: #ff756e; font-family: 'Barlow Condensed', sans-serif; font-size: 31px; }
.ratio-track { height: 6px; overflow: hidden; margin-top: 7px; border-radius: 20px; background: #2b3039; }
.ratio-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9a161a, #ff5149); transition: width .35s ease; }
.profile-ratio p { margin: 8px 0 0; color: #7e8997; font-size: 8px; line-height: 1.45; }
.profile-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.profile-stat { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.025); }
.profile-stat strong { display: block; margin-bottom: 4px; color: #f4f5f7; font-family: 'Barlow Condensed', sans-serif; font-size: 24px; }
.profile-stat span { color: #83909e; font-size: 8px; font-weight: 750; letter-spacing: .08em; }
.profile-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0 0; padding-bottom: 0; border-bottom: 1px solid var(--line); }
.profile-tab { position: relative; min-height: 43px; padding: 11px 12px; border: 1px solid #303641; border-bottom: 0; border-radius: 9px 9px 0 0; color: #9ba4b1; background: #141821; font-size: 10px; font-weight: 950; letter-spacing: .09em; cursor: pointer; }
.profile-tab span { color: #8a94a2; }
.profile-tab:hover { color: #fff; border-color: #673039; }
.profile-tab.active { color: #fff; border-color: #7d2b34; background: linear-gradient(180deg, #451a22, #21151a); }
.profile-tab.active::after { content: ''; position: absolute; right: 12px; bottom: -1px; left: 12px; height: 3px; border-radius: 4px; background: var(--red); box-shadow: 0 0 10px rgba(239,48,43,.55); }
.profile-panel { padding-top: 20px; }
.profile-panel[hidden] { display: none; }
.profile-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.profile-panel-heading > div { display: flex; flex-direction: column; gap: 5px; }
.profile-panel-heading strong, .profile-subheading { color: #d8dce3; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.profile-panel-heading small { color: #7e8997; font-size: 9px; }
.profile-side-tag { padding: 7px 9px; border: 1px solid rgba(239,48,43,.24); border-radius: 20px; color: #ff8b84; background: rgba(239,48,43,.08); font-size: 7px; font-weight: 900; letter-spacing: .1em; white-space: nowrap; }
.profile-ratio { margin: 0 0 13px; }
.profile-subheading { display: flex; align-items: center; gap: 8px; margin: 21px 0 11px; }
.profile-subheading::before { content: ''; width: 3px; height: 12px; border-radius: 3px; background: var(--red); }
.profile-stat-grid-compact .profile-stat strong { font-size: 21px; }
.profile-note { margin: 13px 1px 0; color: #7e8997; font-size: 8px; line-height: 1.6; }
.infected-total { display: flex; align-items: center; gap: 16px; padding: 17px; border: 1px solid rgba(239,48,43,.29); border-radius: 11px; background: linear-gradient(110deg, rgba(65,22,29,.75), rgba(20,21,28,.92)); }
.infected-total-value { color: #ff6964; font-family: 'Barlow Condensed', sans-serif; font-size: 39px; font-weight: 900; line-height: 1; }
.infected-total strong { color: #e8eaf0; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.infected-total p { margin: 5px 0 0; color: #929cab; font-size: 8px; line-height: 1.5; }
.profile-class-list { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.profile-class-row { display: grid; grid-template-columns: 105px minmax(60px, 1fr) 38px; align-items: center; gap: 12px; padding: 11px 13px; border-bottom: 1px solid rgba(255,255,255,.055); background: rgba(255,255,255,.018); }
.profile-class-row:last-child { border-bottom: 0; }
.profile-class-name { color: #dfe3e9; font-size: 9px; font-weight: 850; }
.profile-class-bar { height: 6px; overflow: hidden; border-radius: 10px; background: #292e38; }
.profile-class-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9a161a, #ff5149); }
.profile-class-value { color: #f0f2f5; text-align: right; font-size: 10px; font-weight: 900; }
.profile-meta { margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); color: #77818e; font-size: 9px; line-height: 1.8; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 90; max-width: min(420px, calc(100% - 44px)); padding: 12px 15px; border: 1px solid rgba(239,48,43,.28); border-radius: 9px; color: #f4f5f7; background: #1b1e26; box-shadow: var(--shadow); font-size: 10px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) {
  .topbar { gap: 14px; padding-inline: 20px; }
  .main-nav { margin-left: 0; }
  .main-nav a { padding-inline: 10px; font-size: 10px; }
  .home-link { display: none; }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .wrap { width: min(100% - 28px, 1200px); }
  .topbar { height: 66px; padding-inline: 14px; }
  .brand-mark { width: 36px; height: 36px; font-size: 26px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 7px; }
  .mobile-menu { display: block; margin-left: auto; }
  .main-nav { position: absolute; display: none; top: 65px; left: 0; right: 0; height: auto; padding: 9px 14px 13px; flex-direction: column; align-items: stretch; border-bottom: 1px solid rgba(239,48,43,.25); background: rgba(8,9,11,.98); }
  .main-nav.open { display: flex; }
  .main-nav a { height: 39px; padding-inline: 12px; }
  .main-nav a.active::after { left: 0; right: auto; top: 9px; bottom: 9px; width: 2px; height: auto; }
  .topbar-right { margin-left: 0; }
  .api-status { padding: 7px 8px; font-size: 7px; }
  .hero { min-height: 335px; margin-top: 14px; }
  .hero-image { background-position: 53% center; opacity: .55; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,5,6,.92), rgba(5,5,6,.54)), linear-gradient(0deg, rgba(5,5,6,.4), transparent); }
  .hero-content { padding: 42px 23px; }
  .hero h1 { font-size: 53px; }
  .hero p { max-width: 300px; font-size: 11px; }
  .hero-stamp { right: 15px; bottom: 14px; }
  .section-heading { align-items: start; flex-direction: column; gap: 13px; }
  .section-heading h2 { font-size: 31px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .metric-card { min-height: 112px; padding: 14px; }
  .metric-value { font-size: 33px; }
  .section-block { padding-top: 40px; }
  .select-wrap { width: 100%; justify-content: space-between; }
  .select-wrap select { min-width: 0; flex: 1; }
  .search-box { width: 100%; }
  .table-foot { align-items: start; flex-direction: column; }
  .footer-inner { min-height: 112px; flex-wrap: wrap; padding-block: 17px; }
  .footer-inner > span { order: 3; width: 100%; }
  .profile-modal { padding: 20px 16px; max-height: 90vh; }
  .profile-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-tab { padding-inline: 5px; font-size: 8px; letter-spacing: .045em; }
  .profile-panel-heading { align-items: flex-start; }
  .profile-side-tag { font-size: 6px; padding: 6px 7px; }
  .profile-class-row { grid-template-columns: 78px minmax(40px, 1fr) 30px; gap: 8px; padding-inline: 10px; }
}

.players-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:7px; padding:16px 0 0; }
.players-pagination button { min-width:34px; height:34px; padding:0 10px; border:1px solid var(--line); border-radius:7px; color:#b9c1cc; background:#151920; font-size:10px; font-weight:800; cursor:pointer; transition:.18s ease; }
.players-pagination button:hover:not(:disabled), .players-pagination button.active { border-color:rgba(239,48,43,.55); color:#fff; background:rgba(239,48,43,.16); }
.players-pagination button:disabled { opacity:.35; cursor:not-allowed; }
.players-pagination .page-ellipsis { padding:0 3px; color:#77818e; font-size:11px; }
.players-pagination:empty { display:none; }
@media (max-width:700px) { .players-pagination { gap:5px; } .players-pagination button { min-width:31px; height:32px; padding:0 8px; } }

/* Clickable online metric and live online-player dialog */
.metric-card-clickable { cursor:pointer; transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.metric-card-clickable:hover, .metric-card-clickable:focus-visible { border-color:rgba(39,211,145,.55); transform:translateY(-2px); box-shadow:0 12px 30px rgba(0,0,0,.24); outline:none; }
.online-modal { position:relative; width:min(620px,100%); max-height:min(84vh,760px); overflow:auto; padding:27px; border:1px solid rgba(39,211,145,.32); border-radius:16px; background:linear-gradient(145deg,#1a1d25,#0d0f14); box-shadow:0 25px 80px rgba(0,0,0,.6); }
.online-modal-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:0 0 17px; padding-right:42px; }
.online-modal-heading h2 { margin:0; color:#f4f5f7; font-family:'Barlow Condensed',sans-serif; font-size:32px; line-height:1; }
.online-modal-heading p { margin:6px 0 0; color:#8994a2; font-size:10px; }
.online-refresh { flex:0 0 auto; padding:9px 12px; border:1px solid rgba(39,211,145,.3); border-radius:7px; color:#6be0b1; background:rgba(39,211,145,.07); font-size:9px; font-weight:900; cursor:pointer; }
.online-player-list { display:grid; gap:7px; }
.online-player-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px; border:1px solid var(--line); border-radius:9px; background:rgba(255,255,255,.025); }
.online-player-main { display:flex; align-items:center; gap:10px; min-width:0; }
.online-dot { width:8px; height:8px; flex:0 0 auto; border-radius:50%; background:#32d99a; box-shadow:0 0 10px rgba(50,217,154,.55); }
.online-player-id { display:flex; flex-direction:column; gap:3px; min-width:0; }
.online-player-id small { color:#7e8997; font-size:8px; }
.online-player-id button { max-width:100%; overflow:hidden; padding:0; border:0; color:#f0f2f5; background:none; font-size:11px; font-weight:850; text-align:left; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; }
.online-player-id button:hover { color:#ff7770; }
.online-team { flex:0 0 auto; color:#8c98a6; font-size:8px; font-weight:850; letter-spacing:.08em; }
@media(max-width:520px) { .online-modal { padding:22px 15px; } .online-modal-heading { align-items:flex-start; flex-direction:column; } .online-refresh { align-self:flex-start; } }


/* Clickable community headshot ratio and all-time Top 10 dialog */
.headshot-ratio-card { border-color: rgba(239,48,43,.28); }
.headshot-ratio-card:hover, .headshot-ratio-card:focus-visible { border-color: rgba(239,48,43,.7); box-shadow: 0 12px 30px rgba(0,0,0,.26), 0 0 0 1px rgba(239,48,43,.12); }
.headshot-modal { position:relative; width:min(920px,100%); max-height:min(88vh,820px); overflow:auto; padding:27px; border:1px solid rgba(239,48,43,.36); border-radius:16px; background:linear-gradient(145deg,#1a1d25,#0d0f14); box-shadow:0 25px 80px rgba(0,0,0,.6); }
.headshot-modal-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin:0 0 17px; padding-right:42px; }
.headshot-modal-heading h2 { margin:0; color:#f4f5f7; font-family:'Barlow Condensed',sans-serif; font-size:34px; line-height:1; }
.headshot-modal-heading p { margin:7px 0 0; color:#929cab; font-size:10px; }
.headshot-table-shell { margin-top:14px; }
.headshot-top-table { min-width:680px; }
.headshot-modal-note { margin:13px 1px 0; color:#7e8997; font-size:9px; line-height:1.6; }
@media(max-width:700px) { .headshot-modal { padding:22px 15px; max-height:90vh; } .headshot-modal-heading h2 { font-size:29px; } }
