* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  background: #f7f8fa;
  color: #111318;
}

body {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

.hidden {
  display: none !important;
}

/* --- Lobby screen --- */
#login-screen {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 54% 32%, rgba(255, 255, 255, 0.95), rgba(247, 248, 250, 0.96) 52%, #f5f7f9 100%),
    #f7f8fa;
}

.lobby-shell {
  min-width: 1180px;
  min-height: 840px;
  height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 310px minmax(870px, 1fr);
  background: rgba(255, 255, 255, 0.9);
}

.lobby-sidebar {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: 32px 26px 18px;
  border-right: 1px solid rgba(32, 41, 54, 0.08);
  background: rgba(251, 252, 253, 0.82);
  box-shadow: 18px 0 60px rgba(31, 43, 56, 0.04);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  width: fit-content;
  margin-bottom: 32px;
  font-size: 39px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.brand span {
  color: #05070a;
}

.brand b,
.hero-content h1 b {
  color: #3f941f;
}

.side-nav {
  display: grid;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(32, 41, 54, 0.08);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 21px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  color: #171b28;
  font-size: 18px;
  font-weight: 760;
}

.nav-item.active {
  color: #3b941d;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 131, 16, 0.08);
  box-shadow: 0 10px 26px rgba(25, 48, 68, 0.04);
}

.nav-item em {
  position: absolute;
  right: 14px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: #fff;
  background: #8ac15c;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.nav-icon {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 2px solid #283044;
  border-radius: 7px;
}

.active .nav-icon {
  border-color: #45a329;
}

.target-icon,
.speed-icon,
.quest-icon,
.gear-icon {
  border-radius: 50%;
}

.target-icon::before,
.quest-icon::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.target-icon::after,
.quest-icon::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -3px;
  width: 8px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-38deg);
}

.speed-icon::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 9px;
  height: 2px;
  background: currentColor;
  transform: rotate(-36deg);
  transform-origin: left center;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 11px 0 0 currentColor;
}

.skin-icon {
  border-radius: 50%;
}

.skin-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 8px -3px 0 currentColor, 10px 6px 0 currentColor;
}

.board-icon {
  border-width: 0;
}

.board-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  bottom: 1px;
  width: 4px;
  height: 16px;
  border: 2px solid currentColor;
  border-bottom: 3px solid currentColor;
  box-shadow: 8px -6px 0 -2px #fff, 8px -6px 0 0 currentColor, 16px -2px 0 -2px #fff, 16px -2px 0 0 currentColor;
}

.medal-icon {
  border-radius: 50% 50% 45% 45%;
}

.medal-icon::before {
  content: "";
  position: absolute;
  left: 7px;
  bottom: -7px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.gear-icon::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.profile-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 17px;
  margin-top: auto;
  padding: 20px 0 19px;
  border-bottom: 1px solid rgba(32, 41, 54, 0.08);
}

.avatar-ring {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 6px solid #66b82f;
  border-radius: 50%;
  color: #0b1016;
  background: #fff;
  font-size: 38px;
  font-weight: 900;
}

.profile-copy input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #10151f;
  background: transparent;
  font-size: 18px;
  font-weight: 900;
}

.xp-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #242936;
  font-size: 13px;
  font-weight: 900;
}

.xp-line span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: #fff;
  background: #66b82f;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.xp-bar {
  width: 100%;
  height: 7px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dde2e7;
}

.xp-bar i {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: #61ac31;
}

.wallet-list {
  display: grid;
  gap: 12px;
  padding: 17px 14px 14px;
}

.wallet-list div {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  color: #111722;
}

.wallet-list b {
  font-size: 16px;
  font-weight: 900;
}

.wallet-list small {
  display: block;
  grid-column: 2;
  margin-top: -7px;
  color: #303947;
  font-size: 10px;
  font-weight: 800;
}

.wallet-list button {
  width: 27px;
  height: 27px;
  border: 0;
  border-radius: 7px;
  color: #4aa022;
  background: #edf7e8;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

.bolt {
  color: #ff9b1a;
}

.gem {
  color: #8858f2;
}

.star {
  color: #ffbc28;
}

.mass {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  border-radius: 50%;
  background: #1d7bef;
  font-size: 11px;
  font-weight: 900;
}

.social-row {
  display: flex;
  justify-content: space-around;
  margin-top: auto;
  color: #263043;
  opacity: 0.8;
}

.lobby-main {
  display: grid;
  grid-template-rows: 102px 455px 206px 242px;
  min-width: 0;
  padding: 0 36px 14px;
}

.top-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 31px;
}

.top-actions button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  color: #1d2432;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.youtube-pill {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 190px;
  height: 57px;
  padding: 0 26px;
  border-radius: 29px;
  background: #fff;
  box-shadow: 0 11px 30px rgba(18, 28, 42, 0.09), inset 0 0 0 1px rgba(29, 39, 52, 0.05);
  font-size: 17px;
}

.youtube-pill b {
  color: #161920;
  font-weight: 900;
}

.youtube-pill b::first-letter {
  color: #ff1414;
}

.youtube-pill strong {
  font-size: 16px;
  font-weight: 900;
}

.hero-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 410px;
  overflow: hidden;
  margin-right: 456px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  margin-top: 28px;
}

.hero-content h1 {
  font-size: clamp(58px, 5.15vw, 86px);
  line-height: 0.95;
  color: #05070a;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-content p {
  margin-top: 20px;
  color: #4c5566;
  font-size: 21px;
  font-weight: 500;
}

.online-count {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 52px;
  color: #4a515e;
  font-size: 16px;
  font-weight: 650;
}

.online-count b {
  color: #54a52c;
}

#play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 61px;
  width: 362px;
  height: 79px;
  margin-top: 24px;
  border: 2px solid #3d9a20;
  border-radius: 9px;
  color: #3c971f;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 35px rgba(43, 112, 25, 0.05);
  font-size: 28px;
  font-weight: 950;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

#play-button span {
  font-size: 49px;
  line-height: 0;
  font-weight: 300;
}

#play-button:hover {
  transform: translateY(-1px);
  background: #f8fff4;
  box-shadow: 0 19px 42px rgba(43, 112, 25, 0.12);
}

.controls-hint {
  display: grid;
  justify-items: center;
  gap: 3px;
  margin-top: 29px;
  color: #687080;
  font-size: 14px;
  font-weight: 650;
}

.controls-hint i {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 13px 3px;
  border-radius: 50%;
  background: #9aa2ad;
}

.orb,
.dot {
  position: absolute;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.orb {
  filter: saturate(1.08);
}

.orb-green {
  left: -258px;
  top: 18px;
  width: 458px;
  height: 458px;
  background: linear-gradient(145deg, #93d74f, #48b52c);
  box-shadow: inset 35px 45px 80px rgba(255, 255, 255, 0.14);
}

.orb-blue {
  top: -157px;
  right: 43px;
  width: 172px;
  height: 172px;
  background: linear-gradient(145deg, #18a5ff, #0062d7);
  box-shadow: inset 30px 20px 44px rgba(255, 255, 255, 0.19);
}

.orb-purple {
  right: -105px;
  bottom: -138px;
  width: 285px;
  height: 285px;
  background: linear-gradient(145deg, #8e47ef, #6550e3);
  box-shadow: inset 26px 25px 75px rgba(255, 255, 255, 0.17);
}

.dot {
  box-shadow: inset 4px 4px 9px rgba(255, 255, 255, 0.25), 0 8px 20px rgba(18, 28, 42, 0.09);
}

.d1 { left: 17%; top: 1%; width: 34px; height: 34px; background: #0e97e4; }
.d2 { left: 31%; top: 13%; width: 30px; height: 30px; background: #eb1463; }
.d3 { left: 38%; top: 27%; width: 17px; height: 17px; background: #6730bc; }
.d4 { left: 33%; top: 45%; width: 16px; height: 16px; background: #f5bd20; }
.d5 { left: 26%; top: 66%; width: 19px; height: 19px; background: #32a94a; }
.d6 { left: 17%; top: 85%; width: 23px; height: 23px; background: #079ddf; }
.d7 { left: 36%; top: 69%; width: 14px; height: 14px; background: #ee4971; }
.d8 { left: 45%; top: 60%; width: 4px; height: 4px; background: #eb2f64; }
.d9 { left: 48%; top: 8%; width: 9px; height: 9px; background: #f8c646; }
.d10 { left: 58%; top: 13%; width: 15px; height: 15px; background: #f07091; }
.d11 { right: 18%; top: 36%; width: 12px; height: 12px; background: #288816; }
.d12 { right: 9%; top: 44%; width: 25px; height: 25px; background: #f36e26; }

.quest-panel,
.info-card,
.right-card {
  border: 1px solid rgba(31, 42, 56, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 16px 34px rgba(21, 34, 50, 0.04);
}

.quest-panel {
  position: relative;
  z-index: 3;
  min-height: 184px;
  margin-right: 456px;
  padding: 25px 32px 21px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-heading h2,
.info-card h2,
.right-card h2 {
  position: relative;
  color: #111318;
  font-size: 16px;
  font-weight: 950;
}

.panel-heading h2::after,
.info-card h2::after,
.right-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 27px;
  height: 3px;
  border-radius: 999px;
  background: #59a92c;
}

.panel-heading span {
  color: #48a326;
  font-size: 15px;
  font-weight: 850;
}

.quest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 27px;
  margin-top: 32px;
}

.quest-card {
  display: grid;
  grid-template-columns: 50px minmax(90px, 1fr) auto auto;
  align-items: center;
  gap: 13px;
  min-height: 92px;
  padding: 18px 19px;
  border: 1px solid rgba(31, 42, 56, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
}

.quest-card h3 {
  margin-bottom: 18px;
  color: #111318;
  font-size: 14px;
  font-weight: 950;
}

.quest-card strong {
  align-self: end;
  margin-bottom: 6px;
  white-space: nowrap;
  color: #242b38;
  font-size: 13px;
  font-weight: 900;
}

.quest-card em {
  align-self: end;
  margin-bottom: 4px;
  color: #5a42ea;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
}

.quest-symbol {
  width: 38px;
  height: 38px;
  color: #58a729;
}

.target-symbol {
  border: 7px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.target-symbol::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: currentColor;
}

.target-symbol::after {
  content: "";
  position: absolute;
  right: -8px;
  top: -9px;
  width: 23px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-42deg);
}

.mass-symbol {
  background:
    radial-gradient(circle at 50% 50%, currentColor 0 16%, transparent 17%),
    radial-gradient(circle at 18% 50%, currentColor 0 10%, transparent 11%),
    radial-gradient(circle at 82% 50%, currentColor 0 10%, transparent 11%),
    radial-gradient(circle at 50% 18%, currentColor 0 10%, transparent 11%),
    radial-gradient(circle at 50% 82%, currentColor 0 10%, transparent 11%);
}

.cup-symbol {
  position: relative;
  border-radius: 5px 5px 15px 15px;
  background: currentColor;
}

.cup-symbol::before,
.cup-symbol::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 13px;
  height: 16px;
  border: 5px solid currentColor;
  border-radius: 50%;
}

.cup-symbol::before {
  left: -11px;
}

.cup-symbol::after {
  right: -11px;
}

.progress {
  width: 120px;
  max-width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe3e8;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #67af32;
}

.quest-panel > a {
  position: absolute;
  right: 45px;
  bottom: 23px;
  color: #171b22;
  font-size: 14px;
  font-weight: 850;
}

.quest-panel > a span,
.news-card a span {
  margin-left: 12px;
  font-size: 24px;
  font-weight: 300;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 330px 375px minmax(520px, 1fr);
  gap: 24px;
  padding-top: 16px;
}

.info-card {
  min-height: 228px;
  padding: 26px 30px;
}

.offers-card,
.news-card {
  display: grid;
  align-content: start;
  gap: 18px;
}

.offer-row {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  grid-template-rows: auto auto;
  align-items: center;
  color: #151923;
  font-size: 14px;
}

.offer-row:first-of-type {
  margin-top: 18px;
}

.offer-row span {
  grid-row: 1 / 3;
  font-size: 28px;
}

.offer-row b {
  grid-column: 2;
  font-size: 14px;
  font-weight: 950;
}

.offer-row small {
  grid-column: 2;
  color: #5b6471;
  font-size: 13px;
  font-weight: 650;
}

.offer-row i {
  grid-column: 3;
  grid-row: 1 / 3;
  color: #172031;
  font-size: 28px;
  font-style: normal;
}

.news-card p {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 3px;
  color: #151923;
  font-size: 14px;
  font-weight: 750;
}

.news-card p:first-of-type {
  margin-top: 22px;
}

.news-card p span {
  color: #58a829;
}

.news-card small {
  color: #7b8490;
  font-size: 12px;
  font-weight: 650;
}

.news-card a {
  align-self: end;
  color: #41931f;
  font-size: 14px;
  font-weight: 850;
}

.mobile-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
  align-items: center;
  overflow: hidden;
}

.mobile-card p {
  margin-top: 31px;
  color: #596270;
  font-size: 14px;
  font-weight: 650;
}

.store-row {
  display: flex;
  gap: 13px;
  margin-top: 60px;
}

.store-row span {
  display: grid;
  place-items: center;
  min-width: 145px;
  min-height: 55px;
  border: 1px solid rgba(31, 42, 56, 0.1);
  border-radius: 8px;
  color: #111318;
  background: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 900;
}

.phone-mockup {
  position: relative;
  justify-self: center;
  width: min(360px, 100%);
  aspect-ratio: 2.15 / 1;
  border: 12px solid #16181f;
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 30%, #7d26df 0 9%, transparent 10%),
    radial-gradient(circle at 43% 24%, #80cf25 0 10%, transparent 11%),
    radial-gradient(circle at 72% 74%, #f15b27 0 10%, transparent 11%),
    radial-gradient(circle at 89% 38%, #3e75ef 0 7%, transparent 8%),
    linear-gradient(145deg, #041a4d, #092b68 56%, #061035);
  box-shadow: 0 16px 28px rgba(17, 24, 34, 0.23);
  transform: rotate(4deg);
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 58px;
  height: 7px;
  border-radius: 999px;
  background: #05070a;
  transform: translateX(-50%);
}

.phone-mockup .p {
  position: absolute;
  display: block;
  border-radius: 50%;
  box-shadow: inset 4px 5px 10px rgba(255, 255, 255, 0.25);
}

.p1 { left: 13%; top: 47%; width: 44px; height: 44px; background: #9633e8; }
.p2 { left: 38%; top: 35%; width: 76px; height: 76px; background: #74ca24; }
.p3 { right: 18%; bottom: 10%; width: 42px; height: 42px; background: #f86f19; }
.p4 { right: 6%; top: 28%; width: 28px; height: 28px; background: #3d8df1; }
.p5 { left: 72%; top: 8%; width: 17px; height: 17px; background: #f7cb2b; }

.lobby-right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 29px;
  width: 456px;
  padding: 116px 25px 0 14px;
}

.right-card {
  padding: 24px 29px;
}

.modes-card {
  min-height: 351px;
}

.modes-card article {
  display: grid;
  grid-template-columns: 44px 1fr 22px;
  align-items: center;
  gap: 14px;
  min-height: 52px;
}

.modes-card article:first-of-type {
  margin-top: 31px;
}

.mode {
  display: grid;
  place-items: center;
  width: 36px;
  color: #66bd20;
  font-size: 37px;
  font-weight: 950;
  line-height: 1;
}

.teams {
  color: #684df0;
  font-size: 22px;
  letter-spacing: -8px;
}

.battle {
  color: #0e78ef;
  font-size: 45px;
}

.lab {
  color: #ff7d21;
  font-size: 33px;
}

.modes-card b {
  color: #10151f;
  font-size: 15px;
  font-weight: 950;
}

.modes-card small {
  display: block;
  margin-top: 3px;
  color: #4d5664;
  font-size: 13px;
  font-weight: 650;
}

.modes-card i {
  color: #182132;
  font-size: 30px;
  font-style: normal;
}

.friends-card {
  min-height: 280px;
}

.friend-row {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 30px;
}

.friend-row span {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #111318;
  background: var(--face);
  box-shadow: 0 3px 12px rgba(20, 30, 42, 0.1);
  font-size: 16px;
  font-weight: 950;
}

.friends-card p {
  margin: 18px 0 16px;
  color: #5d6675;
  text-align: center;
  font-size: 14px;
  font-weight: 650;
}

.friends-card button {
  width: 100%;
  height: 38px;
  border: 1px solid #49a31f;
  border-radius: 10px;
  color: #fff;
  background: #4da020;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

.friends-card .outline {
  margin-top: 10px;
  color: #4c9d21;
  background: #fff;
}

/* --- Game screen --- */
#game-screen {
  position: fixed;
  inset: 0;
}

#game-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #f2f2f2;
}

#leaderboard {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 200px;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: #333;
  background: rgba(255, 255, 255, 0.85);
}

#mass-counter {
  position: fixed;
  top: 16px;
  left: 16px;
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: #333;
  background: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: bold;
}

#leaderboard h2 {
  margin-bottom: 6px;
  color: #555;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#leaderboard-list {
  list-style: none;
  font-size: 13px;
  line-height: 1.6;
}

#leaderboard-list li {
  display: flex;
  justify-content: space-between;
}

#minimap-canvas {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 150px;
  height: 150px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
}

#death-banner {
  position: fixed;
  top: 40%;
  left: 50%;
  padding: 14px 28px;
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
  font-size: 20px;
  font-weight: bold;
  transform: translate(-50%, -50%);
}

@media (max-width: 1280px) {
  .lobby-shell {
    grid-template-columns: 260px minmax(780px, 1fr);
    min-width: 1040px;
  }

  .brand {
    font-size: 32px;
  }

  .nav-item {
    font-size: 16px;
    gap: 15px;
  }

  .top-actions {
    gap: 18px;
  }

  .hero-panel,
  .quest-panel {
    margin-right: 360px;
  }

  .lobby-right {
    width: 360px;
  }

  .bottom-grid {
    grid-template-columns: 300px 330px minmax(420px, 1fr);
  }
}

@media (max-height: 860px) {
  #login-screen {
    overflow: auto;
  }

  .lobby-shell {
    height: auto;
  }
}
