:root {
  --logo-screen-background: #efefef;
  --logo-screen-image: url("./assets/doremon-guns-logo-light.jpg");
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--logo-screen-background);
}

body.is-intro-flight-cursor-hidden,
body.is-intro-flight-cursor-hidden * {
  cursor: none !important;
}

canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  background-color: var(--logo-screen-background);
  background-image: var(--logo-screen-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  image-rendering: auto;
  opacity: 0;
}

[hidden] {
  display: none !important;
}

.start-ui {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 0 24px 68px;
  box-sizing: border-box;
  pointer-events: none;
}

.start-ui.is-booting {
  visibility: hidden;
}

.identity-panel {
  display: grid;
  gap: 10px;
  width: min(320px, calc(100vw - 48px));
  pointer-events: auto;
}

.unsupported-device-screen {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
  color: #ffffff;
  pointer-events: auto;
  text-align: center;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.9);
}

.unsupported-device-panel {
  max-width: 560px;
}

.unsupported-device-panel h1 {
  margin: 0 0 14px;
  font: 700 34px Arial, sans-serif;
}

.unsupported-device-panel p {
  margin: 0;
  font: 400 20px Arial, sans-serif;
  line-height: 1.35;
}

.intro-screen {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.intro-screen.is-service-only .intro-prompt {
  display: none;
}

.intro-screen.is-start-transition .intro-prompt,
.intro-screen.is-start-transition .intro-fullscreen-hint,
.intro-screen.is-start-transition .intro-engine,
.intro-screen.is-start-transition .intro-version,
.intro-screen.is-start-transition .intro-music,
.intro-screen.is-start-transition .intro-language {
  opacity: 0;
  pointer-events: none;
}

.intro-screen.is-start-transition .intro-prompt {
  animation: none;
}

.intro-screen.is-start-transition.is-pilot-school-transition .intro-version,
.intro-screen.is-start-transition.is-pilot-school-transition .intro-music {
  opacity: 1;
  pointer-events: auto;
}

.intro-screen.is-music-persistent .intro-music {
  opacity: 1;
  pointer-events: auto;
  transition: none;
}

.intro-screen.is-service-only .intro-language {
  opacity: 0;
  pointer-events: none;
}

.intro-screen.is-service-only .intro-logo {
  display: none;
}

.intro-screen.is-service-only .intro-engine,
.intro-screen.is-service-only .intro-version {
  opacity: 0;
}

.intro-screen.is-service-only.is-pilot-school-service .intro-version {
  opacity: 1;
}

.intro-screen:not(.is-service-only) .intro-engine {
  display: none;
}

.intro-language {
  position: fixed;
  right: 26px;
  top: 22px;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 1000ms ease;
}

.intro-language-select {
  min-width: 132px;
  background: rgba(25, 30, 34, 0.9);
  color: #3fa9f5;
  border: 1px solid rgba(63, 169, 245, 0.78);
  border-radius: 8px;
  padding: 7px 28px 7px 12px;
  font: 700 13px Arial, sans-serif;
  letter-spacing: 0.08em;
  outline: none;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(63, 169, 245, 0);
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.intro-language-select:hover,
.intro-language-select:focus {
  color: #7bc8ff;
  border-color: rgba(123, 200, 255, 0.96);
  box-shadow: 0 0 14px rgba(63, 169, 245, 0.28);
}

.intro-prompt {
  position: fixed;
  left: 50%;
  bottom: 86px;
  color: #ffffff;
  font: 400 28px Arial, sans-serif;
  line-height: 1.22;
  letter-spacing: 0;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.9);
  text-align: center;
  transform: translateX(-50%);
  white-space: pre-line;
  opacity: 1;
  transition: opacity 1000ms ease;
  animation: intro-pulse 2.2s ease-in-out infinite;
}

.intro-fullscreen-hint {
  position: fixed;
  left: 50%;
  bottom: 58px;
  color: rgba(255, 255, 255, 0.76);
  font: 400 15px Arial, sans-serif;
  letter-spacing: 0;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.9);
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 1;
  transition: opacity 1000ms ease;
}

.intro-service-block {
  position: fixed;
  right: 30px;
  bottom: 34px;
  display: grid;
  justify-items: end;
  gap: 4px;
  color: #ffffff;
  font: 400 13px Arial, sans-serif;
  letter-spacing: 0;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.95);
  opacity: 1;
  transition: opacity 1800ms ease;
}

.intro-service-block.is-fatal-faded {
  opacity: 0;
  pointer-events: none;
}

.intro-screen.is-arenas-popup-open .intro-service-block {
  opacity: 0.25;
  pointer-events: none;
  transition-duration: 320ms;
}

.intro-screen.is-arenas-arena-active .intro-service-block {
  opacity: var(--arenas-shared-ui-alpha, 0);
  pointer-events: none;
  transition: none;
}

.intro-logo {
  width: 172px;
  height: auto;
  display: none;
  margin-bottom: 0;
}

.intro-engine,
.intro-version {
  white-space: nowrap;
  transition: opacity 1000ms ease;
}

.intro-engine {
  font-size: 13px;
  text-align: center;
}

.intro-version {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  line-height: 1;
}

.intro-music {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, auto) 34px;
  align-items: center;
  justify-content: end;
  gap: 6px;
  min-width: 180px;
  margin-bottom: 1px;
  color: #00f8a0;
  text-align: right;
  opacity: 1;
  transition: opacity var(--intro-music-fade-ms, 1000ms) ease;
}

.intro-music.is-scene-disabled {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--intro-music-fade-ms, 1000ms) ease;
}

.intro-screen.is-start-transition.is-pilot-school-transition .intro-music.is-scene-disabled {
  opacity: 0;
  pointer-events: none;
}

.intro-music-text {
  min-width: 0;
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
  transition: opacity var(--intro-music-fade-ms, 1000ms) ease;
}

.intro-music-text.is-faded {
  opacity: 0;
}

.intro-music.is-portal-faded .intro-music-text {
  opacity: 0;
}

.intro-music-title {
  max-width: min(330px, calc(100vw - 94px));
  font: 400 22px "Arial Narrow", Arial, sans-serif;
  line-height: 1.18;
  transform: translateY(-2px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intro-music-author {
  max-width: min(330px, calc(100vw - 94px));
  color: #00f8a0;
  font: 400 13px "Arial Narrow", Arial, sans-serif;
  line-height: 1.08;
  margin-top: -1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intro-music-toggle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #00f8a0;
  background: transparent url("./assets/music-toggle.svg?v=2") center / 70% 70% no-repeat;
  border: 0;
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 220ms ease;
}

.intro-music-toggle.is-track-faded {
  opacity: 0;
  transition: opacity var(--intro-music-fade-ms, 1000ms) ease;
}

.intro-music:not(.is-portal-faded) .intro-music-toggle:not(.is-muted):not(.is-track-faded) {
  animation: intro-music-note-sway 2.4s ease-in-out infinite;
  transform-origin: 50% 76%;
}

.intro-music.is-portal-faded .intro-music-toggle {
  opacity: 0;
  transition: opacity 1000ms ease;
}

.intro-music-toggle.is-muted {
  opacity: 0.2;
}

.intro-music-toggle.is-muted.is-track-faded,
.intro-music.is-portal-faded .intro-music-toggle.is-muted {
  opacity: 0;
}

.intro-music-toggle-fallback {
  display: none;
  font: 400 31px "Arial Narrow", Arial, sans-serif;
  line-height: 1;
  transform: translateY(1px);
}

.intro-music-track-list {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  display: grid;
  gap: 3px;
  min-width: min(320px, calc(100vw - 60px));
  pointer-events: auto;
  color: rgba(0, 248, 160, 0.5);
  text-align: right;
  text-shadow: 0 0 7px rgba(0, 248, 160, 0.34), 0 2px 3px rgba(0, 0, 0, 0.95);
  justify-items: end;
}

.intro-music-track-list:not([hidden]):not(.is-closing) {
  animation: intro-music-track-list-rise 180ms ease-out both;
}

.intro-music-track-list.is-closing {
  pointer-events: none;
  animation: intro-music-track-list-hide 180ms ease-in both;
}

.intro-music-track-item {
  width: max-content;
  max-width: 100%;
  padding: 2px 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: 400 17px "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0;
  text-align: right;
}

.intro-music-track-item:hover {
  color: rgba(0, 248, 160, 0.92);
  text-shadow: 0 0 11px rgba(0, 248, 160, 0.72), 0 2px 3px rgba(0, 0, 0, 0.95);
}

@keyframes intro-music-track-list-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-music-track-list-hide {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes intro-music-note-sway {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }

  38% {
    transform: rotate(5deg) translateY(-1px);
  }

  68% {
    transform: rotate(-1deg) translateY(1px);
  }
}

.intro-server-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: opacity 1000ms ease;
}

.intro-screen.is-flight-transition .intro-server-row {
  opacity: 0;
}

.intro-server-indicator {
  display: inline-block;
  width: 6px;
  height: 17px;
  background: linear-gradient(
    to bottom,
    #62ffc2 0 42%,
    #13e87f 42% 66%,
    #087b2a 66% 100%
  );
  image-rendering: pixelated;
}

@keyframes intro-pulse {
  0%,
  100% {
    opacity: 0.42;
  }

  50% {
    opacity: 1;
  }
}

.nick-input,
.nick-input::placeholder,
.warrior-button {
  background: #1f7a24;
  border-color: #145717;
  color: #ffffff;
  cursor: pointer;
  font: 700 16px "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0;
  padding: 6px 10px;
}

.back-button {
  cursor: pointer;
  font: 14px Arial, sans-serif;
  letter-spacing: 0;
  padding: 2px 8px;
}

.user-cabinet {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.9);
}

.cabinet-avatar {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48) center / cover no-repeat;
  font: 700 36px Arial, sans-serif;
  overflow: hidden;
}

.cabinet-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
}

.cabinet-nick {
  font: 700 22px Arial, sans-serif;
}

.cabinet-badge {
  font: 20px Arial, sans-serif;
}

.cabinet-status {
  max-width: 320px;
  font: 14px Arial, sans-serif;
}

.cabinet-stats {
  display: flex;
  gap: 14px;
  justify-content: center;
  font: 700 14px Arial, sans-serif;
}

.cabinet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.service-line {
  position: fixed;
  left: 50%;
  bottom: 10px;
  color: #ffffff;
  font: 400 13px "Arial", sans-serif;
  letter-spacing: 0;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.85);
  transform: translateX(-50%);
  white-space: nowrap;
}

.entrance-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.48);
  pointer-events: auto;
}

.entrance-popup-panel {
  --popup-x: 0px;
  --popup-y: 0px;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  position: relative;
  width: min(43vw, 380px);
  max-height: 82vh;
  color: #102735;
  border: 10px solid transparent;
  border-radius: 22px;
  background:
    linear-gradient(135deg, #e5f7ff 0%, #cfefff 52%, #eaf9ff 100%) padding-box,
    repeating-linear-gradient(135deg, #0b2230 0 14px, #dff7ff 14px 28px) border-box;
  box-shadow: 0 10px 26px rgba(0, 12, 24, 0.52), 0 0 24px rgba(67, 198, 255, 0.1);
  font: 400 clamp(14px, 2.1vh, 21px) Arial, sans-serif;
  line-height: 1.45;
  opacity: 0;
  overflow: hidden;
  transform: translate(var(--popup-x), var(--popup-y)) scale(0.96);
  transition: opacity 180ms ease, transform 220ms ease;
}

.entrance-popup-voice {
  position: relative;
  width: 34px;
  height: 34px;
  color: #102735;
  background: rgba(8, 51, 72, 0.08);
  border: 2px solid rgba(16, 39, 53, 0.48);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 120ms ease, background 120ms ease, transform 120ms ease;
}

.entrance-popup-voice::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 10px;
  width: 13px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(0 30%, 38% 30%, 100% 0, 100% 100%, 38% 70%, 0 70%);
}

.entrance-popup-voice::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  width: 8px;
  height: 16px;
  border-right: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.72;
}

.entrance-popup-voice:hover,
.entrance-popup-voice.is-speaking {
  opacity: 1;
  background: rgba(8, 51, 72, 0.16);
}

.entrance-popup-voice.is-speaking::after {
  animation: entrance-popup-voice-pulse 820ms ease-in-out infinite;
}

.entrance-popup-voice:active {
  transform: scale(0.94);
}

.entrance-popup-voice:disabled {
  cursor: default;
  opacity: 0.28;
}

@keyframes entrance-popup-voice-pulse {
  0%,
  100% {
    transform: scaleX(0.75);
    opacity: 0.42;
  }

  50% {
    transform: scaleX(1.25);
    opacity: 1;
  }
}

.entrance-popup-overlay.is-open .entrance-popup-panel {
  opacity: 1;
  transform: translate(var(--popup-x), var(--popup-y)) scale(1);
}

.entrance-popup-overlay.is-closing .entrance-popup-panel {
  opacity: 0;
  transform: translate(var(--popup-x), var(--popup-y)) scale(0.98);
}

.entrance-popup-panel.is-cockpit-letter {
  width: min(78vw, 600px);
  max-height: 88vh;
  color: #07371f;
  border-width: 18px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 22% 26%, rgba(255, 255, 255, 0.42), transparent 22%) padding-box,
    linear-gradient(135deg, #d7ffe2 0%, #bff3cf 52%, #dcffe6 100%) padding-box,
    repeating-linear-gradient(135deg, #002a12 0 17px, #caffd6 17px 34px) border-box;
  box-shadow: 0 12px 34px rgba(0, 18, 7, 0.72), 0 0 28px rgba(126, 222, 126, 0.22);
  font: 400 clamp(18px, 2.55vh, 25px) Arial, sans-serif;
}

.entrance-popup-panel.is-cockpit-letter::before {
  content: "";
  position: absolute;
  left: 50%;
  top: clamp(18px, 3vh, 30px);
  z-index: 1;
  width: clamp(118px, 20vw, 190px);
  aspect-ratio: 157 / 75;
  background: url("./assets/logo4letter.png?v=1") center / contain no-repeat;
  transform: translateX(-50%);
  pointer-events: none;
}

.entrance-popup-panel.is-cockpit-letter .entrance-popup-scroll {
  padding-top: clamp(96px, 15vh, 132px);
  padding-inline: clamp(34px, 8vw, 66px);
  scrollbar-color: rgba(7, 55, 31, 0.42) transparent;
}

.entrance-popup-panel.is-cockpit-letter .entrance-popup-title {
  margin-bottom: 1.25em;
  font: 700 1.08em Arial, sans-serif;
  text-align: center;
}

.entrance-popup-panel.is-cockpit-letter .entrance-popup-body {
  gap: 1.2em;
}

.entrance-popup-panel.is-cockpit-letter .entrance-popup-actions {
  display: flex;
  justify-content: center;
  padding: 8px clamp(34px, 8vw, 66px) clamp(28px, 5vh, 42px);
}

.entrance-popup-panel.is-cockpit-letter .entrance-popup-nav,
.entrance-popup-panel.is-cockpit-letter .entrance-popup-voice {
  display: none;
}

.entrance-popup-panel.is-cockpit-letter .entrance-popup-ok {
  min-width: clamp(150px, 25vw, 185px);
  min-height: 66px;
  color: #002a12;
  background: rgba(202, 255, 214, 0.38);
  border-color: rgba(0, 42, 18, 0.58);
  border-radius: 11px;
  font-size: 1.05em;
}

.entrance-popup-panel.is-dragging,
.entrance-popup-scroll.is-scrolling {
  cursor: grabbing;
  transition: none;
}

.entrance-popup-scroll {
  min-height: 0;
  padding: clamp(22px, 4vh, 36px) clamp(24px, 4vw, 42px) 12px;
  overflow-y: auto;
  cursor: grab;
  scrollbar-color: rgba(16, 39, 53, 0.36) transparent;
}

.entrance-popup-title {
  margin: 0 0 18px;
  font: 700 1.08em Arial, sans-serif;
}

.entrance-popup-body {
  display: grid;
  gap: 1.05em;
}

.entrance-popup-scroll.is-content-appearing .entrance-popup-title,
.entrance-popup-scroll.is-content-appearing .entrance-popup-body {
  animation: entrance-popup-text-in 760ms ease both;
}

.entrance-popup-scroll.is-content-appearing .entrance-popup-body {
  animation-delay: 110ms;
}

@keyframes entrance-popup-text-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.entrance-popup-body p {
  margin: 0;
}

.entrance-popup-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin-block: 0.35em;
}

.entrance-popup-image-left {
  margin-right: auto;
}

.entrance-popup-image-center {
  margin-left: auto;
  margin-right: auto;
}

.entrance-popup-image-right {
  margin-left: auto;
}

.entrance-popup-link {
  color: #0d425c;
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.entrance-popup-link:hover {
  color: #006e9c;
}

.entrance-popup-actions {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 14px;
  padding: 12px clamp(24px, 4vw, 42px) clamp(24px, 4vh, 36px);
}

.entrance-popup-main-actions {
  display: grid;
  justify-items: center;
  gap: 11px;
}

.entrance-popup-ok,
.entrance-popup-nav {
  min-width: 118px;
  min-height: 46px;
  color: #102735;
  background: rgba(8, 51, 72, 0.06);
  border: 2px solid rgba(16, 39, 53, 0.62);
  border-radius: 9px;
  cursor: pointer;
  font: 700 1em Arial, sans-serif;
  transition: background 80ms ease, transform 80ms ease;
}

.entrance-popup-nav {
  min-width: 52px;
  justify-self: center;
}

.entrance-popup-ok:active,
.entrance-popup-ok.is-pressed,
.entrance-popup-nav:active:not(:disabled) {
  background: rgba(8, 51, 72, 0.18);
  transform: translateY(2px) scale(0.97);
}

.entrance-popup-nav:disabled {
  opacity: 0.32;
  cursor: default;
  transform: none;
}

.entrance-user-cabinet-overlay {
  position: fixed;
  inset: 0;
  z-index: 18;
  display: grid;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0);
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: background-color 240ms ease, opacity 160ms ease;
}

.entrance-user-cabinet-overlay.is-open {
  background: rgba(0, 0, 0, 0.66);
  opacity: 1;
  pointer-events: auto;
}

.entrance-user-cabinet-overlay .entrance-user-cabinet-menu {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 140ms ease 70ms, transform 170ms ease 70ms;
}

.entrance-user-cabinet-overlay.is-open .entrance-user-cabinet-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.entrance-user-cabinet-menu,
.entrance-user-cabinet-form,
.entrance-user-cabinet-actions,
.entrance-user-cabinet-moments {
  display: grid;
  gap: 12px;
  justify-items: stretch;
  width: min(280px, calc(100vw - 48px));
}

.entrance-user-cabinet-title {
  margin: 0 0 4px;
  color: #ffffff;
  font: 700 24px "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0;
  text-align: center;
}

.entrance-user-cabinet-button {
  min-height: 38px;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(52, 209, 210, 0.68);
  border-radius: 0;
  cursor: pointer;
  font: 700 18px "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0;
  padding: 7px 12px;
}

.entrance-user-cabinet-button:hover,
.entrance-user-cabinet-button:focus-visible {
  border-color: #34d1d2;
  color: #34d1d2;
  outline: none;
}

.entrance-user-cabinet-button:disabled {
  cursor: default;
  opacity: 0.45;
}

.entrance-user-cabinet-button-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: rgba(255, 255, 255, 0.82);
}

.entrance-user-cabinet-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 36px;
  color: #ffffff;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 0;
  font: 400 17px Arial, sans-serif;
  letter-spacing: 0;
  padding: 6px 9px;
  text-align: center;
}

.entrance-user-cabinet-input:focus {
  border-color: #34d1d2;
  outline: none;
}

.entrance-user-cabinet-textarea {
  min-height: 72px;
  resize: none;
}

.entrance-user-cabinet-status {
  min-height: 20px;
  color: rgba(255, 255, 255, 0.74);
  font: 400 13px Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.28;
  text-align: center;
}

.entrance-user-cabinet-moments {
  width: min(520px, calc(100vw - 48px));
}

.entrance-user-cabinet-moment-video {
  width: 100%;
  max-height: 46vh;
  border: 1px solid rgba(255, 237, 118, 0.65);
  background: #000000;
}

.entrance-user-cabinet-achievement-card {
  display: block;
  width: min(260px, 70vw);
  max-height: 46vh;
  margin: 0 auto;
  object-fit: contain;
  animation: entrance-achievement-neon-flicker 3.7s steps(1, end) infinite;
  filter: drop-shadow(0 0 5px rgba(126, 222, 126, 0.32));
}

@keyframes entrance-achievement-neon-flicker {
  0%, 8%, 15%, 26%, 39%, 57%, 71%, 100% { opacity: 1; }
  10% { opacity: 0.22; }
  11% { opacity: 0.95; }
  28% { opacity: 0.48; }
  29% { opacity: 0.9; }
  60% { opacity: 0.16; }
  62% { opacity: 0.86; }
  74% { opacity: 0.52; }
  76% { opacity: 0.98; }
}

.entrance-user-cabinet-achievements-empty {
  color: rgba(255, 255, 255, 0.72);
  font: 400 14px Arial, sans-serif;
  letter-spacing: 0;
  text-align: center;
}
