:root {
  --rust-bg: #141414;
  --rust-panel: rgba(28, 28, 28, 0.92);
  --rust-panel-solid: #1c1c1c;
  --rust-panel-2: #252525;
  --rust-border: #3a3a3a;
  --rust-green: #7a8450;
  --rust-green-dark: #6a7344;
  --rust-green-bright: #8f9958;
  --rust-orange: #cd412b;
  --rust-orange-dark: #b53825;
  --rust-orange-bright: #e04a33;
  --rust-yellow: #c9a227;
  --rust-text: #e8e8e8;
  --rust-muted: #8a8a8a;
  --rust-font: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --rust-hud: 66px;
  --rust-subnav: 48px;
  --rust-shell-max: 1920px;
  --rust-live: 88px;
  --rust-bar: 40px;
  --rust-mobnav: 44px;
  --border-radius-xs: 0;
  --border-radius-sm: 0;
  --border-radius-m: 0;
  --border-radius-md: 0;
  --border-radius-lg: 0;
  --border-radius-xl: 0;
  --border-radius-xxl: 0;
  --color-secondary: #1c1c1c;
  --color-gray: #8a8a8a;
  --color-gray-primary: #a0a0a0;
  --typography-primary: #e8e8e8;
  --typography-secondary: #8a8a8a;
  --color-gold: #c9a227;
  --color-green: #7a8450;
  --header-height: 66px;
  --surface: #1c1c1c;
  --surface-2: #252525;
  --border: #3a3a3a;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--rust-font);
  font-size: 14px;
  background: var(--rust-bg);
  color: var(--rust-text);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body.theme-dark {
  height: 100%;
  overflow: hidden;
}

html:has(body.theme-dark) {
  height: 100%;
  overflow: hidden;
}

#app,
.rust-app-root {
  height: 100%;
  overflow: hidden;
}

body::-webkit-scrollbar { width: 8px; height: 8px; }
body::-webkit-scrollbar-track { background: #0e0e0e; }
body::-webkit-scrollbar-thumb { background: #444; }

.rust-menu {
  position: relative;
  height: 100%;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.rust-menu__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.rust-menu__bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.rust-menu__bg--dim .rust-menu__bg-video {
  filter: brightness(0.14) saturate(0.55);
}

.rust-menu--home .rust-menu__bg--dim .rust-menu__bg-video,
.rust-menu--cases .rust-menu__bg--dim .rust-menu__bg-video,
.rust-menu--play .rust-menu__bg--dim .rust-menu__bg-video,
.rust-menu--inv .rust-menu__bg--dim .rust-menu__bg-video,
.rust-menu--faq .rust-menu__bg--dim .rust-menu__bg-video,
.rust-menu--contracts .rust-menu__bg--dim .rust-menu__bg-video,
.rust-menu--wheel .rust-menu__bg--dim .rust-menu__bg-video,
.rust-menu--roulette .rust-menu__bg--dim .rust-menu__bg-video,
.rust-menu--freecase .rust-menu__bg--dim .rust-menu__bg-video,
.rust-menu--case .rust-menu__bg--dim .rust-menu__bg-video,
.rust-menu--store .rust-menu__bg--dim .rust-menu__bg-video,
.rust-menu--upgrade .rust-menu__bg--dim .rust-menu__bg-video {
  filter: none;
}

.rust-menu__vignette {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, transparent 14%, transparent 58%, rgba(8, 8, 8, 0.82) 100%),
    radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 1;
  pointer-events: none;
}

.rust-menu--home .rust-menu__vignette {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.25) 0%, transparent 12%, transparent 62%, rgba(8, 8, 8, 0.7) 100%),
    radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.35) 100%);
}

.rust-menu--cases .rust-menu__vignette,
.rust-menu--play .rust-menu__vignette {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.28) 0%, transparent 10%, transparent 58%, rgba(8, 8, 8, 0.75) 100%),
    radial-gradient(ellipse at center, transparent 38%, rgba(0, 0, 0, 0.4) 100%);
}

.rust-menu--inv .rust-menu__vignette {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.3) 0%, transparent 10%, transparent 58%, rgba(8, 8, 8, 0.78) 100%),
    radial-gradient(ellipse at center, transparent 36%, rgba(0, 0, 0, 0.42) 100%);
}

.rust-menu--faq .rust-menu__vignette {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.3) 0%, transparent 10%, transparent 58%, rgba(8, 8, 8, 0.78) 100%),
    radial-gradient(ellipse at center, transparent 36%, rgba(0, 0, 0, 0.42) 100%);
}

.rust-menu--contracts .rust-menu__vignette {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.3) 0%, transparent 10%, transparent 58%, rgba(8, 8, 8, 0.78) 100%),
    radial-gradient(ellipse at center, transparent 36%, rgba(0, 0, 0, 0.42) 100%);
}

.rust-menu--wheel .rust-menu__vignette {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.3) 0%, transparent 10%, transparent 58%, rgba(8, 8, 8, 0.78) 100%),
    radial-gradient(ellipse at center, transparent 36%, rgba(0, 0, 0, 0.42) 100%);
}

.rust-menu--roulette .rust-menu__vignette {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.3) 0%, transparent 10%, transparent 58%, rgba(8, 8, 8, 0.78) 100%),
    radial-gradient(ellipse at center, transparent 36%, rgba(0, 0, 0, 0.42) 100%);
}

.rust-menu--freecase .rust-menu__vignette {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.3) 0%, transparent 10%, transparent 58%, rgba(8, 8, 8, 0.78) 100%),
    radial-gradient(ellipse at center, transparent 36%, rgba(0, 0, 0, 0.42) 100%);
}

.rust-menu--case .rust-menu__vignette {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.3) 0%, transparent 10%, transparent 58%, rgba(8, 8, 8, 0.78) 100%),
    radial-gradient(ellipse at center, transparent 36%, rgba(0, 0, 0, 0.42) 100%);
}

.rust-menu--store .rust-menu__vignette {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.3) 0%, transparent 10%, transparent 58%, rgba(8, 8, 8, 0.78) 100%),
    radial-gradient(ellipse at center, transparent 36%, rgba(0, 0, 0, 0.42) 100%);
}

.rust-menu--upgrade .rust-menu__vignette {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.3) 0%, transparent 10%, transparent 58%, rgba(8, 8, 8, 0.78) 100%),
    radial-gradient(ellipse at center, transparent 36%, rgba(0, 0, 0, 0.42) 100%);
}

.rust-menu__hud-top {
  position: relative;
  z-index: 20;
  flex-shrink: 0;
  height: var(--rust-hud);
  min-height: 66px;
  overflow: visible;
  background: linear-gradient(180deg, rgb(41 41 41 / 61%) 0%, rgb(0 0 0 / 76%) 100%);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rust-menu__shell {
  width: 100%;
  max-width: var(--rust-shell-max);
  margin: 0 auto;
  padding: 0 20px;
}

.rust-menu__shell--hud {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 100%;
  max-height: var(--rust-hud);
  min-height: 0;
  z-index: 2;
  pointer-events: none;
}

.rust-menu__logo,
.rust-menu__tools-wrap {
  pointer-events: auto;
}

.rust-menu__tools-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.rust-menu__shell--bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.rust-menu__logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 72px;
  height: 100%;
  max-height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  text-decoration: none;
}

.rust-menu__logo .rust-menu__tab-bg {
  opacity: 1;
}

.rust-menu__logo-icon-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 52px;
  height: 42px;
  overflow: hidden;
}

.rust-menu__logo-img {
  display: block;
  width: 52px;
  height: auto;
  min-height: 52px;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.rust-menu__tabs {
  display: none;
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 1;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .rust-menu__tabs { display: flex; }
}

.rust-menu__tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  max-height: 100%;
  padding: 0 28px;
  overflow: hidden;
  pointer-events: auto;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  letter-spacing: 0.07em;
  white-space: nowrap;
  transition: color 0.15s;
}

.rust-menu__tab svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  opacity: 0.62;
}

.rust-menu__tab-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(140 45 38 / 5%) 0%, rgba(140, 45, 38, 0.18) 38%, rgb(120 38 32 / 66%) 100%);
  transition: opacity 0.15s;
}

.rust-menu__tab svg,
.rust-menu__tab > span:not(.rust-menu__tab-bg) {
  position: relative;
  z-index: 1;
}

.rust-menu__tab:hover {
  color: rgba(255, 255, 255, 0.85);
}

.rust-menu__tab.is-active,
.rust-menu__tab.router-link-exact-active {
  color: rgba(236, 228, 218, 0.96);
}

.rust-menu__tab.is-active svg,
.rust-menu__tab.router-link-exact-active svg {
  opacity: 0.92;
}

.rust-menu__tab.is-active .rust-menu__tab-bg,
.rust-menu__tab.router-link-exact-active .rust-menu__tab-bg {
  opacity: 1;
}

.rust-menu__tools {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 0;
}

.rust-menu__tool {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(14, 16, 20, 0.82);
  border: none;
  color: rgba(158, 164, 172, 0.95);
  cursor: pointer;
  box-shadow: none;
  text-decoration: none;
  transition: color 0.12s, background 0.12s;
}

.rust-menu__tool:hover {
  color: rgba(210, 214, 220, 0.98);
  background: rgba(20, 23, 28, 0.9);
}

.rust-menu__tool.is-active,
.rust-menu__tool.router-link-exact-active {
  color: #fff;
  background: rgba(140, 45, 38, 0.42);
}

.rust-menu__tool svg { width: 16px; height: 16px; opacity: 0.9; }

.rust-menu__tool-btn {
  display: none;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 14px;
  background: rgba(14, 16, 20, 0.82);
  border: none;
  color: rgba(158, 164, 172, 0.95);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: none;
  transition: color 0.12s, background 0.12s;
}

@media (min-width: 768px) {
  .rust-menu__tool-btn { display: flex; }
}

.rust-menu__tool-btn:hover {
  color: rgba(210, 214, 220, 0.98);
  background: rgba(20, 23, 28, 0.9);
}

.rust-menu__tool-btn svg {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

.rust-menu__profile {
  padding: 0 12px 0 6px;
  text-decoration: none;
}

.rust-menu__profile.is-active,
.rust-menu__profile.router-link-exact-active {
  color: #fff;
  background: rgba(140, 45, 38, 0.42);
}

.rust-menu__profile-avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.rust-menu__balance {
  display: none;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rust-yellow);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.rust-menu__deposit {
  display: none;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--rust-green-dark);
  border: 1px solid #5a6238;
  white-space: nowrap;
  transition: background 0.12s;
}

.rust-menu__deposit:hover {
  background: var(--rust-green);
}

@media (min-width: 768px) {
  .rust-menu__balance,
  .rust-menu__deposit {
    display: inline-flex;
  }
}

.rust-menu__notify {
  position: absolute;
  top: calc(100% + 2px);
  right: 20px;
  width: 300px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--rust-panel-solid);
  border: 1px solid var(--rust-border);
  z-index: 300;
}

.rust-menu__tool--notify {
  position: relative;
}

.rust-menu__notify-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  color: #fff;
  background: var(--rust-orange);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.rust-notify {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(420px, calc(100vw - 24px));
  max-height: min(70vh, 560px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #2a2a2a 0%, #1c1c1c 100%);
  border: 1px solid var(--rust-border);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  z-index: 320;
}

.rust-notify__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rust-border);
  background: rgba(0, 0, 0, 0.22);
}

.rust-notify__head-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.rust-notify__head-title svg {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.rust-notify__head-title em {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-style: normal;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
  color: #fff;
  background: var(--rust-orange);
}

.rust-notify__read-all {
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: color 0.12s;
}

.rust-notify__read-all:hover {
  color: #fff;
}

.rust-notify__body {
  overflow-y: auto;
  padding: 10px;
}

.rust-notify__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 180px;
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.rust-notify__empty svg {
  width: 34px;
  height: 34px;
  opacity: 0.35;
}

.rust-notify__card {
  position: relative;
  margin-bottom: 8px;
  cursor: pointer;
  transition: transform 0.12s;
}

.rust-notify__card:last-child {
  margin-bottom: 0;
}

.rust-notify__card:hover {
  transform: translateY(-1px);
}

.rust-notify__card-accent {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  pointer-events: none;
}

.rust-notify__card--info .rust-notify__card-accent {
  background: linear-gradient(135deg, rgba(58, 58, 58, 0.4), rgba(28, 28, 28, 0.15));
}

.rust-notify__card--promo .rust-notify__card-accent {
  background: linear-gradient(135deg, rgba(205, 65, 43, 0.24), rgba(201, 162, 39, 0.1));
}

.rust-notify__card--success .rust-notify__card-accent {
  background: linear-gradient(135deg, rgba(122, 132, 80, 0.3), rgba(28, 28, 28, 0.15));
}

.rust-notify__card--warning .rust-notify__card-accent {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.26), rgba(28, 28, 28, 0.15));
}

.rust-notify__card--event .rust-notify__card-accent {
  background: linear-gradient(135deg, rgba(181, 56, 37, 0.22), rgba(201, 162, 39, 0.12));
}

.rust-notify__card-inner {
  position: relative;
  padding: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rust-notify__card.is-unread .rust-notify__card-inner {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 3px 0 0 var(--rust-orange);
}

.rust-notify__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.rust-notify__type {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.rust-notify__card-top time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.38);
}

.rust-notify__card-main {
  display: flex;
  gap: 10px;
}

.rust-notify__image {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rust-notify__text h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
}

.rust-notify__text p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  white-space: pre-line;
}

.rust-notify__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.rust-notify__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.rust-notify__btn--primary {
  color: #fff;
  background: var(--rust-orange-dark);
  border-color: #8b3024;
}

.rust-notify__btn--primary:hover {
  background: var(--rust-orange);
}

.rust-notify__btn--green {
  color: #fff;
  background: var(--rust-green-dark);
  border-color: #5a6238;
}

.rust-notify__btn--green:hover {
  background: var(--rust-green);
}

.rust-notify__btn--ghost {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.rust-notify__btn--ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.rust-notify__btn--danger {
  color: #fff;
  background: rgba(120, 30, 30, 0.75);
  border-color: rgba(180, 60, 60, 0.45);
}

.rust-notify__btn--danger:hover {
  background: rgba(150, 40, 40, 0.9);
}

.rust-menu__notify-item {
  padding: 10px 12px;
  border-bottom: 1px solid var(--rust-border);
  text-transform: none;
  font-size: 13px;
}

.rust-menu__notify-item strong {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 4px;
}

.rust-menu__notify-item p { margin: 0; color: var(--rust-muted); font-size: 12px; }

.rust-menu__store-bar {
  position: relative;
  z-index: 15;
  flex-shrink: 0;
  height: var(--rust-subnav);
  min-height: var(--rust-subnav);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(32, 36, 46, 0.5) 0%, rgba(16, 18, 26, 0.68) 100%);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border-bottom: 1px solid rgba(0, 0, 0, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rust-menu__shell--store-bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  min-height: var(--rust-subnav);
}

.rust-menu__filters {
  display: flex;
  align-items: stretch;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.rust-menu__filters::-webkit-scrollbar { display: none; }

.rust-menu__filter {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 22px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.07em;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}

.rust-menu__filter-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.62;
}

.rust-menu__filter-icon svg {
  width: 18px;
  height: 18px;
}

.rust-menu__filter:hover {
  color: rgba(255, 255, 255, 0.85);
}

.rust-menu__filter:hover .rust-menu__filter-icon {
  opacity: 0.85;
}

.rust-menu__filter.is-active {
  color: #fff;
  background: var(--rust-green-dark);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}

.rust-menu__filter.is-active .rust-menu__filter-icon {
  opacity: 1;
}

.rust-menu__store-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  align-self: center;
  height: 36px;
}

.rust-menu__search {
  width: 160px;
  height: 36px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--rust-text);
  background: rgba(8, 8, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: none;
}

.rust-menu__search::placeholder { color: var(--rust-muted); text-transform: uppercase; }

@media (min-width: 900px) {
  .rust-menu__search { width: 220px; }
}

.rust-menu__cart {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--rust-green-dark);
  border: 1px solid #5a6238;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s, filter 0.12s;
}

.rust-menu__cart:hover {
  filter: brightness(1.08);
}

.rust-menu__cart svg { width: 16px; height: 16px; }

.rust-wins {
  position: relative;
  z-index: 14;
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  min-height: var(--rust-live);
  max-height: var(--rust-live);
  background: rgba(12, 12, 14, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.rust-menu--cases .rust-wins,
.rust-menu--inv .rust-wins {
  background: rgba(12, 12, 14, 0.58);
}

.rust-wins__side {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 6px 12px;
  border-right: 1px solid var(--rust-border);
  flex-shrink: 0;
  min-width: 88px;
  pointer-events: auto;
}

.rust-wins__title {
  font-size: 10px;
  font-weight: 700;
  color: var(--rust-yellow);
  letter-spacing: 0.06em;
}

.rust-wins__tabs {
  display: flex;
  gap: 3px;
}

.rust-wins__tabs button {
  padding: 3px 8px;
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  color: var(--rust-muted);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--rust-border);
  cursor: pointer;
}

.rust-wins__tabs button.is-active {
  color: #fff;
  background: var(--rust-green-dark);
  border-color: #5a6238;
}

.rust-wins__track {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.rust-wins__row {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  overflow-x: auto;
  align-items: stretch;
  scrollbar-width: none;
  width: 100%;
}

.rust-wins__row::-webkit-scrollbar { display: none; }

.rust-wins__card {
  position: relative;
  flex-shrink: 0;
  width: 168px;
  display: flex;
  flex-direction: column;
  background: rgba(22, 22, 22, 0.95);
  border: 1px solid var(--rust-border);
  border-top: 2px solid var(--rust-border);
  text-decoration: none;
  overflow: hidden;
}

.rust-wins__card.rarity--0 { border-top-color: #b0c3d9; }
.rust-wins__card.rarity--1 { border-top-color: #5e98d9; }
.rust-wins__card.rarity--2 { border-top-color: #4b69ff; }
.rust-wins__card.rarity--3 { border-top-color: #8847ff; }
.rust-wins__card.rarity--4 { border-top-color: #d32ce6; }
.rust-wins__card.rarity--5 { border-top-color: #eb4b4b; }
.rust-wins__card.rarity--6 { border-top-color: var(--rust-yellow); }

.rust-wins__card.is-new {
  animation: rustWinIn var(--anim-ms, 500ms) ease-out;
}

@keyframes rustWinIn {
  from { opacity: 0; transform: translateX(-24px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.rust-wins__card--skel {
  min-height: 76px;
  background: rgba(28, 28, 28, 0.6);
  animation: rustPulse 1.2s ease infinite;
}

.rust-wins__card-top {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 24px;
}

.rust-wins__avatar {
  width: 16px;
  height: 16px;
  object-fit: cover;
  border: 1px solid var(--rust-border);
  flex-shrink: 0;
}

.rust-wins__user {
  flex: 1;
  font-size: 9px;
  font-weight: 600;
  color: var(--rust-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
}

.rust-wins__price {
  font-size: 9px;
  font-weight: 700;
  color: var(--rust-yellow);
  flex-shrink: 0;
}

.rust-wins__card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 4px 8px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
}

.rust-wins__card-img img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.rust-wins__card-name {
  padding: 0 6px 6px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
}

.rust-wins__source {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 8px;
  background: rgba(10, 10, 10, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.rust-wins__card:hover .rust-wins__source {
  opacity: 1;
  transform: none;
}

.rust-wins__source img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.rust-wins__source-kind {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust-muted);
}

.rust-wins__source-label {
  max-width: 100%;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-wins__case {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.rust-wins__case img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.rust-wins__case span {
  font-size: 8px;
  font-weight: 600;
  color: var(--rust-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
}

.rust-menu__body {
  position: relative;
  z-index: 5;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 10px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #444 #0e0e0e;
}

.rust-menu__body::-webkit-scrollbar { width: 8px; }
.rust-menu__body::-webkit-scrollbar-track { background: #0e0e0e; }
.rust-menu__body::-webkit-scrollbar-thumb { background: #444; }

.rust-menu__body--home {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 0;
  flex: 1 1 auto;
}

.rust-menu__body--store {
  padding: 10px 20px 24px;
  background: transparent;
  min-width: 0;
  overflow-x: hidden;
}

.rust-menu__body--play,
.rust-menu__body--cases {
  padding: 10px 20px 24px;
  background: transparent;
  min-width: 0;
  overflow-x: hidden;
}

.rust-menu__body--case {
  padding: 10px 20px 24px;
  background: transparent;
  min-width: 0;
  overflow-x: hidden;
}

.rust-menu__body--inv {
  padding: 0;
  background: transparent;
  min-width: 0;
  overflow-x: hidden;
}

.rust-menu__body--legal {
  padding: 10px 20px 24px;
  background: transparent;
  min-width: 0;
  overflow-x: hidden;
}

.rust-menu__body--faq {
  padding: 10px 20px 24px;
  background: transparent;
  min-width: 0;
}

.rust-menu__body--contracts {
  padding: 10px 20px 24px;
  background: transparent;
  min-width: 0;
}

.rust-menu__body--wheel {
  padding: 10px 20px 24px;
  background: transparent;
  min-width: 0;
  overflow-x: hidden;
}

.rust-menu__body--roulette {
  padding: 10px 20px 24px;
  background: transparent;
  min-width: 0;
  overflow-x: hidden;
}

.rust-menu__body--freecase {
  padding: 10px 20px 24px;
  background: transparent;
  min-width: 0;
  overflow-x: hidden;
}

.rust-menu__body--upgrade {
  padding: 10px 20px 24px;
  background: transparent;
  min-width: 0;
  overflow-x: hidden;
}

.rust-menu__hud-bottom {
  position: relative;
  z-index: 30;
  display: none;
  flex-shrink: 0;
  height: var(--rust-live);
  background: transparent;
  border: none;
  overflow: hidden;
}

.rust-menu__hud-bottom-grid {
  display: flex;
  align-items: stretch;
  height: 100%;
  min-width: 0;
}

.rust-menu__hud-live {
  flex: 1;
  min-width: 0;
}

.rust-menu__hud-info {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: min(300px, 32vw);
  padding: 8px 16px;
  background: rgba(18, 10, 10, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(205, 65, 43, 0.22);
  border-left: 1px solid rgba(205, 65, 43, 0.35);
  box-shadow: inset 2px 0 0 rgba(205, 65, 43, 0.55);
}

.rust-menu__hud-info-mail {
  font-size: 10px;
  font-weight: 700;
  color: #f0b8a8;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rust-menu__hud-info-mail:hover {
  color: #fff;
}

.rust-menu__hud-info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
}

.rust-menu__hud-info-links a {
  font-size: 10px;
  font-weight: 700;
  color: rgba(253, 120, 100, 0.88);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(205, 65, 43, 0.35);
  transition: color 0.12s, text-shadow 0.12s;
}

.rust-menu__hud-info-links a:hover,
.rust-menu__hud-info-links a.router-link-active {
  color: #ffb8a8;
  text-shadow: 0 0 14px rgba(224, 74, 51, 0.55);
}

@media (min-width: 768px) {
  .rust-menu__hud-bottom { display: block; }
}

.rust-menu__hud-bottom .rust-wins {
  height: 100%;
  min-height: 100%;
  max-height: 100%;
}

.rust-menu__chat {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 420px;
  gap: 4px;
}

.rust-menu__chat-input {
  flex: 1;
  height: 28px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 12px;
  color: var(--rust-muted);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--rust-border);
  text-transform: none;
}

.rust-menu__chat-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: var(--rust-green-dark);
  border: 1px solid #5a6238;
  color: var(--rust-muted);
  cursor: not-allowed;
}

.rust-menu__chat-send svg { width: 14px; height: 14px; }

.rust-menu__chat-friends {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--rust-border);
  color: var(--rust-muted);
  cursor: not-allowed;
}

.rust-menu__chat-friends svg { width: 14px; height: 14px; }

.rust-menu__perf {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 700;
  color: var(--rust-muted);
}

.rust-menu__social-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.rust-menu__social {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  color: var(--rust-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--rust-border);
  text-decoration: none;
  position: relative;
}

.rust-menu__social svg { width: 14px; height: 14px; }

.rust-menu__social em {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  color: #fff;
  background: var(--rust-orange);
}

.rust-menu__avatar {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--rust-border);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.rust-menu__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rust-menu__avatar--empty {
  background: rgba(255, 255, 255, 0.08) url(/assets/icons/logo-c4se.png) center top / 34px auto no-repeat;
}

.rust-menu__mobnav {
  position: relative;
  z-index: 25;
  display: flex;
  flex-shrink: 0;
  height: var(--rust-mobnav);
  background: rgba(12, 12, 12, 0.98);
  border-top: 1px solid var(--rust-border);
}

@media (min-width: 768px) {
  .rust-menu__mobnav { display: none; }
}

.rust-menu__mobnav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  color: var(--rust-muted);
  text-decoration: none;
}

.rust-menu__mobnav a svg { width: 16px; height: 16px; }

.rust-menu__mobnav a.router-link-exact-active {
  color: var(--rust-text);
  background: var(--rust-green-dark);
}

.rust-menu__mobnav a.is-active,
.rust-menu__mobnav a.router-link-exact-active {
  color: #fff;
  background: var(--rust-orange);
}

.rust-home {
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100%;
  max-width: var(--rust-shell-max);
  transform: translateX(-50%);
  padding: 20px 20px 0;
  pointer-events: none;
}

.rust-home__connect {
  position: absolute;
  top: 20px;
  right: 20px;
  width: min(340px, calc(100% - 48px));
  pointer-events: auto;
}

.rust-home__connect-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rust-text);
  letter-spacing: 0.04em;
}

.rust-home__connect-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  margin-bottom: 5px;
  background: rgba(18, 18, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: background 0.12s, border-color 0.12s;
}

.rust-home__connect-item:hover {
  background: rgba(28, 28, 28, 0.85);
  border-color: rgba(255, 255, 255, 0.14);
}

.rust-home__connect-info {
  flex: 1;
  min-width: 0;
}

.rust-home__connect-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-home__connect-desc {
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-home__connect-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.rust-home__connect-tags em {
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  color: var(--rust-muted);
  padding: 1px 5px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-home__connect-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--rust-muted);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.rust-home__connect-play svg { width: 12px; height: 12px; margin-left: 2px; }

.rust-home__connect-item:hover .rust-home__connect-play {
  color: #fff;
  background: var(--rust-orange);
  border-color: var(--rust-orange-dark);
}

.rust-home__bottom {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: calc(var(--rust-live) + 20px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  pointer-events: none;
}

.rust-home__bottom > * { pointer-events: auto; }

.rust-home__weekly {
  display: block;
  width: min(400px, 48vw);
  padding: 16px 18px 14px;
  background: rgba(18, 18, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: border-color 0.12s;
}

.rust-home__weekly:hover { border-color: rgba(255, 255, 255, 0.18); }

.rust-home__weekly-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--rust-text);
  margin-bottom: 14px;
}

.rust-home__weekly-slider {
  overflow: hidden;
  margin-bottom: 12px;
}

.rust-home__weekly-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.rust-home__weekly-page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  min-height: 118px;
}

.rust-home__weekly-case {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-height: 118px;
  padding: 8px 6px 6px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rust-home__weekly-case img {
  width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.rust-home__weekly-case-name {
  width: 100%;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-home__weekly-case-price {
  font-size: 10px;
  font-weight: 800;
  color: var(--rust-yellow);
}

.rust-home__weekly-bar {
  position: relative;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.rust-home__weekly-bar span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--rust-orange);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.rust-home__news {
  width: min(520px, 54vw);
  padding: 20px 22px;
  background: rgba(18, 18, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-home__news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--rust-muted);
}

.rust-home__news-tag {
  padding: 2px 8px;
  color: #fff;
  background: var(--rust-green);
  border: 1px solid #5a6238;
  font-size: 10px;
}

.rust-home__news-title {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  letter-spacing: 0.02em;
}

.rust-home__news-text {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(232, 232, 232, 0.72);
  text-transform: none;
}

.rust-home__news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rust-home__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  color: var(--rust-text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  text-decoration: none;
}

.rust-home__btn svg { width: 12px; height: 12px; }

.rust-home__btn--accent {
  color: #fff;
  background: var(--rust-orange);
  border-color: var(--rust-orange-dark);
}

.rust-home__btn--accent:hover { filter: brightness(1.08); }

@media (max-width: 900px) {
  .rust-menu__body--home {
    overflow-y: auto;
  }

  .rust-home__connect {
    position: static;
    width: 100%;
    margin-bottom: 16px;
  }

  .rust-home {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 16px;
  }

  .rust-home__bottom {
    position: static;
    flex-direction: column;
    align-items: stretch;
    margin-top: auto;
    padding-bottom: calc(var(--rust-mobnav) + 12px);
  }

  .rust-home__weekly,
  .rust-home__news {
    width: 100%;
    max-width: none;
  }
}

.rust-store-page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2px;
  box-sizing: border-box;
}

.rust-store-page__grid {
  display: grid;
  grid-template-columns: 1.05fr 2fr 0.85fr;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 300px;
}

@media (max-width: 1100px) {
  .rust-store-page__grid { grid-template-columns: 1fr 1fr; }
  .rust-store-page__side { grid-column: 1 / -1; flex-direction: row !important; }
}

@media (max-width: 700px) {
  .rust-store-page__grid { grid-template-columns: 1fr; min-height: auto; }
}

.rust-store-page__hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 16px;
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  overflow: hidden;
}

.rust-store-page__hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  opacity: 0.95;
}

.rust-store-page__hero-info {
  position: relative;
  z-index: 1;
  padding-top: 40%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.rust-store-page__hero-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.rust-store-page__hero-price {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--rust-yellow);
}

.rust-store-page__owned {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--rust-green-bright);
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--rust-green-dark);
}

.rust-store-page__weekly {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: rgba(14, 14, 16, 0.55);
}

.rust-store-page__weekly-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rust-yellow);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(0, 0, 0, 0.35);
}

.rust-store-page__refresh {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--rust-muted);
}

.rust-store-page__refresh svg { width: 12px; height: 12px; }

.rust-store-page__weekly-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1px;
  background: var(--rust-border);
  padding: 1px;
}

@media (max-width: 700px) {
  .rust-store-page__weekly-grid { grid-template-columns: repeat(2, 1fr); }
}

.rust-store-page__weekly-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  color: var(--rust-yellow);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  border-top: 1px solid rgba(201, 162, 39, 0.35);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.rust-store-page__weekly-foot:hover {
  background: rgba(201, 162, 39, 0.18);
  color: #fff;
}

.rust-store-page__weekly-foot svg { width: 12px; height: 12px; }

.rust-store-page__side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rust-store-page__side-card {
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-height: 88px;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 16, 0.55) center / cover no-repeat;
}

.rust-store-page__side-card--1 { border-color: rgba(122, 132, 80, 0.55); background-image: linear-gradient(135deg, rgba(122, 132, 80, 0.25), transparent); }
.rust-store-page__side-card--2 { border-color: rgba(196, 66, 48, 0.55); background-image: linear-gradient(135deg, rgba(196, 66, 48, 0.2), transparent); }
.rust-store-page__side-card--3 { border-color: rgba(201, 162, 39, 0.45); background-image: linear-gradient(135deg, rgba(201, 162, 39, 0.15), transparent); }

.rust-store-page__section { margin-bottom: 20px; }

.rust-store-page__section-title {
  margin: 0 0 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(14, 14, 16, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-store-page .rust-case-card {
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-store-page__all-grid,
.rust-store-page__weekly-grid {
  display: grid;
  gap: 4px;
}

.rust-store-page__all-grid {
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 1200px) { .rust-store-page__all-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .rust-store-page__all-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .rust-store-page__all-grid { grid-template-columns: repeat(2, 1fr); } }

.rust-store-page__item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 132px;
  padding: 8px;
  background: rgba(28, 28, 28, 0.9);
  border: 1px solid var(--rust-border);
  text-decoration: none;
  transition: border-color 0.12s, background 0.12s;
}

.rust-store-page__weekly-grid .rust-store-page__item {
  min-height: 0;
  background: rgba(22, 22, 22, 0.95);
}

.rust-store-page__item:hover {
  border-color: #555;
  background: rgba(38, 38, 38, 0.95);
}

.rust-store-page__item-price {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--rust-border);
  z-index: 1;
}

.rust-store-page__item-price svg { width: 10px; height: 10px; }

.rust-store-page__item-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 6px 4px;
}

.rust-store-page__item-img img {
  max-width: 100%;
  max-height: 68px;
  object-fit: contain;
}

.rust-store-page__item-name {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-store-page__item-type {
  font-size: 9px;
  font-weight: 600;
  color: var(--rust-muted);
  margin-top: 2px;
}

.rust-store-page__loading {
  padding: 40px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--rust-muted);
}

.rust-play-hub {
  width: 100%;
  max-width: var(--rust-shell-max);
  margin: 0 auto;
  padding: 0 2px;
  box-sizing: border-box;
  min-width: 0;
}

.rust-play-hub,
.rust-play-hub * {
  border-radius: 0 !important;
}

.rust-play-hub__grid {
  display: grid;
  grid-template-columns: 1.05fr 2fr 0.85fr;
  gap: 8px;
  min-height: 340px;
}

@media (max-width: 1100px) {
  .rust-play-hub__grid {
    grid-template-columns: 1fr 1fr;
  }

  .rust-play-hub__stack {
    grid-column: 1 / -1;
    flex-direction: row !important;
  }
}

@media (max-width: 700px) {
  .rust-play-hub__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .rust-play-hub__stack {
    flex-direction: column !important;
  }
}

.rust-play-hub__featured {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 16px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  border: 1px solid rgba(205, 65, 43, 0.45);
  background:
    linear-gradient(180deg, rgba(14, 14, 16, 0.35) 0%, rgba(40, 16, 12, 0.72) 100%);
  transition: border-color 0.15s, filter 0.15s;
}

.rust-play-hub__featured:hover {
  border-color: rgba(224, 74, 51, 0.75);
  filter: brightness(1.06);
}

.rust-play-hub__featured-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 72px;
  pointer-events: none;
}

.rust-play-hub__featured-visual img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.65));
}

.rust-play-hub__featured-foot {
  position: relative;
  z-index: 1;
  padding-top: 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, transparent 100%);
}

.rust-play-hub__featured-title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rust-play-hub__featured-desc {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.03em;
}

.rust-play-hub__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rust-play-hub__tag--new {
  color: #1a1208;
  background: var(--rust-yellow);
}

.rust-play-hub__price {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rust-play-hub__panel {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(176, 128, 48, 0.55);
  background: rgba(14, 14, 16, 0.55);
}

.rust-play-hub__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1208;
  background: linear-gradient(180deg, rgba(206, 147, 62, 0.95) 0%, rgba(176, 128, 48, 0.92) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.rust-play-hub__panel-timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(26, 18, 8, 0.72);
}

.rust-play-hub__panel-timer svg {
  width: 12px;
  height: 12px;
}

.rust-play-hub__panel-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: rgba(176, 128, 48, 0.35);
}

@media (max-width: 900px) {
  .rust-play-hub__panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
}

.rust-play-hub__mode {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 118px;
  padding: 10px;
  text-decoration: none;
  color: #fff;
  background: rgba(10, 10, 12, 0.82);
  border: 1px solid rgba(176, 128, 48, 0.28);
  overflow: hidden;
  transition: border-color 0.15s, filter 0.15s;
}

.rust-play-hub__mode:hover {
  filter: brightness(1.08);
  border-color: rgba(206, 147, 62, 0.65);
}

.rust-play-hub__mode-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  margin: -28px 0 0 -21px;
  opacity: 0.22;
}

.rust-play-hub__mode-icon svg {
  width: 100%;
  height: 100%;
}

.rust-play-hub__mode-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  padding: 2px 6px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(196, 66, 48, 0.85);
}

.rust-play-hub__mode-foot {
  position: relative;
  z-index: 1;
}

.rust-play-hub__mode-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rust-play-hub__mode-desc {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.48);
}

.rust-play-hub__mode--purple { background: linear-gradient(160deg, rgba(136, 71, 255, 0.22) 0%, rgba(10, 10, 12, 0.9) 55%); }
.rust-play-hub__mode--purple .rust-play-hub__mode-icon { color: #8847ff; }
.rust-play-hub__mode--gold { background: linear-gradient(160deg, rgba(201, 162, 39, 0.22) 0%, rgba(10, 10, 12, 0.9) 55%); }
.rust-play-hub__mode--gold .rust-play-hub__mode-icon { color: #c9a227; }
.rust-play-hub__mode--orange { background: linear-gradient(160deg, rgba(232, 93, 44, 0.22) 0%, rgba(10, 10, 12, 0.9) 55%); }
.rust-play-hub__mode--orange .rust-play-hub__mode-icon { color: #e85d2c; }
.rust-play-hub__mode--green { background: linear-gradient(160deg, rgba(122, 132, 80, 0.28) 0%, rgba(10, 10, 12, 0.9) 55%); }
.rust-play-hub__mode--green .rust-play-hub__mode-icon { color: #9aa86a; }
.rust-play-hub__mode--red { background: linear-gradient(160deg, rgba(196, 66, 48, 0.24) 0%, rgba(10, 10, 12, 0.9) 55%); }
.rust-play-hub__mode--red .rust-play-hub__mode-icon { color: #c44230; }
.rust-play-hub__mode--rust { background: linear-gradient(160deg, rgba(184, 92, 56, 0.24) 0%, rgba(10, 10, 12, 0.9) 55%); }
.rust-play-hub__mode--rust .rust-play-hub__mode-icon { color: #d4845f; }

.rust-play-hub__panel-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1208;
  background: linear-gradient(180deg, rgba(206, 147, 62, 0.95) 0%, rgba(176, 128, 48, 0.92) 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  transition: filter 0.15s;
}

.rust-play-hub__panel-foot:hover {
  filter: brightness(1.06);
  color: #1a1208;
}

.rust-play-hub__panel-foot svg {
  width: 12px;
  height: 12px;
}

.rust-play-hub__stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rust-play-hub__stack-card {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-height: 108px;
  padding: 14px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 16, 0.55) center / cover no-repeat;
  overflow: hidden;
  transition: border-color 0.15s, filter 0.15s;
}

.rust-play-hub__stack-card:hover {
  filter: brightness(1.08);
}

.rust-play-hub__stack-card--green {
  border-color: rgba(122, 132, 80, 0.55);
  background-image: linear-gradient(135deg, rgba(122, 132, 80, 0.32) 0%, rgba(10, 10, 12, 0.88) 58%);
}

.rust-play-hub__stack-card--red {
  border-color: rgba(196, 66, 48, 0.55);
  background-image: linear-gradient(135deg, rgba(196, 66, 48, 0.28) 0%, rgba(10, 10, 12, 0.88) 58%);
}

.rust-play-hub__stack-card--gold {
  border-color: rgba(201, 162, 39, 0.45);
  background-image: linear-gradient(135deg, rgba(201, 162, 39, 0.22) 0%, rgba(10, 10, 12, 0.88) 58%);
}

.rust-play-hub__stack-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 7px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(122, 132, 80, 0.9);
}

.rust-play-hub__stack-body {
  position: relative;
  z-index: 1;
}

.rust-play-hub__stack-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rust-play-hub__stack-desc {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.rust-play-hub__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 340px;
}

.rust-play-hub__loading span {
  width: 8px;
  height: 8px;
  background: var(--rust-orange);
  animation: rust-play-hub-pulse 0.9s ease-in-out infinite;
}

.rust-play-hub__loading span:nth-child(2) { animation-delay: 0.15s; }
.rust-play-hub__loading span:nth-child(3) { animation-delay: 0.3s; }

@keyframes rust-play-hub-pulse {
  0%, 80%, 100% { opacity: 0.25; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

.theme-dark .rust-play-hub a,
.theme-dark .rust-play-hub a:hover,
.theme-dark .rust-play-hub a:visited,
.theme-dark .rust-play-hub a:active {
  text-decoration: none;
}

.rust-cases-page {
  width: 100%;
  max-width: var(--rust-shell-max);
  margin: 0 auto;
  padding: 12px 20px 24px;
  box-sizing: border-box;
  min-width: 0;
  overflow-x: hidden;
}

.rust-cases-page__heroes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 20px;
}

@media (max-width: 1200px) {
  .rust-cases-page__heroes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .rust-cases-page__heroes { grid-template-columns: minmax(0, 1fr); }
}

.rust-cases-page__hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 200px;
  max-height: 208px;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(18, 18, 20, 0.96) 0%, rgba(52, 18, 14, 0.88) 52%, rgba(100, 32, 26, 0.78) 100%);
  border: 1px solid rgba(205, 65, 43, 0.38);
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: border-color 0.15s, filter 0.15s;
}

.rust-cases-page__hero:hover {
  border-color: rgba(224, 74, 51, 0.72);
  filter: brightness(1.06);
}

.rust-cases-page__hero-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--rust-orange);
  border-bottom: 1px solid var(--rust-orange-dark);
  border-right: 1px solid var(--rust-orange-dark);
  letter-spacing: 0.04em;
}

.rust-cases-page__hero-price {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100% - 12px);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.rust-cases-page__hero-price svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.85;
}

.rust-cases-page__hero-img {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 26px 10px 6px;
  background: radial-gradient(ellipse 65% 55% at 50% 42%, rgba(205, 65, 43, 0.28) 0%, transparent 72%);
}

.rust-cases-page__hero-img img {
  max-width: 82%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.rust-cases-page__hero-foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
  padding: 8px 10px 10px;
  background: rgba(0, 0, 0, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 0;
}

.rust-cases-page__hero-tag {
  font-size: 8px;
  font-weight: 700;
  color: var(--rust-yellow);
  letter-spacing: 0.08em;
}

.rust-cases-page__hero-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-cases-page__hero-type {
  font-size: 10px;
  font-weight: 500;
  color: var(--rust-muted);
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-cases-page__block {
  margin-bottom: 22px;
  scroll-margin-top: 8px;
  min-width: 0;
}

.rust-cases-page__block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding: 0;
  min-width: 0;
}

.rust-cases-page__block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 0;
  flex: 1;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  overflow: hidden;
}

.rust-cases-page__block-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.rust-cases-page__block-title svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.55);
}

.rust-cases-page__block-timer {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  color: #1a1a1a;
  background: var(--rust-yellow);
  border: 1px solid #a88420;
  white-space: nowrap;
  flex-shrink: 0;
}

.rust-cases-page__block-timer svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.rust-cases-page__block-meta {
  font-size: 10px;
  font-weight: 600;
  color: var(--rust-muted);
  text-transform: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.rust-cases-page__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

@media (max-width: 1300px) {
  .rust-cases-page__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .rust-cases-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .rust-cases-page__grid { grid-template-columns: minmax(0, 1fr); }
}

.rust-case-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 196px;
  max-height: 208px;
  background: rgba(20, 20, 22, 0.96);
  border: 1px solid rgba(205, 65, 43, 0.32);
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.rust-case-tile:hover {
  border-color: rgba(224, 74, 51, 0.65);
  box-shadow: 0 0 24px rgba(205, 65, 43, 0.12);
}

.rust-case-tile--free {
  border-color: rgba(122, 132, 80, 0.45);
}

.rust-case-tile--free:hover {
  border-color: rgba(143, 153, 88, 0.7);
  box-shadow: 0 0 20px rgba(122, 132, 80, 0.1);
}

.rust-case-tile--hot {
  border-color: rgba(205, 65, 43, 0.48);
}

.rust-case-tile__badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  max-width: 55%;
  padding: 3px 7px;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  background: var(--rust-orange);
  border-bottom: 1px solid var(--rust-orange-dark);
  border-right: 1px solid var(--rust-orange-dark);
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-case-tile--free .rust-case-tile__badge {
  background: var(--rust-green-dark);
  border-color: #5a6238;
}

.rust-case-tile__price {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3px;
  max-width: calc(100% - 12px);
  padding: 3px 6px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rust-case-tile__price svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  opacity: 0.8;
}

.rust-case-tile--free .rust-case-tile__price {
  color: var(--rust-green-bright);
}

.rust-case-tile__img {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 22px 8px 4px;
  background: radial-gradient(ellipse 70% 58% at 50% 44%, rgba(205, 65, 43, 0.22) 0%, transparent 72%);
}

.rust-case-tile--free .rust-case-tile__img {
  background: radial-gradient(ellipse 70% 58% at 50% 44%, rgba(122, 132, 80, 0.18) 0%, transparent 72%);
}

.rust-case-tile__img img {
  display: block;
  max-width: 86%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.rust-case-tile__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
  min-width: 0;
  padding: 8px 10px 10px;
  background: rgba(0, 0, 0, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rust-case-tile__tag {
  font-size: 8px;
  font-weight: 700;
  color: var(--rust-yellow);
  letter-spacing: 0.08em;
}

.rust-case-tile__name {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
}

.rust-case-tile__type {
  font-size: 9px;
  font-weight: 500;
  color: var(--rust-muted);
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-dark .rust-cases-page a,
.theme-dark .rust-cases-page a:hover,
.theme-dark .rust-cases-page a:visited,
.theme-dark .rust-cases-page a:active {
  text-decoration: none;
  color: #fff;
}

.theme-dark .rust-cases-page .rust-case-tile__name,
.theme-dark .rust-cases-page .rust-case-tile__type,
.theme-dark .rust-cases-page .rust-case-tile__price {
  text-transform: none;
  color: #fff;
}

.theme-dark .rust-cases-page .rust-case-tile__type {
  color: var(--rust-muted);
}

.rust-cases-page__loading,
.rust-cases-page__empty {
  padding: 48px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--rust-muted);
}

.rust-store-page__all-grid {
  grid-template-columns: repeat(5, 1fr);
}

.rust-case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 168px;
  background: rgba(24, 24, 24, 0.96);
  border: 1px solid var(--rust-border);
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: border-color 0.15s;
}

.rust-case-card:hover {
  border-color: var(--rust-green);
}

.rust-case-card--free {
  border-color: rgba(122, 132, 80, 0.5);
}

.rust-case-card__price {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.82);
  border-right: 1px solid var(--rust-border);
  border-bottom: 1px solid var(--rust-border);
}

.rust-case-card--free .rust-case-card__price {
  color: var(--rust-green-bright);
}

.rust-case-card__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 20px 10px 8px;
  overflow: hidden;
}

.rust-case-card__visual img {
  max-width: 100%;
  max-height: 96px;
  object-fit: contain;
}

.rust-case-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rust-case-card__name {
  flex: 1;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-case-card__action {
  font-size: 9px;
  font-weight: 700;
  color: var(--rust-green-bright);
}

.rust-case-card--compact {
  min-height: 0;
}

.rust-case-card--compact .rust-case-card__visual {
  min-height: 72px;
  padding: 8px;
}

.rust-case-card--compact .rust-case-card__visual img {
  max-height: 64px;
}

.rust-store-page__weekly-grid {
  gap: 1px;
  background: var(--rust-border);
  padding: 1px;
}

.rust-store-page__weekly-grid .rust-case-card {
  min-height: 120px;
  border: none;
}

.rust-case-page {
  width: 100%;
  max-width: var(--rust-shell-max);
  margin: 0 auto;
  padding: 10px 20px 20px;
  box-sizing: border-box;
}

.rust-case-page__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding: 10px 12px;
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-case-page__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--rust-muted);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--rust-border);
  text-decoration: none;
  transition: color 0.12s, border-color 0.12s;
}

.rust-case-page__back svg {
  width: 14px;
  height: 14px;
}

.rust-case-page__back:hover {
  color: #fff;
  border-color: var(--rust-green);
}

.rust-case-page__head-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rust-case-page__head-visual {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--rust-border);
}

.rust-case-page__head-visual img {
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
}

.rust-case-page__head-text {
  min-width: 0;
}

.rust-case-page__head-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--rust-yellow);
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-case-page__head-price {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.rust-case-page__balance {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 36px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rust-yellow);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.rust-case-page__loading {
  padding: 40px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--rust-muted);
}

.rust-case-page,
.rust-case-page * {
  border-radius: 0 !important;
}

.rust-case-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rust-case-stage {
  padding: 14px;
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-case-page .openCaseMain__wrapper {
  width: 100%;
  margin: 0 !important;
  background: rgba(14, 14, 16, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  min-height: 320px;
  overflow: hidden;
}

.rust-case-page .openCaseMain__wrapper:before {
  display: none !important;
}

.rust-case-page .started__state {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rust-case-page .roulette__spin {
  position: relative;
  width: 100%;
  height: 100%;
}

.rust-case-page .roulette__spin::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--rust-orange);
  box-shadow: 0 0 14px rgba(205, 65, 43, 0.75);
  z-index: 8;
  pointer-events: none;
}

.rust-case-page .openCaseMain__wrapper.is-win .roulette__spin::before {
  display: none;
}

.rust-case-page .roulette__items .skinCard__backdrops,
.rust-case-page .roulette__items .skinIcon__backgrounds,
.rust-case-page .slot__drop .skinIcon__background,
.rust-case-page .slot__drop .rarity__icon {
  display: none !important;
}

.rust-case-page .roulette__spin .roulette__paper {
  background: rgba(0, 0, 0, 0.45) !important;
  border-radius: 0 !important;
  padding: 8px 0 !important;
  height: 100%;
}

.rust-case-page .roulette__spin .roulette__paper[aria-hidden="true"] {
  opacity: 0 !important;
  filter: none !important;
}

.rust-case-page .rouletteItem__wrapper {
  flex-shrink: 0;
  width: 220px !important;
  margin: 0 !important;
  padding: 0 5px;
  box-sizing: border-box;
  overflow: hidden;
}

.rust-case-page .roulette__items {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.rust-case-page .roulette__items .skin__container {
  height: 100%;
  min-height: 260px;
}

.rust-case-win-reveal {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(205, 65, 43, 0.16) 0%, rgba(0, 0, 0, 0.88) 68%);
}

.rust-case-win-reveal__card {
  width: min(300px, 78vw);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
  animation: rust-case-win-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.rust-case-win-reveal__card .rust-inv-card__media {
  aspect-ratio: 1 / 0.92;
}

.rust-case-win-reveal__card.rarity--0 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #545360; }
.rust-case-win-reveal__card.rarity--1 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #5e98d9; }
.rust-case-win-reveal__card.rarity--2 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #4b69ff; }
.rust-case-win-reveal__card.rarity--3 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #8847ff; }
.rust-case-win-reveal__card.rarity--4 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #d32ce6; }
.rust-case-win-reveal__card.rarity--5 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #eb4b4b; }
.rust-case-win-reveal__card.rarity--6 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #e4ae39; }

@keyframes rust-case-win-pop {
  0% {
    opacity: 0;
    transform: scale(0.78) translateY(24px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.rust-case-page .caseMain__wrapper {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  gap: 0 !important;
}

.rust-case-page .box__roulettes .rouletteRow__wrapper {
  height: 320px !important;
}

.rust-case-page .roulette__row {
  background: transparent !important;
  border-radius: 0 !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rust-case-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 320px;
  padding: 28px 32px;
  position: relative;
  box-sizing: border-box;
}

.rust-case-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 50% 55%, rgba(205, 65, 43, 0.14) 0%, transparent 72%);
  pointer-events: none;
}

.rust-case-preview__img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: min(420px, 72vw);
  max-height: min(260px, 42vh);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.72));
  user-select: none;
  pointer-events: none;
}

.rust-case-page .arrow__top svg path,
.rust-case-page .arrow__bottom svg path,
.rust-case-page .arrow__left svg path,
.rust-case-page .arrow__right svg path {
  fill: var(--rust-orange) !important;
  stroke: rgba(205, 65, 43, 0.65) !important;
}

.rust-case-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-case-alert {
  width: 100%;
  max-width: 480px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-align: center;
  color: #fff;
  background: rgba(196, 66, 48, 0.15);
  border: 1px solid rgba(196, 66, 48, 0.45);
}

.rust-case-count {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  max-width: 480px;
}

.rust-case-count__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 0 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.rust-case-count__btn:hover {
  border-color: rgba(205, 65, 43, 0.45);
  color: #fff;
}

.rust-case-count__btn.is-active {
  color: #fff;
  background: rgba(205, 65, 43, 0.22);
  border-color: rgba(205, 65, 43, 0.65);
  box-shadow: inset 0 0 0 1px rgba(205, 65, 43, 0.25);
}

.rust-case-actions__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  min-height: 44px;
  padding: 0 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: #fff;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, filter 0.15s;
}

.rust-case-actions__btn--open {
  background: var(--rust-green-dark);
  border-color: #5a6238;
}

.rust-case-actions__btn--open:hover {
  background: var(--rust-green);
}

.rust-case-actions__btn--auth {
  background: var(--rust-orange);
  border-color: #8b3024;
}

.rust-case-actions__btn--auth:hover {
  filter: brightness(1.08);
}

.rust-case-actions__loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
}

.rust-case-actions__loader span {
  width: 8px;
  height: 8px;
  background: var(--rust-orange);
  animation: rust-case-pulse 0.9s ease-in-out infinite;
}

.rust-case-actions__loader span:nth-child(2) { animation-delay: 0.15s; }
.rust-case-actions__loader span:nth-child(3) { animation-delay: 0.3s; }

@keyframes rust-case-pulse {
  0%, 80%, 100% { opacity: 0.35; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

.rust-case-win {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  max-width: 640px;
}

@media (max-width: 640px) {
  .rust-case-win { grid-template-columns: 1fr; }
}

.rust-case-win__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: #fff;
  background: rgba(28, 28, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.rust-case-win__btn:hover {
  border-color: rgba(205, 65, 43, 0.45);
}

.rust-case-win__btn--sell {
  background: var(--rust-green-dark);
  border-color: #5a6238;
}

.rust-case-win__btn--sell:hover {
  background: var(--rust-green);
}

.rust-case-free {
  padding: 14px 16px;
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(122, 132, 80, 0.35);
}

.rust-case-free__title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust-orange);
}

.rust-case-free__text {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
}

.rust-case-free__text strong {
  color: var(--rust-yellow);
  font-weight: 700;
}

.rust-case-page .skinCard,
.rust-case-page .skin__container {
  background: rgba(38, 38, 40, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.rust-case-page .skinCard__price {
  background: rgba(0, 0, 0, 0.78) !important;
  color: var(--rust-yellow) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

.rust-case-page .skinCard__footer .text {
  color: rgba(255, 255, 255, 0.42) !important;
  font-size: 9px !important;
}

.rust-case-page .skinCard__footer .name__bottom .text,
.rust-case-page .skinCard__footer .name__bottom span {
  color: #fff !important;
  font-size: 10px !important;
}

.rust-case-page .skin__container.rarity--0,
.rust-case-page .skin__container.rarity--1,
.rust-case-page .skin__container.rarity--2,
.rust-case-page .skin__container.rarity--3,
.rust-case-page .skin__container.rarity--4,
.rust-case-page .skin__container.rarity--5,
.rust-case-page .skin__container.rarity--6 {
  background: rgba(38, 38, 40, 0.96) !important;
}

.rust-case-page .skinCard__divider.rarity--0 { background: #545360 !important; }
.rust-case-page .skinCard__divider.rarity--1 { background: #5e98d9 !important; }
.rust-case-page .skinCard__divider.rarity--2 { background: #4b69ff !important; }
.rust-case-page .skinCard__divider.rarity--3 { background: #8847ff !important; }
.rust-case-page .skinCard__divider.rarity--4 { background: #d32ce6 !important; }
.rust-case-page .skinCard__divider.rarity--5 { background: #eb4b4b !important; }
.rust-case-page .skinCard__divider.rarity--6 { background: #e4ae39 !important; }

.rust-case-page .left__shadow,
.rust-case-page .right__shadow {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent) !important;
}

.rust-case-page .right__shadow {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.9), transparent) !important;
}

.rust-case-content {
  margin-top: 0;
  padding: 14px 16px 16px;
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-case-content__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust-yellow);
}

.rust-case-content__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

@media (max-width: 1400px) {
  .rust-case-content__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1200px) {
  .rust-case-content__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .rust-case-content__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .rust-case-content__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }
}

.rust-case-content .rust-inv-card {
  min-height: 0;
}

.rust-case-content .rust-inv-card.rarity--0 .rust-inv-card__meta {
  border-top-color: #545360;
  box-shadow: inset 0 2px 0 #545360;
}

.rust-case-content .rust-inv-card.rarity--1 .rust-inv-card__meta {
  border-top-color: #5e98d9;
  box-shadow: inset 0 2px 0 #5e98d9;
}

.rust-case-content .rust-inv-card.rarity--2 .rust-inv-card__meta {
  border-top-color: #4b69ff;
  box-shadow: inset 0 2px 0 #4b69ff;
}

.rust-case-content .rust-inv-card.rarity--3 .rust-inv-card__meta {
  border-top-color: #8847ff;
  box-shadow: inset 0 2px 0 #8847ff;
}

.rust-case-content .rust-inv-card.rarity--4 .rust-inv-card__meta {
  border-top-color: #d32ce6;
  box-shadow: inset 0 2px 0 #d32ce6;
}

.rust-case-content .rust-inv-card.rarity--5 .rust-inv-card__meta {
  border-top-color: #eb4b4b;
  box-shadow: inset 0 2px 0 #eb4b4b;
}

.rust-case-content .rust-inv-card.rarity--6 .rust-inv-card__meta {
  border-top-color: #e4ae39;
  box-shadow: inset 0 2px 0 #e4ae39;
}

.rust-page-enter-active,
.rust-page-leave-active {
  transition: opacity 0.14s ease;
}

.rust-page-enter,
.rust-page-leave-to {
  opacity: 0;
}

.rust-dashboard {
  width: 100%;
  max-width: var(--rust-shell-max);
  margin: 0 auto;
  padding: 10px 20px 20px;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}

.rust-dashboard,
.rust-dashboard * {
  border-radius: 0 !important;
}

.rust-dashboard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 0 2px;
}

.rust-dashboard__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.rust-dashboard__title svg {
  width: 26px;
  height: 26px;
  color: var(--rust-orange);
  flex-shrink: 0;
}

.rust-dashboard__user {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.rust-dashboard__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
}

@media (max-width: 960px) {
  .rust-dashboard__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.rust-dashboard__aside {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
}

.rust-dashboard__side-card {
  padding: 14px;
  background: rgba(18, 18, 20, 0.94);
  border: 1px solid rgba(205, 65, 43, 0.28);
}

.rust-dashboard__side-card--profile {
  background:
    linear-gradient(180deg, rgba(18, 18, 20, 0.98) 0%, rgba(40, 16, 12, 0.9) 100%);
  border-color: rgba(205, 65, 43, 0.38);
}

.rust-dashboard__profile-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.rust-dashboard__avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(205, 65, 43, 0.55);
}

.rust-dashboard__profile-meta {
  flex: 1;
  min-width: 0;
}

.rust-dashboard__name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  overflow: hidden;
}

.rust-dashboard__name > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-dashboard__steam {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--rust-muted);
  transition: color 0.15s;
}

.rust-dashboard__steam:hover {
  color: var(--rust-orange);
}

.rust-dashboard__balance {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--rust-orange);
  line-height: 1.1;
}

.rust-dashboard__profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 14px;
}

.rust-dashboard__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 8px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-dashboard__btn--primary {
  background: var(--rust-green-dark);
  border-color: #5a6238;
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}

.rust-dashboard__btn--primary:hover {
  background: var(--rust-green);
}

.rust-dashboard__btn--ghost {
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
}

.rust-dashboard__btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.rust-dashboard__btn--full {
  width: 100%;
  margin-top: 10px;
}

.rust-dashboard__btn--logout {
  grid-column: 1 / -1;
  margin-top: 0;
  color: rgba(255, 190, 180, 0.92);
  border-color: rgba(140, 45, 38, 0.5);
  background: rgba(140, 45, 38, 0.12);
}

.rust-dashboard__btn--logout:hover {
  color: #fff;
  border-color: rgba(180, 60, 50, 0.7);
  background: rgba(140, 45, 38, 0.28);
}

.rust-dashboard__level {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-dashboard__level-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rust-dashboard__level-badge {
  flex-shrink: 0;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--rust-orange);
  border: 1px solid #8b3024;
}

.rust-dashboard__xp {
  flex: 1;
  min-width: 0;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-dashboard__help {
  display: inline-block;
  margin-top: 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rust-muted);
  text-decoration: none;
}

.rust-dashboard__help:hover {
  color: var(--rust-orange);
}

.rust-dashboard__level-bar {
  height: 5px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rust-dashboard__level-fill {
  height: 100%;
  background: var(--rust-green);
  transition: width 0.3s;
}

.rust-dashboard__side-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rust-muted);
}

.rust-dashboard__side-text {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rust-dashboard__stat-value {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  margin-top: 10px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--rust-orange);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.rust-dashboard__drop-preview {
  margin-top: 10px;
  padding: 8px;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(205, 65, 43, 0.28);
}

.rust-dashboard__drop-preview img {
  display: block;
  max-width: 100%;
  max-height: 72px;
  margin: 0 auto;
  object-fit: contain;
}

.rust-dashboard__drop-name {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .rust-dashboard__aside {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}


.rust-dashboard__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.rust-dashboard__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 400px;
  background: rgba(18, 18, 20, 0.94);
  border: 1px solid rgba(205, 65, 43, 0.28);
  overflow: hidden;
}

.rust-dashboard__subnav {
  flex-shrink: 0;
  height: var(--rust-subnav);
  min-height: var(--rust-subnav);
  max-height: var(--rust-subnav);
  background: rgba(0, 0, 0, 0.28);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  overflow: hidden;
}

.rust-dashboard__tabs {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.rust-dashboard__tabs-list {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.rust-dashboard__tabs-list li {
  display: flex;
  min-width: 0;
  flex: 0 1 auto;
}

.rust-dashboard__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--rust-subnav);
  min-height: var(--rust-subnav);
  max-height: var(--rust-subnav);
  padding: 0 18px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
  overflow: hidden;
  max-width: 100%;
}

.rust-dashboard__tab .button__content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.rust-dashboard__tab .button__content span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.rust-dashboard__tab svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.62;
}

.rust-dashboard__tab:hover {
  color: rgba(255, 255, 255, 0.85);
}

.rust-dashboard__tab:hover svg {
  opacity: 0.85;
}

.rust-dashboard__tab.is-active {
  color: #fff;
  background: var(--rust-green-dark);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}

.rust-dashboard__tab.is-active svg {
  opacity: 1;
}

.rust-dashboard__subnav-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  flex-shrink: 0;
  height: var(--rust-subnav);
  padding: 0 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.rust-dashboard__stock-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 100%;
}

.rust-dashboard__stock-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.rust-dashboard__switch {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 18px;
  padding: 0;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--rust-border);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.rust-dashboard__switch.is-on {
  background: rgba(106, 115, 68, 0.35);
  border-color: var(--rust-green);
}

.rust-dashboard__switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.rust-dashboard__switch.is-on .rust-dashboard__switch-knob {
  transform: translateX(18px);
  background: var(--rust-green-bright);
}

.rust-dashboard__inv-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rust-yellow);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-dashboard__inv-value svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--rust-yellow);
}

.rust-dashboard__action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--rust-green-dark);
  border: 1px solid #5a6238;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.rust-dashboard__action-btn:hover {
  background: var(--rust-green);
  border-color: #6a7344;
}

.rust-dashboard__panel {
  flex: 1;
  min-height: 0;
  padding: 10px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: auto;
}

.rust-dashboard .inventory__container .inventory__list {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

@media (max-width: 1600px) {
  .rust-dashboard .inventory__container .inventory__list {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1400px) {
  .rust-dashboard .inventory__container .inventory__list {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1100px) {
  .rust-dashboard .inventory__container .inventory__list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .rust-dashboard .inventory__container .inventory__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .rust-dashboard .inventory__container .inventory__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }
}

.rust-dashboard .inventory__container .inventory__list .list__item {
  aspect-ratio: auto !important;
  min-height: 0;
}

.rust-inv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(38, 38, 40, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: background 0.12s, border-color 0.12s;
}

.rust-inv-card:hover {
  background: rgba(46, 46, 48, 0.98);
  border-color: rgba(255, 255, 255, 0.14);
}

.rust-inv-card--dimmed {
  opacity: 0.72;
}

.rust-inv-card--dimmed:hover {
  opacity: 0.85;
}

.rust-inv-card__media {
  position: relative;
  flex: 1 1 auto;
  aspect-ratio: 1 / 1;
  min-height: 0;
  background: rgba(16, 16, 18, 0.95);
  overflow: hidden;
}

.rust-inv-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  pointer-events: none;
  user-select: none;
}

.rust-inv-card__price {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--rust-yellow);
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.rust-inv-card__tag {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  padding: 2px 6px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.rust-inv-card__actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  gap: 4px;
  padding: 6px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 70%, transparent 100%);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.rust-inv-card:hover .rust-inv-card__actions {
  opacity: 1;
}

@media (hover: none) {
  .rust-inv-card__actions {
    opacity: 1;
  }
}

.rust-inv-card__act {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(32, 32, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.rust-inv-card__act svg {
  width: 14px;
  height: 14px;
}

.rust-inv-card__act:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(48, 48, 50, 0.98);
}

.rust-inv-card__act--withdraw {
  color: #fff;
  background: var(--rust-orange);
  border-color: #8b3024;
}

.rust-inv-card__act--withdraw:hover {
  filter: brightness(1.08);
}

.rust-inv-card__act--sell {
  color: #fff;
  background: var(--rust-green-dark);
  border-color: #5a6238;
}

.rust-inv-card__act--sell:hover {
  background: var(--rust-green);
}

[data-rust-tip] {
  position: relative;
}

[data-rust-tip]::after {
  content: attr(data-rust-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  background: rgba(12, 12, 14, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease, visibility 0.12s ease;
  z-index: 20;
}

[data-rust-tip]:hover::after,
[data-rust-tip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.rust-inv-card__actions {
  overflow: visible;
}

.rust-inv-card__meta {
  flex-shrink: 0;
  padding: 8px 10px 10px;
  background: rgba(28, 28, 30, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 48px;
}

.rust-inv-card__type {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-inv-card__name {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-inv-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.82);
}

.rust-inv-card__overlay--trade {
  background: rgba(0, 0, 0, 0.88);
}

.rust-inv-card__trade-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--rust-green-dark);
  border: 1px solid #5a6238;
}

.rust-inv-card__trade-btn:hover {
  background: var(--rust-green);
}

.rust-inv-card__loader {
  display: flex;
  gap: 4px;
}

.rust-inv-card__loader span {
  width: 6px;
  height: 6px;
  background: var(--rust-orange);
  animation: rustInvPulse 0.9s ease-in-out infinite;
}

.rust-inv-card__loader span:nth-child(2) {
  animation-delay: 0.15s;
}

.rust-inv-card__loader span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes rustInvPulse {
  0%, 80%, 100% { opacity: 0.35; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

.rust-dashboard .empty__alert {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
  margin: 0;
}

.rust-dashboard .empty__alert-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.rust-dashboard .upgrades__container .upgrades__list,
.rust-dashboard .contracts__container .contracts__list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

@media (max-width: 900px) {
  .rust-dashboard .upgrades__container .upgrades__list,
  .rust-dashboard .contracts__container .contracts__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .rust-dashboard .upgrades__container .upgrades__list,
  .rust-dashboard .contracts__container .contracts__list {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

.rust-dashboard .upgrade__item,
.rust-dashboard .contracts__container .list__item > div {
  background: rgba(20, 20, 22, 0.92) !important;
  border: 1px solid rgba(205, 65, 43, 0.28) !important;
  border-radius: 0 !important;
}

.rust-dashboard .show_more__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.rust-dashboard .show_more__wrapper .controls {
  border-radius: 0 !important;
  background: rgba(28, 28, 28, 0.9) !important;
  border: 1px solid var(--rust-border) !important;
  color: #fff !important;
}

.rust-dashboard .show_more__wrapper .controls:disabled {
  opacity: 0.35;
}

@media (max-width: 768px) {
  .rust-dashboard {
    padding: 10px 12px 24px;
  }

  .rust-dashboard__title {
    font-size: 18px;
  }

  .rust-dashboard__profile-actions {
    grid-template-columns: 1fr;
  }

  .rust-dashboard__tabs {
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    min-height: 0;
  }

  .rust-dashboard__tabs-list {
    flex-direction: column;
  }

  .rust-dashboard__tab {
    min-height: 40px;
    width: 100%;
  }

  .rust-dashboard__subnav-actions {
    justify-content: space-between;
    width: 100%;
  }
}

.rust-app {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.rust-app__bg {
  position: fixed;
  inset: 0;
  background: url(/assets/rust-menu-bg.png) center / cover no-repeat;
  z-index: 0;
}

.rust-app__overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.82) 40%, rgba(10, 10, 10, 0.92) 100%);
  z-index: 1;
}

.rust-app__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.rust-main {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 12px 12px;
}

@media (max-width: 1023px) {
  .rust-main { padding-bottom: calc(var(--rust-mobnav) + 12px); }
}

.rust-hud {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 22, 22, 0.95);
  border-bottom: 1px solid var(--rust-border);
}

.rust-hud__top {
  display: none;
  align-items: stretch;
  height: var(--rust-hud);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 8px;
}

@media (min-width: 1024px) {
  .rust-hud__top { display: flex; }
}

.rust-hud__logo {
  width: 40px;
  height: 40px;
  margin: 4px 12px 4px 0;
  flex-shrink: 0;
  background: var(--rust-orange) url(/assets/icons/logo-mobile-footer.svg) center / 22px no-repeat;
  border: 1px solid #a03528;
}

.rust-hud__nav {
  display: flex;
  align-items: stretch;
  flex: 1;
  justify-content: center;
  gap: 0;
}

.rust-hud__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 88px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--rust-muted);
  text-decoration: none;
  border: none;
  background: transparent;
  border-top: 2px solid transparent;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.rust-hud__tab:hover {
  color: var(--rust-text);
  background: rgba(255, 255, 255, 0.04);
}

.rust-hud__tab.router-link-exact-active {
  color: var(--rust-text);
  background: var(--rust-green-dark);
  border-top-color: var(--rust-green-bright);
}

.rust-hud__icon {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.rust-hud__tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.rust-hud__tool {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--rust-border);
  color: var(--rust-muted);
  cursor: pointer;
}

.rust-hud__tool:hover { color: var(--rust-text); }

.rust-hud__tool svg { width: 14px; height: 14px; }

.rust-hud__avatar {
  width: 32px;
  height: 32px;
  border: 1px solid var(--rust-border);
  overflow: hidden;
}

.rust-hud__avatar img { width: 100%; height: 100%; object-fit: cover; }

.rust-hud__notify-wrap { position: relative; }

.rust-hud__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: 280px;
  max-height: 300px;
  overflow-y: auto;
  background: var(--rust-panel-solid);
  border: 1px solid var(--rust-border);
  z-index: 200;
}

.rust-hud__dropdown-item {
  padding: 10px 12px;
  border-bottom: 1px solid var(--rust-border);
  text-transform: none;
  font-size: 13px;
}

.rust-hud__dropdown-item strong {
  display: block;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 4px;
}

.rust-hud__dropdown-item p {
  margin: 0;
  color: var(--rust-muted);
  font-size: 12px;
}

.rust-hud__mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--rust-hud);
  padding: 0 12px;
}

@media (min-width: 1024px) {
  .rust-hud__mobile { display: none; }
}

.rust-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  height: 32px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.12s;
}

.rust-btn svg { width: 14px; height: 14px; }

.rust-btn--green {
  background: var(--rust-green);
  color: #fff;
  border-color: #5a6238;
}

.rust-btn--green:hover { filter: brightness(1.1); }

.rust-btn--cart { min-width: 90px; }

.rust-btn--sm { height: 28px; padding: 0 10px; font-size: 11px; }

.rust-btn--social {
  background: rgba(255, 255, 255, 0.06);
  color: var(--rust-muted);
  border-color: var(--rust-border);
  height: 28px;
  padding: 0 10px;
  font-size: 11px;
}

.rust-btn--social-active {
  background: var(--rust-green);
  color: #fff;
  border-color: #5a6238;
}

.rust-live {
  display: flex;
  align-items: stretch;
  height: var(--rust-live);
  background: rgba(18, 18, 18, 0.88);
  border-bottom: 1px solid var(--rust-border);
}

.rust-live__tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  border-right: 1px solid var(--rust-border);
  flex-shrink: 0;
}

.rust-live__label {
  font-size: 10px;
  font-weight: 700;
  color: var(--rust-muted);
  margin-right: 4px;
}

.rust-live__tab {
  padding: 4px 8px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  color: var(--rust-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}

.rust-live__tab.is-active {
  color: var(--rust-text);
  background: var(--rust-green-dark);
  border-color: #5a6238;
}

.rust-live__track {
  flex: 1;
  overflow: hidden;
}

.rust-live__track .drops__container {
  display: flex;
  gap: 3px;
  height: 100%;
  padding: 4px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.rust-live__track .drops__container::-webkit-scrollbar { display: none; }

.rust-live__track .liveDrop__wrapper { flex-shrink: 0; width: 64px; }

.rust-live__track .drops__card {
  height: 100%;
  background: var(--rust-panel-solid) !important;
  border: 1px solid var(--rust-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.rust-live__track .drops__card:before { display: none !important; }

.rust-live__track .name-h1 {
  font-size: 8px !important;
  text-transform: uppercase;
}

.rust-store { padding-top: 8px; }

.rust-store__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.rust-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.rust-filter {
  padding: 8px 16px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--rust-muted);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--rust-border);
  border-right: none;
  cursor: pointer;
}

.rust-filter:last-child { border-right: 1px solid var(--rust-border); }

.rust-filter:hover { color: var(--rust-text); }

.rust-filter.is-active {
  color: #fff;
  background: var(--rust-green);
  border-color: #5a6238;
}

.rust-store__toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rust-promo-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  height: 32px;
  font-size: 11px;
  font-weight: 600;
  color: var(--rust-yellow);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(201, 162, 39, 0.4);
}

.rust-promo-tag button {
  padding: 2px 8px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--rust-green);
  border: none;
  cursor: pointer;
}

.rust-store__featured {
  display: grid;
  grid-template-columns: 1.1fr 2fr 0.9fr;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 280px;
}

@media (max-width: 1100px) {
  .rust-store__featured { grid-template-columns: 1fr 1fr; }
  .rust-store__side { grid-column: 1 / -1; flex-direction: row; }
}

@media (max-width: 700px) {
  .rust-store__featured { grid-template-columns: 1fr; min-height: auto; }
}

.rust-banner {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--rust-border);
  background: var(--rust-panel-solid);
  text-decoration: none;
  min-height: 280px;
}

.rust-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  position: absolute;
  inset: 0;
}

.rust-banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
}

.rust-banner__label {
  font-size: 10px;
  font-weight: 700;
  color: var(--rust-green-bright);
  margin-bottom: 4px;
}

.rust-banner__title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.rust-banner__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--rust-yellow);
  margin-top: 6px;
}

.rust-weekly {
  border: 2px solid var(--rust-yellow);
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}

.rust-weekly__head {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rust-yellow);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(0, 0, 0, 0.3);
}

.rust-weekly__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1px;
  background: var(--rust-border);
  padding: 1px;
}

@media (max-width: 700px) {
  .rust-weekly__grid { grid-template-columns: repeat(2, 1fr); }
}

.rust-store__side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rust-side-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  min-height: 84px;
  text-decoration: none;
  border: 1px solid var(--rust-border);
  background: rgba(0, 0, 0, 0.5) linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent);
}

.rust-side-card--wheel { border-color: rgba(122, 132, 80, 0.5); }

.rust-side-card--free { border-color: rgba(196, 66, 48, 0.5); }

.rust-side-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.rust-side-card__desc {
  font-size: 11px;
  color: var(--rust-muted);
  margin-top: 2px;
  text-transform: none;
}

.rust-store__section { margin-bottom: 20px; }

.rust-store__heading {
  margin: 0 0 8px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--rust-text);
  border-bottom: 1px solid var(--rust-border);
}

.rust-store__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

@media (max-width: 1200px) { .rust-store__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .rust-store__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .rust-store__grid { grid-template-columns: repeat(2, 1fr); } }

.rust-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 140px;
  padding: 8px;
  background: rgba(28, 28, 28, 0.88);
  border: 1px solid var(--rust-border);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
}

.rust-item:hover {
  border-color: #555;
  background: rgba(38, 38, 38, 0.95);
}

.rust-item__price {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--rust-border);
  z-index: 1;
}

.rust-item__price--free {
  color: var(--rust-green-bright);
  border-color: var(--rust-green-dark);
}

.rust-item__img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 8px 4px;
}

.rust-item__img img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.rust-item__name {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-item__type {
  font-size: 9px;
  font-weight: 600;
  color: var(--rust-muted);
  margin-top: 2px;
}

.rust-item--skel {
  min-height: 140px;
  background: rgba(28, 28, 28, 0.6);
  animation: rustPulse 1.2s ease infinite;
}

@keyframes rustPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.rust-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--rust-bar);
  padding: 0 12px;
  margin-top: auto;
  background: rgba(14, 14, 14, 0.95);
  border-top: 1px solid var(--rust-border);
}

@media (min-width: 1024px) {
  .rust-bar { display: flex; }
}

.rust-bar__left,
.rust-bar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rust-bar__stat {
  font-size: 10px;
  font-weight: 600;
  color: var(--rust-muted);
}

.rust-bar__stat em {
  font-style: normal;
  color: var(--rust-green-bright);
  margin-right: 4px;
}

.rust-bar__links {
  display: flex;
  gap: 16px;
}

.rust-bar__links a {
  font-size: 10px;
  font-weight: 600;
  color: var(--rust-muted);
  text-decoration: none;
}

.rust-bar__links a:hover { color: var(--rust-text); }

.rust-bar__profile {
  width: 28px;
  height: 28px;
  border: 1px solid var(--rust-border);
  overflow: hidden;
}

.rust-bar__profile img { width: 100%; height: 100%; object-fit: cover; }

.rust-mobnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  height: var(--rust-mobnav);
  background: rgba(14, 14, 14, 0.98);
  border-top: 1px solid var(--rust-border);
}

@media (min-width: 1024px) {
  .rust-mobnav { display: none; }
}

.rust-mobnav__item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  color: var(--rust-muted);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.rust-mobnav__item.router-link-exact-active {
  color: var(--rust-text);
  background: var(--rust-green-dark);
}

.theme-dark .layout__header,
.theme-dark .header-top-nav,
.theme-dark .layout__subheader,
.theme-dark .footer__main,
.theme-dark .mobile_bottom__wrapper,
.theme-dark .rc-header,
.theme-dark .rc-footer,
.theme-dark .rc-mobnav,
.theme-dark .shell-footer {
  display: none !important;
}

.theme-dark .container { padding: 0; max-width: none; }

.theme-dark .uppercase { text-transform: uppercase; }

.theme-dark .text.variant--h1,
.theme-dark .text.variant--h2 { text-transform: uppercase !important; font-weight: 700 !important; }

.theme-dark .openCaseMain__wrapper,
.theme-dark .deposit__container,
.theme-dark .profile__card,
.theme-dark .money__method,
.theme-dark .amount_form__wrapper {
  background: rgba(28, 28, 28, 0.92) !important;
  border: 1px solid var(--rust-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.theme-dark .caseHeader__wrapper {
  background: rgba(28, 28, 28, 0.92) !important;
  border: 1px solid var(--rust-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.theme-dark .rust-case-page .openCaseMain__wrapper {
  background: rgba(14, 14, 16, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.theme-dark .openCaseMain__wrapper:before,
.theme-dark .caseHeader__wrapper:before,
.theme-dark .PaperBoxStyled:before { display: none !important; }

.theme-dark .controls.color--green-gradient,
.theme-dark .controls.color--blue-gradient,
.theme-dark .home__btn_color-light,
.theme-dark .apply,
.theme-dark .form-submit-row .apply {
  background: var(--rust-green) !important;
  color: #fff !important;
  border: 1px solid #5a6238 !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.theme-dark .controls.color--gray,
.theme-dark .button.color--gray {
  background: rgba(28, 28, 28, 0.9) !important;
  border: 1px solid var(--rust-border) !important;
  color: var(--rust-text) !important;
  border-radius: 0 !important;
}

.theme-dark .skinCard,
.theme-dark .skin__container {
  background: #1a1a1a !important;
  border: 1px solid var(--rust-border) !important;
  border-radius: 0 !important;
}

.theme-dark .roulette__indicator,
.theme-dark .openCase__indicator {
  background: var(--rust-green) !important;
}

.theme-dark .money__method.selected,
.theme-dark .money__method[aria-selected="true"] {
  border-color: var(--rust-green) !important;
}

.theme-dark .amount_form__input,
.theme-dark input[type="text"],
.theme-dark input[type="number"] {
  background: #141414 !important;
  border: 1px solid var(--rust-border) !important;
  border-radius: 0 !important;
  color: var(--rust-text) !important;
}

.theme-dark .tabs__elem.router-link-exact-active,
.theme-dark .profile__tabs .active {
  background: var(--rust-green) !important;
  color: #fff !important;
  border-radius: 0 !important;
}

.theme-dark .modals { background: rgba(0, 0, 0, 0.85) !important; }

.theme-dark .modals-content {
  background: #1c1c1c !important;
  border: 1px solid var(--rust-border) !important;
  border-radius: 0 !important;
}

.theme-dark .modals-title { text-transform: uppercase !important; font-weight: 700 !important; }

.rust-auth-modal-wrap {
  background: rgba(0, 0, 0, 0.82) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.rust-auth-modal-wrap__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.rust-auth-modal {
  position: relative;
  z-index: 2;
  place-self: center;
  width: min(420px, calc(100vw - 32px));
  padding: 24px 24px 20px;
  background:
    linear-gradient(180deg, rgba(18, 18, 20, 0.98) 0%, rgba(40, 16, 12, 0.92) 100%);
  border: 1px solid rgba(205, 65, 43, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: scale(0.96);
  transition: transform 0.2s ease, opacity 0.25s ease;
}

.rust-auth-modal-wrap.opened .rust-auth-modal {
  opacity: 1;
  transform: scale(1);
}

.rust-auth-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.rust-auth-modal__close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.rust-auth-modal__title {
  margin: 0 36px 20px 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.rust-auth-modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rust-auth-modal__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.rust-auth-modal__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.rust-auth-modal__box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  transition: background 0.15s, border-color 0.15s;
}

.rust-auth-modal__input:checked + .rust-auth-modal__box {
  background: var(--rust-green-dark);
  border-color: #5a6238;
}

.rust-auth-modal__input:checked + .rust-auth-modal__box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.rust-auth-modal__text {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.rust-auth-modal__text a {
  color: var(--rust-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rust-auth-modal__text a:hover {
  color: var(--rust-orange-bright);
}

.rust-auth-modal__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: var(--rust-green-dark);
  border: 1px solid #5a6238;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

.rust-auth-modal__submit:hover:not(:disabled) {
  background: var(--rust-green);
}

.rust-auth-modal__submit:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  background: rgba(32, 32, 32, 0.95);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.rust-promo-modal {
  width: min(420px, calc(100vw - 32px));
}

.rust-promo-modal__desc {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.52);
}

.rust-promo-modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rust-promo-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rust-promo-modal__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.rust-promo-modal__input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: none;
  transition: border-color 0.15s;
}

.rust-promo-modal__input::placeholder {
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.rust-promo-modal__input:focus {
  border-color: rgba(205, 65, 43, 0.55);
}

.rust-promo-modal__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rust-promo-modal__link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--rust-orange);
  transition: color 0.15s;
  flex-shrink: 0;
}

.rust-promo-modal__link:hover {
  color: #fff;
}

.rust-faq {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  box-sizing: border-box;
  min-width: 0;
}

.rust-faq,
.rust-faq * {
  border-radius: 0 !important;
}

.rust-faq__head {
  margin-bottom: 16px;
  padding: 0 2px;
}

.rust-faq__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust-yellow);
}

.rust-faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rust-faq__item {
  background: rgba(18, 18, 18, 0.92);
  border: 1px solid var(--rust-border);
  transition: border-color 0.12s;
}

.rust-faq__item.is-open {
  border-color: rgba(232, 93, 44, 0.55);
}

.rust-faq__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: left;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.12s;
}

.rust-faq__toggle:hover {
  color: var(--rust-yellow);
}

.rust-faq__chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--rust-muted);
  transition: transform 0.15s, color 0.12s;
}

.rust-faq__item.is-open .rust-faq__chevron {
  transform: rotate(180deg);
  color: var(--rust-orange);
}

.rust-faq__body {
  padding: 0 18px 16px;
}

.rust-faq__body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.rust-legal {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  box-sizing: border-box;
  min-width: 0;
}

.rust-legal,
.rust-legal * {
  border-radius: 0 !important;
}

.rust-legal__head {
  margin-bottom: 16px;
  padding: 0 2px;
}

.rust-legal__title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust-yellow);
}

.rust-legal__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rust-legal__nav a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--rust-border);
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}

.rust-legal__nav a:hover,
.rust-legal__nav a.is-active {
  color: #fff;
  background: rgba(90, 98, 56, 0.35);
  border-color: rgba(201, 162, 39, 0.45);
}

.rust-legal__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rust-legal__section {
  background: rgba(18, 18, 18, 0.92);
  border: 1px solid var(--rust-border);
  padding: 16px 18px;
}

.rust-legal__section-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rust-orange);
}

.rust-legal__section-body p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.rust-legal__section-body p:last-child {
  margin-bottom: 0;
}

.rust-legal__section-body a {
  color: var(--rust-yellow);
  text-decoration: none;
}

.rust-legal__section-body a:hover {
  color: #fff;
}

.rust-legal__foot {
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(18, 18, 18, 0.72);
  border: 1px solid var(--rust-border);
}

.rust-legal__mail {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--rust-yellow);
  text-decoration: none;
}

.rust-legal__mail:hover {
  color: #fff;
}

.rust-legal__company {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.42);
}

.rust-legal__company a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.rust-legal__company a:hover {
  color: var(--rust-yellow);
}

.rust-legal .rust-faq__list {
  margin-top: 0;
}

.rust-legal__table-wrap {
  overflow-x: auto;
  margin-top: 4px;
}

.rust-legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.rust-legal__table th,
.rust-legal__table td {
  padding: 10px 12px;
  text-align: left;
  border: 1px solid var(--rust-border);
  color: rgba(255, 255, 255, 0.75);
  vertical-align: top;
}

.rust-legal__table th {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust-yellow);
  background: rgba(0, 0, 0, 0.35);
}

.rust-legal__table td a {
  color: var(--rust-yellow);
  text-decoration: none;
}

.rust-legal__table td a:hover {
  text-decoration: underline;
}

.rust-legal__contacts {
  display: grid;
  gap: 10px;
}

.rust-legal__contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--rust-border);
}

.rust-legal__contact-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.rust-legal__contact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--rust-yellow);
  text-decoration: none;
}

.rust-legal__contact-value--plain {
  color: rgba(255, 255, 255, 0.85);
}

.rust-legal__contact-value:hover {
  text-decoration: underline;
}

.rust-contracts {
  width: 100%;
  max-width: var(--rust-shell-max);
  margin: 0 auto;
  box-sizing: border-box;
  min-width: 0;
}

.rust-contracts,
.rust-contracts * {
  border-radius: 0 !important;
}

.rust-contracts__head {
  margin-bottom: 14px;
  padding: 0 2px;
}

.rust-contracts__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.rust-contracts__title svg {
  color: var(--rust-orange);
  flex-shrink: 0;
}

.rust-contracts__auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 20px;
  text-align: center;
  background: rgba(18, 18, 18, 0.92);
  border: 1px solid var(--rust-border);
}

.rust-contracts__auth p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.rust-contracts__auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--rust-orange);
  border: 1px solid #8b3024;
}

.rust-contracts__slots {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  margin-bottom: 12px;
}

.rust-contracts__slot {
  min-height: 0;
  min-width: 0;
}

.rust-contracts__slot-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  background: rgba(18, 18, 18, 0.88);
  border: 1px dashed rgba(255, 255, 255, 0.14);
}

.rust-contracts__slot-empty img {
  width: 52%;
  max-width: 72px;
  height: auto;
  opacity: 0.42;
  pointer-events: none;
}

.rust-contracts__slot-card {
  height: 100%;
  cursor: pointer;
}

.rust-contracts__slot .rust-inv-card__media {
  aspect-ratio: 1 / 1;
}

.rust-contracts__slot .rust-inv-card__price {
  top: 4px;
  left: 4px;
  padding: 2px 5px;
  font-size: 9px;
}

.rust-contracts__slot .rust-inv-card__type {
  font-size: 8px;
}

.rust-contracts__slot .rust-inv-card__name {
  font-size: 9px;
  line-height: 1.2;
}

.rust-contracts__slot .rust-inv-card__meta {
  padding: 4px 6px 5px;
}

.rust-contracts__panel {
  padding: 16px 18px;
  margin-bottom: 16px;
  background: rgba(18, 18, 18, 0.92);
  border: 1px solid var(--rust-border);
}

.rust-contracts__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.rust-contracts__panel-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.rust-contracts__panel-desc {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.rust-contracts__panel-desc span {
  color: var(--rust-yellow);
  font-weight: 700;
}

.rust-contracts__progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.rust-contracts__progress-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.rust-contracts__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--rust-green-dark), var(--rust-green));
  transition: width 0.15s ease;
}

.rust-contracts__progress-sum {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--rust-yellow);
  white-space: nowrap;
}

.rust-contracts__scale {
  display: flex;
  justify-content: space-between;
  gap: 2px;
  margin-bottom: 14px;
}

.rust-contracts__scale-mark {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.28);
  position: relative;
  padding-top: 8px;
}

.rust-contracts__scale-mark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 5px;
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(-50%);
}

.rust-contracts__scale-mark.is-min {
  color: var(--rust-orange);
}

.rust-contracts__scale-mark.is-min::after {
  content: "мин";
  display: block;
  font-size: 8px;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.rust-contracts__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(32, 32, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.rust-contracts__btn:hover:not(:disabled) {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.rust-contracts__btn--primary {
  color: #fff;
  background: var(--rust-green-dark);
  border-color: #5a6238;
}

.rust-contracts__btn--primary:hover:not(:disabled) {
  background: var(--rust-green);
}

.rust-contracts__btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.rust-contracts__btn--desktop {
  display: none;
}

.rust-contracts__btn--mobile {
  width: 100%;
}

@media (min-width: 768px) {
  .rust-contracts__btn--desktop {
    display: inline-flex;
    flex-shrink: 0;
  }

  .rust-contracts__btn--mobile {
    display: none;
  }
}

.rust-contracts__section-title {
  margin: 0 0 12px;
  padding: 0 2px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.rust-contracts__warn {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(18, 18, 18, 0.92);
  border: 1px solid rgba(232, 93, 44, 0.35);
}

.rust-contracts__warn h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--rust-orange);
}

.rust-contracts__warn p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.rust-contracts__warn p span {
  color: #fff;
  font-weight: 600;
}

.rust-contracts__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 120px;
}

.rust-contracts__loading span {
  width: 8px;
  height: 8px;
  background: var(--rust-orange);
  animation: rustInvPulse 0.9s infinite ease-in-out;
}

.rust-contracts__loading span:nth-child(2) {
  animation-delay: 0.15s;
}

.rust-contracts__loading span:nth-child(3) {
  animation-delay: 0.3s;
}

.rust-contracts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 8px;
}

@media (min-width: 1200px) {
  .rust-contracts__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.rust-contracts__pick {
  cursor: pointer;
}

.rust-contracts__pick:hover {
  border-color: rgba(232, 93, 44, 0.45);
}

.rust-contracts__win {
  width: 100%;
  margin-bottom: 8px;
}

.rust-contracts__win-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(460px, calc(100dvh - 280px));
  padding: 28px 16px 20px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 72% 78% at 50% 42%, rgba(205, 65, 43, 0.2) 0%, rgba(0, 0, 0, 0.72) 68%),
    rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-contracts__win-spiral {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, 92vw);
  height: auto;
  opacity: 0.14;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: rust-contracts-spin 28s linear infinite;
}

@keyframes rust-contracts-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.rust-contracts__win-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(420px, 100%);
}

.rust-contracts__win-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.rust-contracts__win-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust-yellow);
  text-shadow: 0 0 24px rgba(228, 174, 57, 0.35);
}

.rust-contracts__win-card {
  width: min(280px, 78vw);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
  animation: rust-case-win-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.rust-contracts__win-card .rust-inv-card__media {
  aspect-ratio: 1 / 0.92;
}

.rust-contracts__win-card.rarity--0 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #545360; }
.rust-contracts__win-card.rarity--1 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #5e98d9; }
.rust-contracts__win-card.rarity--2 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #4b69ff; }
.rust-contracts__win-card.rarity--3 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #8847ff; }
.rust-contracts__win-card.rarity--4 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #d32ce6; }
.rust-contracts__win-card.rarity--5 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #eb4b4b; }
.rust-contracts__win-card.rarity--6 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #e4ae39; }

.rust-contracts__win-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(420px, 100%);
  margin-top: 4px;
}

@media (max-width: 520px) {
  .rust-contracts__win-actions {
    grid-template-columns: 1fr;
  }
}

.rust-contracts__win-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: rgba(28, 28, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
}

.rust-contracts__win-btn:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.rust-contracts__win-btn--sell {
  background: var(--rust-green-dark);
  border-color: #5a6238;
}

.rust-contracts__win-btn--sell:hover {
  background: var(--rust-green);
}

.rust-contracts .rust-inv-card.rarity--0 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #545360; }
.rust-contracts .rust-inv-card.rarity--1 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #5e98d9; }
.rust-contracts .rust-inv-card.rarity--2 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #4b69ff; }
.rust-contracts .rust-inv-card.rarity--3 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #8847ff; }
.rust-contracts .rust-inv-card.rarity--4 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #d32ce6; }
.rust-contracts .rust-inv-card.rarity--5 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #eb4b4b; }
.rust-contracts .rust-inv-card.rarity--6 .rust-inv-card__meta { box-shadow: inset 0 2px 0 #e4ae39; }

.rust-wheel {
  width: 100%;
  max-width: var(--rust-shell-max);
  margin: 0 auto;
  box-sizing: border-box;
  min-width: 0;
}

.rust-wheel__prize,
.rust-wheel__btn,
.rust-wheel__timer-val,
.rust-wheel__promo {
  border-radius: 0 !important;
}

.rust-wheel__head {
  margin-bottom: 12px;
  padding: 0 2px;
}

.rust-wheel__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.rust-wheel__title svg {
  color: var(--rust-orange);
  flex-shrink: 0;
}

.rust-wheel__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 380px;
}

.rust-wheel__loading span {
  width: 8px;
  height: 8px;
  background: var(--rust-orange);
  animation: rustInvPulse 0.9s infinite ease-in-out;
}

.rust-wheel__loading span:nth-child(2) { animation-delay: 0.15s; }
.rust-wheel__loading span:nth-child(3) { animation-delay: 0.3s; }

.rust-wheel__stage {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  padding: 8px 0 4px;
}

.rust-wheel__arena {
  width: min(520px, 100%);
}

.rust-wheel__ring {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: visible;
}

.rust-wheel__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 50%, rgba(14, 14, 16, 0.98) 0%, rgba(8, 8, 10, 0.98) 62%, rgba(22, 22, 24, 0.98) 100%),
    conic-gradient(
      from -90deg,
      rgba(32, 32, 34, 0.95) 0deg 51.43deg,
      rgba(20, 20, 22, 0.95) 51.43deg 102.86deg,
      rgba(32, 32, 34, 0.95) 102.86deg 154.29deg,
      rgba(20, 20, 22, 0.95) 154.29deg 205.72deg,
      rgba(32, 32, 34, 0.95) 205.72deg 257.15deg,
      rgba(20, 20, 22, 0.95) 257.15deg 308.58deg,
      rgba(32, 32, 34, 0.95) 308.58deg 360deg
    );
  border: 3px solid rgba(232, 93, 44, 0.55);
  box-shadow:
    0 0 0 6px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(205, 65, 43, 0.18),
    inset 0 0 32px rgba(0, 0, 0, 0.55);
  transform-origin: 50% 50%;
  will-change: transform;
}

.rust-wheel__disc.is-spinning {
  transition: transform 5.2s cubic-bezier(0.15, 0.85, 0.2, 1);
}

.rust-wheel__slice {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  pointer-events: none;
  z-index: 1;
}

.rust-wheel__slice::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 50%;
  margin-left: -0.5px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 100%);
  transform-origin: top center;
}

.rust-wheel__slice.is-winner .rust-wheel__slice-inner .rust-wheel-icon {
  filter: drop-shadow(0 0 10px rgba(228, 174, 57, 0.75));
  animation: rust-wheel-pulse 0.45s ease-out 2;
}

@keyframes rust-wheel-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
}

.rust-wheel__slice-inner {
  position: absolute;
  left: 50%;
  top: 8%;
  width: clamp(48px, 12vw, 64px);
  min-height: clamp(48px, 12vw, 64px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 2;
  transform: translateX(-50%);
  transform-origin: center center;
}

.rust-wheel__slice-inner .rust-wheel-icon {
  width: clamp(26px, 7vw, 32px);
  height: clamp(26px, 7vw, 32px);
  flex-shrink: 0;
}

.rust-wheel__slice-label {
  max-width: 100%;
  font-size: clamp(7px, 1.8vw, 9px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.rust-wheel-icon {
  display: block;
  color: rgba(255, 255, 255, 0.45);
}

.rust-wheel-icon--promo10,
.rust-wheel-icon--promo20 {
  color: var(--rust-yellow);
}

.rust-wheel-icon--upgrade1,
.rust-wheel-icon--upgrade2 {
  color: var(--rust-green);
}

.rust-wheel-icon--contract2,
.rust-wheel-icon--contract3 {
  color: var(--rust-orange);
}

.rust-wheel-icon--freeSkin {
  color: var(--rust-yellow);
}

.rust-wheel__pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  z-index: 4;
  width: 0;
  height: 0;
  margin-left: -14px;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 26px solid var(--rust-orange);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.rust-wheel__pointer::after {
  content: "";
  position: absolute;
  top: -30px;
  left: -8px;
  width: 16px;
  height: 16px;
  background: var(--rust-yellow);
  border: 2px solid #8b3024;
}

.rust-wheel__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(58%, 280px);
  aspect-ratio: 1 / 1;
  padding: 16px 14px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(28, 28, 30, 0.98) 0%, rgba(10, 10, 12, 0.98) 72%);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 4px rgba(0, 0, 0, 0.5),
    inset 0 0 24px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  box-sizing: border-box;
}

.rust-wheel__hub--win {
  gap: 5px;
  padding: 18px 20px;
  width: min(56%, 268px);
}

.rust-wheel__hub-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.rust-wheel__hub-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust-yellow);
}

.rust-wheel__hub--win .rust-wheel__hub-kicker {
  font-size: 9px;
  letter-spacing: 0.08em;
}

.rust-wheel__hub-title {
  margin: 0;
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rust-wheel__hub-sub {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.rust-wheel__hub-desc {
  margin: 0;
  width: 100%;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rust-wheel__hub--win .rust-wheel__hub-desc {
  font-size: 9px;
  -webkit-line-clamp: 4;
}

.rust-wheel__hub-prize {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.rust-wheel__timer {
  display: flex;
  gap: 6px;
  width: 100%;
  justify-content: center;
}

.rust-wheel__timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 44px;
}

.rust-wheel__timer-val {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 32px;
  padding: 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--rust-yellow);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--rust-border);
}

.rust-wheel__timer-unit {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.rust-wheel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: rgba(32, 32, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}

.rust-wheel__btn:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.22);
}

.rust-wheel__btn--primary {
  background: var(--rust-green-dark);
  border-color: #5a6238;
}

.rust-wheel__btn--primary:hover:not(:disabled) {
  background: var(--rust-green);
}

.rust-wheel__btn--spin {
  width: 100%;
  max-width: 180px;
}

.rust-wheel__btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.rust-wheel__auth-hint {
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.48);
}

.rust-wheel__hub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
}

.rust-wheel__hub-actions--win {
  grid-template-columns: 1fr;
  gap: 4px;
  margin-top: 2px;
}

.rust-wheel__hub--win .rust-wheel__btn {
  min-height: 28px;
  padding: 0 8px;
  font-size: 9px;
  width: 100%;
}

.rust-wheel__promo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  max-width: 100%;
  padding: 6px 8px;
  font-family: inherit;
  text-align: center;
  color: var(--rust-yellow);
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(228, 174, 57, 0.45);
  cursor: pointer;
}

.rust-wheel__promo-code {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.06em;
  word-break: break-all;
}

.rust-wheel__promo-hint {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.rust-wheel__prizes-title {
  margin: 0 0 12px;
  padding: 0 2px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.rust-wheel__prizes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 1100px) {
  .rust-wheel__prizes-list {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

.rust-wheel__prize {
  display: flex;
  flex-direction: column;
  background: rgba(18, 18, 18, 0.92);
  border: 1px solid var(--rust-border);
  overflow: hidden;
  transition: border-color 0.12s;
}

.rust-wheel__prize:hover {
  border-color: rgba(232, 93, 44, 0.4);
}

.rust-wheel__prize-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 12px;
  background: rgba(8, 8, 8, 0.55);
}

.rust-wheel__prize-media .rust-wheel-icon {
  width: 100%;
  max-width: 68px;
  max-height: 68px;
  height: auto;
}

.rust-wheel__prize-name {
  margin: 0;
  padding: 8px 10px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
}

.rust-roulette {
  width: 100%;
  max-width: var(--rust-shell-max);
  margin: 0 auto;
  box-sizing: border-box;
  min-width: 0;
  padding: 0 16px;
}

.rust-roulette__shell {
  display: flex;
  align-items: flex-start;
  justify-content: stretch;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.rust-roulette__head {
  margin-bottom: 10px;
  padding: 0 2px;
  width: 100%;
}

.rust-roulette__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.rust-roulette__title svg {
  color: var(--rust-orange);
  flex-shrink: 0;
}

.rust-roulette__layout {
  display: grid;
  grid-template-columns: minmax(272px, 300px) minmax(360px, 1fr);
  gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 10px;
  background: rgba(12, 12, 14, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
  flex: 1 1 640px;
  min-width: 0;
}

.rust-roulette__panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.rust-roulette__block {
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rust-roulette__block-title {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.rust-roulette__amount {
  position: relative;
}

.rust-roulette__input {
  width: 100%;
  min-height: 42px;
  padding: 0 118px 0 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(8, 8, 8, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.rust-roulette__input:focus {
  outline: none;
  border-color: rgba(232, 93, 44, 0.45);
}

.rust-roulette__currency {
  position: absolute;
  left: auto;
  right: 108px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.rust-roulette__amount-actions {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 4px;
}

.rust-roulette__chip {
  min-width: 32px;
  min-height: 30px;
  padding: 0 6px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(32, 32, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
}

.rust-roulette__chip:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.rust-roulette__bets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.rust-roulette__bet {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  padding: 6px 4px;
  font-family: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 0.1s, filter 0.12s, border-color 0.12s;
}

.rust-roulette__bet:hover {
  filter: brightness(1.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.rust-roulette__bet:active {
  transform: scale(0.97);
}

.rust-roulette__bet-num {
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.rust-roulette__bet-mult {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.rust-roulette__bet--yellow { background: linear-gradient(180deg, #c9a227 0%, #8a6d12 100%); }
.rust-roulette__bet--green { background: linear-gradient(180deg, #6b7c3e 0%, #465026 100%); }
.rust-roulette__bet--blue { background: linear-gradient(180deg, #3d7ea6 0%, #254f68 100%); }
.rust-roulette__bet--purple { background: linear-gradient(180deg, #8847ff 0%, #5a2eb0 100%); }
.rust-roulette__bet--red { background: linear-gradient(180deg, #c93c3c 0%, #7a1f1f 100%); }

.rust-roulette__block--stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.rust-roulette__block--stats .rust-roulette__stat {
  padding: 10px;
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rust-roulette__stat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.rust-roulette__stat-head svg {
  color: var(--rust-orange);
  flex-shrink: 0;
}

.rust-roulette__players {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-height: 88px;
  overflow: auto;
}

.rust-roulette__players-empty {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
}

.rust-roulette__player {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.rust-roulette__player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rust-roulette__total {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--rust-yellow);
}

.rust-roulette__stage {
  position: relative;
  min-width: 0;
  width: 100%;
  padding: 8px 8px 10px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(22, 22, 24, 0.38) 0%, rgba(10, 10, 12, 0.22) 58%, rgba(8, 8, 10, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.16);
  box-sizing: border-box;
}

.rust-roulette__sound {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(12, 12, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s;
}

.rust-roulette__sound:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.rust-roulette__arena {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 30px;
}

.rust-roulette__history {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 5px;
  width: auto;
  min-width: 10px;
  max-height: min(420px, 72vw);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 2px;
  flex-shrink: 0;
  scrollbar-width: none;
}

.rust-roulette__history::-webkit-scrollbar {
  display: none;
}

.rust-roulette__history-dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.rust-roulette__history-dot.is-last {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45), 0 0 8px rgba(255, 255, 255, 0.25);
}

.rust-roulette__history-dot--yellow { background: #c9a227; }
.rust-roulette__history-dot--green { background: #6b7c3e; }
.rust-roulette__history-dot--blue { background: #3d7ea6; }
.rust-roulette__history-dot--purple { background: #8847ff; }
.rust-roulette__history-dot--red { background: #c93c3c; }

.rust-roulette__ring {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow:
    0 0 0 3px rgba(232, 93, 44, 0.45),
    0 0 40px rgba(205, 65, 43, 0.15);
}

.rust-roulette__drum {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 50% 50%;
  will-change: transform;
  pointer-events: none;
  user-select: none;
}

.rust-roulette__pointer {
  position: absolute;
  top: -4px;
  left: 50%;
  z-index: 4;
  width: 0;
  height: 0;
  margin-left: -14px;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 26px solid var(--rust-orange);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.rust-roulette__pointer::after {
  content: "";
  position: absolute;
  top: -30px;
  left: -8px;
  width: 16px;
  height: 16px;
  background: var(--rust-yellow);
  border: 2px solid #8b3024;
}

.rust-roulette__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(34%, 150px);
  aspect-ratio: 1 / 1;
  padding: 10px;
  text-align: center;
  background: radial-gradient(circle at 50% 38%, rgba(28, 28, 30, 0.82) 0%, rgba(10, 10, 12, 0.78) 72%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  box-sizing: border-box;
  pointer-events: none;
}

.rust-roulette__hub-label {
  margin: 0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.rust-roulette__timer {
  display: flex;
  gap: 4px;
}

.rust-roulette__timer-val {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 30px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.42);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--rust-border);
}

.rust-roulette__timer-val--active {
  color: var(--rust-yellow);
}

.rust-roulette-toast strong {
  font-weight: 800;
}

.rust-roulette-toast__color {
  font-weight: 800;
}

.rust-roulette__promo {
  display: none;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 300px);
  flex-shrink: 0;
}

.rust-roulette-promo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px;
  text-decoration: none;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 12, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: filter 0.12s, border-color 0.12s, transform 0.1s;
}

.rust-roulette-promo:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.rust-roulette-promo__label {
  max-width: 58%;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.rust-roulette-promo__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.72);
}

.rust-roulette-promo--green {
  border-color: rgba(143, 168, 74, 0.75);
  background:
    linear-gradient(135deg, rgba(143, 168, 74, 0.16) 0%, rgba(10, 10, 12, 0.62) 52%),
    rgba(10, 10, 12, 0.55);
}

.rust-roulette-promo--green .rust-promo-icon { --accent: #8fa84a; color: #b8d06a; }

.rust-roulette-promo--red {
  border-color: rgba(201, 60, 60, 0.75);
  background:
    linear-gradient(135deg, rgba(201, 60, 60, 0.18) 0%, rgba(10, 10, 12, 0.62) 52%),
    rgba(10, 10, 12, 0.55);
}

.rust-roulette-promo--red .rust-promo-icon { --accent: #e85d5d; color: #ff7b7b; }

.rust-roulette-promo--gold {
  border-color: rgba(228, 174, 57, 0.75);
  background:
    linear-gradient(135deg, rgba(228, 174, 57, 0.16) 0%, rgba(10, 10, 12, 0.62) 52%),
    rgba(10, 10, 12, 0.55);
}

.rust-roulette-promo--gold .rust-promo-icon { --accent: #e4ae39; color: #f0c85a; }

.rust-roulette-promo--orange {
  border-color: rgba(232, 93, 44, 0.75);
  background:
    linear-gradient(135deg, rgba(232, 93, 44, 0.16) 0%, rgba(10, 10, 12, 0.62) 52%),
    rgba(10, 10, 12, 0.55);
}

.rust-roulette-promo--orange .rust-promo-icon { --accent: #e85d2c; color: #ff8f5c; }

.rust-roulette-promo--rust {
  border-color: rgba(184, 92, 56, 0.75);
  background:
    linear-gradient(135deg, rgba(184, 92, 56, 0.16) 0%, rgba(10, 10, 12, 0.62) 52%),
    rgba(10, 10, 12, 0.55);
}

.rust-roulette-promo--rust .rust-promo-icon { --accent: #e85d2c; color: #d4845f; }

@media (min-width: 1180px) {
  .rust-roulette__shell {
    flex-wrap: nowrap;
  }

  .rust-roulette__layout {
    grid-template-columns: minmax(300px, 320px) minmax(0, 1fr);
    flex: 1 1 auto;
  }

  .rust-roulette__ring {
    max-width: min(500px, 100%);
  }

  .rust-roulette__promo {
    display: flex;
    flex: 0 0 340px;
    width: 340px;
  }
}

@media (max-width: 1179px) {
  .rust-roulette__promo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
  }

  .rust-roulette-promo {
    min-height: 64px;
  }

  .rust-roulette-promo__icon {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 991px) {
  .rust-roulette__layout {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .rust-roulette__arena {
    flex-direction: column;
    gap: 10px;
  }

  .rust-roulette__history {
    flex-direction: row;
    max-height: none;
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 4px 4px;
  }

  .rust-roulette__ring {
    max-width: min(400px, 92vw);
  }
}

@media (max-width: 560px) {
  .rust-roulette__bets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rust-roulette__bet:nth-child(4),
  .rust-roulette__bet:nth-child(5) {
    grid-column: span 1;
  }

  .rust-roulette__block--stats {
    grid-template-columns: 1fr;
  }
}

.rust-freecase {
  width: 100%;
  max-width: var(--rust-shell-max);
  margin: 0 auto;
  box-sizing: border-box;
  min-width: 0;
}

.rust-freecase,
.rust-freecase * {
  border-radius: 0 !important;
}

.rust-freecase__head {
  margin-bottom: 12px;
  padding: 0 2px;
}

.rust-freecase__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.rust-freecase__title svg {
  color: var(--rust-green-bright);
  flex-shrink: 0;
}

.rust-freecase__intro {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px 18px;
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-freecase__intro-main {
  flex: 1;
  min-width: 0;
}

.rust-freecase__intro-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.35;
}

.rust-freecase__intro-text {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.rust-freecase__intro-text:last-child {
  margin-bottom: 0;
}

.rust-freecase__level {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 96px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(122, 132, 80, 0.45);
}

.rust-freecase__level-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.rust-freecase__level-val {
  margin-top: 4px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--rust-green-bright);
}

.rust-freecase__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 280px;
}

.rust-freecase__loading span {
  width: 8px;
  height: 8px;
  background: var(--rust-orange);
  animation: rust-freecase-pulse 0.9s ease-in-out infinite;
}

.rust-freecase__loading span:nth-child(2) { animation-delay: 0.15s; }
.rust-freecase__loading span:nth-child(3) { animation-delay: 0.3s; }

@keyframes rust-freecase-pulse {
  0%, 80%, 100% { opacity: 0.25; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

.rust-freecase__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1200px) {
  .rust-freecase__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .rust-freecase__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .rust-freecase__intro {
    flex-direction: column;
  }

  .rust-freecase__level {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
  }

  .rust-freecase__level-val {
    margin-top: 0;
    font-size: 22px;
  }

  .rust-freecase__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.rust-freecase__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(122, 132, 80, 0.35);
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}

.rust-freecase__card.is-open:hover {
  border-color: rgba(122, 132, 80, 0.75);
  transform: translateY(-2px);
}

.rust-freecase__card.is-locked {
  border-color: rgba(255, 255, 255, 0.1);
  opacity: 0.82;
}

.rust-freecase__card-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust-green-bright);
  background: rgba(0, 0, 0, 0.78);
  border-right: 1px solid rgba(122, 132, 80, 0.4);
  border-bottom: 1px solid rgba(122, 132, 80, 0.4);
}

.rust-freecase__card-req {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.78);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-freecase__card-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 28px 12px 10px;
}

.rust-freecase__card.is-locked .rust-freecase__card-img img {
  filter: grayscale(0.55) brightness(0.72);
}

.rust-freecase__card-img img {
  max-width: 100%;
  max-height: 108px;
  object-fit: contain;
}

.rust-freecase__card-foot {
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rust-freecase__card-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-freecase__card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, rgba(122, 132, 80, 0.95) 0%, rgba(90, 98, 58, 0.95) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: filter 0.15s;
}

.rust-freecase__card-btn:hover {
  filter: brightness(1.08);
  color: #fff;
}

.rust-freecase__card-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rust-freecase__card-lock svg {
  opacity: 0.65;
}

.rust-freecase__empty {
  padding: 40px 16px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.theme-dark .rust-freecase a,
.theme-dark .rust-freecase a:hover,
.theme-dark .rust-freecase a:visited,
.theme-dark .rust-freecase a:active {
  color: #fff;
  text-decoration: none;
}

.rust-upgrade {
  width: 100%;
  max-width: var(--rust-shell-max);
  margin: 0 auto;
  padding: 0 2px 24px;
  box-sizing: border-box;
  min-width: 0;
}

.rust-upgrade,
.rust-upgrade * {
  border-radius: 0 !important;
}

.rust-upgrade__head {
  margin-bottom: 12px;
  padding: 0 2px;
}

.rust-upgrade__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.rust-upgrade__title svg {
  color: #c9a227;
  flex-shrink: 0;
}

.rust-upgrade__auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 20px;
  text-align: center;
  background: rgba(18, 18, 18, 0.92);
  border: 1px solid var(--rust-border);
}

.rust-upgrade__auth p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.rust-upgrade__auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(122, 132, 80, 0.95) 0%, rgba(90, 98, 58, 0.95) 100%);
  border: 1px solid #5a6238;
}

.rust-upgrade__auth-btn:hover {
  filter: brightness(1.08);
  color: #fff;
}

.rust-upgrade__stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 10px;
  padding: 16px 12px;
  background: rgba(14, 14, 16, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: visible;
}

.rust-upgrade__stage.is-demo {
  border-color: rgba(255, 255, 255, 0.06);
}

.rust-upgrade__stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.rust-upgrade__stage-bg-video {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(280px, 58vw);
  height: min(280px, 58vw);
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  -webkit-clip-path: circle(50% at 50% 50%);
  background: #17181c;
  z-index: 0;
}

.rust-upgrade__stage-bg-vignette {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background: radial-gradient(
    circle at center,
    rgba(23, 24, 28, 0) 0%,
    rgba(23, 24, 28, 0) 36%,
    rgba(23, 24, 28, 0.22) 48%,
    rgba(23, 24, 28, 0.45) 58%,
    rgba(23, 24, 28, 0.14) 76%,
    rgba(23, 24, 28, 0) 100%
  );
}

.rust-upgrade__stage.is-demo .rust-upgrade__stage-bg-vignette {
  background: radial-gradient(
    circle at center,
    rgba(23, 24, 28, 0) 0%,
    rgba(23, 24, 28, 0) 38%,
    rgba(23, 24, 28, 0.18) 50%,
    rgba(23, 24, 28, 0.38) 60%,
    rgba(23, 24, 28, 0.1) 78%,
    rgba(23, 24, 28, 0) 100%
  );
}

.rust-upgrade__stage > .rust-upgrade__slot,
.rust-upgrade__stage > .rust-upgrade__wheel {
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .rust-upgrade__stage {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 20px 16px;
  }
}

.rust-upgrade__slot {
  position: relative;
  min-height: 168px;
  background: rgba(0, 0, 0, 0.12);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.rust-upgrade__slot.is-filled {
  border-style: solid;
  border-color: rgba(201, 162, 39, 0.35);
  background: rgba(0, 0, 0, 0.14);
}

.rust-upgrade__slot.is-idle {
  overflow: visible;
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.08);
}

.rust-upgrade__slot.is-idle .rust-upgrade__stub-glow {
  opacity: 1;
}

.rust-upgrade__slot.is-idle .rust-upgrade__stub-bit {
  opacity: 0.55;
}

.rust-upgrade__slot.is-idle .rust-upgrade__stub-weapon {
  opacity: 0.55;
}

.rust-upgrade__stub {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  pointer-events: none;
  will-change: transform;
  z-index: 3;
}

.rust-upgrade__stub--left {
  animation: rustUpgradeStubFlyLeft 7s ease-in-out infinite;
}

.rust-upgrade__stub--right {
  animation: rustUpgradeStubFlyRight 8.2s ease-in-out infinite;
}

.rust-upgrade__stub-glow {
  animation: rustUpgradeStubGlowDrift 5s ease-in-out infinite;
}

.rust-upgrade__stub-circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: rustUpgradeStubPulse 2.4s ease-in-out infinite;
}

.rust-upgrade__stub-bit {
  transform-box: fill-box;
  transform-origin: center;
}

.rust-upgrade__stub-bit--1 {
  animation: rustUpgradeStubFloat1 3.2s ease-in-out infinite;
}

.rust-upgrade__stub-bit--2 {
  animation: rustUpgradeStubFloat2 4.1s ease-in-out infinite 0.45s;
}

.rust-upgrade__stub-bit--3 {
  animation: rustUpgradeStubFloat3 3.6s ease-in-out infinite 0.9s;
}

.rust-upgrade__stub-weapon {
  transform-box: fill-box;
  transform-origin: center;
  animation: rustUpgradeStubWeapon 4.8s ease-in-out infinite;
}

@keyframes rustUpgradeStubFlyLeft {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  20% { transform: translate(18px, -22px) rotate(12deg) scale(1.06); }
  45% { transform: translate(-14px, -28px) rotate(-10deg) scale(0.94); }
  70% { transform: translate(-22px, 12px) rotate(14deg) scale(1.04); }
  85% { transform: translate(10px, 20px) rotate(-8deg) scale(0.98); }
}

@keyframes rustUpgradeStubFlyRight {
  0%, 100% { transform: scaleX(-1) translate(0, 0) rotate(0deg); }
  20% { transform: scaleX(-1) translate(-16px, -24px) rotate(-11deg); }
  45% { transform: scaleX(-1) translate(20px, -18px) rotate(9deg); }
  70% { transform: scaleX(-1) translate(24px, 14px) rotate(-13deg); }
  85% { transform: scaleX(-1) translate(-12px, 22px) rotate(7deg); }
}

@keyframes rustUpgradeStubGlowDrift {
  0%, 100% { transform: translate(0, 0); opacity: 0.65; }
  50% { transform: translate(6px, -8px); opacity: 1; }
}

@keyframes rustUpgradeStubPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.18); }
}

@keyframes rustUpgradeStubFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(10px, -14px) rotate(22deg) scale(1.2); }
  66% { transform: translate(-8px, 10px) rotate(-18deg) scale(0.85); }
}

@keyframes rustUpgradeStubFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(-14px, 8px) rotate(-25deg) scale(1.25); }
  66% { transform: translate(12px, -10px) rotate(20deg) scale(0.8); }
}

@keyframes rustUpgradeStubFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(8px, 14px) rotate(28deg); }
  66% { transform: translate(-12px, -8px) rotate(-22deg); }
}

@keyframes rustUpgradeStubWeapon {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(-6px, -12px) rotate(-8deg) scale(1.08); }
  50% { transform: translate(8px, -6px) rotate(6deg) scale(0.92); }
  75% { transform: translate(4px, 10px) rotate(-5deg) scale(1.05); }
}

.rust-upgrade__slot-empty {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.rust-upgrade__slot-card {
  width: 100%;
  max-width: 200px;
  cursor: default;
}

.rust-upgrade__wheel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.rust-upgrade__wheel-ring {
  position: relative;
  width: min(260px, 68vw);
  aspect-ratio: 1;
}

.rust-upgrade__wheel-ring.is-demo {
  overflow: visible;
}

.rust-upgrade__wheel-ring.is-demo .rust-upgrade__wheel-svg {
  filter: drop-shadow(0 0 18px rgba(253, 86, 102, 0.2));
}

.rust-upgrade__wheel-ring.is-demo .rust-upgrade__wheel-svg path[stroke] {
  opacity: 1;
  stroke: #4a3828;
}

.rust-upgrade__wheel-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.rust-upgrade__wheel-pointer {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-origin: 50% 50%;
  transition: transform 5.5s cubic-bezier(0.15, 0.85, 0.2, 1);
  pointer-events: none;
}

.rust-upgrade__wheel-pointer.is-reset {
  transition: none;
}

.rust-upgrade__wheel-marker {
  position: absolute;
  top: 7%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  background: #c9a227;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.rust-upgrade__wheel-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: min(140px, 52%);
  text-align: center;
  pointer-events: none;
  z-index: 3;
}

.rust-upgrade__wheel-lose {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e85d68;
}

.rust-upgrade__wheel-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.3;
}

.rust-upgrade__wheel-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

.rust-upgrade__wheel-chance {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #c9a227;
  margin-top: 2px;
}

.rust-upgrade__wheel-result {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.55);
  z-index: 3;
}

.rust-upgrade__wheel-result .rust-inv-card {
  max-width: 180px;
}

.rust-upgrade__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px 12px;
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .rust-upgrade__bar {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.rust-upgrade__mults {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.rust-upgrade__mult {
  min-width: 52px;
  min-height: 38px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.rust-upgrade__mult.is-active {
  color: #fff;
  background: rgba(201, 162, 39, 0.22);
  border-color: rgba(201, 162, 39, 0.55);
}

.rust-upgrade__mult:hover {
  filter: brightness(1.08);
}

.rust-upgrade__go {
  min-width: 220px;
  min-height: 46px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, rgba(122, 132, 80, 0.95) 0%, rgba(90, 98, 58, 0.95) 100%);
  border: 1px solid #5a6238;
  cursor: pointer;
}

.rust-upgrade__go:hover:not(:disabled) {
  filter: brightness(1.08);
}

.rust-upgrade__go:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.rust-upgrade__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 1024px) {
  .rust-upgrade__columns {
    grid-template-columns: 1fr 1fr;
  }
}

.rust-upgrade__col {
  padding: 12px 10px 14px;
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.rust-upgrade__col-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 2px;
}

.rust-upgrade__col-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust-yellow);
}

.rust-upgrade__sort {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.rust-upgrade__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.rust-upgrade__input {
  min-width: 0;
  width: 120px;
  height: 34px;
  padding: 0 10px;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rust-upgrade__input--short {
  width: 88px;
}

.rust-upgrade__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.rust-upgrade__rarity {
  position: relative;
}

.rust-upgrade__rarity-btn {
  height: 34px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  white-space: nowrap;
}

.rust-upgrade__rarity-list {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 20;
  min-width: 160px;
  max-height: 220px;
  overflow-y: auto;
  background: rgba(14, 14, 16, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rust-upgrade__rarity-list button {
  display: block;
  width: 100%;
  padding: 8px 12px;
  font-size: 12px;
  text-align: left;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: none;
  cursor: pointer;
}

.rust-upgrade__rarity-list button:hover,
.rust-upgrade__rarity-list button.is-active {
  color: #fff;
  background: rgba(201, 162, 39, 0.15);
}

.rust-upgrade__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 8px;
}

.rust-upgrade__pick {
  cursor: pointer;
}

.rust-upgrade__pick.is-selected {
  outline: 1px solid rgba(201, 162, 39, 0.75);
  outline-offset: -1px;
}

.rust-upgrade__pick:hover {
  border-color: rgba(232, 93, 44, 0.45);
}

.rust-upgrade__empty {
  padding: 28px 12px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.rust-upgrade__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 120px;
}

.rust-upgrade__loading span {
  width: 8px;
  height: 8px;
  background: var(--rust-orange);
  animation: rustInvPulse 0.9s infinite ease-in-out;
}

.rust-upgrade__loading span:nth-child(2) {
  animation-delay: 0.15s;
}

.rust-upgrade__loading span:nth-child(3) {
  animation-delay: 0.3s;
}

.rust-upgrade__pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.rust-upgrade__pager button {
  min-width: 36px;
  min-height: 36px;
  font-size: 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.rust-upgrade__pager button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.rust-upgrade__pager span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 768px) {
  .rust-upgrade__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rust-upgrade__filters {
    width: 100%;
    justify-content: stretch;
  }

  .rust-upgrade__input {
    flex: 1;
    width: auto;
  }
}

.rust-deposit {
  width: 100%;
  max-width: var(--rust-shell-max);
  margin: 0 auto;
  padding: 10px 20px 24px;
  box-sizing: border-box;
  min-width: 0;
}

.rust-deposit,
.rust-deposit * {
  border-radius: 0 !important;
}

.rust-deposit__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 0 2px;
}

.rust-deposit__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.rust-deposit__title svg {
  color: var(--rust-orange);
  flex-shrink: 0;
}

.rust-deposit__balance {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 36px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rust-yellow);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.rust-deposit__layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

@media (max-width: 900px) {
  .rust-deposit__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.rust-deposit__card {
  padding: 14px 16px 16px;
  background: rgba(18, 18, 20, 0.94);
  border: 1px solid rgba(205, 65, 43, 0.28);
}

.rust-deposit__card--form {
  background:
    linear-gradient(180deg, rgba(18, 18, 20, 0.98) 0%, rgba(40, 16, 12, 0.88) 100%);
  border-color: rgba(205, 65, 43, 0.38);
}

.rust-deposit__card-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.rust-deposit__methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 520px) {
  .rust-deposit__methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rust-deposit__method {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 10px 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.rust-deposit__method:hover {
  border-color: rgba(205, 65, 43, 0.45);
}

.rust-deposit__method.is-active {
  background: rgba(205, 65, 43, 0.12);
  border-color: rgba(205, 65, 43, 0.65);
  box-shadow: inset 0 0 0 1px rgba(205, 65, 43, 0.25);
}

.rust-deposit__method img {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.88;
}

.rust-deposit__method.is-active img {
  opacity: 1;
}

.rust-deposit__selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rust-deposit__selected-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.rust-deposit__selected-value {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rust-orange);
  text-align: right;
}

.rust-deposit__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rust-deposit__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rust-deposit__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.rust-deposit__amount {
  position: relative;
}

.rust-deposit__input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.rust-deposit__amount .rust-deposit__input {
  padding-right: 52px;
}

.rust-deposit__input:focus {
  border-color: rgba(205, 65, 43, 0.55);
}

.rust-deposit__suffix {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
}

.rust-deposit__quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.rust-deposit__quick-btn {
  min-height: 36px;
  padding: 0 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.rust-deposit__quick-btn:hover {
  border-color: rgba(205, 65, 43, 0.45);
  color: #fff;
}

.rust-deposit__quick-btn.is-active {
  background: rgba(205, 65, 43, 0.18);
  border-color: rgba(205, 65, 43, 0.65);
  color: #fff;
}

.rust-deposit__bonus {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-deposit__bonus.is-success {
  color: var(--rust-green);
  border-color: rgba(90, 160, 90, 0.35);
}

.rust-deposit__bonus.is-error {
  color: #e07070;
  border-color: rgba(224, 112, 112, 0.35);
}

.rust-deposit__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--rust-green-dark);
  border: 1px solid rgba(90, 160, 90, 0.45);
  cursor: pointer;
  transition: background 0.15s;
}

.rust-deposit__submit:hover {
  background: var(--rust-green);
}

.rust-replace-modal-wrap {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2500 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-items: center;
  justify-items: center;
  padding: 24px 16px;
  background: rgba(0, 0, 0, 0.82) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: auto !important;
}

.rust-replace-modal-wrap__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.rust-replace-modal {
  position: relative;
  z-index: 2;
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, rgba(18, 18, 20, 0.98) 0%, rgba(40, 16, 12, 0.92) 100%);
  border: 1px solid rgba(205, 65, 43, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.rust-replace-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.rust-replace-modal__close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.rust-replace-modal__head {
  flex-shrink: 0;
  padding-right: 40px;
  margin-bottom: 16px;
}

.rust-replace-modal__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.rust-replace-modal__refund {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.rust-replace-modal__refund strong {
  color: var(--rust-yellow);
  font-weight: 700;
}

.rust-replace-modal__compare {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  max-width: 420px;
  margin: 0 auto 12px;
}

.rust-replace-modal__slot {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: rgba(38, 38, 40, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-replace-modal__slot--empty {
  opacity: 0.92;
}

.rust-replace-modal__slot-media {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 16, 18, 0.95);
  padding: 8px;
}

.rust-replace-modal__slot-media--empty {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.32);
  padding: 8px 12px;
}

.rust-replace-modal__slot-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rust-replace-modal__slot-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 52px;
}

.rust-replace-modal__slot-meta--ghost {
  opacity: 0.25;
}

.rust-replace-modal__slot-type {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-replace-modal__slot-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-replace-modal__slot-price {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  color: var(--rust-yellow);
}

.rust-replace-modal__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.45);
}

.rust-replace-modal__arrow svg {
  display: block;
  width: 18px;
  height: 18px;
}

.rust-replace-modal__pick-label {
  flex-shrink: 0;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.rust-replace-modal__grid {
  flex: 1;
  min-height: 0;
  max-height: 280px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  padding: 2px 2px 10px;
  overflow-y: auto;
  align-content: start;
}

@media (max-width: 900px) {
  .rust-replace-modal__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .rust-replace-modal__compare {
    grid-template-columns: 1fr;
  }

  .rust-replace-modal__arrow {
    transform: rotate(90deg);
  }

  .rust-replace-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rust-replace-modal__pick {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  text-align: left;
  background: rgba(38, 38, 40, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}

.rust-replace-modal__pick:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(46, 46, 48, 0.98);
}

.rust-replace-modal__pick.is-selected {
  border-color: var(--rust-orange);
  box-shadow: inset 0 0 0 1px rgba(205, 65, 43, 0.35);
}

.rust-replace-modal__pick-media {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 16, 18, 0.95);
  padding: 6px;
}

.rust-replace-modal__pick-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rust-replace-modal__pick-price {
  padding: 4px 8px 0;
  font-size: 10px;
  font-weight: 700;
  color: var(--rust-yellow);
}

.rust-replace-modal__pick-type {
  padding: 2px 8px 0;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-replace-modal__pick-name {
  padding: 2px 8px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rust-replace-modal__foot {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rust-replace-modal__btn {
  min-height: 40px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(32, 32, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.rust-replace-modal__btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.rust-replace-modal__btn--primary {
  color: #fff;
  background: var(--rust-green-dark);
  border-color: #5a6238;
}

.rust-replace-modal__btn--primary:hover:not(:disabled) {
  background: var(--rust-green);
}

.rust-replace-modal__btn--primary:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.theme-dark .inventory__item,
.theme-dark .dashboard__item,
.theme-dark .items__card {
  background: rgba(28, 28, 28, 0.9) !important;
  border: 1px solid var(--rust-border) !important;
  border-radius: 0 !important;
}

.theme-dark .open__btn {
  background: var(--rust-green) !important;
  border: 1px solid #5a6238 !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.theme-dark .open__btn::before {
  display: none !important;
}

.theme-dark .unAuth__btn {
  background: var(--rust-orange) !important;
  border: 1px solid #8b3024 !important;
  border-radius: 0 !important;
  color: #fff !important;
}

.theme-dark .unAuth__btn::before {
  display: none !important;
}

.theme-dark .burgerMenu__wrapper,
.theme-dark .containerMobile {
  background: #141414 !important;
}

.theme-dark .containerMobile {
  position: fixed;
  inset: 0;
  z-index: 200;
  border-top: none;
  bottom: 0;
}

.theme-dark .containerMobile[aria-hidden="true"] {
  display: none !important;
  animation: none !important;
  pointer-events: none;
  visibility: hidden;
}

.theme-dark .containerMobile[aria-hidden="false"] {
  display: flex !important;
}

.theme-dark .Vue-Toastification__toast {
  background: #1c1c1c !important;
  border: 1px solid var(--rust-border) !important;
  border-radius: 0 !important;
}

.theme-dark a,
.theme-dark button { cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .theme-dark * { animation: none !important; transition-duration: 0.01ms !important; }
}
