/* Lobby flow overhaul: boot loading, main menu stage, deployment readability, weapon art. */

/* ---------- boot loading screen ---------- */

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #060b09;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.boot-screen::before,
.boot-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.boot-screen::before {
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(3, 6, 5, 0.78), rgba(3, 6, 5, 0.42) 48%, rgba(3, 6, 5, 0.68)),
    url("../assets/ui/loading-background.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.84) contrast(1.05);
}

.boot-screen::after {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 48%, transparent 0 32%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.46), transparent 38%, rgba(0, 0, 0, 0.62));
}

.boot-screen.boot-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 28px 34px;
  border: 1px solid rgba(237, 244, 239, 0.12);
  border-radius: 8px;
  background: rgba(4, 8, 7, 0.48);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
  text-align: center;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.boot-mark {
  padding: 7px 14px;
  border: 1px solid rgba(255, 209, 102, 0.5);
  border-radius: 4px;
  color: #ffd166;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.22em;
}

.boot-inner strong {
  color: rgba(237, 244, 239, 0.88);
  font-size: 14px;
  font-weight: 900;
}

.boot-bar {
  width: min(260px, 60vw);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(237, 244, 239, 0.12);
}

.boot-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 209, 102, 0.2), #ffd166);
  transition: width 120ms linear;
}

.boot-inner small {
  color: rgba(237, 244, 239, 0.5);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.boot-enter {
  display: grid;
  width: 72px;
  height: 72px;
  padding: 0 0 0 5px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  color: #fff;
  background: rgba(3, 8, 6, 0.56);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.46);
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.boot-enter:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.04);
}

.boot-enter:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 5px;
}

.boot-enter[hidden] {
  display: none;
}

.boot-screen.boot-awaiting-enter .boot-inner {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.boot-screen.boot-awaiting-enter .boot-mark,
.boot-screen.boot-awaiting-enter .boot-inner > strong,
.boot-screen.boot-awaiting-enter .boot-bar,
.boot-screen.boot-awaiting-enter .boot-inner > small,
.boot-screen.boot-awaiting-enter .boot-retry {
  display: none;
}

.boot-retry {
  min-width: 118px;
  min-height: 42px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 209, 102, 0.64);
  border-radius: 5px;
  color: #ffd166;
  background: rgba(12, 17, 14, 0.88);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.boot-retry[hidden] {
  display: none;
}

.boot-screen.boot-error .boot-bar span {
  background: #e16b5f;
}

/* ---------- entry: main menu stage ---------- */

.entry-main {
  display: none;
}

.entry-screen.stage-main {
  --main-title-offset-x: -50.5px;
  --main-title-y: 14px;
  --main-title-w: 531px;
  --main-soldier-x: 179px;
  --main-soldier-bottom: -2px;
  --main-soldier-w: 588px;
  --main-refugee-x: 27px;
  --main-refugee-bottom: -27px;
  --main-refugee-w: 584px;
  --main-north-right: 88px;
  --main-north-bottom: -7px;
  --main-north-w: 592px;
  --main-buttons-offset-x: -56.5px;
  --main-buttons-y: 393px;
  --main-buttons-w: 213px;
  --main-buttons-gap: 5px;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  place-items: center;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
  background: #060b09;
}

.entry-screen.stage-main::before,
.entry-screen.stage-main::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.entry-screen.stage-main::before {
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(3, 6, 5, 0.38), rgba(3, 6, 5, 0.2) 42%, rgba(3, 6, 5, 0.62)),
    url("../assets/ui/main-background.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.82) contrast(1.04);
}

.entry-screen.stage-main::after {
  z-index: -1;
  background:
    radial-gradient(circle at 28% 48%, rgba(0, 0, 0, 0.08), transparent 0 28%, rgba(0, 0, 0, 0.64) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 42%, rgba(0, 0, 0, 0.7));
}

.entry-screen.stage-main > * {
  position: relative;
  z-index: 1;
}

.entry-screen.stage-main .entry-account-widget {
  position: absolute;
}

.entry-screen.stage-main .entry-card {
  display: none;
}

.entry-screen.stage-main .entry-main {
  position: absolute;
  inset: 0;
  width: auto;
  display: block;
  margin: 0;
  pointer-events: none;
}

.entry-screen.stage-main .entry-main-soldier {
  position: absolute;
  left: var(--main-soldier-x);
  bottom: var(--main-soldier-bottom);
  width: var(--main-soldier-w);
  height: auto;
  display: block;
  pointer-events: none;
  opacity: 1;
  z-index: 1;
}

.entry-screen.stage-main .entry-main-extra {
  position: absolute;
  height: auto;
  display: block;
  pointer-events: none;
  opacity: 1;
  z-index: 1;
}

.entry-screen.stage-main .entry-main-refugee {
  left: var(--main-refugee-x);
  bottom: var(--main-refugee-bottom);
  width: var(--main-refugee-w);
}

.entry-screen.stage-main .entry-main-north-soldier {
  right: var(--main-north-right);
  bottom: var(--main-north-bottom);
  width: var(--main-north-w);
}

.entry-main-hero {
  position: absolute;
  left: calc((100vw - var(--main-title-w)) / 2 + var(--main-title-offset-x));
  top: var(--main-title-y);
  width: var(--main-title-w);
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.entry-main-title {
  width: 100%;
  height: auto;
  display: block;
}

.entry-main-badge {
  padding: 5px 11px;
  border: 1px solid rgba(255, 209, 102, 0.5);
  border-radius: 999px;
  color: #ffd166;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.entry-main-hero h1 {
  display: none;
  margin: 0;
  color: #edf4ef;
  font-size: clamp(56px, 6.5vw, 82px);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.72);
}

.entry-main-hero p {
  margin: 0;
  color: rgba(237, 244, 239, 0.66);
  font-size: 14px;
  font-weight: 750;
}

.entry-main-panel {
  position: absolute;
  left: calc((100vw - var(--main-buttons-w)) / 2 + var(--main-buttons-offset-x));
  top: var(--main-buttons-y);
  width: var(--main-buttons-w);
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
}

.entry-main-actions {
  display: grid;
  justify-items: center;
  gap: var(--main-buttons-gap);
}

.entry-main-actions.hidden,
.entry-screen.stage-main .entry-enter.hidden {
  display: none;
}

.entry-art-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.entry-art-button img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.entry-art-button:hover {
  transform: translateY(-1px);
}

.entry-art-button:active {
  transform: translateY(1px);
}

.entry-art-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.entry-art-button-soon {
  opacity: 0.72;
}

.entry-screen.stage-main .entry-field {
  text-align: left;
}

.entry-nickname-field.hidden {
  display: none;
}

.entry-screen.stage-main .entry-field span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.entry-screen.stage-main .entry-field input {
  min-height: 48px;
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.92);
  color: #070807;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
}

.entry-screen.stage-main .entry-field input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22), 0 8px 22px rgba(0, 0, 0, 0.28);
}

.entry-screen.stage-main .entry-enter,
.entry-guest {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #070807;
  font: 900 15px Inter, system-ui, sans-serif;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.entry-screen.stage-main .entry-enter:hover,
.entry-guest:hover {
  border-color: #ffffff;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.entry-screen.stage-main .entry-secondary {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(7, 8, 7, 0.62);
  color: #ffffff;
}

.entry-screen.stage-main .entry-secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(7, 8, 7, 0.78);
}

.entry-screen.stage-main .entry-enter:active {
  transform: translateY(1px);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.28);
}

.entry-main-hint {
  min-height: 16px;
  margin: 2px 0 0;
  color: rgba(237, 244, 239, 0.5);
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.entry-main-hint.warn {
  color: #ffb3a8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.entry-account-widget {
  position: absolute;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.entry-devhub-button svg {
  display: block;
}

.entry-screen:not(.stage-main) .entry-account-widget {
  display: none;
}

.entry-account-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(6, 8, 7, 0.64);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.entry-account-button:hover,
.entry-account-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.12);
}

.entry-account-icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
}

.entry-account-icon::before,
.entry-account-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid rgba(255, 255, 255, 0.92);
}

.entry-account-icon::before {
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.entry-account-icon::after {
  bottom: 0;
  width: 17px;
  height: 9px;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.entry-account-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: min(280px, calc(100vw - 32px));
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(4, 8, 7, 0.84);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.48);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.entry-account-panel.hidden {
  display: none;
}

.entry-account-panel strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 950;
}

.entry-account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.entry-account-tabs button,
.entry-account-save,
.entry-account-reset {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(237, 244, 239, 0.88);
  font: 900 13px Inter, system-ui, sans-serif;
  cursor: pointer;
}

.entry-account-tabs button.active,
.entry-account-save {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.94);
  color: #070807;
}

.entry-account-tabs button:disabled {
  cursor: default;
  opacity: 0.56;
}

.entry-account-field {
  display: grid;
  gap: 5px;
}

.entry-account-field span {
  color: rgba(237, 244, 239, 0.66);
  font-size: 11px;
  font-weight: 850;
}

.entry-account-field input {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #070807;
  font: 900 14px Inter, system-ui, sans-serif;
  outline: none;
  padding: 0 11px;
}

.entry-account-field input:disabled,
.entry-screen.stage-main .entry-field.locked input {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.68);
  color: rgba(7, 8, 7, 0.78);
}

.entry-account-reset {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.28);
  color: #ffffff;
}

.entry-account-reset.hidden,
.entry-account-save.hidden {
  display: none;
}

.entry-account-status {
  min-height: 15px;
  margin: 0;
  color: rgba(237, 244, 239, 0.62);
  font-size: 11px;
  font-weight: 750;
}

.entry-back {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(237, 244, 239, 0.18);
  border-radius: 6px;
  background: rgba(237, 244, 239, 0.06);
  color: rgba(237, 244, 239, 0.82);
  font: 900 12px Inter, system-ui, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}

.entry-back:hover {
  border-color: rgba(255, 209, 102, 0.54);
  background: rgba(255, 209, 102, 0.1);
}

.entry-head {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

@media (min-width: 2000px) {
  .entry-screen.stage-main {
    --main-title-offset-x: -7px;
    --main-title-y: 196px;
    --main-title-w: 700px;
    --main-soldier-x: 264px;
    --main-soldier-bottom: -2px;
    --main-soldier-w: 700px;
    --main-refugee-x: 96px;
    --main-refugee-bottom: -27px;
    --main-refugee-w: 700px;
    --main-north-right: 160px;
    --main-north-bottom: -7px;
    --main-north-w: 700px;
    --main-buttons-offset-x: 1.5px;
    --main-buttons-y: 736px;
    --main-buttons-w: 217px;
  }
}

@media (max-width: 900px) {
  .entry-screen.stage-main {
    --main-title-offset-x: -11.5px;
    --main-title-y: -11px;
    --main-title-w: 691px;
    --main-soldier-x: -156px;
    --main-soldier-bottom: -6px;
    --main-soldier-w: 663px;
    --main-buttons-offset-x: -12px;
    --main-buttons-y: 472px;
    --main-buttons-w: 252px;
  }

  .entry-screen.stage-main .entry-main-extra {
    display: none;
  }
}

@media (max-width: 500px) {
  .entry-screen.stage-main {
    --main-title-offset-x: 12px;
    --main-title-y: -60px;
    --main-title-w: 498px;
    --main-soldier-x: -130px;
    --main-soldier-bottom: -1px;
    --main-soldier-w: 453px;
    --main-buttons-offset-x: -2px;
    --main-buttons-y: 264px;
    --main-buttons-w: 172px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .entry-screen.stage-main {
    --main-title-offset-x: -10px;
    --main-title-y: -14px;
    --main-title-w: min(460px, 82vh);
    --main-title-w: min(460px, 82dvh);
    --main-soldier-x: 16vw;
    --main-soldier-bottom: -2px;
    --main-soldier-w: min(520px, 90vh);
    --main-soldier-w: min(520px, 90dvh);
    --main-refugee-x: 1vw;
    --main-refugee-bottom: -2px;
    --main-refugee-w: min(520px, 90vh);
    --main-refugee-w: min(520px, 90dvh);
    --main-north-right: 4vw;
    --main-north-bottom: -2px;
    --main-north-w: min(520px, 90vh);
    --main-north-w: min(520px, 90dvh);
    --main-buttons-offset-x: -10px;
    --main-buttons-y: 52vh;
    --main-buttons-y: 52dvh;
    --main-buttons-w: min(180px, 35vh);
    --main-buttons-w: min(180px, 35dvh);
    --main-buttons-gap: 2px;
  }

  .entry-screen.stage-main .entry-main-extra {
    display: block;
  }
}

/* ---------- deployment (게임세팅) readability ---------- */

.deployment-card {
  max-width: 100%;
}

.deployment-panel {
  min-width: 0;
  overflow-x: hidden;
  padding-bottom: 24px;
}

.deployment-section-label {
  color: rgba(237, 244, 239, 0.72);
  font-size: 12px;
  letter-spacing: 0;
}

.deployment-collapse {
  display: grid;
  gap: 8px;
}

.deployment-collapse-summary {
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(84px, auto) 24px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(237, 244, 239, 0.16);
  border-radius: 7px;
  background: rgba(237, 244, 239, 0.06);
  color: #edf4ef;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.deployment-collapse-summary::-webkit-details-marker {
  display: none;
}

.deployment-collapse-summary::after {
  content: "+";
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(237, 244, 239, 0.18);
  border-radius: 999px;
  color: rgba(237, 244, 239, 0.82);
  font-size: 14px;
  font-weight: 950;
}

.deployment-collapse[open] .deployment-collapse-summary {
  border-color: rgba(255, 209, 102, 0.46);
  background: rgba(255, 209, 102, 0.09);
}

.deployment-collapse[open] .deployment-collapse-summary::after {
  content: "-";
}

.deployment-collapse-summary .deployment-section-label {
  min-width: 0;
  overflow: hidden;
  color: #edf4ef;
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deployment-collapse-value {
  min-width: 0;
  max-width: 180px;
  overflow: hidden;
  color: rgba(237, 244, 239, 0.66);
  font-size: 12px;
  font-weight: 850;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deployment-collapse > .deployment-mode-row,
.deployment-collapse > .deployment-class-list,
.deployment-collapse > .deployment-settings,
.deployment-collapse > .deployment-map-select,
.deployment-collapse > .deployment-loadout {
  margin-top: 0;
}

.deployment-map-select {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 7px;
}

.deployment-map-choice {
  min-height: 58px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(237, 244, 239, 0.14);
  border-radius: 7px;
  background: rgba(237, 244, 239, 0.055);
  color: #edf4ef;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.deployment-map-choice strong {
  font-size: 15px;
  font-weight: 950;
}

.deployment-map-choice small {
  color: rgba(237, 244, 239, 0.58);
  font-size: 11px;
  font-weight: 850;
}

.deployment-map-choice.active {
  border-color: rgba(107, 188, 255, 0.78);
  background: rgba(107, 188, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(107, 188, 255, 0.22);
}

.deployment-map-choice:disabled {
  cursor: default;
  opacity: 0.52;
}

.deployment-class-list {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.deployment-class,
.deployment-mode {
  min-width: 0;
}

.deployment-class-slots {
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
}

.deployment-mini-slot {
  min-height: 38px;
}

.deployment-mini-slot span {
  font-size: 12px;
}

.deployment-settings {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.deployment-setting span {
  font-size: 11px;
  color: rgba(237, 244, 239, 0.68);
}

.deployment-setting input,
.deployment-setting select {
  min-height: 40px;
  font-size: 15px;
}

.deployment-start {
  position: static;
  min-height: 46px;
  font-size: 15px;
}

@media (max-width: 480px) {
  .deployment-screen {
    padding:
      max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
  }

  .deployment-class-list {
    grid-template-columns: 1fr;
  }

  .deployment-settings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- weapon illustration slots ---------- */

.loadout-weapon-art {
  width: 58px;
  height: 32px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(237, 244, 239, 0.12);
  border-radius: 5px;
  background: rgba(3, 8, 7, 0.44);
}

.loadout-weapon-art img {
  max-width: 92%;
  max-height: 88%;
  object-fit: contain;
  display: block;
}

.loadout-weapon-art img.missing {
  display: none;
}

.deployment-loadout-slot {
  grid-template-columns: 30px 58px minmax(0, 1fr) auto;
}

.loadout-choice,
.lobby-loadout-choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.loadout-choice-icon {
  width: 32px;
  height: 17px;
  object-fit: contain;
  display: block;
}

.loadout-choice-icon.missing {
  display: none;
}

.deployment-mini-slot {
  grid-template-columns: auto auto minmax(0, 1fr);
}

.mini-slot-icon {
  width: 28px;
  height: 15px;
  object-fit: contain;
  display: block;
}

.mini-slot-icon.missing {
  display: none;
}

@media (max-height: 620px) and (orientation: landscape) {
  .loadout-weapon-art {
    width: 46px;
    height: 26px;
  }

  .deployment-loadout-slot {
    grid-template-columns: 26px 46px minmax(0, 1fr) auto;
  }
}
