@import url("https://fonts.googleapis.com/css2?family=Oxanium:wght@500;700;800&family=Rajdhani:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --bg-deep: #060b10;
  --bg-mid: #0d1924;
  --bg-ridge: #162534;
  --steel-1: #182736;
  --steel-2: #22384d;
  --steel-3: #2f4d66;
  --line: #466985;
  --line-soft: #334f66;
  --text: #e7f8ff;
  --text-soft: #a8c2d6;
  --teal: #5ce0c9;
  --amber: #ffc36d;
  --danger: #ff8f6b;
  --glow-cyan: #6bc7ff;
  --glow-amber: #ffcf87;
  --ark-glass: #07384a99;
  --ark-glass-strong: #0a596dcc;
  --ark-slot: #072638d9;
  --ark-slot-lit: #0b7286d9;
  --ark-line: #18b8d8;
  --ark-line-soft: #126b84;
  --ark-shadow: #001018cc;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(120deg, #ffffff08 0 1px, transparent 1px 160px),
    linear-gradient(60deg, #ffffff06 0 1px, transparent 1px 160px),
    radial-gradient(circle at 12% 10%, #0b6f8066 0%, transparent 38%),
    radial-gradient(circle at 84% 14%, #82602533 0%, transparent 30%),
    linear-gradient(148deg, #031018 0%, #092837 48%, #04151f 100%);
  position: relative;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.78;
  background:
    linear-gradient(30deg, #18b8d812 12%, transparent 12.5%, transparent 87%, #18b8d812 87.5%),
    linear-gradient(150deg, #18b8d812 12%, transparent 12.5%, transparent 87%, #18b8d812 87.5%),
    linear-gradient(30deg, #18b8d812 12%, transparent 12.5%, transparent 87%, #18b8d812 87.5%),
    linear-gradient(150deg, #18b8d812 12%, transparent 12.5%, transparent 87%, #18b8d812 87.5%),
    linear-gradient(90deg, #139bb40d 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #ffffff09 0 1px, transparent 1px 4px);
  background-position: 0 0, 0 0, 46px 80px, 46px 80px, 0 0, 0 0;
  background-size: 92px 160px, 92px 160px, 92px 160px, 92px 160px, 48px 48px, 100% 4px;
}

.layout {
  width: min(1480px, 94vw);
  margin: 58px auto 42px;
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
  padding: 14px 16px 12px;
  border: 1px solid var(--ark-line);
  background:
    linear-gradient(90deg, #0b5a6d66 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #ffffff10 0 1px, transparent 1px 6px),
    linear-gradient(145deg, #082d3ddd 0%, #061a27e6 100%);
  background-size: 34px 100%, 100% 6px, 100% 100%;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  box-shadow: inset 0 0 0 1px #9eefff22, 0 14px 36px var(--ark-shadow);
  animation: rise-in 420ms ease-out;
}

.hud-tabs {
  position: absolute;
  top: -44px;
  left: 0;
  display: flex;
  gap: 7px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.hud-tab {
  width: 42px;
  min-width: 42px;
  height: 38px;
  border: 1px solid var(--ark-line);
  color: #bff6ff;
  background:
    linear-gradient(145deg, #0d6071cc 0%, #06293acc 100%),
    linear-gradient(180deg, #ffffff18 0 1px, transparent 1px 100%);
  box-shadow: inset 0 0 0 1px #c1f6ff24, 0 0 18px #13b5d43b;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
  position: relative;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.hud-tab:hover,
.hud-tab:focus-visible {
  background: linear-gradient(145deg, #12a2b8cc 0%, #073449d9 100%);
  outline: 0;
  transform: translateY(-1px);
}

.tab-label {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  color: #e8fbff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transition: opacity 120ms ease;
}

.hud-tab:hover .tab-label,
.hud-tab:focus-visible .tab-label {
  opacity: 1;
}

.tab-glyph {
  position: relative;
  width: 20px;
  height: 20px;
  display: block;
}

.tab-glyph::before,
.tab-glyph::after {
  content: "";
  position: absolute;
  border-color: currentColor;
}

.tab-glyph-status::before {
  inset: 3px;
  border: 1px solid currentColor;
  border-right-color: transparent;
}

.tab-glyph-watch::before {
  width: 8px;
  height: 8px;
  left: 6px;
  top: 2px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -7px 8px 0 -1px currentColor, 7px 8px 0 -1px currentColor;
}

.tab-glyph-roles::before {
  inset: 2px;
  background:
    linear-gradient(currentColor 0 3px, transparent 3px 6px),
    linear-gradient(currentColor 0 3px, transparent 3px 6px),
    linear-gradient(currentColor 0 3px, transparent 3px 6px);
  background-position: 0 0, 0 7px, 0 14px;
  background-size: 20px 6px;
}

.tab-glyph-time::before {
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.tab-glyph-time::after {
  left: 10px;
  top: 5px;
  width: 6px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.tab-glyph-events::before {
  inset: 3px;
  border-left: 3px solid currentColor;
  box-shadow: 6px 0 0 currentColor, 12px 0 0 currentColor;
}

.tab-glyph-analytics::before {
  left: 3px;
  bottom: 3px;
  width: 3px;
  height: 8px;
  background: currentColor;
  box-shadow: 6px -5px 0 currentColor, 12px -10px 0 currentColor;
}

.tab-glyph-live::before {
  inset: 6px;
  border-radius: 50%;
  background: #8afad7;
  box-shadow: 0 0 12px #8afad7;
}

.eyebrow {
  margin: 0 0 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  color: var(--amber);
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Oxanium", "Rajdhani", sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 14px #6bc7ff35;
}

.hero-meta {
  text-align: right;
}

#last-refresh {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
}

button {
  border: 1px solid var(--ark-line);
  border-radius: 2px;
  background:
    linear-gradient(90deg, #ffffff12 0 1px, transparent 1px 100%),
    linear-gradient(132deg, #0a5366 0%, #0f7890 48%, #08384e 100%);
  background-size: 9px 100%, 100% 100%;
  color: #f2fbff;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 8px 14px;
  cursor: pointer;
  transition: transform 120ms ease, filter 120ms ease, border-color 120ms ease;
  box-shadow: inset 0 0 0 1px #c1f8ff24, 0 0 12px #10bdd733;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  border-color: #b9d8ec;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.metric-card {
  position: relative;
  border: 1px solid var(--ark-line-soft);
  border-radius: 2px;
  padding: 10px;
  background:
    linear-gradient(90deg, #10c7e424 0 4px, transparent 4px 100%),
    linear-gradient(150deg, #093346d9 0%, #061b2bd9 82%);
  box-shadow: inset 0 0 0 1px #9eefff17, 0 7px 18px #00101766;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.metric-card h3 {
  margin: 0;
  color: #b9eef8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.metric-value {
  margin: 4px 0 0;
  color: #e9fbff;
  font-family: "Oxanium", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-shadow: 0 0 10px #5be4ff55;
}

.grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 10px;
}

.panel {
  position: relative;
  scroll-margin-top: 58px;
  border: 1px solid var(--ark-line);
  border-radius: 2px;
  padding: 12px;
  background:
    linear-gradient(90deg, #0ba9c51f 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #ffffff10 0 1px, transparent 1px 6px),
    linear-gradient(145deg, #073145db 0%, #061a29e8 100%);
  background-size: 36px 100%, 100% 6px, 100% 100%;
  box-shadow: inset 0 0 0 1px #c7f8ff1c, 0 10px 26px #0010178a;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  animation: rise-in 480ms ease-out both;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ark-line) 0%, #9cf8ff 44%, var(--amber) 72%, transparent 100%);
  opacity: 0.86;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, transparent 0 74%, #8ed8ff13 74% 75%, transparent 75% 100%),
    radial-gradient(circle at 92% 18%, #1bd1f024 0%, transparent 28%);
  pointer-events: none;
}

.panel > * {
  position: relative;
  z-index: 1;
}

.panel:nth-child(1) {
  animation-delay: 40ms;
}
.panel:nth-child(2) {
  animation-delay: 80ms;
}
.panel:nth-child(3) {
  animation-delay: 120ms;
}
.panel:nth-child(4) {
  animation-delay: 160ms;
}

.panel h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  font-family: "Oxanium", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.panel h2::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 1px solid var(--ark-line);
  background: #11c2df33;
  box-shadow: inset 0 0 0 2px #072638, 0 0 12px #19c8e955;
}

.panel-servers {
  grid-column: 1 / 2;
}
.panel-watch {
  grid-column: 2 / 3;
}

.panel-server-settings {
  grid-column: 1 / -1;
  min-height: 500px;
}
.panel-playtime,
.panel-events {
  grid-column: span 1;
}
.panel-player-analytics,
.panel-live-players {
  grid-column: 1 / -1;
}

.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(214px, 1fr));
  gap: 7px;
}

.server-card {
  position: relative;
  border: 1px solid var(--ark-line-soft);
  border-radius: 2px;
  padding: 8px;
  min-height: 112px;
  background:
    linear-gradient(90deg, #0fbdd51a 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #ffffff0d 0 1px, transparent 1px 100%),
    linear-gradient(156deg, #0a3f51d9 0%, #062033e8 90%);
  background-size: 18px 18px, 18px 18px, 100% 100%;
  box-shadow: inset 0 0 0 1px #bdfaff18;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
  animation: pop-in 320ms ease both;
}

.server-card::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 22px;
  height: 22px;
  border: 1px solid #1bc0da75;
  background: #03202dcc;
  box-shadow: inset 0 0 0 4px #0a4354;
}

.server-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.server-card h3 {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.89rem;
  letter-spacing: 0;
}

.pill {
  border-radius: 2px;
  padding: 3px 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.67rem;
  font-weight: 500;
}

.pill.online {
  color: #8df4d0;
  background: #064331;
  border: 1px solid #39c997;
}

.pill.offline {
  color: #ffceb8;
  background: #4e2318;
  border: 1px solid #e48a69;
}

.pill.stabilizing {
  color: #ffeab2;
  background: #3c351d;
  border: 1px solid #8b7d42;
}

.server-name {
  margin: 7px 0 3px;
  color: #b5eaf5;
  font-size: 0.79rem;
}

.server-meta,
.server-players {
  margin: 0;
  font-size: 0.8rem;
}

.watch-form {
  display: grid;
  gap: 9px;
  margin-bottom: 11px;
}

.watch-form label {
  display: grid;
  gap: 4px;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-family: "IBM Plex Mono", monospace;
}

input,
select {
  border: 1px solid var(--ark-line-soft);
  border-radius: 2px;
  background:
    linear-gradient(90deg, #0fbdd512 0 1px, transparent 1px 100%),
    #061c2a;
  background-size: 12px 100%, 100% 100%;
  color: var(--text);
  font: inherit;
  padding: 8px 9px;
}

input[type="checkbox"] {
  width: auto;
}

input:focus,
select:focus {
  outline: 2px solid #72aed1;
  outline-offset: 1px;
}

.watch-list {
  display: grid;
  gap: 7px;
  max-height: 430px;
  overflow: auto;
}

#server-settings-list {
  max-height: 520px;
}

#watch-id:disabled {
  opacity: 0.7;
}

.watch-item {
  border: 1px solid var(--ark-line-soft);
  border-radius: 2px;
  padding: 9px;
  background:
    linear-gradient(90deg, #0fbdd514 0 1px, transparent 1px 100%),
    linear-gradient(155deg, #0a3a4dba 0%, #071a28d9 88%);
  background-size: 18px 100%, 100% 100%;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.watch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.watch-item h3 {
  margin: 0;
  font-size: 0.95rem;
}

.watch-id {
  margin: 2px 0 7px;
  font-family: "IBM Plex Mono", monospace;
  color: var(--amber);
  font-size: 0.76rem;
}

.watch-notes,
.watch-aliases {
  margin: 0 0 5px;
  color: var(--text-soft);
  font-size: 0.79rem;
}

.presence-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.presence-pill {
  border: 1px solid #4b8ca0;
  border-radius: 2px;
  padding: 3px 8px;
  font-size: 0.71rem;
  font-family: "IBM Plex Mono", monospace;
}

.presence-pill.online {
  border-color: #3f9675;
  color: #91f5d4;
}

.presence-pill.offline {
  color: #c9dbe7;
}

.watch-remove {
  background: linear-gradient(145deg, #4f2c22 0%, #3f2119 100%);
  border-color: #946253;
}

.playtime-list,
.player-leaderboard {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 5px;
}

.playtime-list li,
.player-leaderboard li {
  font-size: 0.84rem;
}

.playtime-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-list,
.live-player-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
  overflow: auto;
}

.event-list {
  max-height: 460px;
}

.live-player-list {
  max-height: 360px;
}

.event-list li,
.live-player-list li {
  border-radius: 2px;
  padding: 6px 8px;
  background:
    linear-gradient(90deg, #15bed81a 0 2px, transparent 2px 100%),
    #071f2f;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
}

.event-list li {
  border-left: 3px solid #5380a3;
}

.live-player-list li {
  border: 1px solid var(--ark-line-soft);
}

.live-player-list a {
  color: #b5e9ff;
  text-decoration: none;
}

.live-player-list a:hover {
  text-decoration: underline;
}

.live-player-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.player-link-button {
  border: 0;
  background: transparent;
  color: #c9f9ff;
  font: inherit;
  font-weight: 700;
  padding: 0;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}

.player-link-button:hover {
  text-decoration: underline;
  transform: none;
  filter: none;
}

.player-link-button:focus-visible {
  outline: 2px solid #8cddff;
  outline-offset: 2px;
  border-radius: 3px;
}

.panel-inline-header,
.leaderboard-head,
.analytics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.panel-inline-header h2,
.analytics-header h2 {
  margin: 0;
}

.event-controls {
  display: flex;
  gap: 8px;
}

.analytics-header {
  align-items: end;
  margin-bottom: 11px;
}

.player-select-wrap {
  display: grid;
  gap: 4px;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.player-select-wrap select {
  min-width: 260px;
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.chart-panel {
  border: 1px solid var(--ark-line-soft);
  border-radius: 2px;
  padding: 9px;
  background:
    linear-gradient(90deg, #0fbdd512 0 1px, transparent 1px 100%),
    linear-gradient(155deg, #0a3a4dcc 0%, #061a27e0 88%);
  background-size: 18px 100%, 100% 100%;
  overflow: hidden;
}

.chart-panel h3,
.leaderboard-wrap h3 {
  margin: 0 0 9px;
  color: var(--text-soft);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0;
  font-family: "Oxanium", sans-serif;
}

.chart-panel canvas {
  display: block;
  width: 100% !important;
  max-height: 300px;
}

.player-meta {
  margin: 10px 0 4px;
}

.player-meta p {
  margin: 0;
  font-size: 0.84rem;
}

.leaderboard-wrap {
  margin-top: 10px;
}

.download-link {
  color: #9fdfff;
  text-decoration: none;
  font-size: 0.8rem;
  font-family: "IBM Plex Mono", monospace;
}

.download-link:hover {
  text-decoration: underline;
}

.player-leaderboard {
  max-height: 290px;
  overflow: auto;
}

.player-leaderboard li {
  cursor: pointer;
  border-radius: 2px;
  padding: 4px 6px;
}

.player-leaderboard li:hover {
  background: #1a3549;
}

.event-time {
  display: block;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-family: "IBM Plex Mono", monospace;
}

.empty {
  margin: 6px 0;
  color: var(--text-soft);
  font-style: italic;
}

.player-modal {
  position: fixed;
  inset: 0;
  z-index: 25;
}

.player-modal-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #03101799 0%, #031017d9 100%);
  backdrop-filter: blur(3px);
}

.player-modal-card {
  position: relative;
  width: min(1080px, 92vw);
  max-height: 88vh;
  overflow: auto;
  margin: 5vh auto;
  padding: 14px;
  border: 1px solid var(--ark-line);
  background:
    linear-gradient(90deg, #0fbdd516 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #ffffff10 0 1px, transparent 1px 6px),
    linear-gradient(140deg, #073145f2 0%, #061a27f2 88%);
  background-size: 28px 100%, 100% 6px, 100% 100%;
  box-shadow: inset 0 0 0 1px #b7e9ff2a, 0 18px 48px #010911d9;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.player-modal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(60deg, #79d1f212 0 58%, transparent 58% 100%),
    linear-gradient(0deg, #ffffff08 0 1px, transparent 1px 4px);
}

.player-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  margin-bottom: 10px;
}

.player-modal-header h2 {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

.player-modal-metrics {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

#player-modal-status.status-online {
  color: #86f2cf;
}

#player-modal-status.status-offline {
  color: #ffc7b4;
}

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

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pop-in {
  from {
    transform: scale(0.985);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  .metrics {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}

@media (max-width: 1024px) {
  .layout {
    width: min(760px, 96vw);
    margin: 10px auto 30px;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .panel-servers,
  .panel-watch,
  .panel-server-settings,
  .panel-playtime,
  .panel-events,
  .panel-player-analytics,
  .panel-live-players {
    grid-column: 1 / -1;
  }

  .hero {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  h1 {
    font-size: 1.75rem;
  }

  .hud-tabs {
    position: static;
    order: -1;
    width: 100%;
    padding-bottom: 6px;
  }

  .hud-tab {
    width: 64px;
    min-width: 64px;
    height: 50px;
    grid-template-rows: 22px 1fr;
    padding-top: 5px;
  }

  .tab-label {
    position: static;
    transform: none;
    opacity: 1;
    font-size: 0.58rem;
    line-height: 1;
  }

  .hero-meta {
    width: 100%;
    text-align: left;
  }

  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .player-select-wrap select {
    min-width: 0;
  }

  .analytics-header {
    align-items: stretch;
    flex-direction: column;
  }

  .event-controls {
    width: 100%;
    flex-wrap: wrap;
  }

  .player-modal-metrics {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

@media (max-width: 640px) {
  .player-modal-metrics {
    grid-template-columns: 1fr;
  }
}
