@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* =========================================================
   VARIABLES
========================================================= */
:root {
  --bg: #080b10;
  --surface: #10151e;
  --surface-2: #121923;
  --surface-3: #182131;
  --line: #202d40;
  --line-soft: #182333;

  --text: #f2f5f9;
  --muted: #8795aa;
  --muted-2: #637187;

  --gold: #e4b63f;
  --gold-light: #ffe07a;
  --gold-dark: #8d661b;

  --blue: #637df3;
  --red: #ff5b61;
  --green: #4fe38b;
}

/* =========================================================
   GLOBAL
========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% -30%, rgba(73, 95, 130, 0.12), transparent 45%),
    linear-gradient(180deg, #090c11 0%, #080b10 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   TOP BAR
========================================================= */
.site-header {
  padding: 18px 0;
  background: #0a0d12;
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  min-height: 88px;
  margin: 0 auto;
  padding: 18px 22px;

  display: grid;
  grid-template-columns: 330px minmax(280px, 1fr) auto;
  align-items: center;
  gap: 22px;

  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #111722, #0f141d);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  min-width: 0;
}

.brand-title {
  color: #f2f5f9;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.brand-sub {
  margin-top: 5px;
  color: #77869b;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.09em;
}

.header-search-wrap {
  width: 100%;
}

.header-search {
  width: 100%;
  height: 46px;
  padding: 0 16px;

  border: 1px solid #263349;
  border-radius: 7px;
  outline: none;

  background: #0c1119;
  color: var(--text);

  font: 500 14px Inter;
  letter-spacing: 0.01em;
  transition: 0.2s ease;
}

.header-search::placeholder {
  color: #526177;
}

.header-search:focus {
  border-color: #405575;
  box-shadow: 0 0 0 3px rgba(88, 111, 151, 0.1);
}

.header-search-wrap {
  position: relative;
}

.search-results {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  max-height: 430px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #263349;
  border-radius: 9px;
  background: #0c1119;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.45);
  z-index: 1000;
}

.search-result {
  width: 100%;
  min-height: 58px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.search-result:hover,
.search-result:focus-visible {
  outline: none;
  border-color: #263b58;
  background: #121b29;
}

.search-result img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  image-rendering: pixelated;
  flex: 0 0 42px;
}

.search-result-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.search-result-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
}

.search-result-main small {
  color: #7f90a8;
  font-size: 10px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
}

.discord-button {
  height: 46px;
  padding: 0 17px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  border: 1px solid #34455f;
  border-radius: 7px;
  background: linear-gradient(180deg, #19243a, #151e2f);

  color: #f1f4fa;
  font-size: 14px;
  font-weight: 800;

  transition: 0.2s ease;
}

.discord-button img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.discord-button:hover {
  border-color: #5b70a0;
  background: linear-gradient(180deg, #202d47, #19243a);
  transform: translateY(-1px);
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.22);
}

/* =========================================================
   MAIN
========================================================= */
.wrap {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

/* =========================================================
   GAME MODE NAVIGATION
========================================================= */
.mode-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 28px;
  padding: 10px 12px;

  overflow-x: auto;
  scrollbar-width: none;

  border: 1px solid var(--line);
  border-radius: 13px;
  background: #090d13;
}

.mode-nav::-webkit-scrollbar {
  display: none;
}

.mode-pill {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  border: 1px solid transparent;
  border-radius: 7px;

  color: #8997ab;
  font-size: 14px;
  font-weight: 800;

  transition: 0.18s ease;
}

.mode-pill img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.mode-pill:hover {
  color: #e7edf6;
  background: #111824;
}

.mode-pill.active {
  color: #f4f7fb;
  border-color: #31435f;
  background: linear-gradient(180deg, #1b2940, #172235);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

/* =========================================================
   OVERVIEW HEADING
========================================================= */
.overview-heading {
  margin: 0 0 20px;
}

.overview-heading h1 {
  margin: 0 0 5px;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.overview-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* =========================================================
   LEADERBOARD
========================================================= */
.leaderboard {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-bottom: 60px;
}

.player-row {
  position: relative;
  min-height: 89px;
  overflow: visible;

  display: grid;
  grid-template-columns: 76px minmax(230px, 1fr) minmax(420px, auto) 90px;
  align-items: center;
  gap: 14px;

  padding: 10px 18px;

  border: 1px solid #223047;
  border-radius: 9px;
  background: linear-gradient(90deg, #121822 0%, #111720 100%);

  transition: 0.2s ease;
}

.player-row:hover {
  border-color: #344866;
  transform: translateY(-1px);
}

/* Top-three shine / spotlight -- clipped to each row so it never spills across the page */
.player-row.top-1::before,
.player-row.top-2::before,
.player-row.top-3::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.player-row.top-1 {
  border-color: #776020;
  background:
    linear-gradient(115deg, rgba(228, 182, 63, 0.18), transparent 34%),
    linear-gradient(90deg, #171b20, #111720 48%, #111720);
  box-shadow: 0 0 0 1px rgba(228, 182, 63, 0.05), 0 8px 30px rgba(145, 105, 20, 0.08);
}

.player-row.top-1::before {
  background: linear-gradient(115deg, rgba(255, 221, 110, 0.12), transparent 38%);
}

.player-row.top-2 {
  border-color: #505763;
  background:
    linear-gradient(115deg, rgba(205, 212, 224, 0.13), transparent 34%),
    linear-gradient(90deg, #171b22, #111720 48%, #111720);
}

.player-row.top-2::before {
  background: linear-gradient(115deg, rgba(225, 231, 242, 0.10), transparent 38%);
}

.player-row.top-3 {
  border-color: #67451f;
  background:
    linear-gradient(115deg, rgba(198, 125, 43, 0.15), transparent 34%),
    linear-gradient(90deg, #191a1e, #111720 48%, #111720);
}

.player-row.top-3::before {
  background: linear-gradient(115deg, rgba(216, 142, 55, 0.10), transparent 38%);
}

/* Keep row content above the shine */
.player-row > * {
  position: relative;
  z-index: 1;
}

/* =========================================================
   RANK
========================================================= */
.rank {
  position: relative;
  z-index: 1;

  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-align: center;
  color: #e7ebf1;
}

.rank.gold {
  color: var(--gold-light);
}

.rank.silver {
  color: #dbe0e8;
}

.rank.bronze {
  color: #df9140;
}

/* =========================================================
   PLAYER IDENTITY / SKIN
========================================================= */
.player-identity {
  position: relative;
  z-index: 1;

  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.skin-wrap {
  width: 64px;
  height: 70px;
  flex: 0 0 64px;

  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  background: transparent;
}

.player-skin {
  width: 78px;
  height: 78px;
  object-fit: contain;
  object-position: center bottom;
  image-rendering: auto;
}

.identity {
  min-width: 0;
}

.name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-size: 17px;
  font-weight: 800;
}

.tier-info {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.region {
  flex: 0 0 auto;
  min-width: 58px;
  height: 43px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 0 10px;

  border: 1px solid #202d40;
  border-radius: 7px;
  background: rgba(8, 12, 18, 0.55);

  color: #ff525d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

/* MCTiers-style region colors */
.region-na {
  color: #ff525d;
}

.region-eu {
  color: #55e86a;
}

.region-sa {
  color: #c77dff;
}

.region-as {
  color: #55c7ff;
}

.region-au-oc {
  color: #ffd15c;
}

.region-unknown {
  color: #8795aa;
}


/* =========================================================
   TIER CHIPS
========================================================= */
.tier-chips {
  flex: 0 1 auto;
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;

  padding: 4px 6px;
  height: 51px;

  border: 1px solid #202d40;
  border-radius: 7px;
  background: rgba(8, 12, 18, 0.55);
}

.tier-chip {
  min-width: 33px;
  height: 43px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;

  border-right: 1px solid #1d2939;
  color: #8593a7;
}

.tier-chip:last-child {
  border-right: 0;
}

.tier-chip img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.tier-chip b {
  font-size: 9px;
  font-weight: 800;
}

.tier-chip.retired {
  opacity: 0.72;
}

.tier-retired-badge {
  margin-top: 1px;
  padding: 1px 4px;
  border: 1px solid #596579;
  border-radius: 4px;
  color: #aab4c3;
  font-size: 7px;
  font-weight: 900;
  line-height: 1.1;
}

/* Hover details for tiers */
.has-tier-tooltip {
  position: relative;
  cursor: help;
  z-index: 2;
}

/* Keep tier tooltips above the top-3 shine and neighboring player rows */
.player-row:has(.has-tier-tooltip:hover),
.player-row:has(.has-tier-tooltip:focus-visible) {
  z-index: 100;
}

.player-row .has-tier-tooltip {
  position: relative;
  z-index: 101;
}

.player-row .tier-tooltip {
  z-index: 1000;
}

.tier-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translate(-50%, 4px);
  width: max-content;
  min-width: 120px;
  max-width: 210px;
  padding: 8px 10px;
  border: 1px solid #33445d;
  border-radius: 7px;
  background: #0b1018;
  color: #f1f4f9;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 50;
}

.has-tier-tooltip:hover .tier-tooltip,
.has-tier-tooltip:focus-visible .tier-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.tier-tooltip-title {
  color: #f1f4f9;
}

.tier-tooltip-points {
  color: #aab6c7;
  margin-top: 2px;
}

.tier-tooltip-status {
  margin-top: 2px;
  font-weight: 900;
}

.tier-tooltip-status.active { color: #4ade80; }
.tier-tooltip-status.retired { color: #ff4d5e; }
.tier-tooltip-status.peak { color: #38bdf8; }

.tier-chip.active .tier-tooltip { border-color: rgba(74, 222, 128, 0.45); }
.tier-chip.retired .tier-tooltip { border-color: rgba(255, 77, 94, 0.5); }
.profile-tier-chip.active .tier-tooltip { border-color: rgba(74, 222, 128, 0.45); }
.profile-tier-chip.retired .tier-tooltip { border-color: rgba(255, 77, 94, 0.5); }
.profile-tier-chip.peak .tier-tooltip { border-color: rgba(56, 189, 248, 0.5); }

.profile-tier-chip.has-tier-tooltip .tier-tooltip {
  bottom: calc(100% + 8px);
}

/* =========================================================
   SCORE
========================================================= */
.score {
  position: relative;
  z-index: 1;
  text-align: center;
}

.score strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.score span {
  display: block;
  margin-top: 7px;
  color: #8290a4;
  font-size: 10px;
  letter-spacing: 0.08em;
}

/* =========================================================
   GAMEMODE TIER BOARD
========================================================= */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
  padding-bottom: 60px;
}

.tier-column {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #202d40;
  border-radius: 9px;
  background: #10151e;
}

.tier-title {
  min-height: 50px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid #202d40;
  background: linear-gradient(180deg, #121821, #10151e);
  color: #f2f5f9;
}

.tier-title .tier-number {
  display: none;
}

.tier-title b {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.tier-1 .tier-title b {
  color: #f2c14e;
}

.tier-2 .tier-title b {
  color: #d8dee8;
}

.tier-3 .tier-title b {
  color: #b87845;
}

.tier-4 .tier-title b,
.tier-5 .tier-title b {
  color: #f2f5f9;
}

.simple-player {
  min-height: 46px;
  margin: 10px 9px 0;
  padding: 0 10px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #202d40;
  border-radius: 7px;
  background: #0d121a;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.simple-player:last-child {
  margin-bottom: 10px;
}

.simple-player:hover {
  border-color: #34445d;
  background: #111824;
  transform: translateY(-1px);
}

.simple-player-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #edf1f7;
  font-size: 14px;
  font-weight: 800;
}

.tier-arrow {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #28374d;
  border-radius: 50%;
  background: #111a28;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.arrow-high {
  color: #f0b83f;
}

.arrow-low {
  color: #8795aa;
}

.tier-column::after {
  content: "";
  display: block;
  height: 10px;
}

/* =========================================================
   ERROR
========================================================= */
.error {
  padding: 28px;
  border: 1px solid #612c31;
  border-radius: 9px;
  background: rgba(95, 30, 36, 0.16);
  color: #ff9a9f;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  padding: 25px 0 45px;
  color: #465267;
  font-size: 10px;
  text-align: center;
}

@media (max-width: 1000px) {
  .tier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1000px) {
  .header-inner {
    grid-template-columns: 250px 1fr auto;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .player-row {
    grid-template-columns: 60px minmax(190px, 1fr) minmax(280px, auto) 75px;
  }
}

@media (max-width: 800px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-search-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .player-row {
    grid-template-columns: 52px 1fr 75px;
    gap: 10px;
  }

  .tier-info {
    grid-column: 2 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .tier-chips {
    justify-content: flex-start;
  }
}

@media (max-width: 800px) {
  .tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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


@media (max-width: 560px) {
  .site-header {
    padding: 10px 0;
  }

  .header-inner,
  .wrap {
    width: min(100% - 20px, 1240px);
  }

  .header-inner {
    padding: 14px;
    gap: 12px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-sub {
    display: none;
  }

  .discord-button {
    width: 44px;
    padding: 0;
  }

  .discord-button span {
    display: none;
  }

  .mode-nav {
    margin-bottom: 22px;
  }

  .mode-pill {
    min-height: 43px;
    padding: 0 13px;
    font-size: 12px;
  }

  .overview-heading h1 {
    font-size: 28px;
  }

  .player-row {
    grid-template-columns: 45px 1fr 65px;
    padding: 10px;
  }

  .rank {
    font-size: 21px;
  }

  .skin-wrap {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
    border-radius: 50%;
  }

  .player-skin {
    width: 58px;
    height: 58px;
  }

  .name {
    font-size: 14px;
  }

  .score strong {
    font-size: 20px;
  }

  .tier-chips {
    gap: 2px;
  }

  .tier-chip {
    min-width: 29px;
    height: 39px;
  }
}

/* =========================================================
   CLICKABLE PLAYERS
========================================================= */
.player-row,
.simple-player {
  cursor: pointer;
}

.player-row:focus-visible,
.simple-player:focus-visible {
  outline: 2px solid #536d99;
  outline-offset: 2px;
}

/* =========================================================
   PLAYER PROFILE MODAL
========================================================= */
body.profile-open {
  overflow: hidden;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.profile-modal[hidden] {
  display: none;
}

.profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 9, 0.76);
  backdrop-filter: blur(5px);
}

.profile-card {
  position: relative;
  z-index: 1;
  width: min(590px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 24px 23px 25px;
  border: 1px solid #26344a;
  border-radius: 13px;
  background: #111720;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
}

.profile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #26344a;
  border-radius: 7px;
  background: #101720;
  color: #dbe3ee;
  font: 500 25px/1 Inter, sans-serif;
  cursor: pointer;
  transition: 0.16s ease;
}

.profile-close:hover {
  border-color: #405575;
  background: #16202e;
}

.profile-top {
  text-align: center;
  padding: 2px 50px 16px;
}

.profile-skin-wrap {
  width: 128px;
  height: 128px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #29374c;
  border-radius: 50%;
  background: #0d121a;
  overflow: hidden;
}

.profile-skin {
  width: 120px;
  height: 120px;
  object-fit: contain;
  object-position: center bottom;
  image-rendering: auto;
  display: block;
  transform: translateY(4px);
}

.profile-top h2 {
  margin: 0;
  color: #f4f6fa;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.profile-region {
  margin-top: 3px;
  font-size: 17px;
  font-weight: 800;
}

.profile-region.region-na { color: #ff5b61; }
.profile-region.region-eu { color: #55e86a; }
.profile-region.region-sa { color: #c77dff; }
.profile-region.region-as { color: #55c7ff; }
.profile-region.region-au-oc { color: #ffd15c; }
.profile-region.region-unknown { color: #8795aa; }

.profile-points {
  margin-top: 2px;
  color: #f1f4f9;
  font-size: 19px;
  font-weight: 900;
}

.profile-section {
  margin-top: 14px;
}

.profile-label {
  margin-bottom: 7px;
  color: #93a0b4;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.profile-position {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #29374c;
  border-radius: 10px;
  background: #0c1119;
  color: #f5f7fa;
  font-size: 35px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.profile-tier-box {
  min-height: 86px;
  padding: 10px 13px;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  align-items: center;
  gap: 4px;
  border: 1px solid #29374c;
  border-radius: 10px;
  background: #0c1119;
}

.profile-tier-chip {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #8d9aae;
  font-size: 12px;
  font-weight: 900;
}

.profile-tier-chip.retired {
  opacity: 0.72;
}

.profile-tier-value {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.retired-badge {
  padding: 1px 4px;
  border: 1px solid #596579;
  border-radius: 4px;
  color: #aab4c3;
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
}

.profile-tier-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #28364b;
  border-radius: 50%;
  background: #101824;
}

.profile-tier-icon img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.profile-peak-section {
  margin-top: 15px;
}

.profile-peak-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #39bfff;
}

.profile-peak-label img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

@media (max-width: 560px) {
  .profile-modal {
    padding: 10px;
  }

  .profile-card {
    max-height: calc(100vh - 20px);
    padding: 20px 14px;
  }

  .profile-top {
    padding-left: 38px;
    padding-right: 38px;
  }

  .profile-tier-box {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    row-gap: 10px;
  }
}
