/* Reused from the supplied Blackline Strike lobby and match loader. */
:where(#lobby) *,
:where(#match-loading) * {
  box-sizing: border-box;
}
:where(#lobby) button,
:where(#match-loading) button {
  font: inherit;
}
:where(#lobby) button,
:where(#match-loading) button {
  color: inherit;
  cursor: pointer;
  border: 0px;
  background: none;
  -webkit-tap-highlight-color: transparent;
}
:where(#lobby) button:disabled,
:where(#match-loading) button:disabled {
  cursor: wait;
  opacity: 0.45;
}
:where(#lobby) button:active,
:where(#match-loading) button:active {
  filter: brightness(0.9);
}
:where(#lobby) svg,
:where(#match-loading) svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
:where(#lobby) h1,
:where(#match-loading) h1,
:where(#lobby) h2,
:where(#match-loading) h2,
:where(#lobby) p,
:where(#match-loading) p {
  margin: 0px;
}
:where(#lobby) h1,
:where(#match-loading) h1,
:where(#lobby) h2,
:where(#match-loading) h2,
:where(#lobby) strong,
:where(#match-loading) strong,
:where(#lobby) b,
:where(#match-loading) b {
  font-weight: 600;
}
:where(#lobby) h1,
:where(#match-loading) h1,
:where(#lobby) h2,
:where(#match-loading) h2 {
  font-family: BarlowCondensedSemiBold, Impact, sans-serif;
  letter-spacing: 0.025em;
}
:where(#lobby) small,
:where(#match-loading) small {
  font-size: 11px;
}
:where(#lobby) kbd,
:where(#match-loading) kbd {
  font:
    11px RajdhaniMedium,
    Arial,
    sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.314);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  min-height: 19px;
  padding: 0px 5px;
  color: rgb(217, 223, 220);
}
:where(#lobby) .screen,
:where(#match-loading) .screen {
  position: absolute;
  inset: 0px;
}
:where(#lobby) .eyebrow,
:where(#match-loading) .eyebrow {
  font-size: 11px;
  letter-spacing: 0.19em;
}
:where(#lobby) .eyebrow,
:where(#match-loading) .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-fg, #f4f1e7);
}
:where(#lobby) .loader-progress,
:where(#match-loading) .loader-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.11);
  width: 100%;
  overflow: hidden;
}
:where(#lobby) .loader-progress > div,
:where(#match-loading) .loader-progress > div {
  width: 0px;
  height: 100%;
  background: var(--accent);
  transition: width 0.25s;
}
:where(#lobby) .icon-button,
:where(#match-loading) .icon-button {
  position: relative;
  width: 45px;
  height: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    rgba(255, 255, 255, 0.055),
    rgba(16, 24, 29, 0.5)
  );
  border: 1px solid rgba(255, 255, 255, 0.075);
  transition: 0.2s;
}
:where(#lobby) .icon-button:hover,
:where(#match-loading) .icon-button:hover {
  background: rgba(255, 255, 255, 0.133);
  color: var(--accent-fg, #f4f1e7);
}
#match-loading {
  z-index: 30;
  background: rgb(17, 26, 32);
}
:where(#lobby) .loading-art,
:where(#match-loading) .loading-art {
  position: absolute;
  inset: 0px;
  background:
    linear-gradient(90deg, rgba(14, 23, 29, 0.937), transparent),
    var(--racing-art) center center / cover;
}
:where(#lobby) .loading-content,
:where(#match-loading) .loading-content {
  position: absolute;
  left: 7%;
  top: 26%;
  width: min(520px, 75vw);
}
:where(#lobby) .loading-content h2,
:where(#match-loading) .loading-content h2 {
  font-size: clamp(64px, 9vw, 120px);
  line-height: 1.1;
  margin: 16px 0px;
}
:where(#lobby) .loading-content p,
:where(#match-loading) .loading-content p {
  letter-spacing: 0.18em;
  font-size: 12px;
  color: rgb(189, 199, 195);
}
:where(#lobby) .loading-rule,
:where(#match-loading) .loading-rule {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 30px 0px;
}
:where(#lobby) .loading-content strong,
:where(#match-loading) .loading-content strong {
  display: block;
  font-family: BarlowCondensedSemiBold, sans-serif;
  font-size: 24px;
}
:where(#lobby) .loading-content small,
:where(#match-loading) .loading-content small {
  display: block;
  color: rgb(169, 180, 176);
  margin: 18px 0px 35px;
  font-size: 14px;
}
:where(#lobby) .loading-content > span:last-child,
:where(#match-loading) .loading-content > span:last-child {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  margin-top: 12px;
  color: var(--accent-fg, #f4f1e7);
}
:where(#lobby) .loading-brand,
:where(#match-loading) .loading-brand {
  position: absolute;
  right: 5%;
  bottom: 6%;
}
@media (prefers-reduced-motion: reduce) {
  :where(#lobby) *,
  :where(#match-loading) * {
    animation: auto ease 0s 1 normal none running none !important;
    scroll-behavior: auto !important;
  }
}
#lobby {
  z-index: 2;
  pointer-events: none;
}
:where(#lobby) .lobby-header,
:where(#match-loading) .lobby-header,
:where(#lobby) .lobby-footer,
:where(#match-loading) .lobby-footer {
  pointer-events: auto;
}
:where(#lobby) .lobby-vignette,
:where(#match-loading) .lobby-vignette {
  position: absolute;
  inset: 0px;
  background:
    linear-gradient(
      90deg,
      rgba(11, 18, 23, 0.79) 0%,
      rgba(11, 19, 24, 0.25) 33%,
      transparent 57%,
      rgba(13, 21, 27, 0.376) 75%,
      rgba(12, 19, 26, 0.8)
    ),
    linear-gradient(
      0deg,
      rgba(9, 16, 21, 0.933),
      transparent 28%,
      transparent 80%,
      rgba(8, 16, 21, 0.627)
    );
}
:where(#lobby) .lobby-header,
:where(#match-loading) .lobby-header {
  position: absolute;
  left: 3.3%;
  right: 3.3%;
  top: 3.4%;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 56px;
}
:where(#lobby) .profile-plate,
:where(#match-loading) .profile-plate {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0px 18px 0px 0px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  min-width: 235px;
  text-align: left;
}
:where(#lobby) .profile-badge,
:where(#match-loading) .profile-badge {
  width: 51px;
  height: 55px;
  display: grid;
  place-items: center;
  background: rgba(18, 29, 27, 0.5);
  clip-path: polygon(50% 0px, 100% 20%, 88% 75%, 50% 100%, 12% 75%, 0px 20%);
  color: var(--accent-fg, #f4f1e7);
}
:where(#lobby) .profile-plate strong,
:where(#match-loading) .profile-plate strong {
  font-family: BarlowCondensedSemiBold, sans-serif;
  font-size: 20px;
  letter-spacing: 0.1em;
}
:where(#lobby) .profile-plate small,
:where(#match-loading) .profile-plate small {
  display: block;
  color: rgb(158, 168, 165);
  letter-spacing: 0.05em;
  font-size: 10px;
  margin-top: 2px;
}
:where(#lobby) .header-spacer,
:where(#match-loading) .header-spacer {
  flex: 1 1 0%;
}
:where(#lobby) .currency,
:where(#match-loading) .currency {
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.086);
  background: rgba(17, 26, 28, 0.66);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0px 15px;
  margin-right: 8px;
}
:where(#lobby) .coin,
:where(#match-loading) .coin {
  display: grid;
  place-items: center;
  border: 1px solid rgb(226, 215, 158);
  border-radius: 50%;
  width: 23px;
  height: 23px;
  color: rgb(226, 215, 158);
  font-family: BarlowCondensedSemiBold, sans-serif;
}
:where(#lobby) .currency b,
:where(#match-loading) .currency b {
  font-size: 20px;
  letter-spacing: 0.05em;
}
:where(#lobby) .currency small,
:where(#match-loading) .currency small {
  font-size: 8px;
  color: rgb(149, 161, 155);
  margin-left: 7px;
  letter-spacing: 0.08em;
}
:where(#lobby) .mode-selection,
:where(#match-loading) .mode-selection {
  display: flex;
  width: 100%;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  padding: 17px 17px 16px;
}
:where(#lobby) .mode-selection strong,
:where(#match-loading) .mode-selection strong {
  font-family: BarlowCondensedSemiBold, sans-serif;
  display: block;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
:where(#lobby) .mode-selection small,
:where(#match-loading) .mode-selection small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgb(148, 165, 162);
  margin-top: 7px;
}
:where(#lobby) .mode-selection small b,
:where(#match-loading) .mode-selection small b {
  padding: 0px 7px;
  color: rgb(98, 117, 114);
}
:where(#lobby) .mode-selection > svg,
:where(#match-loading) .mode-selection > svg {
  width: 15px;
  height: 15px;
  color: rgb(168, 183, 158);
}
:where(#lobby) .mode-selection:hover,
:where(#match-loading) .mode-selection:hover {
  background: rgba(255, 255, 255, 0.024);
}
:where(#lobby) .play-button,
:where(#match-loading) .play-button {
  height: 85px;
  width: calc(100% + 2px);
  margin-left: -1px;
  padding: 0px 24px;
  background: var(--accent);
  color: var(--accent-ink, rgb(27, 33, 24));
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: 0.2s;
}
:where(#lobby) .play-button::before,
:where(#match-loading) .play-button::before {
  content: "";
  position: absolute;
  inset: 0px;
  background: repeating-linear-gradient(
    135deg,
    transparent 0px,
    transparent 30px,
    rgba(38, 50, 0, 0.024) 31px,
    rgba(38, 50, 0, 0.024) 32px
  );
  pointer-events: none;
}
:where(#lobby) .play-button > svg,
:where(#match-loading) .play-button > svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.4;
}
:where(#lobby) .play-button > span:not(.play-chevron),
:where(#match-loading) .play-button > span:not(.play-chevron) {
  font-family: BarlowCondensedSemiBold, sans-serif;
  font-size: 43px;
  letter-spacing: 0.08em;
}
:where(#lobby) .play-chevron,
:where(#match-loading) .play-chevron {
  font-size: 32px;
  letter-spacing: -0.15em;
  color: rgb(98, 110, 55);
}
:where(#lobby) .play-button:hover,
:where(#match-loading) .play-button:hover {
  background: rgb(232, 246, 129);
  box-shadow: rgba(216, 235, 85, 0.125) 0px 0px 28px;
}
:where(#lobby) .lobby-footer,
:where(#match-loading) .lobby-footer {
  position: absolute;
  left: 3.3%;
  right: 3.3%;
  bottom: 5.9%;
  height: 57px;
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.133);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  align-items: center;
  background: linear-gradient(rgba(17, 27, 32, 0.063), rgba(9, 17, 21, 0.5));
}
:where(#lobby) .brand-small,
:where(#match-loading) .brand-small {
  font-family: BarlowCondensedSemiBold, sans-serif;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: rgb(238, 238, 228);
}
:where(#lobby) .brand-small > span,
:where(#match-loading) .brand-small > span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.49em;
  margin-top: 5px;
  color: var(--accent-fg, #f4f1e7);
}
@media (min-width: 1800px) {
  :where(#lobby) .lobby-header,
  :where(#match-loading) .lobby-header {
    top: 4%;
  }
  :where(#lobby) .play-button,
  :where(#match-loading) .play-button {
    height: 100px;
  }
  :where(#lobby) .mode-selection,
  :where(#match-loading) .mode-selection {
    padding: 20px;
  }
  :where(#lobby) .mode-selection strong,
  :where(#match-loading) .mode-selection strong {
    font-size: 30px;
  }
}
@media (max-width: 1150px) {
  :where(#lobby) .profile-plate,
  :where(#match-loading) .profile-plate {
    min-width: 190px;
  }
  :where(#lobby) .currency small,
  :where(#match-loading) .currency small {
    display: none;
  }
}
@media (max-width: 800px) {
  :where(#lobby) .lobby-header,
  :where(#match-loading) .lobby-header {
    top: 4%;
    left: 3%;
    right: 3%;
    height: 40px;
    gap: 5px;
  }
  :where(#lobby) .profile-plate,
  :where(#match-loading) .profile-plate {
    height: 40px;
    min-width: 160px;
    gap: 8px;
    padding-right: 12px;
  }
  :where(#lobby) .profile-badge,
  :where(#match-loading) .profile-badge {
    width: 33px;
    height: 40px;
  }
  :where(#lobby) .profile-plate strong,
  :where(#match-loading) .profile-plate strong {
    font-size: 17px;
  }
  :where(#lobby) .profile-plate small,
  :where(#match-loading) .profile-plate small {
    font-size: 8px;
  }
  :where(#lobby) .currency,
  :where(#match-loading) .currency {
    height: 33px;
    padding: 0px 9px;
    margin: 0px;
  }
  :where(#lobby) .currency b,
  :where(#match-loading) .currency b {
    font-size: 15px;
  }
  :where(#lobby) .currency .coin,
  :where(#match-loading) .currency .coin {
    width: 17px;
    height: 17px;
    font-size: 12px;
  }
  :where(#lobby) .icon-button,
  :where(#match-loading) .icon-button {
    width: 33px;
    height: 33px;
  }
  :where(#lobby) .icon-button svg,
  :where(#match-loading) .icon-button svg {
    width: 18px;
    height: 18px;
  }
  :where(#lobby) .mode-selection,
  :where(#match-loading) .mode-selection {
    padding: 10px;
  }
  :where(#lobby) .mode-selection strong,
  :where(#match-loading) .mode-selection strong {
    font-size: 17px;
  }
  :where(#lobby) .mode-selection small,
  :where(#match-loading) .mode-selection small {
    font-size: 7px;
    margin-top: 4px;
  }
  :where(#lobby) .play-button,
  :where(#match-loading) .play-button {
    height: 54px;
    padding: 0px 15px;
  }
  :where(#lobby) .play-button > span:not(.play-chevron),
  :where(#match-loading) .play-button > span:not(.play-chevron) {
    font-size: 28px;
  }
  :where(#lobby) .play-button > svg,
  :where(#match-loading) .play-button > svg {
    width: 19px;
    height: 19px;
  }
  :where(#lobby) .play-chevron,
  :where(#match-loading) .play-chevron {
    font-size: 22px;
  }
  :where(#lobby) .lobby-footer,
  :where(#match-loading) .lobby-footer {
    height: 41px;
    bottom: 6%;
    left: 3%;
    right: 3%;
  }
  :where(#lobby) .brand-small > span,
  :where(#match-loading) .brand-small > span {
    font-size: 8px;
    margin-top: 4px;
  }
}
@media (max-width: 600px) and (orientation: portrait) {
  :where(#lobby) .profile-plate,
  :where(#match-loading) .profile-plate {
    min-width: 140px;
  }
}
@media (max-width: 600px) and (orientation: portrait) {
  :where(#lobby) .profile-plate,
  :where(#match-loading) .profile-plate {
    min-width: 130px;
    padding-right: 8px;
  }
  :where(#lobby) .currency,
  :where(#match-loading) .currency {
    padding: 0px 6px;
    gap: 5px;
  }
  :where(#lobby) .currency b,
  :where(#match-loading) .currency b {
    font-size: 14px;
  }
}
#lobby,
#match-loading {
  overflow: hidden;
}
:where(#lobby) button,
:where(#match-loading) button {
  transition:
    background 0.16s,
    color 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
:where(#lobby) button:disabled,
:where(#match-loading) button:disabled {
  cursor: default;
}
:where(#lobby) .play-button,
:where(#match-loading) .play-button {
  background: var(--accent);
  color: var(--accent-ink, rgb(17, 23, 19));
  clip-path: none;
  border-radius: 0px;
  font-family: BarlowCondensedSemiBold, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
}
:where(#lobby) .play-button:hover,
:where(#match-loading) .play-button:hover {
  background: rgb(229, 255, 133);
  box-shadow: rgba(215, 255, 62, 0.145) 0px 0px 26px;
}
:where(#lobby) .menu-backdrop,
:where(#match-loading) .menu-backdrop {
  position: absolute;
  inset: -35px;
  background: var(--menu-image) 50% 45% / cover;
  filter: blur(24px) saturate(0.65);
  transform: scale(1.06);
  z-index: -2;
  pointer-events: none;
}
#lobby {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: transparent;
  pointer-events: auto;
}
#lobby .lobby-vignette {
  inset: 0px;
  z-index: -1;
  background:
    linear-gradient(
      rgba(22, 36, 42, 0.46),
      rgba(32, 42, 41, 0.6) 45%,
      rgba(11, 17, 25, 0.91)
    ),
    linear-gradient(90deg, rgba(11, 20, 24, 0.33), transparent 60%);
  pointer-events: none;
}
:where(#lobby) .lobby-header,
:where(#match-loading) .lobby-header {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  margin: 0 var(--safe-x);
  height: 90px;
  padding: 0px;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  flex: 0 0 auto;
  background: none;
}
:where(#lobby) .brand-lockup,
:where(#match-loading) .brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}
:where(#lobby) .brand-lockup > svg,
:where(#match-loading) .brand-lockup > svg {
  width: 34px;
  height: 42px;
  color: var(--accent-fg, #f4f1e7);
}
:where(#lobby) .brand-lockup > span,
:where(#match-loading) .brand-lockup > span {
  font:
    700 22px / 0.84 BarlowCondensedSemiBold,
    sans-serif;
  letter-spacing: 0.04em;
}
:where(#lobby) .brand-lockup b,
:where(#match-loading) .brand-lockup b {
  display: block;
  font:
    600 10px RajdhaniMedium,
    sans-serif;
  letter-spacing: 0.65em;
  margin-top: 7px;
}
:where(#lobby) .header-divider,
:where(#match-loading) .header-divider {
  height: 32px;
  width: 1px;
  background: rgba(255, 255, 255, 0.165);
  margin: 0px 4px;
}
:where(#lobby) .profile-plate,
:where(#match-loading) .profile-plate {
  padding: 0px;
  gap: 10px;
  background: none;
  clip-path: none;
  border: 0px;
  min-width: 130px;
}
:where(#lobby) .profile-plate .profile-badge,
:where(#match-loading) .profile-plate .profile-badge {
  display: grid;
  place-items: center;
  width: 37px;
  height: 38px;
  background: var(--accent);
  color: var(--accent-ink, rgb(24, 32, 23));
  font:
    700 24px BarlowCondensedSemiBold,
    sans-serif;
  border: 0px;
  clip-path: polygon(0px 0px, 100% 0px, 100% 80%, 80% 100%, 0px 100%);
}
:where(#lobby) .profile-plate strong,
:where(#match-loading) .profile-plate strong {
  font-size: 17px;
  letter-spacing: 0.08em;
}
:where(#lobby) .profile-plate small,
:where(#match-loading) .profile-plate small {
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgb(212, 217, 208);
  margin-top: 3px;
}
:where(#lobby) .session-status,
:where(#match-loading) .session-status {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgb(212, 220, 210);
}
:where(#lobby) .session-status i,
:where(#match-loading) .session-status i,
:where(#lobby) .lobby-underbar > span > i,
:where(#match-loading) .lobby-underbar > span > i,
:where(#lobby) .build-label i,
:where(#match-loading) .build-label i,
:where(#lobby) .live-chip i,
:where(#match-loading) .live-chip i {
  width: 5px;
  height: 5px;
  display: inline-block;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: rgba(215, 255, 62, 0.333) 0px 0px 10px;
}
:where(#lobby) .currency,
:where(#match-loading) .currency {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0px 7px 0px 14px;
  position: relative;
  min-width: 115px;
  padding: 0px 0px 11px;
}
:where(#lobby) .currency .coin,
:where(#match-loading) .currency .coin {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  font-size: 13px;
  border: 1px solid rgba(215, 255, 62, 0.5);
  color: var(--accent-fg, #f4f1e7);
  background: none;
  transform: none;
}
:where(#lobby) .currency b,
:where(#match-loading) .currency b {
  font-size: 20px;
  color: var(--white);
}
:where(#lobby) .currency small,
:where(#match-loading) .currency small {
  position: absolute;
  left: 29px;
  bottom: 0px;
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgb(192, 200, 189);
}
:where(#lobby) .lobby-header .icon-button,
:where(#match-loading) .lobby-header .icon-button {
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.125);
  flex-shrink: 0;
}
:where(#lobby) .lobby-header .icon-button:hover,
:where(#match-loading) .lobby-header .icon-button:hover {
  background: rgba(215, 255, 62, 0.12);
  border-color: var(--accent);
}
:where(#lobby) .lobby-header .icon-button svg,
:where(#match-loading) .lobby-header .icon-button svg {
  width: 19px;
  height: 19px;
}
:where(#lobby) .lobby-workspace,
:where(#match-loading) .lobby-workspace {
  width: min(1300px, 86%);
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0px 20px;
  min-height: 0px;
  flex: 1 1 0%;
}
:where(#lobby) .lobby-section-heading,
:where(#match-loading) .lobby-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: rgb(217, 222, 213);
}
:where(#lobby) .lobby-section-heading > span:first-child,
:where(#match-loading) .lobby-section-heading > span:first-child {
  color: var(--accent-fg, #f4f1e7);
}
:where(#lobby) .lobby-section-heading i,
:where(#match-loading) .lobby-section-heading i {
  display: inline-block;
  height: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.29);
  margin: 0px 10px;
}
#lobby-nav {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0px;
  height: 49px;
  flex: 0 0 auto;
  background: rgba(20, 27, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.055);
  margin: 0px 0px 12px;
  padding: 0px;
}
#lobby-nav > button {
  flex: 1 1 0%;
  padding: 10px 14px;
  margin: 0px;
  font:
    600 17px BarlowCondensedSemiBold,
    sans-serif;
  letter-spacing: 0.05em;
  color: rgb(213, 218, 207);
  position: relative;
  background: none;
  border: 0px;
  border-radius: 0px;
  white-space: nowrap;
}
#lobby-nav > button.active {
  background: var(--accent);
  color: var(--accent-ink, rgb(23, 32, 22));
}
#lobby-nav > button::after {
  display: none;
}
#lobby-nav > button:hover:not(.active) {
  background: rgba(255, 255, 255, 0.075);
  color: rgb(255, 255, 255);
}
#lobby-nav > button > span {
  font:
    600 8px RajdhaniMedium,
    sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 14px;
  margin-left: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  position: static;
  vertical-align: middle;
}
#lobby-nav > button > i {
  display: inline-block;
  background: var(--accent);
  width: 4px;
  height: 4px;
  position: relative;
  top: -6px;
  margin-left: 4px;
  border-radius: 50%;
}
:where(#lobby) .lobby-tiles,
:where(#match-loading) .lobby-tiles {
  height: clamp(330px, 54vh, 580px);
  display: grid;
  grid-template-columns: 0.8fr 1.8fr 1fr;
  grid-template-rows: minmax(0px, 1fr);
  gap: 11px;
  flex: 0 0 auto;
}
:where(#lobby) .tile-column,
:where(#match-loading) .tile-column {
  display: grid;
  gap: 11px;
  min-width: 0px;
  min-height: 0px;
}
:where(#lobby) .tile-column-left,
:where(#match-loading) .tile-column-left {
  grid-template-rows: minmax(0px, 1.05fr) minmax(0px, 1fr);
}
:where(#lobby) .tile-column-right,
:where(#match-loading) .tile-column-right {
  grid-template-rows: minmax(0px, 1.1fr) minmax(0px, 0.9fr) minmax(0px, 0.9fr);
}
:where(#lobby) .lobby-tile,
:where(#match-loading) .lobby-tile {
  position: relative;
  overflow: hidden;
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.125);
}
:where(#lobby) .lobby-tile:hover,
:where(#match-loading) .lobby-tile:hover {
  box-shadow: inset 0 0 0 2px var(--accent);
}
:where(#lobby) .tile-number,
:where(#match-loading) .tile-number {
  position: absolute;
  top: 18px;
  left: 22px;
  font-size: 8px;
  letter-spacing: 0.16em;
  opacity: 0.65;
}
:where(#lobby) .lobby-tile > svg,
:where(#match-loading) .lobby-tile > svg {
  width: 37px;
  height: 37px;
  margin: 14px 0px 10px;
  opacity: 0.7;
}
:where(#lobby) .lobby-tile strong,
:where(#match-loading) .lobby-tile strong {
  font:
    700 clamp(24px, 2.55vw, 38px) / 0.95 BarlowCondensedSemiBold,
    sans-serif;
  letter-spacing: 0.01em;
}
:where(#lobby) .tile-caption,
:where(#match-loading) .tile-caption {
  font:
    600 8px RajdhaniMedium,
    sans-serif;
  letter-spacing: 0.13em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 14px;
  gap: 8px;
}
:where(#lobby) .tile-caption > b,
:where(#match-loading) .tile-caption > b {
  font-size: 19px;
  line-height: 0.6;
  font-weight: 500;
}
:where(#lobby) .light-tile,
:where(#match-loading) .light-tile {
  background: rgb(239, 239, 229);
  color: rgb(25, 35, 36);
}
:where(#lobby) .light-tile::after,
:where(#match-loading) .light-tile::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border: 25px solid rgba(216, 220, 208, 0.19);
  right: -85px;
  top: -40px;
  transform: rotate(30deg);
  z-index: -1;
}
:where(#lobby) .light-tile > svg,
:where(#match-loading) .light-tile > svg {
  width: 80px;
  stroke-width: 1.2;
}
:where(#lobby) .training-tile,
:where(#match-loading) .training-tile {
  background: rgb(215, 255, 62);
  color: rgb(24, 34, 24);
}
:where(#lobby) .training-tile::after,
:where(#match-loading) .training-tile::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: linear-gradient(
    115deg,
    transparent 60%,
    rgba(0, 0, 0, 0.027) 60%
  );
  z-index: -1;
}
:where(#lobby) .feature-tile,
:where(#match-loading) .feature-tile {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--accent);
  isolation: isolate;
  min-height: 0px;
  box-shadow: rgba(5, 10, 12, 0.14) 0px 8px 40px;
}
:where(#lobby) .feature-art,
:where(#match-loading) .feature-art {
  position: absolute;
  inset: 0px;
  background: var(--racing-art) 50% 45% / cover;
  z-index: -2;
  transition: transform 0.6s;
}
:where(#lobby) .feature-tile:hover .feature-art,
:where(#match-loading) .feature-tile:hover .feature-art {
  transform: scale(1.025);
}
:where(#lobby) .feature-tile::after,
:where(#match-loading) .feature-tile::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: linear-gradient(
    rgba(18, 32, 43, 0.133) 10%,
    rgba(17, 25, 31, 0.133) 25%,
    rgba(10, 18, 27, 0.8) 60%,
    rgba(11, 17, 24, 0.97) 100%
  );
  z-index: -1;
}
:where(#lobby) .feature-top,
:where(#match-loading) .feature-top {
  position: absolute;
  left: 23px;
  right: 22px;
  top: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
:where(#lobby) .live-chip,
:where(#match-loading) .live-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(17, 25, 29, 0.9);
  padding: 8px 10px;
  font-size: 8px;
  letter-spacing: 0.1em;
}
:where(#lobby) .feature-index,
:where(#match-loading) .feature-index {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: white;
  text-shadow: rgb(0, 0, 0) 0px 1px 4px;
}
:where(#lobby) .feature-copy,
:where(#match-loading) .feature-copy {
  position: absolute;
  left: 29px;
  right: 29px;
  bottom: 23px;
}
:where(#lobby) .feature-kicker,
:where(#match-loading) .feature-kicker {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--accent-fg, #f4f1e7);
  display: block;
  margin-bottom: 10px;
}
:where(#lobby) .feature-copy h1,
:where(#match-loading) .feature-copy h1 {
  font:
    700 clamp(45px, 4.9vw, 80px) / 0.85 BarlowCondensedSemiBold,
    sans-serif;
  letter-spacing: -0.015em;
  color: rgb(250, 249, 239);
}
:where(#lobby) .feature-copy h1 em,
:where(#match-loading) .feature-copy h1 em {
  font-style: normal;
  color: var(--accent-fg, #f4f1e7);
}
:where(#lobby) .feature-copy p,
:where(#match-loading) .feature-copy p {
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.025em;
  color: rgb(198, 206, 198);
  margin: 14px 0px;
}
:where(#lobby) .feature-rule,
:where(#match-loading) .feature-rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 12px 0px 4px;
}
:where(#lobby) .feature-copy .mode-selection,
:where(#match-loading) .feature-copy .mode-selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0px 12px;
  background: none;
  border: 0px;
  width: 100%;
  gap: 12px;
  text-align: left;
}
:where(#lobby) .feature-copy .mode-selection strong,
:where(#match-loading) .feature-copy .mode-selection strong {
  font:
    600 17px BarlowCondensedSemiBold,
    sans-serif;
  letter-spacing: 0.04em;
}
:where(#lobby) .feature-copy .mode-selection small,
:where(#match-loading) .feature-copy .mode-selection small {
  font-size: 8px;
  letter-spacing: 0.1em;
  display: block;
  color: rgb(195, 205, 195);
  margin-top: 3px;
}
:where(#lobby) .feature-copy .mode-selection small b,
:where(#match-loading) .feature-copy .mode-selection small b {
  color: var(--accent-fg, #f4f1e7);
  margin: 0px 5px;
}
:where(#lobby) .feature-copy .mode-selection > svg,
:where(#match-loading) .feature-copy .mode-selection > svg {
  width: 18px;
  height: 18px;
  color: var(--accent-fg, #f4f1e7);
}
:where(#lobby) .feature-copy .play-button,
:where(#match-loading) .feature-copy .play-button {
  height: 49px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0px 19px;
  gap: 13px;
  border: 0px;
  margin: 0px;
  transform: none;
}
:where(#lobby) .feature-copy .play-button > svg,
:where(#match-loading) .feature-copy .play-button > svg {
  width: 16px;
  height: 16px;
  fill: currentcolor;
}
:where(#lobby) .feature-copy .play-button > span:not(.play-chevron),
:where(#match-loading) .feature-copy .play-button > span:not(.play-chevron) {
  font:
    700 22px BarlowCondensedSemiBold,
    sans-serif;
  letter-spacing: 0.06em;
}
:where(#lobby) .feature-copy .play-chevron,
:where(#match-loading) .feature-copy .play-chevron {
  margin-left: auto;
  font:
    500 26px RajdhaniMedium,
    sans-serif;
}
:where(#lobby) .field-tile,
:where(#match-loading) .field-tile {
  background: var(--racing-art) center center / cover rgb(45, 53, 55);
  justify-content: flex-end;
  padding: 20px;
}
:where(#lobby) .field-tile::after,
:where(#match-loading) .field-tile::after,
:where(#lobby) .map-tile::after,
:where(#match-loading) .map-tile::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: linear-gradient(rgba(16, 26, 35, 0.19), rgba(16, 23, 29, 0.937));
  z-index: -1;
}
:where(#lobby) .field-tile .tile-number,
:where(#match-loading) .field-tile .tile-number {
  color: white;
  opacity: 0.9;
  left: 20px;
  top: 15px;
}
:where(#lobby) .field-tile-copy,
:where(#match-loading) .field-tile-copy {
  width: 100%;
}
:where(#lobby) .field-tile-copy > small,
:where(#match-loading) .field-tile-copy > small {
  font-size: 7px;
  letter-spacing: 0.15em;
  color: rgb(215, 255, 62);
  display: block;
  margin-bottom: 7px;
}
:where(#lobby) .field-tile-copy strong,
:where(#match-loading) .field-tile-copy strong {
  font-size: clamp(21px, 2.1vw, 31px);
}
:where(#lobby) .field-tile .tile-caption,
:where(#match-loading) .field-tile .tile-caption {
  font-size: 7px;
  margin-top: 10px;
}
:where(#lobby) .quick-access,
:where(#match-loading) .quick-access {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  background: rgb(235, 236, 227);
  color: rgb(23, 33, 37);
}
:where(#lobby) .quick-access button,
:where(#match-loading) .quick-access button {
  display: flex;
  gap: 11px;
  align-items: center;
  text-align: left;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(29, 41, 36, 0.145);
}
:where(#lobby) .quick-access button:last-child,
:where(#match-loading) .quick-access button:last-child {
  border: 0px;
}
:where(#lobby) .quick-access button:hover,
:where(#match-loading) .quick-access button:hover {
  background: rgb(215, 255, 62);
}
:where(#lobby) .quick-access button > svg,
:where(#match-loading) .quick-access button > svg {
  width: 22px;
  height: 21px;
  color: rgb(78, 92, 86);
}
:where(#lobby) .quick-access button > span,
:where(#match-loading) .quick-access button > span {
  font:
    600 13px BarlowCondensedSemiBold,
    sans-serif;
  letter-spacing: 0.035em;
}
:where(#lobby) .quick-access button > span > b,
:where(#match-loading) .quick-access button > span > b {
  font-weight: 500;
  font-size: 11px;
}
:where(#lobby) .quick-access button > b,
:where(#match-loading) .quick-access button > b {
  margin-left: auto;
  font-size: 18px;
}
:where(#lobby) .map-tile,
:where(#match-loading) .map-tile {
  background: var(--racing-art) center 48% / cover rgb(41, 54, 60);
  justify-content: flex-end;
  padding: 19px 20px;
}
:where(#lobby) .map-tile .tile-number,
:where(#match-loading) .map-tile .tile-number {
  left: 20px;
  top: 14px;
  color: white;
  opacity: 0.8;
}
:where(#lobby) .map-tile strong,
:where(#match-loading) .map-tile strong {
  font-size: clamp(20px, 1.8vw, 28px);
}
:where(#lobby) .map-tile .tile-caption,
:where(#match-loading) .map-tile .tile-caption {
  font-size: 7px;
  margin-top: 9px;
}
:where(#lobby) .lobby-underbar,
:where(#match-loading) .lobby-underbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  color: rgb(193, 202, 191);
  font-size: 8px;
  letter-spacing: 0.1em;
  gap: 10px;
}
:where(#lobby) .lobby-underbar > span,
:where(#match-loading) .lobby-underbar > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
:where(#lobby) .lobby-underbar b,
:where(#match-loading) .lobby-underbar b {
  font-weight: 400;
  margin: 0px 2px;
  color: rgba(255, 255, 255, 0.333);
}
:where(#lobby) .lobby-underbar > button,
:where(#match-loading) .lobby-underbar > button {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.08em;
}
:where(#lobby) .lobby-underbar svg,
:where(#match-loading) .lobby-underbar svg {
  width: 13px;
  height: 13px;
  color: var(--accent-fg, #f4f1e7);
}
:where(#lobby) .lobby-footer,
:where(#match-loading) .lobby-footer {
  position: relative;
  inset: auto;
  display: flex;
  height: 63px;
  align-items: center;
  justify-content: space-between;
  margin: 0 var(--safe-x);
  border-top: 1px solid rgba(255, 255, 255, 0.125);
  flex: 0 0 auto;
  background: none;
  padding: 0px;
}
:where(#lobby) .menu-hints,
:where(#match-loading) .menu-hints {
  display: flex;
  gap: 23px;
  font-size: 8px;
  letter-spacing: 0.05em;
  color: rgb(208, 215, 202);
}
:where(#lobby) .menu-hints span,
:where(#match-loading) .menu-hints span {
  display: flex;
  align-items: center;
  gap: 7px;
}
:where(#lobby) .menu-hints kbd,
:where(#match-loading) .menu-hints kbd {
  font-size: 8px;
  min-height: 17px;
  border-color: rgba(198, 207, 187, 0.4);
  color: rgb(231, 236, 223);
}
:where(#lobby) .lobby-footer-note,
:where(#match-loading) .lobby-footer-note {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: rgb(179, 189, 178);
}
:where(#lobby) .build-label,
:where(#match-loading) .build-label {
  font-size: 8px;
  letter-spacing: 0.16em;
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgb(200, 208, 194);
}
:where(#lobby) .loader-progress,
:where(#match-loading) .loader-progress {
  height: 10px;
  border: 1px solid rgba(227, 233, 214, 0.36);
  padding: 2px;
  background: rgba(13, 23, 33, 0.36);
  overflow: hidden;
}
:where(#lobby) .loader-progress > div,
:where(#match-loading) .loader-progress > div {
  background: var(--accent);
  height: 100%;
  transition: width 0.25s ease-out;
  box-shadow: rgba(215, 255, 62, 0.333) 0px 0px 18px;
}
:where(#lobby) .loading-art,
:where(#match-loading) .loading-art {
  background:
    linear-gradient(
      90deg,
      rgba(10, 19, 28, 0.96) 5%,
      rgba(14, 27, 37, 0.467) 75%,
      rgba(18, 33, 46, 0.133)
    ),
    var(--racing-art) center center / cover;
}
:where(#lobby) .loading-content,
:where(#match-loading) .loading-content {
  width: min(650px, 78%);
}
:where(#lobby) .loading-content h2,
:where(#match-loading) .loading-content h2 {
  font-size: clamp(48px, 6vw, 90px);
}
:where(#lobby) .loading-content .loader-progress,
:where(#match-loading) .loading-content .loader-progress {
  height: 10px;
}
@media (min-width: 1800px) {
  :where(#lobby) .lobby-tiles,
  :where(#match-loading) .lobby-tiles {
    height: 57vh;
  }
  :where(#lobby) .feature-copy h1,
  :where(#match-loading) .feature-copy h1 {
    font-size: 96px;
  }
  :where(#lobby) .feature-copy p,
  :where(#match-loading) .feature-copy p {
    font-size: 14px;
  }
  :where(#lobby) .feature-copy .mode-selection strong,
  :where(#match-loading) .feature-copy .mode-selection strong {
    font-size: 22px;
  }
  :where(#lobby) .lobby-tile strong,
  :where(#match-loading) .lobby-tile strong {
    font-size: 45px;
  }
  :where(#lobby) .field-tile-copy strong,
  :where(#match-loading) .field-tile-copy strong {
    font-size: 35px;
  }
}
@media (max-width: 1100px) {
  :where(#lobby) .lobby-header,
  :where(#match-loading) .lobby-header {
    height: 74px;
    gap: 12px;
  }
  :where(#lobby) .lobby-workspace,
  :where(#match-loading) .lobby-workspace {
    width: 90%;
  }
  :where(#lobby) .lobby-tiles,
  :where(#match-loading) .lobby-tiles {
    height: 54vh;
    min-height: 325px;
    grid-template-columns: 0.8fr 1.85fr 1fr;
    gap: 9px;
  }
  :where(#lobby) .tile-column,
  :where(#match-loading) .tile-column {
    gap: 9px;
  }
  :where(#lobby) .lobby-footer,
  :where(#match-loading) .lobby-footer {
    height: 52px;
  }
  :where(#lobby) .lobby-tile,
  :where(#match-loading) .lobby-tile {
    padding: 19px;
  }
  :where(#lobby) .tile-number,
  :where(#match-loading) .tile-number {
    left: 18px;
    top: 14px;
    font-size: 7px;
  }
  :where(#lobby) .lobby-tile > svg,
  :where(#match-loading) .lobby-tile > svg {
    width: 29px;
    height: 29px;
    margin: 10px 0px;
  }
  :where(#lobby) .lobby-tile strong,
  :where(#match-loading) .lobby-tile strong {
    font-size: 28px;
  }
  :where(#lobby) .tile-caption,
  :where(#match-loading) .tile-caption {
    font-size: 7px;
  }
  :where(#lobby) .feature-copy,
  :where(#match-loading) .feature-copy {
    left: 23px;
    right: 23px;
    bottom: 18px;
  }
  :where(#lobby) .feature-copy h1,
  :where(#match-loading) .feature-copy h1 {
    font-size: 57px;
  }
  :where(#lobby) .feature-copy p,
  :where(#match-loading) .feature-copy p {
    font-size: 10px;
    margin: 12px 0px;
  }
  :where(#lobby) .feature-copy .mode-selection strong,
  :where(#match-loading) .feature-copy .mode-selection strong {
    font-size: 15px;
  }
  :where(#lobby) .feature-copy .mode-selection small,
  :where(#match-loading) .feature-copy .mode-selection small {
    font-size: 7px;
  }
  :where(#lobby) .feature-copy .play-button,
  :where(#match-loading) .feature-copy .play-button {
    height: 44px;
  }
  :where(#lobby) .feature-top,
  :where(#match-loading) .feature-top {
    left: 18px;
    right: 18px;
    top: 15px;
  }
  :where(#lobby) .live-chip,
  :where(#match-loading) .live-chip {
    font-size: 7px;
  }
  :where(#lobby) .field-tile-copy strong,
  :where(#match-loading) .field-tile-copy strong {
    font-size: 25px;
  }
  :where(#lobby) .quick-access button,
  :where(#match-loading) .quick-access button {
    padding: 6px 12px;
    gap: 9px;
  }
  :where(#lobby) .quick-access button > span,
  :where(#match-loading) .quick-access button > span {
    font-size: 11px;
  }
  :where(#lobby) .quick-access button > svg,
  :where(#match-loading) .quick-access button > svg {
    width: 19px;
  }
  :where(#lobby) .map-tile strong,
  :where(#match-loading) .map-tile strong {
    font-size: 23px;
  }
  :where(#lobby) .currency,
  :where(#match-loading) .currency {
    margin: 0px;
    min-width: 94px;
  }
  :where(#lobby) .session-status,
  :where(#match-loading) .session-status {
    display: none;
  }
  :where(#lobby) .lobby-footer-note,
  :where(#match-loading) .lobby-footer-note {
    font-size: 8px;
    letter-spacing: 0.12em;
  }
}
@media (max-height: 650px) and (orientation: landscape) {
  :where(#lobby) .lobby-header,
  :where(#match-loading) .lobby-header {
    height: 54px;
    gap: 11px;
  }
  :where(#lobby) .brand-lockup > svg,
  :where(#match-loading) .brand-lockup > svg {
    width: 24px;
    height: 30px;
  }
  :where(#lobby) .brand-lockup > span,
  :where(#match-loading) .brand-lockup > span {
    font-size: 17px;
  }
  :where(#lobby) .brand-lockup b,
  :where(#match-loading) .brand-lockup b {
    font-size: 7px;
    letter-spacing: 0.62em;
    margin-top: 4px;
  }
  :where(#lobby) .header-divider,
  :where(#match-loading) .header-divider {
    height: 24px;
  }
  :where(#lobby) .profile-plate .profile-badge,
  :where(#match-loading) .profile-plate .profile-badge {
    height: 29px;
    width: 28px;
    font-size: 19px;
  }
  :where(#lobby) .profile-plate strong,
  :where(#match-loading) .profile-plate strong {
    font-size: 13px;
  }
  :where(#lobby) .profile-plate small,
  :where(#match-loading) .profile-plate small {
    font-size: 6px;
  }
  :where(#lobby) .currency b,
  :where(#match-loading) .currency b {
    font-size: 16px;
  }
  :where(#lobby) .currency small,
  :where(#match-loading) .currency small {
    font-size: 6px;
  }
  :where(#lobby) .currency .coin,
  :where(#match-loading) .currency .coin {
    width: 17px;
    height: 17px;
    font-size: 11px;
  }
  :where(#lobby) .lobby-header .icon-button,
  :where(#match-loading) .lobby-header .icon-button {
    height: 29px;
    width: 29px;
  }
  :where(#lobby) .lobby-header .icon-button svg,
  :where(#match-loading) .lobby-header .icon-button svg {
    width: 16px;
  }
  :where(#lobby) .lobby-workspace,
  :where(#match-loading) .lobby-workspace {
    padding: 13px 0px 9px;
    width: 87%;
    justify-content: center;
  }
  :where(#lobby) .lobby-section-heading,
  :where(#match-loading) .lobby-section-heading {
    font-size: 7px;
    margin-bottom: 9px;
  }
  #lobby-nav {
    height: 33px;
    margin-bottom: 8px;
  }
  #lobby-nav > button {
    font-size: 13px;
    padding: 6px 10px;
  }
  :where(#lobby) .lobby-tiles,
  :where(#match-loading) .lobby-tiles {
    height: 58vh;
    min-height: 210px;
    max-height: 360px;
    gap: 7px;
  }
  :where(#lobby) .tile-column,
  :where(#match-loading) .tile-column {
    gap: 7px;
  }
  :where(#lobby) .lobby-tile,
  :where(#match-loading) .lobby-tile {
    padding: 14px 17px;
  }
  :where(#lobby) .lobby-tile > svg,
  :where(#match-loading) .lobby-tile > svg {
    width: 22px;
    height: 22px;
    margin: 12px 0px 7px;
  }
  :where(#lobby) .light-tile > svg,
  :where(#match-loading) .light-tile > svg {
    width: 56px;
  }
  :where(#lobby) .lobby-tile strong,
  :where(#match-loading) .lobby-tile strong {
    font-size: 23px;
  }
  :where(#lobby) .tile-caption,
  :where(#match-loading) .tile-caption {
    font-size: 6px;
    margin-top: 9px;
  }
  :where(#lobby) .tile-number,
  :where(#match-loading) .tile-number {
    top: 10px;
    left: 15px;
    font-size: 6px;
  }
  :where(#lobby) .feature-top,
  :where(#match-loading) .feature-top {
    top: 12px;
    left: 16px;
    right: 16px;
  }
  :where(#lobby) .live-chip,
  :where(#match-loading) .live-chip {
    font-size: 6px;
    padding: 6px 8px;
  }
  :where(#lobby) .feature-index,
  :where(#match-loading) .feature-index {
    font-size: 7px;
  }
  :where(#lobby) .feature-copy,
  :where(#match-loading) .feature-copy {
    left: 20px;
    right: 20px;
    bottom: 14px;
  }
  :where(#lobby) .feature-kicker,
  :where(#match-loading) .feature-kicker {
    font-size: 8px;
    margin-bottom: 7px;
  }
  :where(#lobby) .feature-copy h1,
  :where(#match-loading) .feature-copy h1 {
    font-size: 44px;
    line-height: 0.84;
  }
  :where(#lobby) .feature-copy p,
  :where(#match-loading) .feature-copy p {
    display: none;
  }
  :where(#lobby) .feature-rule,
  :where(#match-loading) .feature-rule {
    margin: 11px 0px 0px;
  }
  :where(#lobby) .feature-copy .mode-selection,
  :where(#match-loading) .feature-copy .mode-selection {
    padding: 8px 0px;
  }
  :where(#lobby) .feature-copy .mode-selection strong,
  :where(#match-loading) .feature-copy .mode-selection strong {
    font-size: 13px;
  }
  :where(#lobby) .feature-copy .mode-selection small,
  :where(#match-loading) .feature-copy .mode-selection small {
    font-size: 6px;
    margin-top: 2px;
  }
  :where(#lobby) .feature-copy .play-button,
  :where(#match-loading) .feature-copy .play-button {
    height: 34px;
    padding: 0px 13px;
  }
  :where(#lobby) .feature-copy .play-button > span:not(.play-chevron),
  :where(#match-loading) .feature-copy .play-button > span:not(.play-chevron) {
    font-size: 17px;
  }
  :where(#lobby) .feature-copy .play-button > svg,
  :where(#match-loading) .feature-copy .play-button > svg {
    width: 12px;
    height: 12px;
  }
  :where(#lobby) .field-tile-copy strong,
  :where(#match-loading) .field-tile-copy strong {
    font-size: 20px;
  }
  :where(#lobby) .field-tile-copy > small,
  :where(#match-loading) .field-tile-copy > small {
    font-size: 6px;
    margin-bottom: 5px;
  }
  :where(#lobby) .field-tile .tile-number,
  :where(#match-loading) .field-tile .tile-number {
    top: 10px;
    left: 14px;
    font-size: 6px;
  }
  :where(#lobby) .field-tile,
  :where(#match-loading) .field-tile {
    padding: 14px;
  }
  :where(#lobby) .field-tile .tile-caption,
  :where(#match-loading) .field-tile .tile-caption {
    font-size: 6px;
    margin-top: 7px;
  }
  :where(#lobby) .quick-access button,
  :where(#match-loading) .quick-access button {
    padding: 4px 10px;
    gap: 6px;
  }
  :where(#lobby) .quick-access button > svg,
  :where(#match-loading) .quick-access button > svg {
    width: 15px;
    height: 15px;
  }
  :where(#lobby) .quick-access button > span,
  :where(#match-loading) .quick-access button > span {
    font-size: 10px;
  }
  :where(#lobby) .quick-access button > span > b,
  :where(#match-loading) .quick-access button > span > b {
    font-size: 9px;
  }
  :where(#lobby) .quick-access button > b,
  :where(#match-loading) .quick-access button > b {
    font-size: 15px;
  }
  :where(#lobby) .map-tile,
  :where(#match-loading) .map-tile {
    padding: 12px 14px;
  }
  :where(#lobby) .map-tile strong,
  :where(#match-loading) .map-tile strong {
    font-size: 19px;
  }
  :where(#lobby) .map-tile .tile-number,
  :where(#match-loading) .map-tile .tile-number {
    font-size: 6px;
    top: 10px;
    left: 14px;
  }
  :where(#lobby) .map-tile .tile-caption,
  :where(#match-loading) .map-tile .tile-caption {
    font-size: 5px;
    margin-top: 5px;
  }
  :where(#lobby) .lobby-underbar,
  :where(#match-loading) .lobby-underbar {
    font-size: 6px;
    margin-top: 9px;
  }
  :where(#lobby) .lobby-underbar > button,
  :where(#match-loading) .lobby-underbar > button {
    font-size: 7px;
  }
  :where(#lobby) .lobby-footer,
  :where(#match-loading) .lobby-footer {
    height: 33px;
  }
  :where(#lobby) .menu-hints,
  :where(#match-loading) .menu-hints {
    gap: 17px;
    font-size: 6px;
  }
  :where(#lobby) .menu-hints kbd,
  :where(#match-loading) .menu-hints kbd {
    font-size: 6px;
    min-height: 13px;
    min-width: 16px;
  }
  :where(#lobby) .lobby-footer-note,
  :where(#match-loading) .lobby-footer-note,
  :where(#lobby) .build-label,
  :where(#match-loading) .build-label {
    font-size: 6px;
  }
  :where(#lobby) .loader-progress,
  :where(#match-loading) .loader-progress {
    height: 8px;
  }
}
@media (max-width: 650px) and (orientation: portrait) {
  :where(#lobby) .lobby-header,
  :where(#match-loading) .lobby-header {
    height: 72px;
    margin: 0px 5%;
    gap: 9px;
  }
  :where(#lobby) .brand-lockup,
  :where(#match-loading) .brand-lockup {
    gap: 7px;
  }
  :where(#lobby) .brand-lockup > svg,
  :where(#match-loading) .brand-lockup > svg {
    width: 27px;
    height: 34px;
  }
  :where(#lobby) .brand-lockup > span,
  :where(#match-loading) .brand-lockup > span {
    font-size: 19px;
  }
  :where(#lobby) .brand-lockup b,
  :where(#match-loading) .brand-lockup b {
    font-size: 8px;
  }
  :where(#lobby) .profile-plate,
  :where(#match-loading) .profile-plate {
    min-width: 0px;
    gap: 7px;
  }
  :where(#lobby) .profile-plate strong,
  :where(#match-loading) .profile-plate strong {
    font-size: 13px;
  }
  :where(#lobby) .profile-plate small,
  :where(#match-loading) .profile-plate small {
    display: none;
  }
  :where(#lobby) .profile-plate .profile-badge,
  :where(#match-loading) .profile-plate .profile-badge {
    width: 28px;
    height: 31px;
    font-size: 20px;
  }
  :where(#lobby) .currency,
  :where(#match-loading) .currency,
  :where(#lobby) .header-divider,
  :where(#match-loading) .header-divider,
  :where(#lobby) #audio-toggle,
  :where(#match-loading) #audio-toggle,
  :where(#lobby) .lobby-header [aria-label="All sections"],
  :where(#match-loading) .lobby-header [aria-label="All sections"] {
    display: none;
  }
  :where(#lobby) .lobby-header .icon-button,
  :where(#match-loading) .lobby-header .icon-button {
    width: 31px;
    height: 31px;
  }
  :where(#lobby) .lobby-workspace,
  :where(#match-loading) .lobby-workspace {
    width: 90%;
    padding: 18px 0px 12px;
    justify-content: center;
    overflow: auto;
    scrollbar-width: none;
  }
  :where(#lobby) .lobby-section-heading,
  :where(#match-loading) .lobby-section-heading {
    font-size: 7px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
  }
  :where(#lobby) .lobby-section-heading > span:last-child,
  :where(#match-loading) .lobby-section-heading > span:last-child {
    font-size: 6px;
  }
  #lobby-nav {
    height: 40px;
    margin-bottom: 10px;
  }
  #lobby-nav > button {
    font-size: 12px;
    padding: 8px 4px;
  }
  #lobby-nav > button > span {
    display: none;
  }
  :where(#lobby) .lobby-tiles,
  :where(#match-loading) .lobby-tiles {
    height: auto;
    max-height: none;
    min-height: 0px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 350px 145px;
    gap: 10px;
  }
  :where(#lobby) .feature-tile,
  :where(#match-loading) .feature-tile {
    grid-area: 1 / 1 / auto / 3;
  }
  :where(#lobby) .tile-column-left,
  :where(#match-loading) .tile-column-left {
    grid-area: 2 / 1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 8px;
  }
  :where(#lobby) .tile-column-right,
  :where(#match-loading) .tile-column-right {
    grid-area: 2 / 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  :where(#lobby) .tile-column-right > .field-tile,
  :where(#match-loading) .tile-column-right > .field-tile {
    display: none;
  }
  :where(#lobby) .tile-column-right > .quick-access,
  :where(#match-loading) .tile-column-right > .quick-access {
    flex: 1 1 0%;
  }
  :where(#lobby) .tile-column-right > .map-tile,
  :where(#match-loading) .tile-column-right > .map-tile {
    display: none;
  }
  :where(#lobby) .lobby-tile,
  :where(#match-loading) .lobby-tile {
    padding: 15px 10px;
  }
  :where(#lobby) .tile-number,
  :where(#match-loading) .tile-number {
    font-size: 5px;
    top: 11px;
    left: 10px;
    letter-spacing: 0.08em;
  }
  :where(#lobby) .lobby-tile > svg,
  :where(#match-loading) .lobby-tile > svg {
    width: 25px;
    height: 25px;
    margin: 10px 0px;
  }
  :where(#lobby) .light-tile > svg,
  :where(#match-loading) .light-tile > svg {
    width: 37px;
  }
  :where(#lobby) .lobby-tile strong,
  :where(#match-loading) .lobby-tile strong {
    font-size: 22px;
  }
  :where(#lobby) .tile-caption,
  :where(#match-loading) .tile-caption {
    font-size: 5px;
    letter-spacing: 0.05em;
    gap: 4px;
    margin-top: 10px;
  }
  :where(#lobby) .tile-caption > b,
  :where(#match-loading) .tile-caption > b {
    font-size: 13px;
  }
  :where(#lobby) .feature-copy,
  :where(#match-loading) .feature-copy {
    left: 24px;
    right: 24px;
    bottom: 21px;
  }
  :where(#lobby) .feature-copy h1,
  :where(#match-loading) .feature-copy h1 {
    font-size: 59px;
  }
  :where(#lobby) .feature-copy p,
  :where(#match-loading) .feature-copy p {
    font-size: 10px;
    margin: 12px 0px;
  }
  :where(#lobby) .feature-kicker,
  :where(#match-loading) .feature-kicker {
    font-size: 9px;
  }
  :where(#lobby) .feature-copy .play-button,
  :where(#match-loading) .feature-copy .play-button {
    height: 42px;
  }
  :where(#lobby) .feature-copy .mode-selection strong,
  :where(#match-loading) .feature-copy .mode-selection strong {
    font-size: 15px;
  }
  :where(#lobby) .feature-top,
  :where(#match-loading) .feature-top {
    top: 17px;
  }
  :where(#lobby) .quick-access button,
  :where(#match-loading) .quick-access button {
    gap: 5px;
    padding: 6px 9px;
  }
  :where(#lobby) .quick-access button > svg,
  :where(#match-loading) .quick-access button > svg {
    width: 17px;
    height: 18px;
  }
  :where(#lobby) .quick-access button > span,
  :where(#match-loading) .quick-access button > span {
    font-size: 10px;
  }
  :where(#lobby) .quick-access button > span > b,
  :where(#match-loading) .quick-access button > span > b {
    font-size: 9px;
  }
  :where(#lobby) .lobby-underbar,
  :where(#match-loading) .lobby-underbar {
    font-size: 6px;
    margin-top: 13px;
    gap: 3px;
  }
  :where(#lobby) .lobby-underbar > span,
  :where(#match-loading) .lobby-underbar > span {
    gap: 5px;
  }
  :where(#lobby) .lobby-underbar > button,
  :where(#match-loading) .lobby-underbar > button {
    font-size: 7px;
    gap: 4px;
  }
  :where(#lobby) .lobby-underbar svg,
  :where(#match-loading) .lobby-underbar svg {
    width: 11px;
  }
  :where(#lobby) .lobby-footer,
  :where(#match-loading) .lobby-footer {
    height: 46px;
    margin: 0px 5%;
  }
  :where(#lobby) .lobby-footer-note,
  :where(#match-loading) .lobby-footer-note {
    display: none;
  }
  :where(#lobby) .menu-hints,
  :where(#match-loading) .menu-hints {
    gap: 10px;
    font-size: 6px;
  }
  :where(#lobby) .menu-hints kbd,
  :where(#match-loading) .menu-hints kbd {
    font-size: 6px;
    min-height: 14px;
  }
  :where(#lobby) .build-label,
  :where(#match-loading) .build-label {
    font-size: 6px;
    gap: 6px;
  }
}
@media (max-height: 450px) and (orientation: landscape) {
  :where(#lobby) .lobby-tiles,
  :where(#match-loading) .lobby-tiles {
    height: calc(100dvh - 186px);
    min-height: 0px;
    max-height: none;
  }
  :where(#lobby) .lobby-tile,
  :where(#match-loading) .lobby-tile {
    padding: 11px 14px;
    min-height: 0px;
  }
  :where(#lobby) .lobby-tile > svg,
  :where(#match-loading) .lobby-tile > svg {
    height: 18px;
    margin: 9px 0px 5px;
  }
  :where(#lobby) .light-tile > svg,
  :where(#match-loading) .light-tile > svg {
    width: 45px;
  }
  :where(#lobby) .lobby-tile strong,
  :where(#match-loading) .lobby-tile strong {
    font-size: 20px;
  }
  :where(#lobby) .tile-caption,
  :where(#match-loading) .tile-caption {
    font-size: 5px;
    margin-top: 7px;
  }
  :where(#lobby) .tile-number,
  :where(#match-loading) .tile-number {
    font-size: 5px;
    top: 8px;
    left: 13px;
  }
  :where(#lobby) .feature-top,
  :where(#match-loading) .feature-top {
    top: 10px;
    left: 14px;
    right: 14px;
  }
  :where(#lobby) .live-chip,
  :where(#match-loading) .live-chip {
    font-size: 5px;
    padding: 5px 7px;
  }
  :where(#lobby) .feature-copy,
  :where(#match-loading) .feature-copy {
    left: 18px;
    right: 18px;
    bottom: 12px;
  }
  :where(#lobby) .feature-kicker,
  :where(#match-loading) .feature-kicker {
    font-size: 7px;
    margin-bottom: 5px;
  }
  :where(#lobby) .feature-copy h1,
  :where(#match-loading) .feature-copy h1 {
    font-size: 39px;
  }
  :where(#lobby) .feature-rule,
  :where(#match-loading) .feature-rule {
    margin-top: 8px;
  }
  :where(#lobby) .feature-copy .mode-selection,
  :where(#match-loading) .feature-copy .mode-selection {
    padding: 7px 0px;
  }
  :where(#lobby) .feature-copy .mode-selection strong,
  :where(#match-loading) .feature-copy .mode-selection strong {
    font-size: 12px;
  }
  :where(#lobby) .feature-copy .mode-selection small,
  :where(#match-loading) .feature-copy .mode-selection small {
    font-size: 5px;
  }
  :where(#lobby) .feature-copy .play-button,
  :where(#match-loading) .feature-copy .play-button {
    height: 32px;
  }
  :where(#lobby) .feature-copy .play-button > span:not(.play-chevron),
  :where(#match-loading) .feature-copy .play-button > span:not(.play-chevron) {
    font-size: 16px;
  }
  :where(#lobby) .field-tile-copy > small,
  :where(#match-loading) .field-tile-copy > small {
    display: none;
  }
  :where(#lobby) .field-tile-copy strong,
  :where(#match-loading) .field-tile-copy strong {
    font-size: 18px;
  }
  :where(#lobby) .field-tile .tile-number,
  :where(#match-loading) .field-tile .tile-number {
    font-size: 5px;
    left: 12px;
    top: 8px;
  }
  :where(#lobby) .field-tile,
  :where(#match-loading) .field-tile {
    padding: 11px 12px;
  }
  :where(#lobby) .field-tile .tile-caption,
  :where(#match-loading) .field-tile .tile-caption {
    font-size: 5px;
    margin-top: 6px;
  }
  :where(#lobby) .quick-access button,
  :where(#match-loading) .quick-access button {
    padding: 3px 8px;
  }
  :where(#lobby) .quick-access button > span,
  :where(#match-loading) .quick-access button > span {
    font-size: 9px;
  }
  :where(#lobby) .quick-access button > span > b,
  :where(#match-loading) .quick-access button > span > b {
    font-size: 8px;
  }
  :where(#lobby) .quick-access button > svg,
  :where(#match-loading) .quick-access button > svg {
    width: 13px;
    height: 13px;
  }
  :where(#lobby) .map-tile,
  :where(#match-loading) .map-tile {
    padding: 9px 12px;
  }
  :where(#lobby) .map-tile .tile-number,
  :where(#match-loading) .map-tile .tile-number {
    font-size: 5px;
    left: 12px;
    top: 7px;
  }
  :where(#lobby) .map-tile strong,
  :where(#match-loading) .map-tile strong {
    font-size: 16px;
  }
  :where(#lobby) .map-tile .tile-caption,
  :where(#match-loading) .map-tile .tile-caption {
    font-size: 5px;
    margin-top: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :where(#lobby) *,
  :where(#match-loading) * {
    scroll-behavior: auto !important;
    animation: auto ease 0s 1 normal none running none !important;
    transition: none !important;
  }
}
#lobby {
  --menu-image: var(--racing-art);
}
#lobby .feature-art {
  background-image: var(--racing-art);
}
#lobby .field-tile {
  background-image: var(--racing-art);
}
#lobby .map-tile {
  background-image: var(--racing-art);
}

:is(#page-overlay, #settings, #pause, #lobby) {
  scrollbar-width: none;
}
:where(#lobby)
  :is(
    #page-content,
    #settings-rows,
    .collection-track,
    #settings-tabs,
    .lobby-workspace
  ),
:where(#match-loading)
  :is(
    #page-content,
    #settings-rows,
    .collection-track,
    #settings-tabs,
    .lobby-workspace
  ) {
  scrollbar-width: none !important;
  scrollbar-gutter: auto !important;
}
:where(#lobby)
  :is(
    #page-content,
    #settings-rows,
    .collection-track,
    #settings-tabs,
    .lobby-workspace
  )::-webkit-scrollbar,
:where(#match-loading)
  :is(
    #page-content,
    #settings-rows,
    .collection-track,
    #settings-tabs,
    .lobby-workspace
  )::-webkit-scrollbar {
  display: none;
}
@media (max-width: 850px) {
  #lobby {
    overflow: hidden auto;
  }
  #lobby .lobby-header {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0px;
    margin: 0px 5%;
  }
  #lobby .lobby-header .brand-lockup {
    margin-right: auto;
  }
  #lobby
    .lobby-header
    :is(.currency, #audio-toggle, [aria-label="All sections"]) {
    display: flex;
  }
  #lobby .currency {
    min-width: 78px;
    margin: 0px 4px 0px 0px;
  }
  #lobby .currency b {
    font-size: 16px;
  }
  #lobby .currency small {
    font-size: 11px;
  }
  #lobby .lobby-workspace {
    overflow: visible;
    flex: 0 0 auto;
    width: 90%;
    margin: 0px auto;
    padding: 18px 0px;
  }
  #lobby .lobby-footer {
    flex-wrap: wrap;
    gap: 12px;
    height: auto;
    min-height: 50px;
    padding: 14px 0px;
  }
  #lobby #lobby-nav {
    height: auto;
    min-height: 42px;
    flex-wrap: wrap;
  }
  #lobby #lobby-nav > button {
    min-width: 0px;
    flex: 1 1 0%;
    padding: 12px 6px;
    font-size: 15px;
  }
}
@media (max-width: 500px) {
  #lobby .lobby-header .brand-lockup {
    flex-basis: 50%;
  }
  #lobby .lobby-header .profile-plate {
    margin-left: 0px;
  }
  #lobby .lobby-header .session-status {
    display: flex;
    font-size: 11px;
  }
  #lobby .lobby-header .icon-button {
    display: flex;
    width: 32px;
    height: 32px;
  }
  #lobby .lobby-tiles {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0px;
    max-height: none;
    gap: 12px;
  }
  #lobby .feature-tile {
    order: 0;
    min-height: 370px;
    width: 100%;
  }
  #lobby .tile-column-left {
    order: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 160px;
  }
  #lobby .tile-column-right {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  #lobby .field-tile,
  #lobby .map-tile {
    min-height: 180px;
  }
  #lobby .tile-column-right .field-tile {
    display: flex;
    grid-area: 1 / 1;
  }
  #lobby .tile-column-right .map-tile {
    display: flex;
    grid-area: 1 / 2;
  }
  #lobby .quick-access {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
  }
  #lobby .tile-column-right .quick-access {
    grid-row: 2;
  }
  #lobby .lobby-underbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
  }
  #lobby .lobby-footer-note,
  #lobby .build-label {
    display: block;
  }
}
@media (max-height: 600px) and (min-width: 701px) {
  #lobby {
    overflow-y: auto;
  }
  #lobby .lobby-workspace {
    flex: 0 0 auto;
    overflow: visible;
    margin: 12px auto;
  }
  #lobby .lobby-tiles {
    min-height: 330px;
    max-height: none;
  }
}
#lobby .lobby-workspace {
  width: min(1420px, 92%);
}
#lobby .profile-plate strong {
  font-size: 19px;
}
#lobby .brand-lockup b {
  font-size: 11px;
}
#lobby
  :is(
    .profile-plate small,
    .currency small,
    .session-status,
    .live-chip,
    .feature-index,
    .tile-number,
    .tile-caption,
    .field-tile-copy > small,
    .lobby-underbar,
    .lobby-underbar > button,
    .menu-hints,
    .menu-hints kbd,
    .build-label
  ) {
  font-size: 12px;
  letter-spacing: 0.08em;
}
#lobby .profile-plate {
  min-width: 155px;
}
#lobby .currency {
  min-width: 122px;
  padding-bottom: 15px;
}
#lobby .currency small {
  margin-left: 0px;
  white-space: nowrap;
}
#lobby .lobby-section-heading {
  font-size: 13px;
  letter-spacing: 0.12em;
}
#lobby .lobby-section-heading > span {
  font-size: inherit;
}
#lobby #lobby-nav > button {
  font-size: 19px;
}
#lobby #lobby-nav > button > span {
  font-size: 11px;
  min-width: 22px;
  height: 18px;
}
#lobby #challenge-notice[hidden] {
  display: none;
}
#lobby .tile-number {
  opacity: 0.85;
}
#lobby .tile-caption {
  line-height: 1.4;
}
#lobby .tile-caption > span {
  min-width: 0px;
  overflow-wrap: anywhere;
}
#lobby .feature-kicker {
  font-size: 14px;
}
#lobby .feature-copy p {
  font-size: 16px;
  line-height: 1.5;
  max-width: 460px;
}
#lobby .feature-copy .mode-selection strong {
  font-size: 24px;
}
#lobby .feature-copy .mode-selection small {
  font-size: 12px;
  letter-spacing: 0.06em;
}
#lobby .quick-access button {
  min-height: 44px;
}
#lobby .quick-access button > span {
  font-size: 16px;
}
#lobby .quick-access button > span > b {
  font-size: 14px;
}
#lobby .lobby-footer-note {
  font-size: 12px;
  letter-spacing: 0.1em;
}
#lobby .lobby-underbar > span {
  flex-wrap: wrap;
}
#lobby .feature-top {
  gap: 12px;
  flex-wrap: wrap;
}
#lobby .feature-index {
  white-space: nowrap;
}
@media (min-width: 851px) {
  #lobby {
    overflow-y: auto;
  }
  #lobby .lobby-workspace {
    flex: 1 0 auto;
    padding-block: 24px;
  }
  #lobby .lobby-tiles {
    height: clamp(460px, 58vh, 670px);
    min-height: 460px;
  }
  #lobby .tile-column-right {
    grid-template-rows: minmax(150px, 1.1fr) minmax(132px, 0.9fr) minmax(
        135px,
        0.9fr
      );
  }
}
@media (max-width: 1100px) {
  #lobby .lobby-header {
    gap: 10px;
    flex-wrap: wrap;
    height: auto;
    min-height: 86px;
    padding-block: 12px;
  }
  #lobby
    :is(
      .tile-number,
      .tile-caption,
      .field-tile-copy > small,
      .live-chip,
      .feature-index
    ) {
    font-size: 11px;
  }
  #lobby .feature-copy p {
    font-size: 15px;
  }
  #lobby .feature-copy .mode-selection strong {
    font-size: 22px;
  }
  #lobby .feature-top {
    left: 18px;
    right: 18px;
  }
  #lobby .quick-access button {
    padding-inline: 10px;
    gap: 8px;
  }
  #lobby .quick-access button > span {
    font-size: 14px;
  }
  #lobby .quick-access button > span > b {
    font-size: 13px;
  }
}
@media (max-width: 850px) {
  #lobby .lobby-workspace {
    width: 90%;
  }
  #lobby #lobby-nav > button {
    font-size: 16px;
  }
  #lobby .lobby-section-heading {
    flex-wrap: wrap;
    gap: 10px;
  }
  #lobby .lobby-underbar {
    line-height: 1.5;
  }
  #lobby .lobby-footer {
    gap: 14px;
    flex-wrap: wrap;
    height: auto;
    padding-block: 16px;
  }
  #lobby .menu-hints {
    gap: 12px;
    flex-wrap: wrap;
  }
  #lobby .feature-copy {
    left: 22px;
    right: 22px;
  }
}
@media (max-width: 500px) {
  #lobby .currency {
    min-width: 104px;
  }
  #lobby .currency small {
    display: block;
    font-size: 11px;
  }
  #lobby #lobby-nav > button {
    flex: 1 0 30%;
    min-height: 42px;
    padding: 10px 8px;
  }
  #lobby .tile-column-right {
    grid-template-rows: auto auto;
  }
  #lobby .feature-tile {
    min-height: 440px;
  }
  #lobby .tile-column-left {
    grid-template-rows: auto;
    min-height: 200px;
  }
  #lobby .lobby-tile {
    padding: 24px 16px 18px;
  }
  #lobby .tile-number {
    left: 16px;
    right: 12px;
    top: 14px;
    line-height: 1.4;
  }
  #lobby :is(.field-tile, .map-tile) {
    min-height: 230px;
    padding-top: 55px;
  }
  #lobby .field-tile-copy strong {
    font-size: 26px;
  }
  #lobby .map-tile strong {
    font-size: 25px;
  }
  #lobby .lobby-tiles .lobby-tile > .tile-caption {
    display: flex;
  }
  #lobby .tile-caption {
    margin-top: 12px;
  }
  #lobby .tile-caption > b {
    font-size: 18px;
  }
  #lobby .feature-copy .mode-selection small {
    font-size: 11px;
  }
  #lobby .lobby-header .session-status {
    font-size: 11px;
  }
}
#lobby .lobby-header .currency {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  min-width: 156px;
  min-height: 56px;
  margin: 0px 6px 0px 12px;
  padding: 9px 15px;
  text-align: left;
  border: 1px solid rgba(216, 227, 213, 0.17);
  border-radius: 3px;
  background: linear-gradient(
    120deg,
    rgba(20, 35, 42, 0.72),
    rgba(12, 25, 32, 0.596)
  );
  box-shadow: rgba(255, 255, 255, 0.03) 0px 1px inset;
}
#lobby .lobby-header .currency:hover {
  background: rgba(33, 50, 59, 0.79);
  border-color: rgba(215, 255, 62, 0.44);
}
#lobby .currency .coin {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(215, 255, 62, 0.44);
  border-radius: 50%;
  font:
    600 18px / 1 BarlowCondensedSemiBold,
    sans-serif;
  color: rgb(215, 255, 62);
  background: rgba(215, 255, 62, 0.035);
}
#lobby .currency-balance {
  display: grid;
  gap: 3px;
  min-width: 0px;
}
#lobby .currency .currency-balance small {
  position: static;
  margin: 0px;
  color: rgb(189, 201, 197);
  font:
    600 12px / 1.15 RajdhaniMedium,
    sans-serif;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
#lobby .currency .currency-balance b {
  color: rgb(244, 245, 236);
  font-style: normal;
  font-variant: tabular-nums;
  font-size-adjust: none;
  font-language-override: normal;
  font-kerning: auto;
  font-optical-sizing: auto;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-weight: 600;
  font-stretch: normal;
  font-size: 23px;
  line-height: 1;
  font-family: BarlowCondensedSemiBold, sans-serif;
  letter-spacing: 0.025em;
  white-space: nowrap;
}
#match-loading .loading-content :is(p, small, #match-load-label) {
  font-size: 12px;
  line-height: 1.6;
}
@media (max-width: 700px) {
  #lobby .lobby-header .currency {
    display: flex;
    min-width: 142px;
    min-height: 52px;
    padding: 8px 12px;
    margin: 0px;
    gap: 10px;
  }
}

#match-loading {
  --loading-white: #f2f2ef;
  --loading-gray: #c2c5c3;
}
#match-loading .loading-art {
  background: none;
  animation: auto ease 0s 1 normal none running none;
  filter: none;
}
:where(#lobby) .loading-art > img,
:where(#match-loading) .loading-art > img {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:where(#lobby) .loading-art::after,
:where(#match-loading) .loading-art::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: linear-gradient(
    90deg,
    rgba(10, 17, 25, 0.96) 5%,
    rgba(14, 24, 36, 0.467) 75%,
    rgba(18, 33, 46, 0.133)
  );
}
#match-loading .loader-progress {
  height: 7px;
  padding: 1px;
  border: 1px solid rgba(242, 242, 239, 0.4);
  border-radius: 0px;
  box-shadow: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(242, 242, 239, 0.047) 0px,
      rgba(242, 242, 239, 0.047) 23px,
      transparent 23px,
      transparent 26px
    ),
    rgba(19, 24, 28, 0.533);
}
#match-loading .loader-progress > div {
  background: rgb(242, 242, 239);
  height: 100%;
  box-shadow: none;
  transition: none;
}
:where(#lobby) #match-load-label,
:where(#match-loading) #match-load-label {
  color: var(--loading-gray);
  font-family: BarlowCondensedSemiBold, sans-serif;
  letter-spacing: 0.1em;
}
