*,
*::before,
*::after {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #000000;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Pixelify Sans", "Segoe UI", sans-serif;
  font-size: 22px;
  line-height: 1.45;
  color: #f2f2f2;
  background: #000000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 0 32px;
  background: #000000;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 50;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.menu-toggle .icon-close {
  display: none;
}

html.nav-open,
html.nav-open body {
  overflow: hidden;
}

html.nav-open .menu-toggle {
  visibility: hidden;
  pointer-events: none;
}

.nav-head {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav .tab,
.nav .sign-in {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: #d4d4d4;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-shadow: none;
  filter: none;
  white-space: nowrap;
}

.nav .tab:hover,
.nav .sign-in:hover,
.nav .tab.is-active,
.nav .sign-in.is-active {
  color: #ffffff;
  background: transparent;
  box-shadow: none;
  filter: none;
}

.nav .sign-in {
  margin-left: 0;
}

html.i18n-wait,
html.i18n-wait body,
html.content-hold,
html.content-hold body {
  background: #000000 !important;
}

html.i18n-wait body,
html.content-hold body {
  visibility: hidden !important;
}

.lang {
  position: relative;
  margin-left: 12px;
  flex: none;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
}

.lang-toggle:hover {
  background: #0a0a0a;
}

.lang-toggle svg {
  width: 20px;
  height: 20px;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: 160px;
  padding: 6px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.lang-menu button:hover,
.lang-menu button.is-active {
  background: #0a0a0a;
}

.club {
  position: relative;
}

.club-toggle {
  gap: 6px;
  cursor: pointer;
}

.club-caret {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.club-toggle[aria-expanded="true"] .club-caret {
  transform: rotate(180deg);
}

.club-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 30;
  min-width: 180px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #000000;
}

.club-menu[hidden] {
  display: none;
}

.club-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #d4d4d4;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.club-tab:hover,
.club-tab.is-active {
  background: #141414;
  color: #ffffff;
}

.club-tab:focus-visible {
  outline: 2px solid #2f6bff;
  outline-offset: 2px;
}

.club-tab svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  color: #ffffff;
  background: #3a3a3a;
  border: 3px solid #1a1a1a;
  box-shadow:
    inset 3px 3px 0 #6e6e6e,
    inset -3px -3px 0 #1c1c1c;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  text-shadow: 2px 2px 0 #111111;
  white-space: nowrap;
}

.tab:hover {
  background: #4a4a4a;
  color: #ffffff;
}

.tab:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.tab.is-active {
  background: #2a2a2a;
  color: #ffffff;
  box-shadow:
    inset -3px -3px 0 #6e6e6e,
    inset 3px 3px 0 #141414;
}

.logo,
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
  text-shadow: none;
}

.logo-net {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9a9a9a;
  font-weight: 500;
}

.logo-net::before {
  content: "";
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.28);
}

.logo:hover .logo-net,
.nav-logo:hover .logo-net {
  color: #9a9a9a;
}

.logo:hover,
.nav-logo:hover {
  color: #ffffff;
}

.logo:focus-visible,
.nav-logo:focus-visible,
.nav .tab:focus-visible,
.nav .sign-in:focus-visible,
.nav-close:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid #2f6bff;
  outline-offset: 3px;
}

.nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.header-lip {
  display: none;
}

.page {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.panel {
  width: min(720px, 100%);
  padding: 32px 36px 28px;
  background: #c6c6c6;
  border: 4px solid #1a1a1a;
  box-shadow:
    inset 4px 4px 0 #ffffff,
    inset -4px -4px 0 #555555,
    8px 8px 0 rgba(0, 0, 0, 0.35);
}

.eyebrow {
  margin: 0 0 14px;
  color: #3f3f3f;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 0 #ffffff;
}

h1 {
  margin: 0 0 18px;
  color: #3f3f3f;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 3px 3px 0 #ffffff;
}

.lead,
.panel p {
  margin: 0 0 16px;
}

.nameplate {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  padding: 16px 18px 18px;
  background: #8b8b8b;
  border: 3px solid #1a1a1a;
  box-shadow:
    inset -3px -3px 0 #ffffff,
    inset 3px 3px 0 #373737;
}

.nameplate-label {
  color: #e6e6e6;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  text-shadow: 2px 2px 0 #3f3f3f;
}

.nameplate-value {
  color: #ffffff;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  text-shadow: 3px 3px 0 #3f3f3f;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
}

.field span {
  color: #2b2b2b;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 10px;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  color: #ffffff;
  background: #8b8b8b;
  border: 3px solid #1a1a1a;
  box-shadow:
    inset 3px 3px 0 #373737,
    inset -3px -3px 0 #ffffff;
  font-family: "Pixelify Sans", "Segoe UI", sans-serif;
  font-size: 22px;
}

.field input:focus {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.mc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 4px;
  padding: 10px 16px;
  color: #ffffff;
  background: #c6c6c6;
  border: 3px solid #1a1a1a;
  box-shadow:
    inset 3px 3px 0 #ffffff,
    inset -3px -3px 0 #555555;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 11px;
  cursor: pointer;
  text-shadow: 2px 2px 0 #3f3f3f;
}

.mc-button:hover {
  background: #dddddd;
}

.mc-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.mc-button:active {
  background: #8b8b8b;
  box-shadow:
    inset -3px -3px 0 #ffffff,
    inset 3px 3px 0 #373737;
}

.form-note {
  margin: 16px 0 0;
}

.page-sign .panel {
  width: min(520px, 100%);
  background: #141414;
  border: 3px solid #2a2a2a;
  box-shadow: 6px 6px 0 #000000;
}

.page-sign .eyebrow {
  color: #ffe566;
  text-shadow: 2px 2px 0 #3a2a08;
}

.page-sign h1 {
  color: #ffffff;
  text-shadow: 3px 3px 0 #111111;
}

.page-sign .lead {
  color: #d4d4d4;
}

.discord-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 8px;
  padding: 12px 18px;
  background: #5865f2;
  border: 3px solid #1a1a1a;
  color: #ffffff;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 13px;
  cursor: pointer;
  text-shadow: 2px 2px 0 #2c2f6e;
  box-shadow:
    inset 3px 3px 0 #7289da,
    inset -3px -3px 0 #3c45a5;
}

.discord-signin:hover {
  background: #4752c4;
}

.discord-signin:focus-visible {
  outline: 3px solid #ffe566;
  outline-offset: 3px;
}

.discord-signin:active {
  background: #3c45a5;
  box-shadow:
    inset -3px -3px 0 #7289da,
    inset 3px 3px 0 #2c2f6e;
}

.page-home {
  display: block;
  width: 100%;
  padding: 0 0 56px;
  background: #000000;
}

.home-expect {
  width: min(1440px, calc(100% - 64px));
  margin: 20px auto 0;
}

.home-expect-panel {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: #0a0a0a;
  overflow: hidden;
}

.home-expect h2 {
  margin: 0;
  padding: 22px 28px 0;
  color: #ffffff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}

.home-expect-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-expect-grid li {
  padding: 22px 24px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.home-expect-grid li:last-child {
  border-right: 0;
}

.expect-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: #141414;
  color: #ffffff;
}

.home-expect-grid h3 {
  margin: 0;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.home-expect-grid p {
  margin: 8px 0 0;
  color: #a3a3a3;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.home-pick {
  width: min(1440px, calc(100% - 64px));
  margin: 28px auto 0;
}

.home-pick[hidden] {
  display: none;
}

.home-pick-panel {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: #0a0a0a;
  overflow: hidden;
}

.home-pick h2 {
  margin: 0;
  padding: 22px 28px 0;
  color: #ffffff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}

.home-pick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 18px 28px 28px;
  list-style: none;
}

.home-pick-grid > li {
  display: flex;
  flex: 0 1 250px;
  width: 250px;
  max-width: 100%;
}

.home-live {
  width: min(1440px, calc(100% - 64px));
  margin: 40px auto 0;
}

.home-live[hidden] {
  display: none;
}

.home-live-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 28px;
  margin: 0;
  color: #d4d4d4;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.live-state {
  color: #a3a3a3;
}

.home-live.is-online .live-state {
  color: #3dff7a;
}

.home-live.is-offline .live-state {
  color: #ff6b6b;
}

.home-live-line [data-live="players"],
.home-live-line [data-live="max"] {
  color: #4d82ff;
}

.home-live-line [data-live="version"] {
  color: #ffffff;
}

.home-live-line [data-live="ping"] {
  color: #3dff7a;
}

.home-guide {
  width: min(1440px, calc(100% - 64px));
  margin: 28px auto 0;
}

.home-guide-panel {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: #0a0a0a;
  overflow: hidden;
}

.home-guide h2 {
  margin: 0;
  padding: 22px 28px 0;
  color: #ffffff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}

.home-guide ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-guide li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.home-guide li:last-child {
  border-right: 0;
}

.home-guide li span {
  color: #4d82ff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.home-guide li p {
  margin: 0;
  color: #d4d4d4;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.home-hero {
  position: relative;
  width: min(1440px, calc(100% - 64px));
  min-height: 480px;
  margin: 24px auto 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  background: #0a0a0a url("/images/hero.jpg") center center / cover no-repeat;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 46%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
}

.home-hero-image,
.home-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-video {
  display: none;
}

.home-hero.is-video .home-hero-video {
  display: block;
}

.home-hero.is-video .home-hero-image,
.home-hero.is-youtube .home-hero-image,
.home-hero.is-youtube .home-hero-video {
  display: none;
}

.home-hero-youtube {
  display: none;
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.home-hero.is-youtube .home-hero-youtube {
  display: block;
}

.home-hero-content {
  position: absolute;
  left: 40px;
  right: auto;
  bottom: 36px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #2f6bff;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.hero-cta:hover {
  background: #4d82ff;
  color: #ffffff;
}

.hero-cta-store {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-cta-store:hover {
  background: #1c1c1c;
}

.hero-cta:focus-visible {
  outline: 2px solid #2f6bff;
  outline-offset: 3px;
}

button.tab {
  cursor: pointer;
}

.page-maps {
  display: block;
  width: 100%;
  padding: 0 0 48px;
  background: #000000;
}

.map-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
  gap: 16px;
  width: min(1440px, calc(100% - 64px));
  margin: 72px auto 0;
  padding: 0;
  list-style: none;
}

.map-shot {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #141414;
  color: #ffffff;
}

.map-shot img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.map-shot div {
  padding: 14px 16px 16px;
}

.map-shot h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.map-shot p {
  margin: 6px 0 0;
  color: #d4d4d4;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.maps,
.map-page,
.map-missing {
  width: min(1100px, calc(100% - 64px));
  margin: 20px auto 48px;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.maps-head {
  display: block;
}

.page-maps h1,
.page-map h1 {
  margin: 0;
  color: #ffffff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  text-shadow: none;
}

.maps-count {
  margin: 6px 0 0;
  color: #737373;
  font-size: 14px;
  line-height: 1.3;
}

.maps-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(280px, 100%);
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #0a0a0a;
  color: #737373;
}

.maps-search svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.maps-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #ffffff;
  color-scheme: dark;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
}

.maps-search input::placeholder {
  color: #737373;
}

.maps-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 16px;
}

.maps-filter {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: transparent;
  color: #d4d4d4;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.maps-filter.is-on {
  border-color: #ffffff;
  background: #ffffff;
  color: #0a0a0a;
}

.maps-filter:focus-visible,
.maps-card:focus-visible,
.maps-dialog-close:focus-visible {
  outline: 2px solid #2f6bff;
  outline-offset: 3px;
}

.maps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.maps-grid > li {
  display: flex;
  flex: 0 1 250px;
  width: 250px;
  max-width: 100%;
}

.maps-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #0a0a0a;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.maps-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.maps-art,
.maps-dialog-art {
  display: block;
  height: 132px;
  background-color: #141414;
  background-position: center;
}

.maps-art.is-tile,
.maps-dialog-art.is-tile {
  background-repeat: repeat;
  background-size: 64px 64px;
  image-rendering: pixelated;
}

.maps-art.is-photo,
.maps-dialog-art.is-photo {
  background-repeat: no-repeat;
  background-size: cover;
}

.maps-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 16px;
}

.maps-cat {
  color: #737373;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.maps-name {
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.maps-summary,
.maps-dialog-body p {
  color: #d4d4d4;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.maps-empty {
  margin: 8px 0 0;
  color: #737373;
  font-size: 14px;
}

.maps-dialog {
  position: relative;
  width: min(560px, calc(100% - 32px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #0a0a0a;
  color: #ffffff;
}

.maps-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.maps-dialog-art {
  height: 220px;
}

.maps-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  cursor: pointer;
}

.maps-dialog-close svg {
  width: 16px;
  height: 16px;
}

.maps-dialog-body {
  padding: 18px 20px 20px;
}

.maps-dialog-body h2 {
  margin: 4px 0 8px;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: none;
}

.maps-dialog-body p {
  margin: 0;
}

.map-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  color: #d4d4d4;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.map-back svg {
  width: 16px;
  height: 16px;
}

.map-back:hover {
  color: #ffffff;
}

.map-banner {
  width: 100%;
  height: 280px;
  margin: 0;
  border-radius: 18px;
}

.map-story {
  display: grid;
  grid-template-rows: auto auto minmax(4.8em, auto);
  align-content: start;
  min-height: 168px;
  margin-top: 22px;
}

.map-story .maps-cat {
  margin: 0;
}

.map-story h1 {
  margin-top: 6px;
}

.map-about {
  margin: 12px 0 0;
  color: #d4d4d4;
  font-size: 16px;
  line-height: 1.6;
}

.map-graphic {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 28px;
  border-radius: 18px;
  background: #141414;
}

.map-graphic[hidden],
.map-video[hidden],
.map-page[hidden],
.map-missing[hidden] {
  display: none;
}

.map-video {
  position: relative;
  width: 100%;
  margin-top: 22px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #141414;
}

.map-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-video-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.map-video-empty svg {
  width: 28px;
  height: 28px;
}

.map-video.is-ready .map-video-empty,
.map-video iframe[hidden] {
  display: none;
}

.map-missing {
  color: #d4d4d4;
  font-size: 15px;
}

.map-missing a {
  color: #ffffff;
}


.map-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(1440px, calc(100% - 64px));
  margin: 16px auto 0;
}

.map-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: #141414;
  color: #d4d4d4;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.map-cta:hover {
  background: #1c1c1c;
  color: #ffffff;
}

.map-cta:focus-visible {
  outline: 2px solid #2f6bff;
  outline-offset: 3px;
}

.page-maps .home-maps {
  padding-top: 120px;
}

.page-maps .home-maps + .home-maps {
  padding-top: 12px;
}

.page-map-detail {
  display: block;
  width: 100%;
  padding: 0;
  background: #000000;
}

.map-detail {
  width: min(960px, calc(100% - 56px));
  margin: 0 auto;
  padding: 120px 0 56px;
}

.map-detail-back {
  color: #ffe566;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 12px;
  text-decoration: none;
  text-shadow: 2px 2px 0 #3a2a08;
}

.map-detail-back:hover {
  color: #fff4b0;
}

.map-detail-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 280px;
  margin-top: 16px;
  padding: 20px 22px;
  border: 3px solid #2a2a2a;
  background-repeat: repeat;
  background-size: 48px 48px;
  image-rendering: pixelated;
  box-shadow: 4px 4px 0 #000000;
}

.map-detail-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.12));
}

.page-map-detail h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.3;
  text-shadow: 3px 3px 0 #111111;
}

.map-detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr;
  gap: 16px;
  align-items: start;
  margin-top: 16px;
}

.map-detail-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-panel {
  background: #141414;
  border: 3px solid #2a2a2a;
  padding: 18px 18px 16px;
}

.map-kicker {
  margin: 0 0 10px;
  color: #ffe566;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 12px;
  text-shadow: 2px 2px 0 #3a2a08;
}

.map-lead {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 20px;
}

.map-panel p {
  margin: 0;
  color: #d4d4d4;
  font-size: 18px;
  line-height: 1.45;
}

.map-panel .map-kicker,
.map-panel .map-server {
  color: #ffe566;
}

.map-panel .map-lead {
  color: #ffffff;
}

.map-places {
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-places li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 2px solid #2a2a2a;
  color: #d4d4d4;
  font-size: 18px;
}

.map-places li:first-child {
  border-top: 0;
  padding-top: 0;
}

.map-places li span:first-child {
  color: #ffffff;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 12px;
  text-shadow: 2px 2px 0 #111111;
}

.map-places li span:last-child {
  text-align: right;
}

.map-side {
  border-top: 6px solid #e6c75a;
}

.map-server-label {
  margin-top: 18px;
}

.map-server {
  color: #ffe566;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 13px;
  text-shadow: 2px 2px 0 #3a2a08;
}

.map-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  min-height: 44px;
  padding: 10px 14px;
  background: #3d8c28;
  border: 3px solid #1a1a1a;
  color: #ffffff;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 12px;
  cursor: pointer;
  text-shadow: 2px 2px 0 #14300c;
  box-shadow:
    inset 3px 3px 0 #7dcc4a,
    inset -3px -3px 0 #1f5a14;
}

.map-copy:hover {
  background: #4ea234;
}

.map-note {
  margin-top: 10px;
  color: #ffe566;
  font-size: 16px;
}

.map-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-gallery img {
  display: block;
  width: min(280px, 100%);
  height: auto;
  border: 3px solid #2a2a2a;
}

.map-others {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-others a {
  display: inline-flex;
  padding: 10px 12px;
  background: #1c1c1c;
  border: 2px solid #2a2a2a;
  color: #d4d4d4;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  word-spacing: 0.35em;
  white-space: nowrap;
  text-decoration: none;
}

.map-others a:hover {
  border-color: #ffe566;
  color: #ffe566;
}

.home-maps {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  padding: 36px 28px 56px;
  background: #000000;
}

.page-home .home-maps {
  padding-left: max(96px, 10vw);
  padding-right: max(96px, 10vw);
}

.home-maps-kicker {
  margin: 0 0 8px;
  color: #ffe566;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 12px;
  text-align: center;
  text-shadow: 2px 2px 0 #3a2a08;
}

.home-maps-head {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  gap: 16px;
  margin-bottom: 18px;
  text-align: center;
}

.home-maps h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: clamp(22px, 4vw, 36px);
  line-height: 1.3;
  text-align: center;
  text-shadow: 3px 3px 0 #111111;
}

.home-maps-amp {
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 0.82em;
  letter-spacing: 0;
  text-shadow: none;
}

.home-maps-more {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #ffe566;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 14px;
  text-decoration: none;
  text-shadow: 2px 2px 0 #3a2a08;
}

.home-maps-more:hover {
  color: #fff4b0;
}

.home-maps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-maps-grid > li {
  display: flex;
  flex: 0 0 260px;
  width: 260px;
  max-width: 100%;
}

.map-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  background: #141414;
  border: 3px solid #2a2a2a;
  color: inherit;
  text-decoration: none;
  box-shadow: 4px 4px 0 #000000;
}

.map-card:hover {
  border-color: #ffe566;
}

.map-card-art {
  display: block;
  height: 168px;
  background-repeat: repeat;
  background-size: 48px 48px;
  image-rendering: pixelated;
}

.map-card-lobby {
  background-image: url("/textures/stone.svg");
}

.map-card-overworld {
  background-image: url("/textures/grass-top.svg");
}

.map-card-nether {
  background-image: url("/textures/nether.svg");
}

.map-card-end {
  background-image: url("/textures/dark-stone.svg");
}

.map-card-settlement {
  background-image: url("/textures/oak-planks.svg");
}

.map-card-arena {
  background-image: url("/textures/arena.svg");
}

.map-card-resource {
  background-image: url("/textures/resource.svg");
}

.map-card-citybuild {
  background-image: url("/textures/citybuild.svg");
}

.map-card-survival {
  background-image: url("/textures/survival.svg");
}

.map-card-duels {
  background-image: url("/textures/duels.svg");
}

.map-card-kitpvp {
  background-image: url("/textures/kitpvp.svg");
}

.map-card-lifesteal {
  background-image: url("/textures/lifesteal.svg");
}

.map-card-bedwars {
  background-image: url("/textures/bedwars.svg");
}

.map-card-skywars {
  background-image: url("/textures/skywars.svg");
}

.map-card-parkour {
  background-image: url("/textures/parkour.svg");
}

.map-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
}

.map-card-title {
  min-height: 2.8em;
  color: #ffffff;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 16px;
  line-height: 1.4;
  text-shadow: 2px 2px 0 #111111;
}

.map-card-copy {
  flex: 1;
  min-height: 4.05em;
  color: #d4d4d4;
  font-size: 18px;
  line-height: 1.35;
}

.play-dialog {
  width: min(420px, calc(100% - 32px));
  margin: auto;
  padding: 22px 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #0a0a0a;
  color: #ffffff;
}

.play-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.play-kicker {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.play-steps {
  margin: 0 0 18px;
  color: #d4d4d4;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.play-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #2f6bff;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.play-close:hover {
  background: #4d82ff;
}

.page-rules {
  display: block;
  width: 100%;
  padding: 0 0 72px;
  background: #000000;
}

.rules-wrap {
  width: min(860px, calc(100% - 64px));
  margin: 28px auto 0;
}

.page-rules h1 {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  text-shadow: none;
}

.team-roles {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.team-roles h2 {
  margin: 0 0 10px;
  color: #737373;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.team-roles ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 1 148px;
  width: 148px;
  max-width: calc(50% - 6px);
  min-width: 0;
  padding: 18px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: #0a0a0a;
  text-align: center;
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: #141414;
  object-fit: cover;
}

.team-name {
  max-width: 100%;
  overflow: hidden;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.team-social a {
  display: flex;
  color: #a3a3a3;
}

.team-social a:hover {
  color: #ffffff;
}

.team-social svg {
  width: 18px;
  height: 18px;
}

.page-stats {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #000000;
}

html:has(.page-stats),
body:has(.page-stats) {
  height: 100vh;
  overflow: hidden;
}

.stats-wrap {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: min(1100px, calc(100% - 64px));
  min-height: 0;
  margin: 20px auto 16px;
}

.page-stats h1 {
  margin: 0;
  color: #ffffff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  text-shadow: none;
}

.stats-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.stats-search {
  width: 240px;
  flex: 0 0 240px;
  margin: 0;
}

.stats-search input {
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #141414;
  box-shadow: none;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  outline: none;
}

.stats-search input::placeholder {
  color: #737373;
}

.stats-search input:focus {
  border-color: rgba(77, 130, 255, 0.8);
}

.stats-filter {
  position: relative;
}

.stats-filter-btn,
.stats-filter-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: #141414;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.stats-filter-btn {
  height: 40px;
  padding: 0 12px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.stats-filter-btn svg,
.stats-filter-option svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.stats-filter-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 6;
  min-width: 180px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #0a0a0a;
}

.stats-filter-menu[hidden] {
  display: none;
}

.stats-filter-option {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  background: transparent;
  color: #d4d4d4;
  text-align: left;
}

.stats-filter-option:hover,
.stats-filter-option.is-active {
  background: #141414;
  color: #ffffff;
}

.stats-filter-option.is-active {
  color: #4d82ff;
}

.stats-panel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: #0a0a0a;
  overflow-x: auto;
  overflow-y: hidden;
}

.stats-track {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 920px;
  min-height: 0;
  height: 100%;
}

.stats-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a transparent;
}

.stats-scroll::-webkit-scrollbar {
  display: block;
  width: 8px;
  height: 8px;
}

.stats-scroll::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 8px;
}

.stats-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.stats-spacer {
  position: relative;
  width: 100%;
}

.stats-list {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats-head-row,
.stats-row {
  display: grid;
  grid-template-columns: 36px minmax(180px, 1.6fr) repeat(5, minmax(108px, 1fr));
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
}

.stats-head-row {
  flex: 0 0 auto;
  height: 44px;
}

.stats-row {
  height: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-head-row {
  color: #737373;
  font-size: 12px;
  font-weight: 600;
}

.stats-sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.stats-sort svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.stats-sort.is-active {
  color: #4d82ff;
}

.stats-rank {
  color: #737373;
  font-variant-numeric: tabular-nums;
}

.stats-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.stats-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 6px;
  background: #141414;
  image-rendering: pixelated;
}

.stats-name {
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-value {
  color: #d4d4d4;
  font-variant-numeric: tabular-nums;
}

.stats-value.is-active {
  color: #4d82ff;
}

.stats-empty {
  margin: 0;
  padding: 18px 20px 20px;
  color: #a3a3a3;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
}

.rules-lead {
  margin: 0;
  max-width: 42em;
  color: #d4d4d4;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.rules-group {
  margin-top: 36px;
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.rule-section {
  margin: 0;
  color: #ffffff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.rule {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.rule-index {
  color: #8a8a8a;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.rule h3 {
  margin: 0 0 4px;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.rule-code {
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 1em;
  text-decoration: none;
}

a.rule-code:hover {
  text-decoration: underline;
}

.punishments {
  margin-top: 36px;
  padding: 18px 18px 16px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.punishments h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.punishments > p {
  margin: 0 0 14px;
  color: #d4d4d4;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.punish-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  counter-reset: punish;
}

.punish-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  counter-increment: punish;
}

.punish-list li::before {
  content: counter(punish, decimal-leading-zero);
  color: #8a8a8a;
  font-weight: 600;
}

.rules-head .rules-note {
  margin-top: 16px;
}

.rules-note {
  margin: 0;
  color: #d4d4d4;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.rules-note a {
  color: #ffffff;
  text-decoration: none;
}

.rules-note a:hover {
  color: #d4d4d4;
}

.rules-note + .rules-note {
  margin-top: 10px;
}

.rule p {
  margin: 0;
  color: #d4d4d4;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.page-discord {
  display: block;
  width: 100%;
  padding: 36px 0 72px;
}

.discord-wrap {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

.page-discord h1 {
  color: #ffffff;
  text-shadow: 3px 3px 0 #111111;
}

.discord-join {
  display: inline-flex;
  margin-top: 8px;
  padding: 14px 18px;
  background: #3d8c28;
  color: #ffffff;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 2px 2px 0 #14300c;
  box-shadow:
    inset 3px 3px 0 #7dcc4a,
    inset -3px -3px 0 #1f5a14;
}

.discord-join:hover {
  background: #4ea234;
}

.discord-url {
  margin: 14px 0 0;
}

.discord-url a {
  color: #ffe566;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 14px;
  text-decoration: none;
  text-shadow: 2px 2px 0 #3a2a08;
}

.discord-url a:hover {
  text-decoration: underline;
}

.discord-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.discord-grid li {
  padding: 16px 18px;
  background: #141414;
  border: 3px solid #2a2a2a;
}

.discord-grid h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 16px;
  font-weight: 700;
  text-shadow: 2px 2px 0 #111111;
}

.discord-grid p {
  margin: 0;
  color: #d4d4d4;
  font-size: 18px;
  line-height: 1.4;
}

.discord-note {
  margin: 22px 0 0;
  color: #d4d4d4;
  font-size: 18px;
}

.discord-note a {
  color: #ffe566;
  text-decoration: none;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding: 28px 32px 32px;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
}

.footer-legal,
.footer-nav,
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-nav {
  justify-content: center;
  gap: 28px;
}

.footer-ip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #d4d4d4;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.footer-ip svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  pointer-events: none;
}

.footer-ip:hover,
.footer-ip.is-copied {
  color: #ffffff;
}

.footer-ip.is-copied {
  color: #3dff7a;
}

.footer-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.footer-social {
  justify-content: flex-end;
  gap: 16px;
}

.footer-rule {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.16);
}

.footer-note {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  max-width: 280px;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: right;
}

.footer-legal a,
.footer-nav a,
.footer-social a {
  color: #d4d4d4;
  font-weight: 600;
  text-decoration: none;
}

.footer-legal a:hover,
.footer-nav a:hover,
.footer-social a:hover {
  color: #ffffff;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-ip:focus-visible,
.footer-legal a:focus-visible,
.footer-nav a:focus-visible,
.footer-social a:focus-visible {
  outline: 2px solid #2f6bff;
  outline-offset: 3px;
}

.page-legal {
  display: block;
  width: 100%;
  padding: 36px 0 72px;
}

.page-legal h1 {
  color: #ffffff;
  text-shadow: 3px 3px 0 #111111;
}

.page-legal .legal-copy,
.page-legal .legal-copy h1,
.page-legal .legal-copy h2,
.page-legal .legal-copy p,
.page-legal .legal-copy li,
.page-legal .legal-copy a {
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  letter-spacing: 0;
  text-shadow: none;
}

.page-legal .legal-copy h1 {
  margin: 0 0 20px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.page-legal .legal-copy h2 {
  margin: 28px 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.page-legal .legal-copy p,
.page-legal .legal-copy li {
  margin: 0 0 12px;
  color: #d4d4d4;
  font-size: 17px;
  line-height: 1.65;
}

.page-legal .legal-copy ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.page-legal .legal-copy a {
  color: #ffffff;
}

.events-wrap {
  width: min(860px, 100%);
  margin: 36px auto 0;
  padding: 0 20px;
}

.events-lead {
  margin: 0 0 22px;
  color: #c8c8c8;
  font-size: 22px;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-card {
  padding: 20px 22px;
  background: #141414;
  border: 3px solid #2a2a2a;
  border-left-width: 6px;
}

.event-kicker {
  margin: 0 0 8px;
  color: #ffe566;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 2px 2px 0 #3a2a08;
}

.event-card h2,
.hub-card h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 2px 2px 0 #111111;
}

.event-card p {
  margin: 0;
  color: #d4d4d4;
  font-size: 20px;
  line-height: 1.45;
}

.event-build {
  border-left-color: #5d9c33;
}

.event-arena {
  border-left-color: #8b9098;
}

.event-loot {
  border-left-color: #e6c75a;
}

.event-nether {
  border-left-color: #d4533a;
}

.event-hub {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 12px;
}

.hub-card {
  padding: 20px 22px;
  background: #141414;
  border: 3px solid #2a2a2a;
}

.countdown-when {
  margin: 0 0 16px;
  color: #d4d4d4;
  font-size: 20px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.countdown-grid span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  background: #000000;
  border: 2px solid #2a2a2a;
  color: #9a9a9a;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 11px;
}

.countdown-grid strong {
  color: #ffe566;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 2px 2px 0 #3a2a08;
}

.prize-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.prize-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: #d4d4d4;
  font-size: 20px;
  line-height: 1.4;
}

.prize-place {
  color: #ffe566;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 14px;
  text-shadow: 2px 2px 0 #3a2a08;
}

.fame-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 28px;
  padding: 20px 22px;
  background: #141414;
  border: 3px solid #2a2a2a;
  color: #ffffff;
  text-decoration: none;
}

.fame-link strong {
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 20px;
  text-shadow: 2px 2px 0 #111111;
}

.fame-link span:last-child {
  color: #d4d4d4;
  font-size: 20px;
}

.fame-link:hover {
  border-color: #ffe566;
}

.page-fame {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 56px 20px 80px;
}

.fame-wrap {
  width: min(860px, 100%);
}

.page-fame h1 {
  margin: 0 0 14px;
  color: #ffffff;
  text-shadow: 3px 3px 0 #3f3f3f;
}

.fame-board {
  margin-top: 8px;
  background: #141414;
  border: 3px solid #2a2a2a;
}

.fame-head {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 1.2fr 1.4fr;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 3px solid #2a2a2a;
  color: #ffe566;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 12px;
}

.fame-empty {
  margin: 0;
  padding: 22px 18px;
  color: #d4d4d4;
  font-size: 20px;
}

.fame-back {
  display: inline-block;
  margin-top: 22px;
  color: #ffe566;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 14px;
  text-decoration: none;
}

.fame-back:hover {
  text-decoration: underline;
}

.page-shop {
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero {
  width: min(1320px, 100%);
  margin: 8px auto 0;
}

.hero-window {
  overflow: hidden;
}

.hero-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: clamp(168px, 18vw, 240px);
  min-height: 0;
  padding: 24px 32px;
  border: 4px solid #1a1a1a;
  box-shadow:
    inset 4px 4px 0 rgba(255, 255, 255, 0.28),
    inset -4px -4px 0 rgba(0, 0, 0, 0.45),
    6px 6px 0 rgba(0, 0, 0, 0.35);
  background-color: #3f3f3f;
  background-size: 64px 64px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.08) 58%);
  pointer-events: none;
}

.banner {
  position: relative;
  overflow: hidden;
}

.banner-build {
  background-image: url("/textures/grass-top.svg");
}

.banner-arena {
  background-color: #2c2f34;
  background-image: url("/textures/dark-stone.svg");
}

.banner-loot {
  background-image: url("/textures/dirt.svg");
}

.banner-nether {
  background-color: #6b2418;
  background-image: url("/textures/nether.svg");
}

.hero-shop .banner {
  height: clamp(168px, 18vw, 240px);
  justify-content: center;
  padding: 24px 32px;
  border-color: #6e5410;
  background-size: auto;
  box-shadow:
    inset 4px 4px 0 #f6e27a,
    inset -4px -4px 0 #4a360c,
    6px 6px 0 rgba(0, 0, 0, 0.35);
}

.hero-shop .banner h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 40px);
  color: #ffe566;
  text-shadow: 3px 3px 0 #3a2a08;
}

.hero-shop .banner p {
  font-size: 22px;
}

.hero-shop .banner-kicker {
  margin-bottom: 8px;
  color: #fff4c2;
}

.banner-ranks {
  background-color: #6a4e12;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28)),
    repeating-linear-gradient(90deg, #c9a227 0 28px, #e6c75a 28px 36px, #8d6b16 36px 44px);
}

.banner-cosmetics {
  background-color: #146b3a;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.32)),
    repeating-linear-gradient(90deg, #1f8a4c 0 28px, #3dbe6e 28px 36px, #0f5a30 36px 44px);
}

.banner-keys {
  background-color: #6b4424;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.38)),
    repeating-linear-gradient(180deg, #8a5a32 0 18px, #6b4424 18px 22px);
}

.banner-boosters {
  background-color: #1d4e8f;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34)),
    repeating-linear-gradient(90deg, #1d4e8f 0 28px, #3b78d0 28px 36px, #143868 36px 44px);
}

.banner-kicker,
.banner h2,
.banner p {
  position: relative;
  z-index: 1;
}

.banner-kicker {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: 16px;
  font-weight: 700;
  text-shadow: 3px 3px 0 #3f3f3f;
}

.banner h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: "Silkscreen", "Press Start 2P", "Courier New", monospace;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 4px 4px 0 #3f3f3f;
}

.banner-loot h2 {
  color: #ffe566;
}

.banner p {
  margin: 0;
  max-width: 16em;
  color: #f7f7f7;
  font-size: 22px;
  text-shadow: 2px 2px 0 #1a1a1a;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.hero-dot {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 3px solid #1a1a1a;
  background: #3a3a3a;
  box-shadow:
    inset 3px 3px 0 #6a6a6a,
    inset -3px -3px 0 #1c1c1c;
  cursor: pointer;
}

.hero-dot:hover {
  background: #555555;
}

.hero-dot:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.hero-dot.is-active {
  background: #ffe566;
  box-shadow:
    inset 3px 3px 0 #fff4a8,
    inset -3px -3px 0 #b89b22;
}

@media (max-width: 860px) {
  .header-bar {
    flex-wrap: nowrap;
    padding: 0 16px;
    min-height: 72px;
  }

  .logo {
    margin-right: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0 16px 32px;
    overflow: auto;
    background: #000000;
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
  }

  .nav.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  .nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 72px;
    height: 72px;
    margin: 0 0 8px;
  }

  .nav .tab,
  .nav .tab:hover,
  .nav .tab.is-active,
  .nav .sign-in,
  .nav .sign-in:hover,
  .nav .sign-in.is-active {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    background: #141414;
    background-image: none;
    box-shadow: none;
    filter: none;
    color: #ffffff;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    text-shadow: none;
  }

  .nav .tab:hover,
  .nav .sign-in:hover {
    background: #1c1c1c;
  }

  .club {
    width: 100%;
  }

  .nav .club-toggle {
    justify-content: space-between;
  }

  .nav .club-caret {
    width: 18px;
    height: 18px;
  }

  .club-menu {
    position: static;
    width: auto;
    min-width: 0;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .club-tab {
    min-height: 48px;
    margin-bottom: 4px;
    padding: 0 16px;
    border-radius: 14px;
    background: #141414;
  }

  .page {
    padding: 28px 14px;
  }

  .page-home {
    padding: 0 0 40px;
  }

  .home-expect,
  .home-pick {
    width: calc(100% - 32px);
    margin-top: 16px;
  }

  .home-pick h2 {
    padding: 18px 18px 0;
    font-size: 20px;
  }

  .home-pick-grid {
    padding: 16px 18px 18px;
  }

  .home-pick-grid > li {
    flex-basis: calc(50% - 7px);
    width: calc(50% - 7px);
  }

  .home-expect h2 {
    padding: 18px 18px 0;
    font-size: 20px;
  }

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

  .home-expect-grid li {
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .home-expect-grid li:nth-child(2n) {
    border-right: 0;
  }

  .home-expect-grid li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .home-live {
    width: calc(100% - 32px);
    margin-top: 32px;
  }

  .home-live-line {
    gap: 6px 18px;
    font-size: 14px;
  }

  .home-guide {
    width: calc(100% - 32px);
    margin-top: 24px;
  }

  .home-guide h2 {
    padding: 18px 18px 0;
    font-size: 20px;
  }

  .home-guide ol {
    grid-template-columns: 1fr;
  }

  .home-guide li {
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .home-guide li:last-child {
    border-bottom: 0;
  }

  .page-maps {
    padding: 0;
  }

  .page-maps .home-maps {
    padding-top: 22px;
  }

  .page-maps .home-maps + .home-maps {
    padding-top: 4px;
  }

  .page-map-detail {
    padding: 0;
  }

  .map-detail {
    width: calc(100% - 28px);
    padding-top: 22px;
  }

  .map-detail-banner {
    height: 180px;
  }

  .map-detail-layout {
    grid-template-columns: 1fr;
  }

  .map-places li {
    flex-direction: column;
    gap: 4px;
  }

  .map-places li span:last-child {
    text-align: left;
  }

  .map-gallery img {
    width: calc(50% - 6px);
  }

  .home-maps {
    padding: 22px 14px 36px;
  }

  .page-home .home-maps {
    padding-left: 36px;
    padding-right: 36px;
  }

  .home-maps-grid {
    gap: 10px;
  }

  .home-maps-grid > li {
    flex-basis: calc(50% - 5px);
    width: calc(50% - 5px);
  }

  .map-card-art {
    height: 120px;
    background-size: 40px 40px;
  }

  .map-card-body {
    gap: 0;
    padding: 10px 8px 12px;
  }

  .map-card-title {
    font-size: 11px;
  }

  .map-card-copy {
    min-height: 5.4em;
  }

  .page-home .map-card-copy {
    display: none;
    min-height: 0;
  }

  .page-rules {
    padding: 0 0 48px;
  }

  .rules-wrap {
    width: calc(100% - 32px);
    margin-top: 20px;
  }

  .page-rules h1 {
    font-size: 28px;
  }

  .page-stats {
    padding: 0;
  }

  .stats-wrap {
    width: calc(100% - 32px);
    margin-top: 16px;
  }

  .stats-search {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }

  .stats-panel {
    overflow: hidden;
  }

  .stats-track {
    min-width: 0;
  }

  .stats-head-row {
    display: none;
  }

  .stats-row {
    grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 36px 22px 22px 22px;
    align-items: center;
    column-gap: 14px;
    row-gap: 4px;
    height: 136px;
    padding: 10px 16px;
  }

  .stats-rank {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .stats-player {
    grid-column: 2 / -1;
    grid-row: 1;
  }

  .stats-value {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
  }

  .stats-value::before {
    content: attr(data-label);
    color: #737373;
    font-size: 12px;
    font-weight: 500;
  }

  .stats-row .stats-value:nth-child(3),
  .stats-row .stats-value:nth-child(5) {
    grid-column: 2;
  }

  .stats-row .stats-value:nth-child(4),
  .stats-row .stats-value:nth-child(6) {
    grid-column: 3;
  }

  .stats-row .stats-value:nth-child(3) { grid-row: 2; }
  .stats-row .stats-value:nth-child(4) { grid-row: 2; }
  .stats-row .stats-value:nth-child(5) { grid-row: 3; }
  .stats-row .stats-value:nth-child(6) { grid-row: 3; }

  .stats-row .stats-value:nth-child(7) {
    grid-column: 2 / -1;
    grid-row: 4;
  }

  .stats-filter-menu {
    right: 0;
    left: auto;
  }

  .page-stats h1 {
    font-size: 28px;
  }

  .page-discord {
    padding: 24px 0 48px;
  }

  .discord-wrap {
    padding: 0 14px;
  }

  .discord-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .discord-grid li {
    padding: 12px 10px;
  }

  .discord-grid h2 {
    font-size: 12px;
  }

  .discord-grid p {
    font-size: 14px;
  }

  .countdown-grid strong {
    font-size: 16px;
  }

  .events-lead {
    font-size: 18px;
  }

  .rule {
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 14px;
  }

  .home-hero {
    width: calc(100% - 32px);
    min-height: 420px;
    margin: 16px auto 8px;
  }

  .home-hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 20%, rgba(0, 0, 0, 0.78) 100%);
  }

  .home-hero-content {
    left: 20px;
    right: 20px;
    bottom: 20px;
    gap: 8px;
  }

  .hero-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .map-pair,
  .map-ctas,
  .maps,
  .map-page,
  .map-missing {
    width: calc(100% - 32px);
  }

  .maps,
  .map-page,
  .map-missing {
    margin-top: 16px;
  }

  .page-maps h1,
  .page-map h1 {
    font-size: 28px;
  }

  .map-banner {
    height: 220px;
  }

  .maps-grid > li {
    flex-basis: calc(50% - 7px);
    width: calc(50% - 7px);
  }

  .map-pair {
    margin-top: 48px;
  }

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

  .panel {
    padding: 22px 18px 18px;
  }

  .banner,
  .hero-shop .banner {
    height: 132px;
    min-height: 0;
    padding: 18px 20px;
  }

  .hero-shop .banner h2 {
    font-size: 16px;
  }

  .hero-shop .banner p,
  .banner p {
    font-size: 15px;
  }

  .banner h2 {
    font-size: 18px;
  }

  body {
    font-size: 19px;
  }

  .site-footer {
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    justify-items: stretch;
    gap: 12px;
    padding: 24px 16px 28px;
  }

  .footer-legal,
  .footer-nav,
  .footer-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-nav {
    align-items: center;
    text-align: center;
  }

  .footer-end,
  .footer-social {
    align-items: flex-end;
  }

  .footer-rule {
    display: none;
  }

  .footer-note {
    max-width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav {
    transition: none;
  }
}
