:root {
  --bg: #061018;
  --bg-deep: #02070c;
  --panel: rgba(7, 15, 22, 0.92);
  --panel-2: rgba(11, 24, 34, 0.88);
  --line: rgba(159, 188, 211, 0.18);
  --line-bright: rgba(40, 217, 255, 0.78);
  --text: #f5f7fb;
  --muted: #8f99a8;
  --cyan: #1bdcff;
  --lime: #c8ff27;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  --condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Inter, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-deep);
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: var(--body);
  background:
    linear-gradient(180deg, rgba(1, 5, 9, 0.1), rgba(5, 16, 25, 0.88) 76%, #03070b 100%),
    url("assets/hero-map-background.png") top center / 100% auto no-repeat,
    radial-gradient(circle at 50% 15%, #122333, #040a10 55%, #020609 100%);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 30px;
  background: rgba(1, 5, 9, 0.94);
  border-bottom: 1px solid rgba(142, 166, 184, 0.2);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  width: 240px;
  height: 42px;
  gap: 10px;
}

.brand img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: #f7fbff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.brand b {
  color: var(--cyan);
  font-weight: 900;
}

.brand-divider {
  width: 1px;
  height: 27px;
  margin: 0 27px 0 13px;
  background: rgba(151, 169, 184, 0.22);
}

.main-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 27px;
}

.nav-link {
  position: relative;
  border: 0;
  background: transparent;
  color: #a5abb6;
  font-family: var(--condensed);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(27, 220, 255, 0.55);
  content: "";
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(138, 163, 186, 0.28);
  border-radius: 4px;
  color: #f9fbff;
  background: rgba(5, 12, 18, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.icon-button:hover {
  border-color: rgba(27, 220, 255, 0.58);
  background: rgba(12, 26, 36, 0.96);
}

.icon-button img {
  width: 19px;
  height: 19px;
}

.hero {
  min-height: 246px;
  padding: 35px 24px 12px;
}

.hero-inner {
  position: relative;
  width: min(820px, calc(100vw - 48px));
  margin: 0 auto;
  text-align: center;
}

.hud-corners {
  position: absolute;
  top: -2px;
  left: 50%;
  z-index: 0;
  width: 820px;
  max-width: 100%;
  height: 112px;
  transform: translateX(-50%);
  pointer-events: none;
}

h1 {
  position: relative;
  z-index: 1;
  margin: 20px 0 10px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: #fbfcff;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.08), 0 8px 28px rgba(0, 0, 0, 0.62);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 46px auto 18px;
  color: #aab6c7;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.hero-copy:empty {
  display: none;
  margin: 0;
}

.search-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 183px;
  align-items: center;
  height: 74px;
  border: 2px solid rgba(28, 218, 255, 0.92);
  border-radius: 5px;
  background: rgba(3, 10, 16, 0.9);
  box-shadow: 0 0 0 3px rgba(5, 16, 23, 0.7), 0 0 24px rgba(27, 220, 255, 0.24);
}

.search-icon {
  display: grid;
  place-items: center;
}

.search-icon img {
  width: 36px;
  height: 36px;
}

.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #e5ebf2;
  font-size: 26px;
  font-weight: 700;
  background: transparent;
}

.search-form input::placeholder {
  color: #6e7684;
}

.search-form button {
  height: 62px;
  margin-right: 4px;
  border: 0;
  border-radius: 4px;
  color: #070b0e;
  font-family: var(--condensed);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #dfff37, #bfff22);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  transition: transform 150ms ease, filter 150ms ease;
}

.search-form button:hover {
  filter: brightness(1.06);
}

.search-form button:active {
  transform: translateY(1px);
}

.content-wrap {
  width: min(1328px, calc(100vw - 48px));
  margin: 0 auto 30px;
}

.profile-card,
.home-empty,
.info-view {
  border: 1px solid rgba(145, 166, 185, 0.28);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(3, 9, 14, 0.95), rgba(6, 17, 25, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.home-empty {
  display: grid;
  place-items: center;
  min-height: 280px;
  border-color: rgba(27, 220, 255, 0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(27, 220, 255, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(3, 9, 14, 0.74), rgba(6, 17, 25, 0.82));
}

.home-empty-inner {
  width: 100%;
  max-width: 760px;
  padding: 0 20px;
  text-align: center;
}

.home-empty img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 14px;
}

.home-empty h2 {
  margin: 0;
  font-family: var(--condensed);
  font-size: clamp(28px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.home-empty p {
  max-width: 620px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.profile-card.search-pop {
  animation: popIn 260ms ease-out;
}

@keyframes popIn {
  from {
    opacity: 0.55;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.profile-head {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 111px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 14% 40%, rgba(27, 220, 255, 0.08), transparent 32%);
}

.avatar-ring {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-right: 28px;
  border: 1px solid rgba(168, 185, 201, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 47, 58, 0.9), rgba(7, 13, 19, 0.75));
}

.avatar-ring img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.profile-title h2 {
  margin: 0;
  font-family: var(--condensed);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.name-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-title p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.icon-button {
  width: 46px;
  height: 46px;
  padding: 0;
}

.icon-button.small {
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
}

.icon-button.small img {
  width: 18px;
  height: 18px;
}

.favorite {
  position: absolute;
  top: 33px;
  right: 25px;
}

.favorite.active {
  border-color: rgba(200, 255, 39, 0.7);
  background: rgba(200, 255, 39, 0.08);
}

.profile-summary-strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 57px;
  gap: 16px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.profile-summary-strip span {
  color: var(--cyan);
  font-family: var(--condensed);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-summary-strip em {
  color: #96a2b1;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 11px 13px 14px;
}

.stat-card {
  position: relative;
  min-height: 124px;
  padding: 17px 18px;
  border: 1px solid rgba(145, 166, 185, 0.26);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(15, 32, 45, 0.92), rgba(6, 15, 22, 0.92));
  overflow: hidden;
}

.stat-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #99a3af;
  font-family: var(--condensed);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-label img {
  width: 24px;
  height: 24px;
}

.stat-main {
  margin-top: 8px;
  font-family: var(--condensed);
  font-size: 48px;
  font-weight: 800;
  line-height: 0.92;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.08);
}

.stat-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 4px;
}

.stat-meta span,
.rank-stats em,
.view-more {
  color: var(--cyan);
  font-family: var(--condensed);
  font-size: 16px;
  font-weight: 700;
}

.stat-meta strong,
.rank-stats em:first-letter {
  color: var(--lime);
}

.stat-meta strong {
  max-width: 152px;
  margin-bottom: 22px;
  font-family: var(--condensed);
  font-size: 15px;
  line-height: 1.05;
  text-align: right;
}

.stat-line {
  position: absolute;
  right: 22px;
  bottom: 26px;
  width: 124px;
  height: 4px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(200, 255, 39, 0.42);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 12px;
  padding: 0 13px 13px;
}

.panel {
  min-height: 254px;
  border: 1px solid rgba(145, 166, 185, 0.22);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(13, 29, 40, 0.82), rgba(5, 14, 21, 0.9));
  overflow: hidden;
}

.panel h3 {
  margin: 0;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  font-family: var(--condensed);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.match-row {
  display: grid;
  grid-template-columns: 68px 96px 136px 52px 52px 52px 80px 28px;
  align-items: center;
  min-height: 36px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(145, 166, 185, 0.11);
  color: #b5bec9;
  font-family: var(--condensed);
  font-size: 16px;
  font-weight: 600;
}

.tracking-row,
.mode-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(145, 166, 185, 0.11);
  color: #b5bec9;
  font-family: var(--condensed);
  font-size: 16px;
  font-weight: 700;
}

.mode-card-head {
  width: 120px;
}

.mode-card-head strong {
  display: block;
  color: #f7fbff;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.mode-card-head span {
  color: #93a0af;
  font-size: 12px;
}

.mode-card.solo {
  border-left: 8px solid #13c7ff;
}

.mode-card.duos {
  border-left: 8px solid #4eff76;
}

.mode-card.squads {
  border-left: 8px solid #ffb41f;
}

.mode-card-stats {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.mode-card-stats span {
  color: #f5f7fb;
  font-size: 22px;
}

.mode-card-stats em {
  display: block;
  color: #9ca6b4;
  font-size: 13px;
  font-style: normal;
}

.tracking-row strong {
  color: #dce4ed;
}

.tracking-row span {
  color: var(--cyan);
}

.match-row .place {
  color: var(--cyan);
  font-size: 26px;
  font-weight: 800;
}

.match-row:first-child .place,
.match-row:nth-child(4) .place {
  color: var(--lime);
}

.match-row:nth-child(3) .place {
  color: #cfd4dc;
}

.match-row .time {
  color: #9099a6;
  font-size: 13px;
  font-style: italic;
}

.match-row img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
}

.view-more {
  display: block;
  margin: 10px auto 0;
  border: 0;
  background: transparent;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rank-body {
  display: flex;
  align-items: center;
  gap: 29px;
  padding: 22px 28px 13px;
}

.rank-badge {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.rank-copy {
  flex: 1;
}

.rank-copy h4 {
  margin: 0 0 2px;
  font-family: var(--condensed);
  font-size: 30px;
  line-height: 1;
}

.rank-copy strong {
  color: var(--cyan);
  font-size: 20px;
}

.progress {
  height: 8px;
  margin: 6px 0 8px;
  border-radius: 10px;
  background: rgba(168, 180, 192, 0.28);
  overflow: hidden;
}

.progress span {
  display: block;
  width: 73%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), #34e7ff);
}

.rank-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.rank-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.rank-stats div {
  min-height: 88px;
  padding: 17px 38px;
  border-right: 1px solid rgba(145, 166, 185, 0.14);
}

.rank-stats div:last-child {
  border-right: 0;
}

.rank-stats span {
  display: block;
  color: #8d97a5;
  font-family: var(--condensed);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rank-stats strong {
  display: block;
  font-family: var(--condensed);
  font-size: 25px;
  line-height: 1;
}

.rank-stats em {
  display: block;
  color: var(--lime);
  font-style: normal;
}

.rank-stats div:last-child em {
  color: var(--cyan);
}

.info-view {
  min-height: 470px;
  padding: 28px 30px;
}

.info-view header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.info-view h2 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-size: 50px;
  font-weight: 400;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.info-view p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.legal-copy {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin-top: 24px;
}

.legal-copy p {
  color: #b9c7d8;
  font-size: 16px;
  line-height: 1.7;
}

.making-view {
  min-height: 360px;
  display: grid;
  place-items: center;
}

.making-inner {
  text-align: center;
}

.making-inner img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 16px;
}

.making-inner h2 {
  margin-bottom: 12px;
}

.board-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 72px;
  padding: 18px 22px;
  border: 1px solid rgba(145, 166, 185, 0.22);
  border-radius: 4px;
  color: inherit;
  background: var(--panel-2);
  text-align: left;
  cursor: pointer;
}

.board-row:hover {
  border-color: rgba(27, 220, 255, 0.5);
  background: rgba(15, 34, 48, 0.88);
}

.board-row strong {
  font-family: var(--condensed);
  font-size: 26px;
}

.board-row span {
  color: var(--cyan);
  font-family: var(--condensed);
  font-size: 18px;
  font-weight: 800;
}

.profile-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 13px 13px;
}

.detail-panel {
  min-height: 0;
}

.detail-list {
  display: grid;
  gap: 0;
}

.detail-row,
.detail-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(145, 166, 185, 0.11);
}

.detail-row strong {
  font-family: var(--condensed);
  font-size: 19px;
  text-transform: uppercase;
}

.detail-row span,
.detail-empty {
  color: var(--cyan);
  font-family: var(--condensed);
  font-size: 17px;
  font-weight: 700;
}

.detail-row span {
  min-width: 0;
  max-width: 62%;
  text-align: right;
  overflow-wrap: anywhere;
}

.seo-content {
  width: min(1320px, calc(100vw - 64px));
  margin: clamp(260px, 38vh, 460px) auto 46px;
}

.seo-wrap {
  display: grid;
  gap: 16px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.seo-block {
  border: 1px solid rgba(145, 166, 185, 0.18);
  border-radius: 6px;
  padding: 24px 26px;
  background: rgba(5, 13, 20, 0.86);
  box-shadow: inset 0 0 42px rgba(12, 38, 50, 0.24);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 680ms ease, transform 680ms ease;
  will-change: opacity, transform;
}

.seo-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.seo-grid .seo-block:nth-child(2),
.faq-block {
  transition-delay: 90ms;
}

.seo-intro {
  max-width: none;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: var(--condensed);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.seo-block h2 {
  margin: 0 0 12px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(30px, 3.3vw, 44px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.seo-block p,
.seo-block li {
  color: #b1bed0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.seo-block p {
  margin: 0;
}

.seo-block ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.tools-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 24px;
}

.kd-tool {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(27, 220, 255, 0.22);
  border-radius: 4px;
  background: rgba(3, 10, 16, 0.82);
}

.kd-tool label {
  display: grid;
  gap: 6px;
  color: #aeb7c4;
  font-family: var(--condensed);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.kd-tool input {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(145, 166, 185, 0.24);
  border-radius: 4px;
  padding: 0 12px;
  color: #f7fbff;
  font-size: 18px;
  font-weight: 800;
  background: rgba(1, 7, 12, 0.9);
}

.kd-tool output {
  display: grid;
  place-items: center;
  min-height: 54px;
  border-radius: 4px;
  color: #031018;
  font-family: var(--condensed);
  font-size: 30px;
  font-weight: 800;
  background: var(--lime);
}

.faq-block {
  display: grid;
  gap: 10px;
}

.faq-block details {
  border: 1px solid rgba(145, 166, 185, 0.16);
  border-radius: 4px;
  background: rgba(8, 18, 26, 0.72);
}

.faq-block summary {
  cursor: pointer;
  padding: 14px 16px;
  color: #f7fbff;
  font-family: var(--condensed);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.faq-block details p {
  padding: 0 16px 16px;
}

.footer {
  flex-shrink: 0;
  margin-top: auto;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  min-height: 76px;
  padding: 0 28px;
  border-top: 1px solid rgba(142, 166, 184, 0.16);
  background: rgba(1, 5, 8, 0.95);
}

.footer-brand {
  width: 240px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.socials img {
  width: 27px;
  height: 27px;
}

.legal {
  display: flex;
  gap: 34px;
  color: #999fa9;
  font-family: var(--condensed);
  font-size: 17px;
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1050px) {
  .topbar {
    height: auto;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 12px 18px;
  }

  .brand-divider {
    display: none;
  }

  .main-nav {
    order: 3;
    width: 100%;
    height: 38px;
    gap: 18px;
    overflow-x: auto;
  }

  .brand {
    width: 240px;
  }

  .stats-grid,
  .dashboard-grid,
  .profile-detail,
  .seo-grid,
  .tools-block {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-grid,
  .profile-detail,
  .seo-grid,
  .tools-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html,
  body,
  .site-shell {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background-size: auto 450px;
  }

  .topbar {
    padding: 12px 14px;
  }

  .brand {
    width: 214px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

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

  .hero {
    min-height: 230px;
    padding: 28px 14px 12px;
  }

  .hero-inner,
  .content-wrap,
  .seo-content {
    width: calc(100% - 32px);
    max-width: 390px;
    margin-right: auto;
    margin-left: auto;
  }

  .seo-content {
    margin-top: 210px;
  }

  .seo-block {
    padding: 20px 16px;
  }

  .seo-block h2 {
    font-size: 30px;
  }

  .seo-block p,
  .seo-block li {
    font-size: 14px;
  }

  .hud-corners {
    top: 8px;
    width: 100%;
  }

  h1 {
    width: 100%;
    max-width: 340px;
    margin: 20px 0 8px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(24px, 6vw, 28px);
    line-height: 1.08;
    letter-spacing: 0.02em;
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .hero-copy {
    display: none;
  }

  .search-form {
    grid-template-columns: 48px minmax(0, 1fr);
    height: auto;
    padding: 8px;
  }

  .search-form input {
    height: 46px;
    font-size: 20px;
  }

  .search-form button {
    grid-column: 1 / -1;
    width: 100%;
    height: 48px;
    margin: 8px 0 0;
  }

  .profile-head {
    align-items: flex-start;
    min-height: 96px;
    padding: 14px 58px 14px 14px;
  }

  .profile-card,
  .home-empty,
  .info-view {
    width: 100%;
    max-width: 100%;
  }

  .info-view {
    padding: 24px 18px;
  }

  .info-view h2 {
    font-size: 42px;
    overflow-wrap: anywhere;
  }

  .info-view p,
  .legal-copy p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.62;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .legal-copy {
    width: 100%;
    max-width: 100%;
    margin-top: 22px;
  }

  .legal-copy p {
    min-width: 0;
  }

  .info-view header {
    gap: 12px;
    padding-bottom: 18px;
  }

  .info-view header p {
    line-height: 1.45;
  }

  .favorite {
    top: 28px;
    right: 14px;
  }

  .avatar-ring {
    width: 70px;
    height: 70px;
    margin-right: 16px;
  }

  .profile-title h2 {
    font-size: 28px;
  }

  .profile-summary-strip {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px 12px;
  }

  .profile-summary-strip span {
    font-size: 18px;
  }

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

  .stat-card {
    min-height: 116px;
    padding: 16px 18px 18px;
  }

  .stat-main {
    font-size: 44px;
  }

  .stat-meta {
    display: block;
  }

  .stat-meta strong {
    position: static;
    display: block;
    width: auto;
    max-width: none;
    margin: 6px 0 0;
    text-align: left;
  }

  .stat-line {
    right: auto;
    left: 18px;
    bottom: 16px;
    width: 124px;
  }

  .match-row {
    grid-template-columns: 48px 70px 80px 44px 44px 44px;
    padding: 0 10px;
  }

  .mode-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .mode-card-head {
    width: 100%;
  }

  .mode-card-stats {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .match-row .kd,
  .match-row .dots {
    display: none;
  }

  .rank-body,
  .rank-stats,
  .info-view header,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .rank-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(145, 166, 185, 0.14);
  }

  .detail-row,
  .detail-empty {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 11px 14px;
  }

  .detail-row span {
    max-width: 100%;
    text-align: left;
  }

  .footer {
    gap: 18px;
    justify-items: start;
    padding: 24px;
  }

  .footer-brand {
    width: 214px;
  }

  .socials {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-block {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
