@font-face {
  font-family: "Contra Tahoma Regular";
  src:
    url("fonts/tahoma.woff2") format("woff2"),
    url("fonts/tahoma.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Contra Tahoma";
  src:
    url("fonts/tahomabd.woff2") format("woff2"),
    url("fonts/tahomabd.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Contra Red October";
  src:
    url("fonts/Red_October_Regular.woff2") format("woff2"),
    url("fonts/Red_October_Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Contra Red October Fat";
  src:
    url("fonts/Red_October_Fat.woff2") format("woff2"),
    url("fonts/Red_October_Fat.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --site-width: 1120px;
  --orange: #f4a411;
  --orange-bright: #ffd33d;
  --green: #9bc400;
  --green-bright: #c9f10c;
  --ink: #151713;
  --panel: rgba(27, 29, 24, 0.96);
  --panel-light: #35372f;
  --line: #595b4e;
  --muted: #a4a797;
  --danger: #ef633c;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  scrollbar-gutter: stable;
}

body {
  color: #f3f1df;
  font-family: "Contra Tahoma Regular", Tahoma, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  background-color: #0b0c0a;
  background:
    linear-gradient(90deg, rgba(8, 9, 7, 0.86), rgba(12, 13, 10, 0.44) 52%, rgba(8, 9, 7, 0.84)),
    url("../dumps/client_resources_assets/Game/textures/bg_gamebg02_483.png") center / cover;
  background-color: #0b0c0a;
  letter-spacing: 0.02em;
}

.account-shell > section,
.account-shell > footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 260ms ease, transform 280ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

body:not(.page-ready) .account-shell > section,
body:not(.page-ready) .account-shell > footer {
  animation: none;
}

body.page-ready .account-shell > section,
body.page-ready .account-shell > footer {
  opacity: 1;
  transform: translateY(0);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px),
    radial-gradient(circle at 50% 42%, transparent 0, rgba(0, 0, 0, 0.22) 62%, rgba(0, 0, 0, 0.76) 100%);
}

button,
input {
  font: inherit;
}

h1,
h2 {
  font-family: "Contra Red October", "Arial Narrow", sans-serif;
  font-weight: 400;
}

h3,
.eyebrow,
.nav-item strong,
.pocket-shell::before {
  font-family: "Contra Tahoma", Tahoma, Arial, sans-serif;
  font-weight: 700;
}

.game-button {
  font-family: "Contra Tahoma Regular", Tahoma, Arial, sans-serif;
  font-weight: 400;
}

button {
  color: inherit;
}

.scene-glow {
  position: fixed;
  width: 42vw;
  height: 42vw;
  top: 18%;
  left: 33%;
  border-radius: 50%;
  background: rgba(217, 167, 55, 0.08);
  filter: blur(48px);
  pointer-events: none;
}

.account-shell {
  position: relative;
  z-index: 1;
  width: min(var(--site-width), calc(100% - 44px));
  margin: 0 auto;
  padding: 24px 0 18px;
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 0 16px 0 4px;
}

.game-logo {
  width: 150px;
  image-rendering: auto;
  filter: drop-shadow(0 3px 1px #000);
}

.logo-link {
  display: inline-flex;
  flex: 0 0 auto;
}

.login-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 15px;
  border: 1px solid #5b5b4f;
  color: #d4d4ca;
  font-family: "Contra Tahoma", Tahoma, Arial, sans-serif;
  font-size: 11px;
  text-decoration: none;
  text-transform: uppercase;
  background: linear-gradient(#30322d, #191a17);
  box-shadow: inset 0 1px #777669, 0 3px 10px #000;
}

.login-chip:hover,
.login-chip:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
}

.auth-only,
.guest-only,
.guest-nav-only {
  display: none;
}

body.is-auth .auth-only {
  display: flex;
}

body.is-guest .guest-only {
  display: flex;
}

body.is-guest .guest-nav-only {
  display: block;
}

body.session-pending .auth-only,
body.session-pending .guest-only {
  display: none !important;
}

body.session-pending .account-menu.auth-only {
  display: flex !important;
  visibility: hidden;
}

body.session-pending .security-window,
body.session-pending .page-footer {
  visibility: hidden;
}

html.cached-auth body.session-pending .account-menu.auth-only {
  visibility: visible;
}

html.cached-auth body.session-pending .site-links .auth-only {
  display: block !important;
}

html.cached-auth body.session-pending .guest-nav-only,
html.cached-auth body.session-pending .guest-only {
  display: none !important;
}

.site-links {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 0;
  transform: translate(-50%, -50%);
}

.site-links a {
  position: relative;
  padding: 9px 12px;
  color: #a4a698;
  font-family: "Contra Tahoma", Tahoma, Arial, sans-serif;
  font-size: 11px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 150ms ease, background 150ms ease;
}

.site-links a::after {
  position: absolute;
  right: 10px;
  bottom: 2px;
  left: 10px;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
}

.site-links a:hover,
.site-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
}

.site-links a.active::after {
  transform: scaleX(1);
}

.account-menu {
  position: relative;
  z-index: 20;
  margin-left: auto;
}

.account-chip {
  display: flex;
  align-items: center;
  min-width: 232px;
  padding: 0;
  border: 1px solid #5b5b4f;
  color: inherit;
  text-align: left;
  background: linear-gradient(#30322d, #191a17);
  box-shadow: inset 0 1px #777669, 0 3px 10px #000;
}

.account-chip > .status-dot {
  margin-left: 13px;
  margin-right: 11px;
}

.account-chip > span:nth-child(2) {
  min-width: 0;
  padding: 7px 12px 7px 0;
}

.account-chip small,
.account-chip strong {
  display: block;
}

.account-logout {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  margin-left: auto;
  padding: 0;
  border-left: 1px solid #515348;
  color: #aaa99d;
  font-size: 0;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.account-logout::before {
  width: 10px;
  height: 15px;
  border: 1px solid currentColor;
  border-right: 0;
  border-radius: 2px 0 0 2px;
  content: "";
  opacity: 0.9;
}

.account-logout::after {
  width: 13px;
  height: 10px;
  margin-left: -5px;
  background: currentColor;
  clip-path: polygon(0 40%, 55% 40%, 55% 8%, 100% 50%, 55% 92%, 55% 60%, 0 60%);
  content: "";
  transition: transform 150ms ease;
}

.account-logout:hover,
.account-logout:focus-visible {
  border-left-color: var(--orange);
  color: var(--orange-bright);
  background: linear-gradient(rgba(244, 164, 17, 0.2), rgba(244, 164, 17, 0.06));
  outline: none;
}

.account-logout:hover::after,
.account-logout:focus-visible::after {
  transform: translateX(2px);
}

.account-chip small {
  color: #929587;
  font-size: 10px;
  font-weight: 400;
}

.account-chip strong {
  margin-top: 2px;
  color: #f0b82d;
  font-size: 13px;
  font-family: "Contra Tahoma", Tahoma, Arial, sans-serif;
}

.account-chip strong:empty::before {
  content: var(--cached-account-name, "");
}

.status-dot {
  width: 10px;
  height: 10px;
  border: 2px solid #243000;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 9px rgba(196, 241, 12, 0.7);
}

.window {
  position: relative;
  margin-top: 52px;
  border: 1px solid #151511;
  border-radius: 17px 17px 15px 15px;
  background: var(--panel);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px #5a5c51,
    inset 0 2px rgba(255, 255, 255, 0.1);
}

.window-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 24px 0 22px;
  border-radius: 16px 16px 0 0;
  border-bottom: 0;
  background:
    linear-gradient(90deg, rgba(244, 164, 17, 0.13), transparent 42%),
    linear-gradient(#42443b, #292b25);
  box-shadow: none;
}

.window-title > div:first-child {
  position: absolute;
  z-index: 1;
  left: -1px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 49%;
  height: 72px;
  padding: 0 25px;
  border: 1px solid #151511;
  border-bottom: 0;
  border-radius: 17px 0 0 0;
  clip-path: polygon(0 0, 76% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(90deg, rgba(244, 164, 17, 0.14), transparent 65%),
    linear-gradient(#45473e, #2c2e28);
  box-shadow: inset 0 1px #696b5f;
}

.security-window .window-title {
  height: 118px;
  padding: 0 28px;
}

.security-window .window-title > div:first-child {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  clip-path: none;
  background: none;
  box-shadow: none;
}

.security-window .window-title p {
  max-width: 620px;
  margin: 8px 0 0;
  color: #a3a598;
  font-size: 12px;
  line-height: 1.5;
}

.eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 20px;
  letter-spacing: 0.005em;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 2px #000;
}

.window-body {
  display: flex;
  flex-direction: column;
  min-height: 490px;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}

.section-nav {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 13px 20px 0;
  border-right: 0;
  border-bottom: 1px solid #0d0e0b;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025), transparent),
    #20211d;
  box-shadow: none;
  border-radius: 0;
}

.nav-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr 19px;
  gap: 9px;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 9px 13px;
  border: 1px solid #11120f;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  color: #d8d8cb;
  text-align: left;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), transparent 46%),
    #30322c;
  box-shadow:
    inset 0 4px rgba(244, 164, 17, 0),
    inset 0 0 0 1px #55574d,
    0 -2px 8px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 220ms ease,
    color 160ms ease;
}

.nav-item:focus {
  outline: none;
}

.nav-item:focus-visible {
  box-shadow:
    inset 0 4px rgba(244, 164, 17, 0),
    inset 0 0 0 2px rgba(244, 164, 17, 0.75),
    0 -2px 8px rgba(0, 0, 0, 0.35);
}

.nav-item:hover {
  border-color: #6c6e62;
  background:
    linear-gradient(90deg, rgba(244, 164, 17, 0.11), transparent 72%),
    linear-gradient(rgba(255, 255, 255, 0.1), transparent 46%),
    #373931;
  box-shadow:
    inset 0 4px rgba(244, 164, 17, 0),
    inset 0 0 0 1px #74766a,
    0 -2px 8px rgba(0, 0, 0, 0.35);
}

.nav-item.active {
  z-index: 2;
  min-height: 66px;
  margin-top: -6px;
  border-top-color: #77786c;
  border-bottom: 1px solid #2a2c26;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(244, 164, 17, 0.22), transparent 75%),
    linear-gradient(#4b4d43, #30322b);
  box-shadow:
    inset 0 4px var(--orange),
    inset 0 0 0 1px #686a5e,
    0 -4px 12px rgba(0, 0, 0, 0.42);
  margin-bottom: -1px;
  animation: control-select 220ms ease-out;
}

.nav-item strong,
.nav-item small {
  display: block;
}

.nav-item strong {
  margin-bottom: 5px;
  font-size: 12px;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.nav-item small {
  color: #888b7d;
  font-size: 10px;
  font-weight: 400;
}

.nav-item.active small {
  color: #bebfaf;
}

.nav-icon,
.heading-icon {
  display: grid;
  place-items: center;
  border: 1px solid #6b6d60;
  color: #161711;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent 45%),
    var(--orange);
  box-shadow: inset 0 0 0 2px #2c2d26, 0 2px 4px #000;
}

.nav-icon {
  width: 32px;
  height: 32px;
  overflow: hidden;
}

.nav-icon.lock,
.nav-icon.shield {
  background-color: #b8c800;
}

.nav-icon img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.28));
  transition: transform 160ms ease, filter 160ms ease;
}

.nav-item:not(.active):hover .nav-icon img {
  transform: scale(1.08);
  filter:
    brightness(1.12)
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.28))
    drop-shadow(0 0 3px rgba(244, 164, 17, 0.3));
}

.nav-icon.email img {
  width: 19px;
  height: 19px;
}

.nav-icon.shield img {
  width: 20px;
  height: 20px;
}

.nav-state {
  font-style: normal;
  color: #8f9284;
  font-size: 24px;
  text-align: center;
}

.nav-state.ok {
  color: var(--green-bright);
  font-size: 17px;
}

.nav-state.warning {
  color: var(--orange-bright);
  font-size: 17px;
}

.nav-state.next {
  width: 9px;
  height: 9px;
  justify-self: center;
  border-top: 2px solid #96998c;
  border-right: 2px solid #96998c;
  transform: rotate(45deg);
}

.content-area {
  position: relative;
  flex: 1;
  overflow: hidden;
  padding: 30px 38px 70px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.012) 0, rgba(255,255,255,0.012) 2px, transparent 2px, transparent 7px),
    #2a2c26;
  border-radius: 0 0 14px 14px;
}

.panel {
  display: none;
  animation: panel-in 160ms ease-out;
}

.panel.active {
  display: block;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
}

.panel-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 23px;
  padding-bottom: 17px;
  border-bottom: 1px solid #55574c;
  box-shadow: 0 1px #12130f;
}

.heading-icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  font-size: 21px;
}

.heading-icon.key,
.heading-icon.shield {
  background-color: #a9bf00;
}

.panel-heading h2 {
  margin-bottom: 5px;
  font-size: 18px;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.panel-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.security-form label {
  display: block;
  margin-bottom: 14px;
}

.pocket-shell {
  position: relative;
  margin-top: 40px;
  padding: 21px 18px 17px;
  border: 1px solid #171713;
  border-radius: 0 11px 9px 9px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.16), transparent 38%),
    #b9ab93;
  box-shadow:
    inset 0 0 0 2px #d0c3aa,
    inset 0 3px 0 #ece0c7,
    inset 0 4px 0 #625b4c,
    inset 0 -5px #91836c,
    0 4px 0 #151611,
    0 9px 20px rgba(0, 0, 0, 0.42);
}

.pocket-shell::before {
  content: attr(data-pocket);
  position: absolute;
  z-index: 1;
  left: -1px;
  top: -39px;
  display: flex;
  align-items: center;
  width: 174px;
  height: 40px;
  padding-left: 17px;
  border: 1px solid #171713;
  border-bottom: 0;
  border-radius: 13px 0 0 0;
  clip-path: polygon(0 0, 72% 0, 100% 100%, 0 100%);
  color: #fffdf0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 2px rgba(66, 55, 40, 0.65);
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), transparent 45%),
    #b9ab93;
  box-shadow: inset 0 0 0 2px #d0c3aa;
}

.security-form label > span {
  display: block;
  margin-bottom: 7px;
  color: #4f493d;
  font-size: 11px;
  font-family: "Contra Tahoma", Tahoma, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 1px rgba(255, 255, 255, 0.42);
}

.input-wrap {
  position: relative;
  min-height: 40px;
  border: 1px solid #0c0d0a;
  border-radius: 7px;
  overflow: hidden;
  background: linear-gradient(180deg, #2b2d27 0, #171815 18%, #10110f 68%, #1b1c18 100%);
  box-shadow:
    inset 0 1px 0 #737469,
    inset 0 -2px 0 #070806,
    inset 0 0 0 1px #383a33,
    0 1px 0 #5a5b51;
}

.input-wrap:focus-within {
  box-shadow: inset 0 0 0 1px var(--orange), 0 0 0 1px #080805, 0 0 10px rgba(244, 164, 17, 0.18);
}

.input-wrap input {
  width: 100%;
  height: 38px;
  padding: 0 42px 0 15px;
  border: 0;
  outline: 0;
  color: #f4f2df;
  color-scheme: dark;
  background: transparent;
  font-family: "Contra Tahoma Regular", Tahoma, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.input-wrap input::placeholder {
  color: #676a60;
}

.input-wrap input:-webkit-autofill,
.input-wrap input:-webkit-autofill:hover,
.input-wrap input:-webkit-autofill:focus,
.input-wrap input:-webkit-autofill:active {
  -webkit-text-fill-color: #f4f2df;
  caret-color: #f4f2df;
  background-color: #11120f !important;
  -webkit-box-shadow: 0 0 0 1000px #11120f inset;
  transition: background-color 9999s ease-out 0s;
}

.input-wrap.readonly {
  display: flex;
  align-items: center;
}

.input-wrap.readonly input {
  color: #989b8f;
}

.input-wrap b {
  position: absolute;
  right: 12px;
  color: var(--green-bright);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.reveal {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 34px;
  min-width: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 5px 5px 0;
  outline: 0;
  color: #777a70;
  background: transparent;
  appearance: none;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.reveal::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 9px;
  border: 1.7px solid currentColor;
  border-radius: 50% / 60%;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease, transform 180ms ease;
}

.reveal::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.reveal span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(-42deg) scaleX(0);
  transition: transform 180ms ease;
}

.reveal:hover {
  color: var(--orange);
  background: rgba(255, 255, 255, 0.035);
}

.reveal[aria-pressed="true"] {
  color: var(--orange);
}

.reveal[aria-pressed="true"]::after {
  transform: translate(-50%, -50%) scale(0.65);
  box-shadow: 0 0 5px rgba(244, 164, 17, 0.8);
}

.reveal[aria-pressed="true"]::before {
  opacity: 0.7;
  transform: translate(-50%, -50%) scale(0.94);
}

.reveal[aria-pressed="true"] span {
  transform: translate(-50%, -50%) rotate(-42deg) scaleX(1);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.password-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: -5px;
}

.password-meter span {
  height: 4px;
  background: #171814;
}

.password-meter span.filled {
  background: var(--orange);
  box-shadow: 0 0 5px rgba(244, 164, 17, 0.35);
}

.password-meter small {
  grid-column: 1 / -1;
  margin-top: 6px;
  color: #8d9083;
  font-size: 9px;
  font-weight: bold;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid #0f100d;
  border-radius: 10px;
  background: #252620;
  box-shadow: inset 0 0 0 1px #4e5047, 0 2px rgba(255, 255, 255, 0.22);
}

.form-footer p {
  margin: 0;
  color: #929588;
  font-size: 13px;
  font-weight: 400;
}

.info-mark {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-right: 5px;
  border: 1px solid #78796c;
  color: var(--orange);
  font-weight: bold;
}

.game-button {
  position: relative;
  min-width: 164px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #151705;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
  color: #172000;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.025em;
  text-shadow:
    0.25px 0 currentColor,
    0 1px rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(rgba(255,255,255,0.28), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 2px, transparent 2px, transparent 5px),
    var(--green);
  box-shadow: inset 0 0 0 2px #c8e827, 0 3px 0 #435800, 0 5px 10px #000;
  cursor: pointer;
}

.game-button:hover {
  filter: brightness(1.13);
}

.game-button:active {
  transform: translateY(2px);
  box-shadow: inset 0 0 0 2px #c8e827, 0 1px 0 #435800;
}

.twofa-card {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 30px;
  align-items: center;
  padding: 25px 22px 20px;
}

.twofa-card .twofa-copy {
  min-height: 190px;
  padding: 20px;
  border: 1px solid #10110e;
  border-radius: 10px;
  background:
    linear-gradient(110deg, rgba(244, 164, 17, 0.1), transparent 45%),
    #20211d;
  box-shadow: inset 0 0 0 1px #515348;
}

.danger-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 9px;
  color: #ffbe4c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  background: rgba(173, 59, 25, 0.36);
  border-left: 3px solid var(--danger);
}

.twofa-copy h3 {
  margin-bottom: 8px;
  font-size: 17px;
  text-transform: uppercase;
}

.twofa-copy p,
.twofa-copy li {
  color: #9fa294;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
}

.twofa-copy ul {
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.twofa-copy li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--green-bright);
}

.qr-preview {
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid #5b5d51;
  background: #d8d4bb;
  box-shadow: 0 4px 12px #000;
}

.qr-grid {
  width: 132px;
  height: 132px;
  background:
    linear-gradient(90deg, transparent 8px, #1b1c17 8px 13px, transparent 13px 19px, #1b1c17 19px 25px, transparent 25px),
    linear-gradient(transparent 6px, #1b1c17 6px 12px, transparent 12px 18px, #1b1c17 18px 23px, transparent 23px),
    repeating-conic-gradient(#1b1c17 0 25%, transparent 0 50%) 0 0 / 18px 18px;
  border: 8px solid #f2eed8;
  filter: contrast(1.4);
}

.qr-preview span {
  margin-top: 7px;
  color: #34352f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.twofa-footer {
  margin-top: 22px;
}

#twofa-panel .twofa-footer {
  margin-top: 18px;
  padding: 15px 16px;
  border: 1px solid #0f100d;
  border-radius: 10px;
  background: #252620;
  box-shadow: inset 0 0 0 1px #4e5047, 0 2px rgba(255, 255, 255, 0.22);
}

.toast {
  position: absolute;
  right: 28px;
  bottom: 22px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #66685b;
  color: #c1c3b4;
  background: rgba(17, 18, 15, 0.96);
  box-shadow: 0 5px 18px #000;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 160ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast strong {
  color: var(--orange);
  font-size: 10px;
}

.toast span {
  font-size: 11px;
}

.code-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03), rgba(255,255,255,0.03) 1px, transparent 1px, transparent 4px),
    rgba(0, 0, 0, 0.74);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.code-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.code-dialog {
  position: relative;
  width: min(430px, 100%);
  padding: 24px;
  border: 1px solid #0f100d;
  border-radius: 14px;
  color: #e9e8d4;
  background:
    linear-gradient(135deg, rgba(244, 164, 17, 0.12), transparent 38%),
    linear-gradient(#373a31, #24261f);
  box-shadow:
    inset 0 0 0 1px #686a5e,
    0 22px 55px rgba(0, 0, 0, 0.8);
  transform: translateY(10px) scale(0.98);
  transition: transform 160ms ease;
}

.code-modal.open .code-dialog {
  transform: translateY(0) scale(1);
}

.code-dialog h2 {
  margin: 8px 0 8px;
  color: #fff;
  font-family: "Contra Display", Impact, sans-serif;
  font-size: 25px;
  text-transform: uppercase;
  text-shadow: 0 3px #000;
}

.code-dialog p {
  margin: 0 0 16px;
  color: #bbbbaa;
  font-size: 13px;
  line-height: 1.45;
}

.code-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 1px solid #5f6257;
  color: #dedcca;
  background: #171914;
  cursor: pointer;
}

.code-input {
  width: 100%;
  height: 50px;
  border: 2px solid #090a08;
  border-radius: 7px;
  color: #bfff00;
  background: linear-gradient(#070908, #0d100c);
  box-shadow: inset 0 0 0 1px #44483e, inset 0 10px 18px rgba(255,255,255,0.04);
  font-family: "Contra Tahoma", Tahoma, Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-align: center;
}

.code-debug {
  margin-top: 12px;
  padding: 9px 11px;
  border: 1px solid #7b6731;
  color: #f8c341;
  background: rgba(0,0,0,0.28);
  font-size: 11px;
  line-height: 1.4;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.page-footer {
  display: flex;
  justify-content: space-between;
  padding: 15px 4px;
  color: rgba(218, 217, 197, 0.5);
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.16em;
  text-shadow: 0 1px #000;
}

.guest-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid #5b5b4f;
  color: #d0d1c5;
  font-family: "Contra Tahoma", Tahoma, Arial, sans-serif;
  font-size: 10px;
  text-decoration: none;
  text-transform: uppercase;
  background: linear-gradient(#30322d, #191a17);
  box-shadow: inset 0 1px #777669, 0 3px 10px #000;
}

.portal-window {
  position: relative;
  margin-top: 52px;
  border: 1px solid #151511;
  border-radius: 17px 17px 14px 14px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.012) 0, rgba(255,255,255,0.012) 2px, transparent 2px, transparent 7px),
    #2a2c26;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px #5a5c51,
    inset 0 2px rgba(255, 255, 255, 0.1);
}

.portal-heading {
  padding: 24px 28px 22px;
  border-bottom: 1px solid #11120f;
  background:
    linear-gradient(90deg, rgba(244, 164, 17, 0.13), transparent 46%),
    linear-gradient(#42443b, #292b25);
  box-shadow: inset 0 -1px #5b5d52;
}

.portal-heading h1,
.launcher-copy h1 {
  margin: 4px 0 7px;
  font-size: 24px;
}

.portal-heading p,
.launcher-copy p {
  max-width: 590px;
  margin: 0;
  color: #a3a598;
  font-size: 12px;
  line-height: 1.55;
}

.auth-shell {
  width: min(var(--site-width), calc(100% - 44px));
}

.auth-window {
  width: min(600px, 100%);
  margin-right: auto;
  margin-left: auto;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.012) 0, rgba(255,255,255,0.012) 2px, transparent 2px, transparent 7px),
    #20211d;
}

.launcher-auth-status {
  display: none;
  width: min(600px, 100%);
  margin-right: auto;
  margin-left: auto;
}

html.launcher-auth-flow .launcher-auth-status {
  display: block;
}

html.launcher-auth-flow .auth-window {
  display: none;
}

html.launcher-auth-flow.launcher-needs-login .launcher-auth-status {
  display: none;
}

html.launcher-auth-flow.launcher-needs-login .auth-window {
  display: block;
}

.launcher-auth-progress {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 38px 28px 42px;
  color: #a9aa9e;
  text-align: center;
}

.launcher-auth-progress strong {
  margin-top: 7px;
  color: #f5f1df;
  font-family: "Contra Tahoma", Tahoma, Arial, sans-serif;
  font-size: 15px;
}

.launcher-auth-progress small {
  color: #777a6f;
  font-size: 10px;
}

.launcher-auth-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid #55584d;
  border-top-color: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(185, 238, 0, 0.18);
  animation: launcher-auth-spin 800ms linear infinite;
}

.launcher-auth-retry {
  display: none;
  min-width: 180px;
  margin-top: 13px;
}

html.launcher-auth-error .launcher-auth-spinner {
  border-color: #6a5540;
  border-top-color: var(--orange);
  animation: none;
}

html.launcher-auth-error .launcher-auth-retry {
  display: inline-flex;
}

@keyframes launcher-auth-spin {
  to { transform: rotate(360deg); }
}

.auth-window .portal-heading {
  padding: 22px 26px 20px;
}

.auth-window .portal-heading h1 {
  font-size: 22px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 14px 18px 0;
  padding: 3px 3px 0;
  border: 1px solid #10110e;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #181916;
  box-shadow: inset 0 0 0 1px #55574d;
  transition: opacity 150ms ease, transform 150ms ease;
  overflow: hidden;
}

.auth-tabs button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  color: #929587;
  font-family: "Contra Tahoma", Tahoma, Arial, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  background: linear-gradient(#33352e, #252620);
  cursor: pointer;
}

.auth-tabs button + button {
  border-left: 1px solid #12130f;
  box-shadow: inset 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-tabs button:first-child {
  border-radius: 8px 0 0 0;
}

.auth-tabs button:last-child {
  border-radius: 0 8px 0 0;
}

.auth-tabs button.active {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(244, 164, 17, 0.18), transparent),
    linear-gradient(#4a4c42, #34362f);
  box-shadow:
    inset 0 3px var(--orange),
    inset 0 0 0 1px #686a5e,
    0 2px 5px rgba(0,0,0,0.45);
  animation: control-select 220ms ease-out;
}

.auth-tabs.recover-mode {
  display: none;
}

.auth-body {
  display: grid;
  margin: 0 18px 18px;
  border: 1px solid #171713;
  border-radius: 0 0 11px 11px;
  overflow: hidden;
  background: #b9ab93;
  box-shadow:
    inset 0 0 0 2px #d0c3aa,
    inset 0 3px #ece0c7,
    inset 0 -5px #91836c,
    0 4px 0 #11120f;
}

.auth-window.registration-closed .auth-body {
  margin-top: 14px;
  border-radius: 11px;
}

.auth-panel {
  grid-area: 1 / 1;
  display: block;
  padding: 27px 32px 30px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.12), transparent 30%),
    #b9ab93;
  transition: opacity 150ms ease;
}

.auth-panel.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: panel-in 160ms ease-out;
}

.portal-field {
  display: block;
  margin-bottom: 16px;
}

.portal-field > span {
  display: block;
  margin-bottom: 7px;
  color: #4f493d;
  font-family: "Contra Tahoma", Tahoma, Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
}

.auth-options,
.payment-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.auth-options {
  margin: 2px 0 22px;
}

.auth-text-button,
.auth-back {
  padding: 0;
  border: 0;
  color: #575247;
  font-family: inherit;
  font-size: 11px;
  text-decoration: underline;
  background: transparent;
  cursor: pointer;
}

.game-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #575247;
  font-size: 11px;
  cursor: pointer;
}

.game-check input {
  position: absolute;
  opacity: 0;
}

.game-check > span {
  position: relative;
  width: 17px;
  height: 17px;
  border: 1px solid #24251f;
  background: #11120f;
  box-shadow: inset 0 0 0 2px #55574d;
}

.game-check input:checked + span::after {
  content: "✓";
  position: absolute;
  inset: -4px 0 0 2px;
  color: var(--green-bright);
  font-size: 18px;
  font-weight: bold;
}

.agreement {
  margin: 4px 0 20px;
}

.auth-submit {
  width: 100%;
}

.recover-heading {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #827763;
}

.recover-heading h2 {
  margin: 4px 0 7px;
  color: #2d2e28;
  font-size: 20px;
  text-shadow: 0 1px rgba(255,255,255,0.4);
}

.recover-heading p {
  margin: 0;
  color: #60594c;
  font-size: 11px;
  line-height: 1.5;
}

.auth-back {
  display: block;
  margin: 17px auto 0;
}

.launcher-window {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px 34px;
  padding: 42px 44px 30px;
  overflow: hidden;
}

.launcher-copy {
  align-self: center;
  padding-bottom: 8px;
}

.launcher-copy h1 {
  font-size: 31px;
}

.version-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 18px;
  color: #aeb0a1;
  font-size: 11px;
}

.version-line strong {
  color: var(--orange-bright);
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 245px;
  text-decoration: none;
}

.download-meta {
  display: block;
  margin-top: 12px;
  color: #777a6e;
  font-size: 9px;
}

.launcher-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 225px;
}

.launcher-emblem {
  position: relative;
  width: 176px;
  height: 176px;
  border: 3px solid #6b6d60;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, #596000 0 16%, #20221c 17% 45%, #10110e 46%);
  box-shadow:
    inset 0 0 0 8px #292b25,
    inset 0 0 0 10px #8c8e7f,
    0 14px 28px rgba(0,0,0,0.65);
}

.launcher-emblem::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 61px;
  width: 48px;
  height: 48px;
  border-right: 13px solid var(--green);
  border-bottom: 13px solid var(--green);
  transform: rotate(45deg);
  filter: drop-shadow(0 3px #334000);
}

.launcher-emblem::after {
  content: "";
  position: absolute;
  left: 44px;
  bottom: 41px;
  width: 88px;
  height: 13px;
  background: var(--green);
  box-shadow: 0 3px #334000;
}

.download-bars {
  display: none;
}

.download-bars i {
  width: 7px;
  height: 22px;
  background: var(--green);
  animation: download-pulse 900ms infinite alternate;
}

.download-bars i:nth-child(2) { height: 34px; animation-delay: 150ms; }
.download-bars i:nth-child(3) { height: 48px; animation-delay: 300ms; }

@keyframes download-pulse {
  to { filter: brightness(1.55); transform: translateY(-4px); }
}

.launcher-client-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 6, 5, 0.76), rgba(12, 13, 10, 0.18) 56%, rgba(5, 6, 5, 0.7)),
    url("../dumps/client_resources_assets/Game/textures/bg_gamebg02_483.png") center / cover;
}

.desktop-launcher {
  position: relative;
  width: min(1060px, calc(100vw - 36px));
  height: min(650px, calc(100vh - 36px));
  min-height: 590px;
  border: 1px solid #626357;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 9, 7, 0.93) 0 33%, rgba(13, 14, 11, 0.5) 58%, rgba(8, 9, 7, 0.78)),
    url("../dumps/client_resources_assets/Game/textures/bg_gamebg02_483.png") center / cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.82), inset 0 0 0 1px #11120f;
}

.desktop-launcher::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 65% 38%, rgba(224, 176, 65, 0.08), transparent 35%);
}

.launcher-titlebar,
.launcher-hero,
.launcher-actions,
.launcher-build {
  position: relative;
  z-index: 1;
}

.launcher-titlebar {
  display: flex;
  align-items: center;
  height: 90px;
  padding: 13px 16px 12px 26px;
  border-bottom: 1px solid #4a4c43;
  background: linear-gradient(rgba(40, 42, 35, 0.94), rgba(20, 21, 18, 0.9));
  box-shadow: 0 5px 18px rgba(0,0,0,0.5);
}

.launcher-titlebar > img {
  width: 152px;
  filter: drop-shadow(0 3px 1px #000);
}

.launcher-titlebar > button {
  align-self: stretch;
  width: 42px;
  border: 0;
  border-left: 1px solid rgba(255,255,255,0.06);
  color: #999b8e;
  font-size: 20px;
  background: transparent;
  cursor: pointer;
}

.launcher-titlebar > button:hover {
  color: var(--orange-bright);
  background: rgba(244, 164, 17, 0.1);
}

.launcher-account {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 188px;
  margin-left: auto;
  padding: 10px 16px;
  border: 1px solid #5b5c51;
  background: linear-gradient(#34362f, #1c1d19);
  box-shadow: inset 0 1px #747568, 0 4px 12px #000;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.launcher-account small,
.launcher-account strong {
  display: block;
}

.launcher-account small {
  margin-bottom: 2px;
  color: #898c7e;
  font-size: 8px;
}

.launcher-account strong {
  color: var(--orange-bright);
  font-family: "Contra Tahoma", Tahoma, sans-serif;
  font-size: 12px;
}

.launcher-hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 70px;
  min-height: 390px;
  padding: 70px 58px 42px;
}

.launcher-news {
  align-self: center;
  max-width: 490px;
}

.launcher-news h1 {
  margin: 8px 0 13px;
  color: #f5f2df;
  font-size: 49px;
  line-height: 0.98;
  text-shadow: 0 4px #0b0c09;
}

.launcher-news p {
  max-width: 440px;
  margin: 0 0 20px;
  color: #b4b6a9;
  font-size: 13px;
  line-height: 1.65;
}

.launcher-news a {
  color: var(--orange);
  font-family: "Contra Tahoma", Tahoma, sans-serif;
  font-size: 10px;
  text-decoration: none;
  text-transform: uppercase;
}

.launcher-news a::after {
  margin-left: 8px;
  content: "›";
}

.launcher-side-card {
  align-self: center;
  padding: 24px;
  border: 1px solid #5d5f53;
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 7px),
    linear-gradient(#373930, #22231e);
  box-shadow: inset 0 1px #757669, 0 14px 34px rgba(0,0,0,0.55);
}

.launcher-side-card h2 {
  margin: 6px 0 20px;
  font-size: 21px;
}

.client-check {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid #484a40;
  color: #aaaC9f;
  font-size: 10px;
}

.client-check i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 8px var(--green);
}

.client-check strong {
  color: var(--green-bright);
  font-size: 8px;
}

.launcher-settings {
  width: 100%;
  margin-top: 16px;
  padding: 10px;
  border: 1px solid #68695e;
  color: #c0c2b4;
  font-family: "Contra Tahoma", Tahoma, sans-serif;
  font-size: 9px;
  text-transform: uppercase;
  background: linear-gradient(#383a32, #22231f);
  cursor: pointer;
}

.launcher-settings:hover {
  border-color: var(--orange);
  color: var(--orange-bright);
}

.launcher-account-view {
  display: none;
}

.launcher-side-card.account-open .launcher-status-view {
  display: none;
}

.launcher-side-card.account-open .launcher-account-view {
  display: block;
  animation: launcher-panel-in 180ms ease-out;
}

.launcher-account-view label {
  display: block;
  margin: 12px 0 5px;
  color: #aaaC9f;
  font-family: "Contra Tahoma", Tahoma, sans-serif;
  font-size: 8px;
}

.launcher-account-view input {
  width: 100%;
  height: 30px;
  padding: 0 9px;
  border: 1px solid #66685c;
  color: #e7e6d8;
  font-family: "Contra Tahoma Regular", Tahoma, sans-serif;
  background: #11120f;
  outline: 0;
}

.launcher-account-view input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(244, 164, 17, 0.2);
}

.launcher-create {
  margin-top: 10px;
}

.launcher-account-actions {
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: 8px;
}

@keyframes launcher-panel-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

body.launcher-embedded {
  min-height: 100vh;
  background: #0b0c09;
}

body.launcher-embedded .desktop-launcher {
  width: 100vw;
  height: 100vh;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.launcher-actions {
  display: grid;
  grid-template-columns: 1fr 245px;
  gap: 28px;
  align-items: center;
  min-height: 120px;
  padding: 20px 28px 20px 34px;
  border-top: 1px solid #5b5d51;
  background: linear-gradient(rgba(39,41,35,0.97), rgba(20,21,18,0.98));
  box-shadow: 0 -5px 18px rgba(0,0,0,0.46), inset 0 1px rgba(255,255,255,0.08);
}

.launcher-progress-copy > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.launcher-progress-copy strong {
  font-family: "Contra Tahoma", Tahoma, sans-serif;
  font-size: 11px;
}

.launcher-progress-copy span,
.launcher-progress-copy small {
  color: #898c7e;
  font-size: 9px;
}

.launcher-progress-copy small {
  display: block;
  margin-top: 7px;
}

.launcher-progress-copy b {
  padding: 0 5px;
  color: var(--orange);
}

.launcher-progress {
  height: 13px;
  margin-top: 9px;
  padding: 2px;
  border: 1px solid #10110e;
  border-radius: 7px;
  background: #0d0e0c;
  box-shadow: inset 0 1px 4px #000, 0 1px #5a5b50;
}

.launcher-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.15) 0 3px, transparent 3px 7px),
    linear-gradient(#c9f10c, #8fb800);
  box-shadow: 0 0 8px rgba(166, 215, 0, 0.32);
}

.launcher-play {
  position: relative;
  min-height: 70px;
  border: 1px solid #c8e70a;
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
  color: #15170e;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.18) 0 3px, transparent 3px 7px),
    linear-gradient(#c8ef13, #91bd00);
  box-shadow: inset 0 2px rgba(255,255,255,0.45), inset 0 -4px #557400;
  cursor: pointer;
}

.launcher-play:hover {
  filter: brightness(1.14);
  transform: translateY(-1px);
}

.launcher-play span,
.launcher-play small {
  display: block;
}

.launcher-play span {
  font-family: "Contra Red October", sans-serif;
  font-size: 25px;
}

.launcher-play small {
  margin-top: 2px;
  font-size: 9px;
}

.launcher-build {
  position: absolute;
  right: 25px;
  bottom: 4px;
  left: 25px;
  display: flex;
  justify-content: space-between;
  color: #55584f;
  font-family: "Contra Tahoma", Tahoma, sans-serif;
  font-size: 7px;
  pointer-events: none;
}

.requirements {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 22px;
  padding: 14px;
}

.requirements > div {
  padding: 3px 12px;
  border-right: 1px solid #8c806b;
}

.requirements > div:last-child {
  border-right: 0;
}

.requirements span,
.requirements strong {
  display: block;
}

.requirements span {
  margin-bottom: 4px;
  color: #60594c;
  font-size: 9px;
  text-transform: uppercase;
}

.requirements strong {
  color: #292a24;
  font-size: 11px;
}

.donate-window {
  padding-bottom: 28px;
}

.donate-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 118px;
  padding: 22px 28px;
}

.donate-heading .eyebrow {
  margin-bottom: 5px;
  font-size: 10px;
}

.donate-heading h1 {
  margin: 4px 0 7px;
  font-size: 24px;
}

.donate-heading p {
  display: block;
}

.balance-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 190px;
  padding: 10px 14px;
  border: 1px solid #5b5d51;
  background: #20211d;
  box-shadow: inset 0 1px #77786c, 0 3px 10px #111;
}

.balance-chip img {
  width: 38px;
  height: 38px;
}

.balance-chip small,
.balance-chip strong {
  display: block;
}

.balance-chip small {
  color: #898c80;
  font-size: 8px;
}

.balance-chip strong {
  margin-top: 3px;
  min-width: 78px;
  min-height: 18px;
  color: #f2c42e;
  font-size: 15px;
  visibility: hidden;
}

body.is-auth .balance-chip strong {
  visibility: visible;
}

.coin-packages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 24px 26px 30px;
}

.coin-card {
  position: relative;
  min-height: 195px;
  padding: 17px 12px;
  border: 1px solid #11120f;
  border-radius: 10px;
  color: #e6e5d8;
  background:
    linear-gradient(rgba(255,255,255,0.08), transparent 40%),
    #30322c;
  box-shadow: inset 0 0 0 1px #5d5f54, 0 6px 14px rgba(0,0,0,0.42);
  cursor: pointer;
  transition: transform 150ms ease, filter 150ms ease, border-color 150ms ease;
}

.coin-card:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.coin-card.active {
  border-color: var(--orange);
  background:
    linear-gradient(90deg, rgba(244,164,17,0.18), transparent),
    linear-gradient(#46483e, #30322c);
  box-shadow: inset 0 3px var(--orange), inset 0 0 0 1px #74766a, 0 8px 18px rgba(0,0,0,0.52);
  animation: card-select 220ms ease-out;
}

.coin-card > b {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 5px;
  color: #241900;
  font-size: 7px;
  background: var(--orange);
}

.coin-card img {
  display: block;
  width: 70px;
  height: 70px;
  margin: 5px auto 8px;
  object-fit: contain;
}

.coin-card strong,
.coin-card span,
.coin-card small {
  display: block;
  text-align: center;
}

.coin-card strong {
  color: #f6d943;
  font-size: 23px;
}

.coin-card span {
  margin-top: 5px;
  color: #fff;
  font-size: 15px;
}

.coin-card small {
  margin-top: 5px;
  color: var(--green-bright);
  font-size: 9px;
}

.payment-pocket {
  margin: 38px 26px 0;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.payment-methods button {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 9px 13px;
  overflow: hidden;
  border: 1px solid #5d5547;
  color: #55574c;
  font-family: "Contra Tahoma", Tahoma, Arial, sans-serif;
  text-align: left;
  background: linear-gradient(#b9ad96, #a99c84);
  box-shadow: inset 0 1px rgba(255,255,255,0.35);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.payment-methods button:hover {
  border-color: #7a6d59;
  color: #292a24;
  filter: brightness(1.06);
}

.payment-methods button > span:last-child,
.payment-methods button strong,
.payment-methods button small {
  display: block;
}

.payment-methods button strong {
  font-size: 11px;
  text-transform: uppercase;
}

.payment-methods button small {
  margin-top: 4px;
  color: #6c6659;
  font-family: "Contra Tahoma Regular", Tahoma, Arial, sans-serif;
  font-size: 9px;
  line-height: 1.2;
}

.payment-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #554e41;
  color: #2b2c26;
  font-size: 10px;
  background: #c7baa0;
  box-shadow: inset 0 1px rgba(255,255,255,0.45), 0 2px 4px rgba(0,0,0,0.3);
}

.card-icon::before,
.card-icon::after {
  position: absolute;
  content: "";
}

.card-icon {
  position: relative;
}

.card-icon::before {
  width: 21px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.card-icon::after {
  width: 17px;
  height: 2px;
  background: currentColor;
  transform: translateY(-3px);
}

.payment-methods button.active {
  color: #fff;
  border-color: #171813;
  background:
    linear-gradient(90deg, rgba(244,164,17,0.15), transparent 72%),
    linear-gradient(#3b3d35, #292b25);
  box-shadow: inset 0 3px var(--orange), inset 0 0 0 1px #65675c;
  animation: payment-select 260ms cubic-bezier(0.2, 0.8, 0.25, 1);
}

.payment-methods button.active small {
  color: #b1b3a7;
}

.payment-methods button.active .payment-icon {
  color: #17180f;
  border-color: #dd980d;
  background: var(--orange);
  box-shadow: inset 0 1px #ffe064, 0 0 10px rgba(244,164,17,0.25);
}

.payment-summary {
  padding: 16px 18px;
  border: 1px solid #171713;
  border-radius: 8px;
  color: #8e9184;
  font-size: 11px;
  background: #252620;
}

.payment-summary > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 180px;
  text-transform: uppercase;
}

.payment-summary strong {
  color: #f3f1df;
  font-size: 17px;
  text-transform: none;
}

.payment-summary [data-summary-coins] {
  color: #f2c42e;
}

.payment-summary .game-button {
  min-width: 190px;
  min-height: 44px;
  font-size: 15px;
}

@keyframes payment-select {
  0% {
    filter: brightness(0.78);
    transform: scale(0.985);
  }
  58% {
    filter: brightness(1.12);
    transform: scale(1.012);
  }
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
}

@keyframes control-select {
  from {
    filter: brightness(0.82);
  }
  to {
    filter: brightness(1);
  }
}

@keyframes card-select {
  from {
    filter: brightness(0.86);
    transform: scale(0.985);
  }
  to {
    filter: brightness(1);
    transform: scale(1);
  }
}

.home-shell {
  width: min(1120px, calc(100% - 44px));
}

.game-hero {
  position: relative;
  min-height: 510px;
  margin-top: 22px;
  border: 1px solid #151511;
  border-radius: 17px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9, 10, 9, 0.98) 0, rgba(13, 14, 12, 0.91) 34%, rgba(10, 11, 10, 0.22) 69%, rgba(5, 6, 5, 0.06)),
    url("../dumps/client_resources_assets/Game/textures/FirstLoading_1784.png") center right / cover no-repeat;
  box-shadow:
    inset 0 0 0 1px #5b5d52,
    inset 0 2px rgba(255,255,255,0.1),
    0 24px 60px rgba(0,0,0,0.72);
}

.game-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(8,9,7,0.72), transparent 36%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 4px);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 52%;
  padding: 88px 0 60px 62px;
}

.hero-content h1 {
  margin: 7px 0 17px;
  color: #fff;
  font-size: 54px;
  line-height: 0.95;
  text-shadow: 0 4px #000, 0 0 24px rgba(244,164,17,0.18);
}

.hero-content > p {
  max-width: 500px;
  margin: 0;
  color: #c3c4b8;
  font-size: 14px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 29px;
}

.hero-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  text-decoration: none;
}

.hero-login {
  color: #b3b5a8;
  font-size: 11px;
  text-decoration-color: #66685e;
}

.hero-login:hover {
  color: #fff;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  color: #898c80;
  font-size: 9px;
  text-transform: uppercase;
}

.game-about {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: center;
  margin-top: 18px;
  padding: 28px 34px;
  border: 1px solid #151511;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(244,164,17,0.09), transparent 50%),
    linear-gradient(#383a33, #252620);
  box-shadow: inset 0 0 0 1px #55574d, 0 10px 24px rgba(0,0,0,0.42);
}

.about-copy h2 {
  margin: 5px 0 8px;
  font-size: 24px;
  text-transform: uppercase;
}

.about-copy p {
  max-width: 620px;
  margin: 0;
  color: #a6a89b;
  font-size: 11px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 105px);
}

.feature-grid article {
  padding: 5px 14px;
  border-left: 1px solid #5d5f54;
  text-align: center;
}

.feature-grid strong,
.feature-grid span {
  display: block;
}

.feature-grid strong {
  color: var(--orange-bright);
  font-size: 22px;
}

.feature-grid span {
  margin-top: 4px;
  color: #8f9285;
  font-size: 8px;
  text-transform: uppercase;
}

.home-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 12px 0 30px;
}

.home-features article {
  position: relative;
  min-height: 132px;
  padding: 23px 24px 20px 67px;
  border: 1px solid #151511;
  border-radius: 10px;
  background:
    linear-gradient(rgba(255,255,255,0.06), transparent 48%),
    #292b25;
  box-shadow: inset 0 0 0 1px #515349;
}

.home-features i {
  position: absolute;
  top: 25px;
  left: 21px;
  color: var(--orange);
  font-family: "Contra Red October", sans-serif;
  font-size: 23px;
  font-style: normal;
}

.home-features h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
}

.home-features p {
  margin: 0;
  color: #8f9285;
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 780px) {
  .account-shell {
    width: min(100% - 20px, 620px);
    padding-top: 14px;
  }

  .topbar {
    gap: 10px;
    padding: 0;
  }

  .site-links {
    display: none;
  }

  .game-hero {
    min-height: 500px;
    background:
      linear-gradient(90deg, rgba(9,10,9,0.96), rgba(9,10,9,0.68)),
      url("../dumps/client_resources_assets/Game/textures/FirstLoading_1784.png") 64% center / cover no-repeat;
  }

  .hero-content {
    width: auto;
    padding: 72px 34px 45px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .game-about {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-features {
    grid-template-columns: 1fr;
  }

  .portal-window {
    margin-top: 20px;
  }

  .auth-window {
    width: 100%;
  }

  .auth-panel {
    padding: 24px 20px 28px;
  }

  .launcher-window {
    grid-template-columns: 1fr;
    padding: 32px 26px 26px;
  }

  .launcher-visual {
    min-height: 190px;
  }

  .launcher-emblem {
    width: 150px;
    height: 150px;
  }

  .launcher-emblem::before {
    top: 39px;
    left: 51px;
  }

  .launcher-emblem::after {
    left: 33px;
    bottom: 32px;
  }

  .requirements {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
    margin-top: 30px;
  }

  .requirements > div:nth-child(2) {
    border-right: 0;
  }

  .donate-heading {
    align-items: stretch;
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .balance-chip {
    width: fit-content;
  }

  .coin-packages {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
  }

  .payment-pocket {
    margin-right: 20px;
    margin-left: 20px;
  }

  .payment-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .window {
    margin-top: 20px;
  }

  .window-title {
    height: auto;
    min-height: 80px;
    padding: 20px;
  }

  .window-title > div:first-child {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    clip-path: none;
    background: transparent;
    box-shadow: none;
  }

  .window-body {
    display: block;
  }

  .section-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 10px 10px 0;
    border-right: 0;
    border-bottom: 1px solid #0d0e0b;
  }

  .nav-item {
    grid-template-columns: 32px minmax(0, 1fr) 16px;
    gap: 7px;
    min-height: 62px;
    padding: 9px 8px;
  }

  .nav-item.active {
    min-height: 66px;
    margin-top: -4px;
    box-shadow:
      inset 0 4px var(--orange),
      inset 0 0 0 1px #686a5e,
      0 -4px 12px rgba(0, 0, 0, 0.42);
  }

  .nav-item strong {
    font-size: 10px;
  }

  .nav-item small {
    font-size: 8px;
  }

  .content-area {
    min-height: 570px;
    padding: 24px 20px 84px;
  }

  .pocket-shell {
    padding: 22px 15px 16px;
  }

  .pocket-shell::before {
    width: 165px;
  }

  .field-row,
  .twofa-card {
    grid-template-columns: 1fr;
  }

  .qr-preview {
    display: none;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .game-button {
    width: 100%;
  }

  .topbar {
    min-height: 64px;
  }

  .game-logo {
    width: 135px;
  }

  .account-chip {
    min-width: 0;
  }

  .account-chip span:last-child {
    display: none;
  }
}

@media (max-width: 520px) {
  .account-shell,
  .auth-shell {
    width: calc(100% - 16px);
  }

  .game-logo {
    width: 116px;
  }

  .login-chip {
    padding: 9px 11px;
    font-size: 10px;
  }

  .game-hero {
    min-height: 475px;
  }

  .hero-content {
    padding: 58px 22px 38px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content > p {
    font-size: 12px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-download {
    width: 100%;
  }

  .game-about {
    padding: 24px 20px;
  }

  .feature-grid {
    gap: 8px;
  }

  .feature-grid article {
    padding: 4px;
    border-left: 0;
  }

  .guest-chip {
    padding: 8px;
    font-size: 0;
  }

  .account-chip {
    min-width: 44px;
    padding: 0;
  }

  .account-chip > span:nth-child(2) {
    display: none;
  }

  .account-chip > .status-dot {
    margin: 0 10px;
  }

  .account-logout {
    min-width: 36px;
  }

  .portal-heading {
    padding: 20px;
  }

  .portal-heading h1,
  .launcher-copy h1 {
    font-size: 20px;
  }

  .auth-panel .field-row {
    grid-template-columns: 1fr;
  }

  .coin-packages {
    grid-template-columns: 1fr;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .nav-item {
    display: flex;
    justify-content: center;
    padding: 9px;
  }

  .nav-item > span:nth-child(2),
  .nav-state {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
