:root {
  color-scheme: dark;
  font-family: "Motiva Sans", Arial, Helvetica, sans-serif;
  background: #181a21;
  color: #e9e9e9;
}

@font-face {
  font-family: "Motiva Sans";
  src: url("https://community.fastly.steamstatic.com/public/shared/fonts/MotivaSans-Regular.ttf?v=4.015") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Motiva Sans";
  src: url("https://community.fastly.steamstatic.com/public/shared/fonts/MotivaSans-Light.ttf?v=4.015") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Motiva Sans";
  src: url("https://community.fastly.steamstatic.com/public/shared/fonts/MotivaSans-Thin.ttf?v=4.015") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Motiva Sans";
  src: url("https://community.fastly.steamstatic.com/public/shared/fonts/MotivaSans-Bold.ttf?v=4.015") format("truetype");
  font-weight: 700;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #181a21;
  color: #8f98a0;
  font-size: 14px;
  text-align: left;
}

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

a:hover {
  color: #66c0f4;
}

html {
  scrollbar-color: #5a6673 #171a21;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

::-webkit-scrollbar-track {
  background: #171a21;
}

::-webkit-scrollbar-thumb {
  min-height: 44px;
  border: 3px solid #171a21;
  border-radius: 8px;
  background: #5a6673;
}

::-webkit-scrollbar-thumb:hover {
  background: #7a8794;
}

button {
  font: inherit;
}

.steam-page {
  min-height: 100vh;
  background: #181a21;
}

.global-header {
  height: 104px;
  background: #171a21;
}

.mobile-menu-button,
.mobile-drawer,
.mobile-drawer-scrim {
  display: none;
}

.header-content {
  width: 940px;
  max-width: none;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

.steam-logo img {
  width: 176px;
  height: auto;
  display: block;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: -3px;
  color: #dcdedf;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.top-nav a {
  opacity: 0.78;
}

.top-nav a.active,
.top-nav a:hover {
  color: #1a9fff;
  opacity: 1;
}

.actions {
  position: absolute;
  top: 8px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b8b6b4;
  font-size: 11px;
}

.install {
  padding: 3px 9px 4px 29px;
  background: #75a313;
  color: #e5f3d4;
  position: relative;
  font-size: 12px;
  line-height: 1.2;
}

.install::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 13px;
  height: 13px;
  transform: translateY(-50%);
  background: currentColor;
  clip-path: polygon(0 38%, 35% 38%, 35% 0, 65% 0, 65% 38%, 100% 38%, 50% 88%);
}

.language-menu {
  position: relative;
}

.language-menu summary {
  list-style: none;
  cursor: pointer;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  content: "";
  display: inline-block;
  margin-left: 5px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #b8b6b4;
  vertical-align: middle;
}

.language-list {
  position: absolute;
  top: 20px;
  right: 0;
  z-index: 10;
  width: 405px;
  max-height: 760px;
  overflow-y: auto;
  padding: 6px 0;
  background: #3b4350;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
}

.language-list button {
  display: block;
  width: 100%;
  min-height: 30px;
  padding: 5px 14px;
  border: 0;
  background: transparent;
  color: #d6d7d8;
  font-size: 13px;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.language-list button:hover {
  background: #dcdedf;
  color: #171a21;
}

.language-list::-webkit-scrollbar {
  width: 16px;
}

.language-list::-webkit-scrollbar-track {
  background: #2f3640;
}

.language-list::-webkit-scrollbar-thumb {
  min-height: 44px;
  border: 4px solid #2f3640;
  border-radius: 9px;
  background: #8f969f;
}

.language-beta {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  background: #f5a91a;
  color: #111;
  font-size: 12px;
  font-weight: 700;
}

.page-content {
  min-height: 654px;
  background:
    radial-gradient(rgba(24, 26, 33, 0) 0%, #181a21 100%) fixed no-repeat,
    url("/static/img/new_login_bg_strong_mask.jpg") center top / 1920px 1080px no-repeat,
    #181a21;
}

.login-stage {
  width: 948px;
  max-width: calc(100% - 32px);
  min-height: 654px;
  margin: 0 auto;
  padding: 88px 0 42px;
}

h1 {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 34px;
  font-weight: 200;
  letter-spacing: 2px;
  line-height: 1.2;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}

.login-panel {
  width: 860px;
  max-width: 100%;
  min-height: 418px;
  display: grid;
  grid-template-columns: minmax(0, 540px) 264px;
  gap: 28px;
  padding: 32px 34px 30px;
  background: rgba(24, 26, 33, 0.95);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.035), 0 22px 70px rgba(0, 0, 0, 0.36);
}

.field-label {
  margin: 0 0 7px;
  color: #afafaf;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
}

.account-label {
  color: #1999ff;
}

.password-label {
  margin-top: 16px;
}

.demo-field {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #32353c;
  color: #e9e9e9;
  border: 1px solid #32353c;
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.25;
  -webkit-text-fill-color: currentColor;
  opacity: 1;
  outline: none;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.demo-field:hover {
  background: #3b3f47;
  border-color: #4b5563;
  box-shadow: 0 0 0 1px rgba(102, 192, 244, 0.08);
}

.demo-field:focus {
  background: #393d45;
  border-color: rgba(102, 192, 244, 0.82);
  box-shadow: 0 0 0 2px rgba(102, 192, 244, 0.16);
}

.demo-field.muted {
  color: #8b929a;
}

input.demo-field:disabled {
  cursor: not-allowed;
}

.remember-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 13px 0 25px;
  color: #afafaf;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  user-select: none;
  transition: color 180ms ease;
}

.fake-check {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: #32353c;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fake-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 7px;
  height: 12px;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 180ms ease;
}

.remember-row:hover,
.remember-row:focus-visible {
  color: #ffffff;
}

.remember-row:hover .fake-check,
.remember-row:focus-visible .fake-check {
  background: #3d4450;
  box-shadow: 0 0 0 2px rgba(102, 192, 244, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.remember-row:active .fake-check {
  transform: scale(0.94);
}

.remember-row.is-checked .fake-check {
  background: #3d6fb4;
  box-shadow: 0 0 0 2px rgba(102, 192, 244, 0.18);
}

.remember-row.is-checked .fake-check::after {
  opacity: 1;
}

.steam-signin {
  width: 254px;
  max-width: 100%;
  min-height: 42px;
  display: block;
  margin: 0 auto 46px;
  border: 0;
  border-radius: 2px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(90deg, #06bfff 0%, #2d73ff 100%);
  transition: filter 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.steam-signin-loader {
  display: none;
  align-items: center;
  justify-content: center;
}

.steam-signin-loader ._1VLukpV8qjL4BULw7Zob_l {
  width: 34px;
  height: 34px;
  box-sizing: border-box;
  border: 4px solid rgba(143, 152, 160, 0.42);
  border-top-color: rgba(199, 213, 224, 0.82);
  border-radius: 50%;
  animation: steam-login-spinner 850ms linear infinite;
}

.steam-signin[aria-busy="true"] {
  cursor: wait;
  filter: saturate(0.62) brightness(0.78);
}

.steam-signin[aria-busy="true"] .steam-signin-label {
  display: none;
}

.steam-signin[aria-busy="true"] .steam-signin-loader {
  display: flex;
}

@keyframes steam-login-spinner {
  to {
    transform: rotate(360deg);
  }
}

.steam-signin:hover,
.create-account:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 0 1px rgba(102, 192, 244, 0.18), 0 12px 26px rgba(45, 115, 255, 0.22);
}

.steam-signin:focus-visible,
.help-link:focus-visible {
  outline: 2px solid rgba(102, 192, 244, 0.75);
  outline-offset: 3px;
}

.steam-signin:active {
  transform: translateY(1px);
}

.auth-inline-error {
  width: 100%;
  margin: 14px 0 18px;
  color: #c44848;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.signin-column:has(.auth-inline-error) .steam-signin {
  margin-bottom: 0;
}

.demo-field[aria-invalid="true"] {
  border-color: #c44848;
  box-shadow: none;
}

.demo-field[aria-invalid="true"]:hover {
  border-color: #d05858;
  box-shadow: 0 0 0 1px rgba(196, 72, 72, 0.12);
}

.demo-field[aria-invalid="true"]:focus {
  border-color: #d05858;
  box-shadow: 0 0 0 2px rgba(196, 72, 72, 0.2);
}

[data-mobile-auth-status].is-success {
  color: #59bf40;
  font-weight: 700;
}

.help-link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #afafaf;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.help-link:hover {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(102, 192, 244, 0.16);
}

.qr-column {
  padding-left: 28px;
  padding-right: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.qr-title {
  margin: 0 0 12px;
  color: #1999ff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.qr-frame {
  width: 220px;
  height: 220px;
  position: relative;
  margin: 0 auto 18px;
  padding: 0;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.qr-image {
  width: 220px;
  height: 220px;
  display: block;
  border-radius: 10px;
  background: #ffffff;
  image-rendering: pixelated;
  transition: filter 180ms ease, opacity 180ms ease;
}

.qr-column {
  border: 0;
}

.qr-frame:not(.is-expired):not(.is-scanned) .qr-image {
  filter: brightness(0.9);
  opacity: 1;
}

.qr-frame.is-loading .qr-image {
  visibility: hidden;
}

.qr-frame.is-expired .qr-image {
  filter: brightness(0.48);
  opacity: 0.82;
}

.qr-frame.is-scanned .qr-image {
  filter: blur(6px) brightness(0.46);
  opacity: 0.78;
}

.qr-frame.is-scanned::after {
  content: "";
  width: 54px;
  height: 54px;
  position: absolute;
  inset: 0;
  margin: auto;
  border: 5px solid rgba(255, 255, 255, 0.28);
  border-top-color: #ffffff;
  border-radius: 50%;
  background: rgba(20, 22, 28, 0.72);
  box-shadow: 0 0 0 14px rgba(20, 22, 28, 0.72);
  animation: qr-scanned-spin 0.9s linear infinite;
}

@keyframes qr-scanned-spin {
  to { transform: rotate(360deg); }
}

.qr-refresh {
  width: 72px;
  height: 72px;
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 28px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  opacity: 1;
  transform: scale(1);
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.qr-refresh[hidden] {
  display: none;
}

.qr-refresh svg {
  width: 40px;
  height: 40px;
  display: block;
}

.qr-refresh:hover,
.qr-refresh:focus-visible {
  background: rgba(26, 114, 190, 0.88);
  box-shadow: 0 0 0 2px rgba(102, 192, 244, 0.28), 0 12px 32px rgba(0, 0, 0, 0.42);
  outline: none;
}

.qr-refresh:active {
  transform: scale(0.94);
}

.qr-copy {
  margin: 0;
  color: #afafaf;
  font-size: 14px;
  line-height: 1.35;
}

.qr-copy b,
.qr-copy a {
  color: #dfe3ea;
  font-weight: 700;
  text-decoration: underline;
}

.mobile-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  background: rgba(8, 12, 18, 0.72);
  backdrop-filter: blur(2px);
}

.mobile-auth-overlay[hidden] {
  display: none;
}

.mobile-auth-card {
  width: 636px;
  max-width: min(100%, 636px);
  display: grid;
  justify-items: center;
  gap: 32px;
  padding: 36px 32px 28px;
  border-radius: 4px;
  background: #181a21;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
  color: #ffffff;
  text-align: center;
}

.mobile-auth-account {
  color: #dcdedf;
  font-size: 25px;
  line-height: 1.25;
}

.mobile-auth-account span {
  color: #ffffff;
  font-weight: 700;
}

.mobile-auth-copy {
  margin-top: -22px;
  color: #7c828b;
  font-size: 17px;
  line-height: 1.35;
}

.mobile-auth-prompt {
  width: 100%;
  min-height: 203px;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  padding: 14px 32px;
  border-radius: 3px;
  background: #343842;
  text-align: left;
}

.mobile-auth-prompt img {
  width: 94px;
  height: 136px;
  justify-self: center;
  object-fit: contain;
}

.mobile-auth-prompt div {
  min-width: 0;
  color: #ffffff;
  font-size: 27px;
  line-height: 1.25;
}

.mobile-auth-actions {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: 36px;
}

.mobile-auth-code {
  padding: 0;
  border: 0;
  background: transparent;
  color: #b9c0c9;
  font-size: 16px;
  text-decoration: underline;
  cursor: pointer;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.mobile-auth-actions a {
  color: #9aa5b4;
  font-size: 16px;
  text-decoration: underline;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.mobile-auth-code:hover,
.mobile-auth-code:focus-visible,
.mobile-auth-actions a:hover,
.mobile-auth-actions a:focus-visible {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(102, 192, 244, 0.18);
  outline: none;
}

.demo-warning,
.detail-panel {
  width: 700px;
  max-width: 100%;
  margin-top: 14px;
  padding: 13px 15px;
  background: rgba(13, 18, 25, 0.82);
  border-left: 3px solid #1999ff;
  color: #acb9c4;
  line-height: 1.4;
  font-size: 13px;
}

.demo-warning b,
.detail-panel b {
  display: block;
  margin-bottom: 3px;
  color: #ffffff;
}

.login-bottom-row {
  min-height: 330px;
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  padding: 58px 16px 46px;
  background: #181a21;
}

.join-copy,
.join-action {
  width: 280px;
  text-align: center;
  color: #dfe3ea;
  font-size: 22px;
  line-height: 1.3;
}

.join-copy p,
.join-action p {
  margin: 0;
}

.join-copy a {
  display: inline-block;
  margin-top: 22px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

.join-art {
  width: 246px;
  height: 168px;
  object-fit: contain;
  opacity: 0.8;
}

.create-account {
  width: 260px;
  min-height: 68px;
  padding: 0 22px;
  border: 1px solid #7f8792;
  border-radius: 2px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.25;
  cursor: pointer;
  background: transparent;
}

.join-action p {
  margin-top: 20px;
  color: #dfe3ea;
  font-size: 22px;
}

.steam-footer {
  background: #181a21;
  color: #8f98a0;
  font-size: 12px;
}

.footer-line {
  width: 940px;
  max-width: calc(100% - 32px);
  height: 1px;
  margin: 0 auto;
  background: #363c44;
}

.footer-content {
  width: 948px;
  max-width: calc(100% - 32px);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0 auto;
  padding: 16px 0 34px;
}

.footer-content img {
  width: 92px;
  height: 26px;
  object-fit: contain;
  opacity: 0.72;
}

.footer-content p {
  margin: 0;
  line-height: 1.45;
}

.footer-content a {
  color: #c7d5e0;
}

@media (max-width: 1280px) {
  html,
  body,
  .steam-page {
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .global-header {
    height: 62px;
    padding: 0;
    background: #171a21;
  }

  .header-content {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
  }

  .mobile-menu-button {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 36px;
    height: 31px;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
  }

  .mobile-menu-button img {
    width: auto;
    height: 100%;
    display: block;
  }

  .steam-logo {
    display: block;
  }

  .steam-logo img {
    width: 140px;
    height: auto;
  }

  .top-nav,
  .actions {
    display: none;
  }

  .mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 200;
    width: 34vw;
    max-width: 340px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    background: #171a21;
    color: #b8b6b4;
    box-shadow: 8px 0 18px rgba(0, 0, 0, 0.32);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #515b68 #101217;
    transform: translateX(-100%);
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-drawer::-webkit-scrollbar {
    width: 8px;
  }

  .mobile-drawer::-webkit-scrollbar-track {
    background: #101217;
  }

  .mobile-drawer::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #515b68;
  }

  .mobile-menu-open .mobile-drawer {
    transform: translateX(0);
  }

  .mobile-drawer nav {
    padding-top: 0;
    padding-bottom: 0;
  }

  .mobile-drawer a,
  .mobile-drawer summary,
  .mobile-drawer button {
    width: 100%;
    min-height: 62px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 0;
    border-bottom: 1px solid #0f1117;
    background: #171a21;
    color: #c7c7c7;
    font-size: 21px;
    font-weight: 300;
    line-height: 1.1;
    text-align: left;
    cursor: pointer;
    transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
  }

  .mobile-drawer > nav > a:hover,
  .mobile-drawer summary:hover,
  .mobile-drawer > nav > a:focus-visible,
  .mobile-drawer summary:focus-visible {
    background: #3b4350;
    color: #ffffff;
    outline: 0;
  }

  .mobile-drawer button {
    min-height: 58px;
    color: #8f98a0;
    font-size: 24px;
  }

  .mobile-drawer .mobile-secondary {
    min-height: 42px;
    border-bottom: 0;
    color: #8f98a0;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-drawer details {
    border: 0;
  }

  .mobile-drawer summary {
    list-style: none;
    position: relative;
  }

  .mobile-drawer details[open] > summary {
    background: #3b4350;
    color: #ffffff;
    font-weight: 700;
  }

  .mobile-drawer summary::-webkit-details-marker {
    display: none;
  }

  .mobile-drawer summary::after {
    content: "";
    position: absolute;
    right: 18px;
    width: 14px;
    height: 14px;
    border-right: 3px solid #b8b6b4;
    border-bottom: 3px solid #b8b6b4;
    transform: rotate(45deg);
    transition: transform 180ms ease, border-color 140ms ease;
  }

  .mobile-drawer details[open] summary::after {
    transform: rotate(225deg);
  }

  .drawer-submenu {
    max-height: 0;
    overflow: hidden;
    background: #353c47;
    opacity: 0;
    transform: translateY(-4px);
    transition:
      max-height 260ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 180ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-drawer details[open] .drawer-submenu {
    max-height: 280px;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-drawer details a {
    min-height: 41px;
    padding-left: 38px;
    border-bottom: 0;
    background: #353c47;
    color: #d6d7d8;
    font-size: 17px;
    transition: background-color 140ms ease, color 140ms ease;
  }

  .mobile-drawer details a:hover,
  .mobile-drawer details a:focus-visible {
    background: #495260;
    color: #ffffff;
    outline: 0;
  }

  .mobile-valve {
    position: static;
    margin-top: auto;
    padding: 18px 12px 14px;
    background: #171a21;
    color: #8f98a0;
    font-size: 10px;
    line-height: 1.35;
    white-space: normal;
  }

  .mobile-valve img {
    width: 104px;
    height: auto;
    display: block;
    margin-bottom: 8px;
    opacity: 0.85;
  }

  .mobile-valve p {
    margin: 0 0 8px;
  }

  .mobile-valve a {
    width: auto;
    min-height: 0;
    display: inline;
    align-items: initial;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8f98a0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-align: inherit;
  }

  .mobile-legal-links {
    display: inline;
    line-height: 1.3;
  }

  .mobile-legal-links span {
    color: #6f7680;
    margin: 0 3px;
  }

  .mobile-drawer-scrim {
    position: fixed;
    inset: 0;
    z-index: 190;
    display: none;
    background: rgba(0, 0, 0, 0.54);
  }

  .mobile-menu-open .mobile-drawer-scrim {
    display: block;
  }

  .page-content {
    min-height: calc(100vh - 62px);
    overflow: visible;
    background:
      linear-gradient(rgba(13, 17, 24, 0.55), rgba(13, 17, 24, 0.76)),
      url("/static/img/new_login_bg_strong_mask_mobile.jpg") center top / cover no-repeat,
      #181a21;
  }

  .login-stage {
    width: 948px;
    max-width: calc(100% - 32px);
    min-height: calc(100vh - 62px);
    padding: 58px 0 42px;
  }

  h1 {
    margin-bottom: 28px;
    font-size: 34px;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .login-panel {
    width: 860px;
    max-width: 100%;
    min-height: 418px;
    grid-template-columns: minmax(0, 540px) 264px;
    gap: 28px;
    padding: 32px 34px 30px;
    background: rgba(24, 26, 33, 0.95);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.035), 0 22px 70px rgba(0, 0, 0, 0.36);
  }

  .field-label {
    margin-bottom: 7px;
    font-size: 13px;
  }

  .password-label {
    margin-top: 12px;
  }

  .demo-field {
    height: 42px;
    border-radius: 2px;
    background: #32353c;
    border-color: #32353c;
  }

  .remember-row {
    margin: 13px 0 25px;
    font-size: 14px;
  }

  .fake-check {
    width: 22px;
    height: 22px;
  }

  .fake-check::after {
    left: 6px;
    top: 3px;
    width: 7px;
    height: 12px;
  }

  .steam-signin {
    width: 254px;
    min-height: 42px;
    margin-bottom: 46px;
    font-size: 16px;
    font-weight: 700;
  }

  .help-link {
    font-size: 13px;
  }

  .qr-column {
    padding-left: 28px;
    padding-right: 16px;
    padding-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 0;
  }

  .qr-title {
    margin-bottom: 7px;
    font-size: 13px;
  }

  .qr-frame {
    width: 220px;
    height: 220px;
    border-radius: 4px;
  }

  .qr-image {
    width: 220px;
    height: 220px;
    border-radius: 0;
  }

  .qr-frame {
    margin-bottom: 14px;
  }

  .qr-image {
    opacity: 0.82;
  }

  .qr-copy {
    font-size: 12px;
  }

  .mobile-auth-card {
    gap: 24px;
    padding: 28px 20px 24px;
  }

  .mobile-auth-account {
    font-size: 21px;
  }

  .mobile-auth-copy {
    margin-top: -16px;
    font-size: 15px;
  }

  .mobile-auth-prompt {
    min-height: 168px;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 18px;
    padding: 14px 18px;
  }

  .mobile-auth-prompt img {
    width: 70px;
    height: auto;
  }

  .mobile-auth-prompt div {
    font-size: 20px;
  }

  .mobile-auth-actions {
    margin-top: 18px;
  }

  .mobile-auth-code,
  .mobile-auth-actions a {
    font-size: 14px;
  }

  .detail-panel {
    display: none;
  }

  .login-bottom-row {
    min-height: 300px;
    display: flex;
    gap: 18px;
    padding: 34px 28px;
  }

  .join-copy,
  .join-action {
    width: 220px;
    font-size: 16px;
  }

  .join-copy a {
    margin-top: 14px;
    font-size: 15px;
  }

  .join-art {
    width: 210px;
    height: 140px;
  }

  .create-account {
    width: 210px;
    min-height: 48px;
    font-size: 15px;
  }

  .join-action p {
    margin-top: 12px;
    font-size: 15px;
  }

  .steam-footer {
    display: block;
  }
}

@media (max-width: 620px) {
  .mobile-drawer {
    top: 0;
    width: 34vw;
    max-width: 320px;
    min-width: 230px;
  }

  .mobile-drawer-scrim {
    inset: 0;
  }

  .global-header {
    height: 62px;
  }

  .steam-logo img {
    width: 132px;
  }

  .mobile-menu-button span {
    width: 31px;
    height: 4px;
  }

  .mobile-drawer a,
  .mobile-drawer summary,
  .mobile-drawer button {
    min-height: 52px;
    font-size: 20px;
  }

  .mobile-drawer button {
    font-size: 18px;
  }

  .page-content,
  .login-stage {
    min-height: 0;
  }

  .page-content {
    width: 100vw;
  }

  .login-stage {
    width: 100%;
    max-width: none;
    padding: 38px 0 40px;
  }

  h1 {
    margin-bottom: 24px;
    padding-inline: 20px;
    font-size: 34px;
  }

  .login-panel {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 24px 30px;
  }

  .demo-field {
    font-size: 16px;
  }

  .steam-signin {
    width: 254px;
    margin-bottom: 32px;
  }

  .qr-column {
    max-width: 280px;
    margin: 0 auto;
    padding-top: 28px;
    padding-left: 0;
    padding-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }

  .qr-frame {
    width: 220px;
    height: 220px;
  }

  .qr-image {
    width: 220px;
    height: 220px;
  }

  .login-bottom-row {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 28px;
    padding: 42px 24px 38px;
  }

  .join-copy,
  .join-action {
    width: 100%;
    max-width: 300px;
  }

  .join-art {
    width: min(210px, 100%);
  }

  .footer-content {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 28px;
  }
}

@media (max-width: 420px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-content img {
    width: 88px;
  }
}

/* The FACEIT browser window is shorter than a regular browser viewport.
   Keep the same Steam layout, but make the complete login card fit without
   scaling the iframe itself. */
body.embedded-qr-flow .global-header {
  height: 62px;
}

body.embedded-qr-flow .page-content {
  width: 100%;
  min-height: calc(100vh - 62px);
}

body.embedded-qr-flow .login-stage {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 62px);
  padding: 30px 0 24px;
}

body.embedded-qr-flow h1 {
  margin-bottom: 18px;
  padding-inline: 40px;
  font-size: 30px;
}

body.embedded-qr-flow .login-panel {
  width: 100%;
  max-width: none;
  min-height: 350px;
  grid-template-columns: minmax(0, 1fr) 226px;
  gap: 22px;
  padding: 24px 28px 22px;
}

body.embedded-qr-flow .demo-field {
  height: 38px;
}

body.embedded-qr-flow .password-label {
  margin-top: 11px;
}

body.embedded-qr-flow .remember-row {
  margin: 11px 0 18px;
}

body.embedded-qr-flow .steam-signin {
  width: 240px;
  min-height: 40px;
  margin-bottom: 24px;
}

body.embedded-qr-flow .qr-column {
  padding-left: 20px;
  padding-right: 16px;
}

body.embedded-qr-flow .qr-frame,
body.embedded-qr-flow .qr-image {
  width: 190px;
  height: 190px;
}

body.embedded-qr-flow .qr-frame {
  margin-bottom: 12px;
}

@media (max-width: 620px) {
  body.embedded-qr-flow .page-content {
    width: 100vw;
  }

  body.embedded-qr-flow .login-stage {
    width: 100%;
    max-width: none;
    padding: 26px 0 0;
  }

  body.embedded-qr-flow h1 {
    padding-inline: 20px;
  }

  body.embedded-qr-flow .login-panel {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    padding: 24px 20px 28px;
  }

  body.embedded-qr-flow .qr-column {
    width: 100%;
    max-width: none;
    padding: 24px 0 0;
  }
}

@media (forced-colors: active) {
  .demo-field,
  .steam-signin,
  .remember-row .fake-check {
    border: 1px solid ButtonBorder;
  }

  .demo-field {
    background: Field;
    color: FieldText;
  }

  .steam-signin {
    background: ButtonFace;
    color: ButtonText;
  }
}

/* Match the current Steam QR treatment at every responsive breakpoint. */
.qr-column,
body.embedded-qr-flow .qr-column {
  border: 0;
}

.qr-frame,
.qr-image,
body.embedded-qr-flow .qr-frame,
body.embedded-qr-flow .qr-image {
  border-radius: 10px;
}

.qr-frame {
  overflow: hidden;
}
