@charset "UTF-8";


a {
  color: var(--accent);
  text-decoration: none
}

.jbg {
  --accent: #4254F4;
  --shadows: rgba(128, 128, 128, .4);
  --backgroundPrimary: #fff;
  --backgroundSecondary: #e0e0e0;
  --inputPrimary: #e0e0e0;
  --inputSecondary: #e0e0e0;
  --textPrimary: #333333;
  --textSecondary: #505050;
  background: var(--backgroundPrimary);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--textPrimary)
}

.jbg.theme-dark {
  --accent: #4254F4;
  --shadows: rgb(4, 9, 14, .5);
  --backgroundPrimary: #0a1420;
  --backgroundSecondary: #0d1c2b;
  --inputPrimary: #1f2937;
  --inputSecondary: #353f4d;
  --textPrimary: #f5f7f7;
  --textSecondary: #8c939c;
  color-scheme: dark
}





.jbg label {
  display: inline-block;
  width: 100%;
  margin-bottom: 5px;
  padding: 0 12px;
  color: var(--textPrimary);
  font-size: 17px
}

.jbg input,
.jbg textarea,
.jbg select {
  width: 100%;
  height: 34px;
  margin-bottom: 15px;
  padding: 21px 12px 19px;
  background-color: var(--inputPrimary);
  border: 1px solid var(--inputSecondary);
  border-radius: 12px;
  color: var(--textPrimary);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase
}

.jbg input::placeholder,
.jbg textarea::placeholder,
.jbg select::placeholder {
  color: var(--textSecondary)
}

.jbg input:disabled,
.jbg textarea:disabled,
.jbg select:disabled {
  background: var(--inputPrimary);
  color: var(--textSecondary);
  cursor: not-allowed;
  user-select: none
}

.jbg textarea {
  height: auto;
  padding: 12px;
  font-size: 14px
}



li.appearance {
  position: relative;
  margin: 0 auto 10px
}

li.appearance label {
  margin: 0 0 5px;
  font-size: 12px;
  color: #fff
}

li.appearance fieldset {
  border: none;
  position: relative;
  width: 100%;
  height: 45px
}

li.appearance input {
  position: relative;
  display: inline-block;
  width: 50%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  -webkit-appearance: none;
  appearance: none
}

li.appearance svg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: visible;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke: #fff;
  stroke-width: 2px
}

li.appearance svg .frame {
  fill: #0e167d;
  stroke-width: 2.5px
}

li.appearance svg .indicator {
  fill: #fff;
  stroke-width: 0;
  transition: transform .2s
}

li.appearance svg .celestial {
  stroke-width: 2px;
  fill: transparent
}

.theme-light li.appearance svg .indicator {
  transform: translate(-11%)
}

.theme-light li.appearance svg .celestial.sun {
  fill: #fff
}

.theme-dark li.appearance svg .indicator {
  transform: translate(11%)
}

.theme-dark li.appearance svg .celestial.moon {
  fill: #fff
}

.nav ul {
  min-width: 300px;
  max-width: 350px;
  margin: 25px auto;
  list-style: none;
  padding: 0;
}

.nav li {
  cursor: pointer;
  text-align: center;
  opacity: 0;
  animation: fade-animation-1e5a97d3 .5s forwards
}

.nav li:nth-child(1) {
  animation-delay: .05s
}

.nav li:nth-child(2) {
  animation-delay: .1s
}

.nav li:nth-child(3) {
  animation-delay: .15s
}

.nav li:nth-child(4) {
  animation-delay: .2s
}

.nav li:nth-child(5) {
  animation-delay: .25s
}

.nav li:nth-child(6) {
  animation-delay: .3s
}

.nav li:nth-child(7) {
  animation-delay: .35s
}

.nav li:nth-child(8) {
  animation-delay: .4s
}

.nav li:nth-child(9) {
  animation-delay: .45s
}

.nav li:nth-child(10) {
  animation-delay: .5s
}

.nav li.version {
  padding: 0
}

.nav li.version a {
  position: relative;
  display: inline;
  width: auto;
  border: none;
  background-color: transparent;
  font-size: 13px;
  font-weight: 400;
  color: #fff
}

.nav a {
  position: relative;
  display: block;
  width: 210px;
  margin: 9px auto;
  padding: 10px 0;
  border-radius: 14px;
  border: 4px solid #c7c7c7;
  background-color: #fff;
  font-size: 18px;
  color: #333;
  text-decoration: none;
  transition: border-color .25s
}

.nav a:active,
.nav a:hover,
.nav a:focus {
  border-color: #fff
}

.nav li.twitch a {
  color: #fff;
  padding-left: 25px;
  border: 5px solid #fff;
  background-color: #64449b;
  background-image: url(ui/twitch.svg);
  background-size: 25px 25px;
  background-repeat: no-repeat;
  background-position: 45px 13px;
  transition: background-color .25s
}

.nav li.twitch a:active {
  background-color: #442a72
}

.nav li.moderator a {
  color: #fff;
  border: 5px solid #fff;
  background-color: #0e167d;
  transition: background-color .25s
}

.nav li.moderator a:active {
  background-color: #3241ce
}

.nav li.social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 7px 10px;
  border: none;
  border-radius: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent
}

.nav li.social a.patreon {
  background-image: url(ui/patreon.svg)
}

.nav li.social a.youtube {
  background-image: url(ui/youtube.svg)
}

.nav li.social a.telegram {
  background-image: url(ui/telegram.svg);
}

.nav li.social a.discord {
  background-image: url(ui/discord.svg);
}

.nav li.social a.monobank {
  background-image: url(ui/monobank.svg)
}

.nav li a .indicator {
  width: 24px;
  height: 24px;
  top: -10px;
  left: auto;
  right: -10px;
  border: 4px solid #3241CE
}

@keyframes fade-animation-1e5a97d3 {
  0% {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

#app {
  padding-top: 50px;
}


.header {
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  padding: 12px 15px;
  background: #4254F4;
  user-select: none;
  color: #fff;
  z-index: 2001
}

.header::after {
  content: "";
  position: fixed;
  top: var(--header-strip-top, 0px);
  right: 0;
  width: var(--app-scrollbar-width, 0px);
  height: var(--header-strip-height, 50px);
  background: #4254F4;
  pointer-events: none;
  z-index: 2001;
}

.header .logo {
  width: 100%;
  height: 28px;
  background-image: url(ui/logo-top.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat
}

.header .hamburger {
  cursor: pointer;
  position: absolute;
  top: 5px;
  width: 24px;
  height: 20px;
  background-image: url(ui/hamburger.png);
  background-size: 576px 20px;
  background-position: 0 0;
  background-repeat: no-repeat;
  transition: background-position .45s steps(23)
}

.header .hamburger.close {
  background-position: -552px 0
}

.screen-container {
  position: fixed;
  top: var(--menu-top, 50px);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--menu-top, 50px));
  height: calc(100dvh - var(--menu-top, 50px));
  padding: 0 15px;
  background-color: #3241ce;
  overflow-y: auto;
  z-index: 2000;
  transition: height .45s
}

.open-transition-enter-active,
.open-transition-leave-active {
  overflow: hidden;
  transition: height .45s
}

.open-transition-enter,
.open-transition-leave-to {
  height: 0px;
  overflow: hidden;
}

.theme-dark.jbg {
  background-image: url(ui/banner.png);
}

.theme-light.jbg {
  background-image: url(ui/banner-dark.png);
}


a.bottom-logo {
  cursor: pointer;
  display: block;
  width: 50%;
  height: 50px;
  max-width: 320px;
  margin: 20px auto;
  color: transparent;
  background-image: url(ui/logo-bottom.svg);
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  width: 100vw;
  height: 100%;
  height: 100vh;
  overflow: hidden;
  border: 0;
  font-family: Helvetica-Neue, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  margin: 0;
  padding: 0
}

#app {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  scrollbar-gutter: stable;
}

#app.menu-open {
  overflow: hidden;
  scrollbar-gutter: stable;
}

#app.menu-open-bg {
  background-color: #3241ce;
  background-image: none;
}

.constrain {
  position: relative;
  width: 100%;
  min-height: 100%;
  min-width: 320px;
  max-width: 450px;
  margin: 0 auto
}

.cards-manual {
  display: flex;
  gap: 40px;
  margin-left: 5%;
  margin-right: 5%;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  border-radius: 20px;
  background: var(--inputPrimary);
  border: 1px solid var(--shadows);
  position: relative;
  width: 300px;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.card-img {
  width: 100%;
  border-radius: 20px 20px 0 0;
}

.card-images {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  align-items: center;
  width: 300px;
  height: 48px;
}

.card-images:empty {
  display: none;
}

.card-title {
  font-family: Helvetica, sans-serif, Arial;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  margin: 12px 0;
}

.card-text {
  font-family: Helvetica, sans-serif, Arial;
  font-size: 12px;
  line-height: 24px;
  margin: 0 24px;
}

.card-btn {
  margin: 0;
  padding: 5px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: 2px solid #4254F4;
  border-radius: 5px;
  font-size: 12px;
  font-family: Helvetica, sans-serif, Arial;
  font-weight: 600;
  background-color: #3241ce;
  transition: .3s;
}

.card-btn:hover {
  text-decoration: none;
  color: #3241CE;
  background-color: #fff;
}

.card-footer {
  color: #999;
  text-align: left;
  padding: 4px 0 0 20px;
  margin: 0;
}

.footer-div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-top: auto;
  gap: 0;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.download-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 10px 8px 20px;
  width: calc(100% - 30px);
  position: relative;
  padding-right: 84px;
}

.download-row-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.download-row-utility {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 34px;
  align-items: center;
  justify-content: flex-end;
  column-gap: 8px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  overflow: visible;
}

.utility-download-btn {
  box-sizing: border-box;
  position: relative;
  justify-self: end;
  width: auto;
  min-width: 34px;
  max-width: 34px;
  height: 32px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  transform-origin: right center;
  transition: max-width .28s ease, gap .28s ease, background-color .2s ease, color .2s ease;
}

.utility-download-btn:hover,
.utility-download-btn:focus-visible {
  max-width: 500px;
  gap: 8px;
  padding: 5px 8px;
  justify-content: flex-start;
  position: relative;
  z-index: 5;
}

.utility-download-btn-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  filter: brightness(0) invert(1);
}

.utility-download-btn:hover .utility-download-btn-icon,
.utility-download-btn:focus-visible .utility-download-btn-icon {
  filter: brightness(0) saturate(100%) invert(25%) sepia(95%) saturate(2888%) hue-rotate(228deg) brightness(97%) contrast(94%);
}

.utility-download-btn-text {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  transition: max-width .28s ease, opacity .18s ease;
}

.utility-download-btn:hover .utility-download-btn-text,
.utility-download-btn:focus-visible .utility-download-btn-text {
  max-width: 280px;
  opacity: 1;
}

.download-warning-tooltip {
  position: relative;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  padding-left: 1px;
  border-radius: 50%;
  background-color: #df8500;
  color: #fff;
  border: 1px solid var(--shadows);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  user-select: none;
}

.download-warning-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(223, 133, 0, 0.95);
  color: #fff;
  border: 1px solid var(--shadows);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.35;
  width: 270px;
  max-width: 270px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1002;
  text-align: left;
}

.download-warning-tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

.stores-wrapper {
  display: flex;
  gap: 9px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  margin-left: 20px;
}

.store-group {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: nowrap;
}

.store-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.store-icon {
  width: 16px;
  height: 16px;
  display: block;
  filter: invert(0.5);
}

.store-platforms {
  display: flex;
  gap: 3px;
  align-items: center;
  padding: 3px 5px;
  border-radius: 3px;
  flex-wrap: wrap;
  justify-content: center;
}

.jbg .store-platforms {
  background: rgba(0, 0, 0, 0.08);
}

.jbg.theme-dark .store-platforms {
  background: rgba(255, 255, 255, 0.08);
}

.platform-icon {
  width: 14px;
  height: 14px;
  filter: invert(0.5);
  pointer-events: none;
}

.help-modal {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2500;
  padding: 0 12px;
}

.help-modal-window {
  position: relative;
  border-radius: 10px;
  margin: 60px auto 48px;
  max-width: 1000px;
  max-height: calc(100vh - 120px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 10;
  border: 1px solid var(--shadows);
}

.theme-dark .help-modal-window {
  background-color: #0a1420;
}

.theme-light .help-modal-window {
  background-color: #c7c7c7;
}

.help-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--shadows);
  flex-shrink: 0;
}

.theme-dark .help-modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.help-modal-title {
  font-family: Helvetica, sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 0;
}

.help-modal-close {
  background: none;
  border: none;
  color: var(--textPrimary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.6;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.help-modal-close,
.game-info-modal-close {
  position: relative;
}

.help-modal-close::before,
.game-info-modal-close::before {
  content: "";
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
}

.help-modal-close:hover {
  opacity: 1;
}

.help-modal-content {
  padding: 8px 20px 20px 20px;
  overflow-y: auto;
}

/* ========== Help Instructions Styled Sections ========== */

.hi-section {
  padding: 18px 18px 18px;
}

.hi-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.hi-section-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}

.hi-section-title {
  font-family: Helvetica, sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin: 0;
  line-height: 1.3;
}

.hi-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--shadows);
  flex-shrink: 0;
}

.hi-badge--blue {
  background: rgba(91, 141, 249, 0.18);
  color: #7ba8ff;
}
.hi-badge--green {
  background: rgba(76, 214, 138, 0.18);
  color: #5ee09c;
}

.theme-light .hi-badge--blue {
  background: rgba(59, 100, 200, 0.14);
  color: #3b64c8;
}
.theme-light .hi-badge--green {
  background: rgba(34, 160, 90, 0.14);
  color: #1e8a50;
}

.hi-intro {
  font-size: 12.5px;
  line-height: 1.55;
  margin: 0 0 14px 0;
  opacity: 0.82;
}

.hi-intro a {
  color: #7ba8ff;
  text-decoration: underline;
  text-decoration-color: rgba(123, 168, 255, 0.3);
  text-underline-offset: 2px;
}
.theme-light .hi-intro a {
  color: #3b64c8;
  text-decoration-color: rgba(59, 100, 200, 0.3);
}

.hi-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hi-step {
  display: flex;
  align-items: stretch;
  font-size: 12.5px;
  line-height: 1.55;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--shadows);
  transition: background-color 0.15s;
}

.theme-dark .hi-step {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.1);
}
.theme-light .hi-step { background: rgba(0, 0, 0, 0.025); }

.hi-step--warn {
  border-color: rgba(245, 166, 35, 0.4);
}
.theme-dark .hi-step--warn {
  background: rgba(245, 166, 35, 0.06);
  border-color: rgba(245, 166, 35, 0.52);
}
.theme-light .hi-step--warn { background: rgba(245, 166, 35, 0.08); }

.hi-step--warn .hi-step-num {
  background: rgba(245, 166, 35, 0.15);
  color: #c87d00;
  border-right-color: rgba(245, 166, 35, 0.35);
}
.theme-dark .hi-step--warn .hi-step-num {
  color: #f5b94e;
}

.hi-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  border-right: 1px solid;
}

.hi-step-num--blue {
  background: rgba(91, 141, 249, 0.12);
  color: #7ba8ff;
  border-right-color: rgba(91, 141, 249, 0.25);
}
.hi-step-num--green {
  background: rgba(76, 214, 138, 0.12);
  color: #5ee09c;
  border-right-color: rgba(76, 214, 138, 0.25);
}
.hi-step-num--orange {
  background: rgba(245, 166, 35, 0.12);
  color: #f5b94e;
  border-right-color: rgba(245, 166, 35, 0.25);
}
.hi-step-num--pink {
  background: rgba(232, 115, 168, 0.12);
  color: #e87ec0;
  border-right-color: rgba(232, 115, 168, 0.25);
}
.hi-step-num--yellow {
  background: rgba(243, 214, 90, 0.12);
  color: #f3d65a;
  border-right-color: rgba(243, 214, 90, 0.25);
}

.theme-light .hi-step-num--blue { background: rgba(59, 100, 200, 0.10); color: #3b64c8; border-right-color: rgba(59, 100, 200, 0.2); }
.theme-light .hi-step-num--green { background: rgba(34, 160, 90, 0.10); color: #1e8a50; border-right-color: rgba(34, 160, 90, 0.2); }
.theme-light .hi-step-num--orange { background: rgba(200, 130, 15, 0.10); color: #a06c00; border-right-color: rgba(200, 130, 15, 0.2); }
.theme-light .hi-step-num--pink { background: rgba(200, 70, 130, 0.10); color: #b83878; border-right-color: rgba(200, 70, 130, 0.2); }
.theme-light .hi-step-num--yellow { background: rgba(190, 150, 35, 0.10); color: #8a6a00; border-right-color: rgba(190, 150, 35, 0.2); }

.hi-step-text {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
}

.hi-step-text a {
  color: #7ba8ff;
  text-decoration: underline;
  text-decoration-color: rgba(123, 168, 255, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s;
}
.hi-step-text a:hover {
  text-decoration-color: #7ba8ff;
}
.theme-light .hi-step-text a {
  color: #3b64c8;
  text-decoration-color: rgba(59, 100, 200, 0.3);
}
.theme-light .hi-step-text a:hover {
  text-decoration-color: #3b64c8;
}

.hi-step-text code {
  font-family: Consolas, 'Courier New', monospace;
  font-size: 11.5px;
  padding: 1px 6px;
  border-radius: 4px;
}
.theme-dark .hi-step-text code { background: rgba(255, 255, 255, 0.08); }
.theme-light .hi-step-text code { background: rgba(0, 0, 0, 0.07); }

.hi-warn-label {
  font-weight: 700;
  color: #f5a623;
  letter-spacing: 0.3px;
}
.theme-light .hi-warn-label {
  color: #a05c00;
}

.hi-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hi-divider-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0.2;
}
.theme-dark .hi-divider-dot { background: #fff; }
.theme-light .hi-divider-dot { background: #000; }

.hi-ps {
  text-align: center;
  margin-top: 14px;
  padding: 0 18px;
  font-size: 12.5px;
  line-height: 1.55;
}

.hi-ps a {
  color: #7ba8ff;
  text-decoration: underline;
  text-decoration-color: rgba(123, 168, 255, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s;
}
.hi-ps a:hover {
  text-decoration-color: #7ba8ff;
}
.theme-light .hi-ps a {
  color: #3b64c8;
  text-decoration-color: rgba(59, 100, 200, 0.3);
}
.theme-light .hi-ps a:hover {
  text-decoration-color: #3b64c8;
}

/* ========== End Help Instructions ========== */
.help-modal-bg {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  backdrop-filter: blur(8px);
}

.theme-dark .help-modal-content {
  background-color: transparent;
}

.theme-light .help-modal-content {
  background-color: transparent;
}

.help-modal-content code {
  font-family: Consolas, 'Courier New', monospace;
  font-size: 11px;
}

.btn {
  display: flex;
  justify-content: center;
  margin: 15px auto;
  padding: 5px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  width: 200px;
  border: 1px solid #4254F4;
  border-radius: 5px;
  font-size: 12px;
  font-family: Helvetica, sans-serif, Arial;
  font-weight: 600;
  background-color: #3241ce;
  transition: .3s;
}

.btn:hover {
  text-decoration: none;
  color: #3241CE;
  background-color: #fff;
}

.header-logo {
  position: relative;
  left: 31%;
  display: block;
  width: 170px;
  height: 28px;
}

.game-img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

.section-recommended {
  background: transparent;
  width: auto;
  max-width: 1600px;
  min-height: auto;
  border-radius: 0;
  margin-top: 30px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  color: var(--textPrimary);
  border: none;
}

.section-title {
  font-family: Helvetica, sans-serif, Arial;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  margin: 6px 0;
  padding: 0 10px 6px;
  text-align: center;
}

.section-subtitle {
  font-family: Helvetica, sans-serif, Arial;
  font-size: 13px;
  font-weight: 400;
  color: var(--textSecondary);
  text-align: center;
  margin: 0 0 16px;
  padding: 0 10px;
}

.section-manual .section-title {
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.cards-recommended {
  display: flex;
  justify-content: center;
  width: 80%;
  gap: 40px;
  flex-wrap: wrap;
}

.card-recommended {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--shadows);
  border-radius: 20px;
  background: var(--inputPrimary);
  width: 100%;
  max-width: 700px;
  min-height: auto;
}

.card-recommended-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0;
}

.card-recommended h4 {
  margin: 12px 0;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.card-recommended ul {
  text-align: left;
  padding-left: 20px;
  margin: 0;
  font-size: 13px;
  line-height: 2.3;
  width: 100%;
}

.card-recommended li {
  margin-bottom: 6px;
}

.card-recommended-image {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.card-recommended-logo {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.card-recommended-buttons {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: 0px;
  width: auto;
}

.card-recommended .card-recommended-buttons .card-recommended-btn {
  display: block;
  margin: 5px 0px 0px 0px;
  padding: 5px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: 2px solid #4254F4;
  border-radius: 5px;
  font-size: 12px;
  font-family: Helvetica, sans-serif, Arial;
  font-weight: 600;
  background-color: #3241ce;
  transition: .3s;
  white-space: nowrap;
  width: auto;
}

.card-recommended .card-recommended-buttons .card-recommended-btn:hover {
  text-decoration: none;
  color: #3241CE;
  background-color: #fff;
}

/* responsive horizontal layout for banners on wide screens */
@media (min-width: 1051px) {
  .card-recommended {
    width: 50%;
    max-width: 540px;
    padding: 20px;
    flex: 0 1 auto;
  }

  .card-recommended-header {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    flex: 1;
  }

  .card-recommended-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    flex-shrink: 0;
  }

  .card-recommended-info .card-recommended-image {
    margin-bottom: 4px;
  }

  .card-recommended-info h4 {
    margin: 2px 0;
    text-align: center;
  }

  .card-recommended ul {
    flex: 1;
    margin: 0;
    padding-left: 20px;
    text-align: left;
    font-size: 12px;
  }

  .card-recommended-buttons {
    justify-content: center;
    gap: 5px;
    width: auto;
    flex-wrap: nowrap;
  }
}

/* medium screens: two banners in a row with description below */
@media (min-width: 768px) and (max-width: 1050px) {
  .cards-recommended {
    flex-wrap: nowrap;
    gap: 20px;
  }

  .card-recommended {
    width: 50%;
    max-width: 450px;
    flex-direction: column;
    align-items: center;
  }

  .card-recommended-header {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .card-recommended-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card-recommended ul {
    width: 100%;
    text-align: left;
  }

  .card-recommended-buttons {
    margin-top: 12px;
    justify-content: center;
    gap: 5px;
    width: auto;
    flex-wrap: nowrap;
  }
}

/* small screens: stacked layout */
@media (max-width: 767px) {
  .card-recommended {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
  }

  .card-recommended-header {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .card-recommended-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card-recommended ul {
    width: 100%;
    text-align: left;
  }

  .card-recommended-buttons {
    margin-top: 12px;
    justify-content: center;
    gap: 5px;
    width: auto;
    flex-wrap: nowrap;
  }
}

/* Manual install button + container styling */
.section-manual {
  margin: 0 0 6px;
}

@media (max-width: 1050px) {
  .section-recommended {
    width: auto !important;
    max-width: 600px !important;
  }

  .card-recommended {
    width: 100%;
    max-width: 600px;
  }

  .card-recommended-buttons {
    flex-wrap: nowrap !important;
    justify-content: center !important;
  }
}

@media (max-width: 650px) {
  .section-recommended {
    width: 300px;
    min-height: 70px;
  }

  .card-recommended {
    max-width: 300px;
  }

  .card-recommended-btn {
    width: 75px;
  }
}

p > b {
  font-weight: 800;
}

code {
  background-color: #eee;
  border-radius: 3px;
  font-family: courier, monospace;
  padding: 0 3px;
}
.theme-dark code {
  background-color: #555;
  border-radius: 3px;
  font-family: courier, monospace;
  padding: 0 3px;
}

.card-btn.dropdown {
  position: relative;
  padding-right: 20px;
}

.card-btn.dropdown::after {
  content: "▼";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  pointer-events: none;
  opacity: 0.8;
}

.card-btn.dropdown:hover {
  background: inherit;
  background-color: #3241ce;
  text-decoration: none;
  color: #fff;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: inherit;
  border-radius: inherit;
  overflow: hidden;
  display: none;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: inherit;
}

.dropdown-menu a:hover {
  filter: brightness(1.15);
  text-decoration: none;
  color: #3241CE;
  background-color: #fff;
}

.card:hover {
  z-index: 50;
}

.floating-help-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 15px 25px;
  background-color: #28a745;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-family: Helvetica, sans-serif, Arial;
  font-weight: 600;
  border: 2px solid #28a745;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.floating-help-btn:hover {
  background-color: #fff;
  color: #28a745;
  border-color: #28a745;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  text-decoration: none;
}

.floating-help-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.floating-help-btn.close-mode {
  padding: 0;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2600;
}

#app.menu-open .floating-help-btn.close-mode {
  z-index: 1900;
}

@media (max-width: 768px) {
  .floating-help-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 12px;
  }
  
  .floating-help-btn.close-mode {
    padding: 0;
    font-size: 24px;
    width: 50px;
    height: 50px;
  }
}

/* Game info modal */
.game-info-modal {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2500;
  padding: 0 12px;
}

.floating-help-btn.behind-modal {
  pointer-events: none;
  filter: blur(8px);
  opacity: 1;
  z-index: 900;
}

.game-info-modal-bg {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  backdrop-filter: blur(8px);
}

.game-info-modal-window {
  position: relative;
  border-radius: 10px;
  margin: 60px auto 48px;
  max-width: 1000px;
  max-height: calc(100vh - 120px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 10;
  border: 1px solid var(--shadows);
}

.theme-dark .game-info-modal-window {
  background-color: #0a1420;
}

.theme-light .game-info-modal-window {
  background-color: #c7c7c7;
}

.game-info-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--shadows);
  flex-shrink: 0;
}

.theme-dark .game-info-modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.game-info-modal-title {
  font-family: Helvetica, sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 0;
  min-width: 0;
}

.game-info-steam-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #00adee;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  border: 2px solid #008bbf;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 12px;
  transition: background-color 0.3s, color 0.3s;
}

.game-info-steam-btn:hover {
  background-color: #fff;
  color: #00adee;
}

.game-info-steam-btn:hover .game-info-steam-icon {
  background-color: #00adee;
}

.game-info-steam-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #fff;
  -webkit-mask: url("../assets/icons/steam.svg") no-repeat center / contain;
  mask: url("../assets/icons/steam.svg") no-repeat center / contain;
  position: relative;
  top: -1px;
  flex-shrink: 0;
}

.game-info-modal-close {
  background: none;
  border: none;
  color: var(--textPrimary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.6;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.game-info-modal-close:hover {
  opacity: 1;
}

.game-info-modal-content {
  padding: 20px;
  overflow-y: auto;
}

.game-tag {
  display: inline-block;
  color: white;
  padding-bottom: 0.5em;
  margin-bottom: -0.5em;
}

.game-tag__label {
  border-radius: 2px;
  color: var(--textPrimary);
  background: var(--inputPrimary);
  display: inline-block;
  transition: transform 300ms ease-in-out, box-shadow 300ms ease-in-out;
  transform-origin: bottom;
}

.game-tag:hover .game-tag__label {
  transform: scale(1.5);
  box-shadow: 0 0 4px 4px var(--inputPrimary);
}

.game-name-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  color: inherit;
  display: inline;
  -webkit-text-fill-color: inherit;
}

/* Game info error */
.game-info-error {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(220, 53, 69, 0.15);
  border-radius: 8px;
  color: var(--textPrimary);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--shadows);
}

.game-info-error-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* Game info gallery */
.game-info-gallery {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-outer {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 621px;
}

.gallery-wrapper {
  position: relative;
  flex: 1;
  min-width: 0;
  aspect-ratio: 16 / 9;
}

.gallery-item {
  display: none;
  position: absolute;
  inset: 0;
}

.gallery-item.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}

/* Gallery blur placeholder */
.gallery-blur-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  image-rendering: pixelated;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

.gallery-blur-placeholder.hidden {
  opacity: 0;
}

/* Gallery arrows */
.gallery-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
  padding: 0;
}

.gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.75);
}

/* Gallery dots */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 2px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--shadows, rgba(255, 255, 255, 0.3));
  transition: background 0.2s, transform 0.2s;
}

.gallery-dot:hover {
  transform: scale(1.3);
}

.gallery-dot.active {
  background: var(--textPrimary, #fff);
}

/* Game info description */
.game-info-desc-details-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 16px;
}

.game-info-desc-col,
.game-info-details-col {
  min-width: 0;
}

.game-info-desc-details-row .game-info-description {
  margin-bottom: 16px;
}

.game-info-desc-details-row .game-info-details {
  margin-bottom: 0;
}

.game-info-desc-details-row .game-info-translation {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .game-info-desc-details-row {
    grid-template-columns: 1fr;
  }
}

.game-info-description {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--textPrimary);
}

.game-info-description p {
  margin: 0 0 8px;
}

/* Game info details table */
.game-info-details {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 13px;
}

.game-info-details td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--shadows);
}

.theme-dark .game-info-details td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.game-info-details-label {
  font-weight: 700;
  white-space: nowrap;
  width: 1%;
  color: var(--textSecondary);
}

.game-info-details-value {
  color: var(--textPrimary);
  font-weight: 400;
}

.game-info-details-value a {
  color: #7ba8ff;
  text-decoration: underline;
  text-decoration-color: rgba(123, 168, 255, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s;
}

.game-info-details-value a:hover {
  text-decoration-color: #7ba8ff;
}

.theme-light .game-info-details-value a {
  color: #3b64c8;
  text-decoration-color: rgba(59, 100, 200, 0.3);
}

.theme-light .game-info-details-value a:hover {
  text-decoration-color: #3b64c8;
}

.game-info-details-tooltip {
  position: relative;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  cursor: help;
}

.game-info-details-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #0a1420;
  color: var(--textPrimary);
  border: 1px solid var(--shadows);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.45;
  width: 240px;
  max-width: 240px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1002;
  text-align: left;
  font-weight: 400;
}

.game-info-details-tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

.theme-light .game-info-details-tooltip::after {
  background: #c7c7c7;
}

/* Game info translation */
.game-info-section-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--textPrimary);
}

.game-info-translation {
  margin-bottom: 16px;
}

.game-info-patch-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.patch-status-item {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--inputPrimary);
}

.patch-yes {
  color: #28a745;
}

.patch-no {
  color: #dc3545;
}
