:root {
  --player-bg: #0b0e15;
  --player-surface: #15181e;
  --player-surface-raised: #1a1f2e;
  --player-text: #e5e5e5;
  --player-text-muted: #8c8fa5;
  --player-border: rgba(255, 255, 255, 0.07);
  --player-border-strong: rgba(255, 255, 255, 0.13);
  --player-cyan: #00e0ff;
  --player-magenta: #ff00c2;
  --player-lime: #7cfc00;
  --player-radius-sm: 8px;
  --player-radius-md: 12px;
  --player-radius-lg: 16px;
  --player-content: 1800px;
  --player-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.theme-casespin {
  color: var(--player-text);
  background: var(--player-bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.theme-casespin :where(a, button, input, select, textarea) {
  font-family: inherit;
}

body.theme-casespin :where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--player-cyan);
  outline-offset: 3px;
}

.Navigation {
  background: var(--player-bg) !important;
}

.Navigation > .mainnav {
  padding: 8px 16px 0 !important;
}

.Navigation .Header {
  width: 100% !important;
  max-width: var(--player-content);
  height: 80px !important;
  overflow: visible !important;
  border-radius: var(--player-radius-md) !important;
}

.Navigation .HeaderBackground {
  background: var(--player-surface) !important;
  border: 1px solid var(--player-border);
  border-radius: inherit;
}

.Navigation .header-inner {
  gap: 28px !important;
  padding: 0 22px !important;
}

.Navigation .TopLeftLogo {
  min-width: 0;
  gap: clamp(24px, 5vw, 72px) !important;
}

.Navigation .TopLeftLogo > a {
  flex: 0 0 auto;
}

.Navigation .TopLeftLogo > a img {
  width: auto !important;
  height: 58px !important;
  object-fit: contain;
}

.Navigation .Modes {
  height: 80px;
  margin-left: 0 !important;
  gap: 24px !important;
}

.Navigation .Modes > a {
  position: relative;
  height: 100%;
  padding: 0 2px !important;
  gap: 7px !important;
  color: var(--player-text-muted) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: color 180ms var(--player-ease) !important;
}

.Navigation .Modes > a:hover {
  color: var(--player-text) !important;
}

.Navigation .Modes > a > div:first-child svg {
  width: 20px;
  height: 20px;
}

.Navigation .Modes > a > div:first-child svg :where(path, rect) {
  transition: fill 180ms var(--player-ease), stroke 180ms var(--player-ease);
}

.Navigation .Modes > a > div:last-child {
  color: currentColor !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

body.is-home .Navigation .Modes > a[href="/cases"] {
  color: var(--player-text) !important;
}

body.is-home .Navigation .Modes > a[href="/cases"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--player-cyan);
  border-radius: 999px 999px 0 0;
  content: "";
}

.Navigation .TopRight {
  width: auto !important;
  height: 42px !important;
}

.Navigation .Currencies {
  position: static !important;
  gap: 8px !important;
}

.Navigation .Coin,
.Navigation .Gem {
  min-height: 42px;
  padding: 0 13px !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid var(--player-border);
  border-radius: 10px !important;
  box-shadow: none !important;
}

.Navigation .BalanceValue,
.Navigation .GemValue {
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  text-shadow: none !important;
}

.Navigation a.Deposit {
  min-height: 42px;
  padding: 0 17px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  transition: filter 180ms var(--player-ease), transform 180ms var(--player-ease);
}

.Navigation a.Deposit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.Navigation .TopRightNoLogin {
  min-height: 42px;
  padding: 0 16px !important;
  background: #1b2838 !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: background 180ms var(--player-ease), transform 180ms var(--player-ease);
}

.Navigation .TopRightNoLogin:hover {
  background: #223248 !important;
  transform: translateY(-1px);
}

.Navigation .TopRightNoLogin svg {
  width: 23px;
  height: 23px;
}

.Navigation .LoginWithSteam {
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

body.is-home > section.w-full.relative.overflow-hidden {
  padding: 0 16px;
}

body.is-home > section.w-full.relative.overflow-hidden > .w-full {
  max-width: var(--player-content);
  margin: 0 auto !important;
  padding: 8px 0 !important;
}

body.is-home .LiveDrop {
  height: 110px !important;
  overflow: hidden;
  border: 1px solid var(--player-border);
  border-radius: var(--player-radius-md) !important;
}

body.is-home .LiveDrop .Rectangle11 {
  background: var(--player-surface) !important;
  border-radius: inherit !important;
}

body.is-home .Live {
  left: 22px !important;
  top: 15px !important;
  gap: 8px;
  color: var(--player-text-muted) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
}

body.is-home .Live::before {
  width: 6px;
  height: 6px;
  background: var(--player-lime);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(124, 252, 0, 0.48);
  content: "";
  animation: player-live-pulse 2.4s ease-in-out infinite;
}

body.is-home #recent-drops-container {
  right: 10px !important;
  left: 10px !important;
  top: 40px !important;
  height: 60px !important;
  gap: 4px !important;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)) !important;
}

body.is-home #recent-drops-container > div:not(.text-center),
body.is-home .drop-item,
body.is-home .recent-card-base {
  height: 60px !important;
}

body.is-home .recent-card-base {
  border-radius: var(--player-radius-sm) !important;
}

body.is-home .recent-card-hover {
  display: none !important;
}

body.is-home .drop-item:hover .recent-skin-img {
  opacity: 1 !important;
}

body.is-home #cases-section {
  padding-top: 20px !important;
}

body.is-home .case-filter {
  position: relative !important;
  top: auto !important;
  z-index: 20 !important;
  max-width: var(--player-content) !important;
  margin: 0 auto 16px !important;
  padding: 0 16px !important;
}

body.is-home .case-filter .Filters {
  min-height: 62px !important;
}

body.is-home .case-filter .Rectangle22 {
  background: var(--player-surface) !important;
  border: 1px solid var(--player-border);
  border-radius: var(--player-radius-md) !important;
  box-shadow: none !important;
}

body.is-home .filters-content {
  min-height: 62px;
  gap: 8px !important;
  padding: 9px 12px !important;
}

body.is-home .filters-content > div {
  min-width: 0 !important;
}

body.is-home .filters-content .filter-box-type {
  flex-basis: 220px !important;
}

body.is-home .filters-content .filter-box-price {
  flex-basis: 185px !important;
}

body.is-home .filters-content .filter-box-low {
  flex-basis: 150px !important;
}

body.is-home .filters-content .filter-box-available {
  flex-basis: 115px !important;
}

body.is-home .filters-content .filter-box-clear {
  flex-basis: auto !important;
}

body.is-home .filters-content :where(.filter-box-type, .filter-box-price, .filter-box-available),
body.is-home .filters-content :where(input, select),
body.is-home #clear-filters {
  height: 40px !important;
  border-color: var(--player-border) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.025) !important;
}

body.is-home .case-filter .case-type-label {
  min-height: 32px;
  padding: 0 10px;
  font-size: 10px;
  border-radius: 8px;
}

body.is-home .case-filter .case-type-label.active {
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--player-border-strong);
}

body.is-home #clear-filters {
  padding: 0 13px !important;
  color: var(--player-magenta) !important;
  background: transparent !important;
  transition: background 180ms var(--player-ease), border-color 180ms var(--player-ease);
}

body.is-home #clear-filters:hover {
  background: rgba(255, 0, 194, 0.07) !important;
  border-color: rgba(255, 0, 194, 0.25) !important;
}

body.is-home .title-box {
  max-width: var(--player-content) !important;
  margin: 34px auto 16px !important;
  padding: 0 16px !important;
  gap: 15px !important;
}

body.is-home .title-box .Line1 {
  flex-basis: 44px !important;
  border-top-width: 1px !important;
  border-top-color: #1b2838 !important;
}

body.is-home .title-box .Line2 {
  border-top-width: 1px !important;
  border-top-color: #1b2838 !important;
}

body.is-home .title-box .Category {
  gap: 9px !important;
  padding: 6px 0 !important;
}

body.is-home .title-box .Icon {
  width: 24px !important;
  height: 24px !important;
}

body.is-home .title-box .Icon svg {
  width: 24px;
  height: 24px;
}

body.is-home .title-box .Category1 {
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.025em !important;
}

body.is-home div[id="cases-grid"],
body.is-home div[class^="cases-grid-"] {
  width: 100% !important;
  max-width: var(--player-content) !important;
  margin: 0 auto !important;
  padding: 0 16px 26px !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)) !important;
  gap: clamp(14px, 1.4vw, 22px) !important;
  justify-content: stretch !important;
}

body.is-home #cases-grid > .case-card,
body.is-home div[class^="cases-grid-"] > .case-card {
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: var(--player-radius-lg) !important;
  box-shadow: none !important;
  transform: none !important;
  transition: transform 220ms var(--player-ease) !important;
}

body.is-home #cases-grid > .case-card::before,
body.is-home #cases-grid > .case-card::after,
body.is-home div[class^="cases-grid-"] > .case-card::before,
body.is-home div[class^="cases-grid-"] > .case-card::after {
  display: none !important;
  content: none !important;
}

body.is-home #cases-grid > .case-card:hover,
body.is-home div[class^="cases-grid-"] > .case-card:hover {
  box-shadow: none !important;
  transform: translateY(-3px) !important;
}

body.is-home .case-card .Case {
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
}

body.is-home .case-card .CaseOutline {
  inset: 8% 8% 0 !important;
  width: auto !important;
  height: auto !important;
  overflow: hidden !important;
  background: rgba(15, 18, 27, 0.34);
  border: 1px solid rgba(105, 118, 145, 0.25) !important;
  border-radius: 18px !important;
  transition: border-color 200ms var(--player-ease), background 200ms var(--player-ease) !important;
}

body.is-home .case-card:hover .CaseOutline {
  background: rgba(21, 24, 30, 0.56);
  border-color: rgba(140, 143, 165, 0.42) !important;
  box-shadow: none !important;
}

body.is-home .case-card .HowlCaseImage {
  transform: none !important;
  filter: none !important;
  transition: transform 240ms var(--player-ease) !important;
}

body.is-home .case-card:hover .HowlCaseImage {
  transform: translateY(-2px) scale(1.018) !important;
  filter: none !important;
}

body.is-home .case-card .HowlCase {
  right: 47% !important;
  bottom: 7% !important;
  left: 12% !important;
  top: auto !important;
  width: auto !important;
  height: 22px !important;
  overflow: hidden;
  color: var(--player-text) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 22px !important;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65) !important;
  white-space: nowrap;
}

body.is-home .case-card .Price {
  right: 11% !important;
  bottom: 7% !important;
  left: auto !important;
  top: auto !important;
  height: 22px !important;
  padding: 0 !important;
  gap: 5px !important;
}

body.is-home .case-card .Price > div:first-child {
  width: 9px !important;
  height: 9px !important;
  box-shadow: 0 0 6px rgba(250, 204, 21, 0.45) !important;
}

body.is-home .case-card .PriceText {
  color: var(--player-text) !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
}

.the-footer {
  margin-top: 56px !important;
  padding: 0 16px 16px !important;
  background: var(--player-bg) !important;
  border: 0 !important;
}

.the-footer .Footer {
  width: 100% !important;
  max-width: var(--player-content);
  height: auto !important;
  min-height: 300px;
  margin: 0 auto !important;
  border: 1px solid var(--player-border);
  border-radius: var(--player-radius-md) !important;
}

.the-footer .Footer .HeaderBackground {
  border-radius: inherit;
}

.the-footer .ShopItem {
  color: var(--player-text-muted) !important;
  font-size: 13px;
  font-weight: 500;
  transition: color 180ms var(--player-ease);
}

.the-footer .ShopItem:hover {
  color: var(--player-text) !important;
}

@keyframes player-live-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1240px) {
  .Navigation .Modes {
    gap: 16px !important;
  }

  .Navigation .Modes > a > div:first-child {
    display: none !important;
  }

  .Navigation .header-inner {
    gap: 18px !important;
  }

  body.is-home .filters-content {
    flex-wrap: wrap !important;
  }

  body.is-home .filters-content .filter-box-name {
    order: 5;
    flex-basis: calc(100% - 130px) !important;
  }

  body.is-home .filters-content .filter-box-clear {
    order: 6;
  }
}

@media (max-width: 1023px) {
  .Navigation .Header {
    height: 68px !important;
  }

  .Navigation .TopLeftLogo > a img {
    height: 48px !important;
  }

  .Navigation .Modes {
    display: none !important;
  }

  body.is-home div[id="cases-grid"],
  body.is-home div[class^="cases-grid-"] {
    grid-template-columns: repeat(3, minmax(160px, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .Navigation > .mainnav {
    padding-inline: 10px !important;
  }

  .Navigation .header-inner {
    padding-inline: 14px !important;
  }

  .Navigation .TopLeftLogo > a img {
    height: 42px !important;
  }

  .Navigation .TopRightNoLogin {
    min-height: 38px;
    padding-inline: 12px !important;
  }

  .Navigation .LoginWithSteam {
    display: none !important;
  }

  body.is-home > section.w-full.relative.overflow-hidden {
    padding-inline: 10px;
  }

  body.is-home .LiveDrop {
    height: 94px !important;
  }

  body.is-home #recent-drops-container {
    top: 38px !important;
    height: 48px !important;
    grid-template-columns: repeat(4, minmax(72px, 1fr)) !important;
  }

  body.is-home #recent-drops-container > :nth-child(n + 5) {
    display: none !important;
  }

  body.is-home #recent-drops-container > div:not(.text-center),
  body.is-home .drop-item,
  body.is-home .recent-card-base {
    height: 48px !important;
  }

  body.is-home .case-filter {
    padding-inline: 10px !important;
  }

  body.is-home .filters-content > div {
    flex: 1 1 calc(50% - 4px) !important;
  }

  body.is-home .filters-content .filter-box-name {
    flex-basis: 100% !important;
  }

  body.is-home .filters-content .filter-box-clear {
    flex-grow: 0 !important;
  }

  body.is-home .title-box {
    margin-top: 26px !important;
    padding-inline: 10px !important;
  }

  body.is-home .title-box .Line1 {
    display: none;
  }

  body.is-home div[id="cases-grid"],
  body.is-home div[class^="cases-grid-"] {
    grid-template-columns: repeat(2, minmax(135px, 1fr)) !important;
    gap: 12px !important;
    padding-inline: 10px !important;
  }

  body.is-home .case-card .HowlCase {
    right: 45% !important;
    left: 10% !important;
    font-size: 11px !important;
  }

  body.is-home .case-card .Price {
    right: 9% !important;
  }
}

@media (max-width: 420px) {
  body.is-home .filters-content > div {
    flex-basis: 100% !important;
  }

  body.is-home .filters-content .filter-box-clear {
    flex-grow: 1 !important;
  }

  body.is-home .title-box .Category1 {
    font-size: 14px !important;
  }

  body.is-home .case-card .HowlCase {
    right: 42% !important;
    font-size: 10px !important;
  }

  body.is-home .case-card .PriceText {
    font-size: 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-casespin *,
  body.theme-casespin *::before,
  body.theme-casespin *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.player-footer {
  width: calc(100% - 32px);
  max-width: var(--player-content);
  margin: 56px auto 16px;
  color: var(--player-text);
  background: var(--player-surface);
  border: 1px solid var(--player-border);
  border-radius: var(--player-radius-md);
}

.player-footer__inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(420px, 2fr);
  gap: clamp(40px, 8vw, 120px);
  padding: 40px;
}

.player-footer__brand {
  display: grid;
  align-content: start;
  gap: 18px;
}

.player-footer__logo {
  display: inline-flex;
  width: max-content;
}

.player-footer__logo img {
  width: auto;
  height: 58px;
  object-fit: contain;
}

.player-footer__brand p {
  max-width: 38ch;
  margin: 0;
  color: var(--player-text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.player-footer__socials {
  display: flex;
  gap: 8px;
}

.player-footer__socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--player-text-muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--player-border);
  border-radius: 9px;
  transition: color 180ms var(--player-ease), background 180ms var(--player-ease);
}

.player-footer__socials a:hover {
  color: var(--player-text);
  background: rgba(255, 255, 255, 0.07);
}

.player-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.player-footer__links > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.player-footer__links h2 {
  margin: 0 0 4px;
  color: var(--player-text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.player-footer__links a {
  color: var(--player-text-muted);
  font-size: 12px;
  font-weight: 500;
  transition: color 180ms var(--player-ease);
}

.player-footer__links a:hover {
  color: var(--player-text);
}

.player-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 40px;
  border-top: 1px solid var(--player-border);
}

.player-footer__bottom p {
  margin: 0;
  color: var(--player-text-muted);
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .player-footer {
    width: calc(100% - 20px);
    margin-top: 40px;
  }

  .player-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 22px;
  }

  .player-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .player-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 16px 22px;
  }
}

@media (max-width: 420px) {
  .player-footer__links {
    grid-template-columns: 1fr;
  }
}

body.theme-casespin.is-home #cases-section div[id="cases-grid"] {
  width: 100% !important;
  max-width: var(--player-content) !important;
  margin: 0 auto !important;
  padding: 0 16px 26px !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)) !important;
  gap: clamp(14px, 1.4vw, 22px) !important;
  justify-content: stretch !important;
}

@media (max-width: 767px) {
  body.theme-casespin:not(.admin-no-scale) {
    zoom: 1 !important;
  }

  body.theme-casespin.is-home #cases-section div[id="cases-grid"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 0 10px 22px !important;
  }

  body.theme-casespin.is-home #cases-section div[id="cases-grid"] > .case-card {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.is-home .filters-content .filter-box-name {
    order: 4;
  }

  body.is-home .filters-content .filter-box-available {
    order: 5;
  }
}

body.theme-casespin h1,
body.theme-casespin h2,
body.theme-casespin h3 {
  font-family: Poppins, Inter, system-ui, sans-serif;
  text-wrap: balance;
}

body.theme-casespin > section.w-full.relative.overflow-hidden {
  padding: 0 16px;
  background: var(--player-bg) !important;
}

body.theme-casespin > section.w-full.relative.overflow-hidden > .w-full {
  max-width: var(--player-content);
  margin: 0 auto !important;
  padding: 8px 0 !important;
}

body.theme-casespin .LiveDrop {
  height: 110px !important;
  overflow: hidden;
  background: var(--player-surface);
  border: 1px solid var(--player-border);
  border-radius: var(--player-radius-md) !important;
}

body.theme-casespin .LiveDrop .Rectangle11 {
  background: var(--player-surface) !important;
  border-radius: inherit !important;
}

body.theme-casespin .Live {
  left: 22px !important;
  top: 15px !important;
  gap: 8px;
  color: var(--player-text-muted) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
}

body.theme-casespin .Live::before {
  width: 6px;
  height: 6px;
  background: var(--player-lime);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(124, 252, 0, 0.48);
  content: "";
  animation: player-live-pulse 2.4s ease-in-out infinite;
}

body.theme-casespin #recent-drops-container {
  right: 10px !important;
  left: 10px !important;
  top: 40px !important;
  height: 60px !important;
  gap: 4px !important;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)) !important;
}

body.theme-casespin #recent-drops-container > div:not(.text-center),
body.theme-casespin .drop-item,
body.theme-casespin .recent-card-base {
  height: 60px !important;
}

body.theme-casespin .recent-card-base {
  border-radius: var(--player-radius-sm) !important;
}

body.theme-casespin .recent-card-hover {
  display: none !important;
}

body.theme-casespin .drop-item:hover .recent-skin-img {
  opacity: 1 !important;
}

body.page-market .Navigation .Modes > a[href="/market"],
body.page-battles .Navigation .Modes > a[href="/battles"],
body.page-create-battle .Navigation .Modes > a[href="/battles"],
body.page-case .Navigation .Modes > a[href="/cases"] {
  color: var(--player-text) !important;
}

body.page-market .Navigation .Modes > a[href="/market"]::after,
body.page-battles .Navigation .Modes > a[href="/battles"]::after,
body.page-create-battle .Navigation .Modes > a[href="/battles"]::after,
body.page-case .Navigation .Modes > a[href="/cases"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--player-cyan);
  border-radius: 999px 999px 0 0;
  content: "";
}

body.page-market .market-container {
  width: 100%;
  max-width: var(--player-content);
  margin: 0 auto;
  padding: 20px 16px 0 !important;
}

body.page-market .market-header {
  margin-bottom: 18px !important;
}

body.page-market .market-title {
  font-size: clamp(28px, 4vw, 38px) !important;
  letter-spacing: -0.035em;
}

body.page-market .market-content {
  padding: 0 !important;
}

body.page-market .market-navigation-row {
  min-height: 52px;
  margin-bottom: 18px !important;
  padding: 7px 10px !important;
  background: var(--player-surface) !important;
  border: 1px solid var(--player-border) !important;
  border-radius: var(--player-radius-md) !important;
}

body.page-market .nav-tab {
  min-height: 36px;
  padding: 0 13px !important;
  border-radius: 9px !important;
  font-size: 11px !important;
  font-weight: 650 !important;
}

body.page-market .nav-tab.active {
  background: rgba(255, 255, 255, 0.075) !important;
  border-color: var(--player-border-strong) !important;
  box-shadow: none !important;
}

body.page-market .market-divider {
  margin: 0 0 18px !important;
  background: var(--player-border) !important;
}

body.page-market .market-alert {
  min-height: 42px;
  margin-bottom: 10px !important;
  padding: 10px 13px !important;
  border-radius: 9px !important;
  font-size: 11px !important;
}

body.page-market .market-alert-warning {
  color: #f6d56d !important;
  background: rgba(245, 158, 11, 0.075) !important;
  border-color: rgba(245, 158, 11, 0.24) !important;
}

body.page-market .market-alert-danger {
  color: #ff9aa9 !important;
  background: rgba(239, 68, 68, 0.075) !important;
  border-color: rgba(239, 68, 68, 0.22) !important;
}

body.page-market .market-search-row {
  gap: 8px !important;
  margin-top: 18px !important;
}

body.page-market :where(.search-input-wrapper, .btn-search, .btn-filters, .sort-select) {
  min-height: 42px !important;
  border-color: var(--player-border) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.025) !important;
}

body.page-market .items-grid,
body.page-market .base-grid,
body.page-market .inventory-skins.base-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  gap: 14px !important;
}

body.page-market .item-card {
  overflow: hidden;
  background: var(--player-surface) !important;
  border: 1px solid var(--player-border) !important;
  border-radius: var(--player-radius-md) !important;
  box-shadow: none !important;
  transition: transform 220ms var(--player-ease), border-color 180ms var(--player-ease) !important;
}

body.page-market .item-card:hover {
  border-color: var(--player-border-strong) !important;
  box-shadow: none !important;
  transform: translateY(-3px) !important;
}

body.page-case .case-page {
  padding: 22px 16px 38px !important;
}

body.page-case .case-content-width {
  width: 100% !important;
  max-width: 1600px !important;
}

body.page-case .case-page > .case-content-width:first-child {
  margin-bottom: 20px !important;
}

body.page-case .case-page > .case-content-width:first-child h1 {
  margin-bottom: 7px !important;
  font-size: clamp(32px, 4vw, 44px) !important;
  font-weight: 650 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em;
}

body.page-case .case-page > .case-content-width:first-child p {
  max-width: 68ch;
  margin-top: 0 !important;
  color: var(--player-text-muted) !important;
  font-size: 13px !important;
  line-height: 1.65;
}

body.page-case .case-page > nav.case-content-width {
  margin-bottom: 10px !important;
}

body.page-case .case-page > nav.case-content-width > :where(div, button) {
  min-height: 38px !important;
  background: var(--player-surface) !important;
  border-color: var(--player-border) !important;
  border-radius: 9px !important;
}

body.page-case .case-reel-shell {
  margin-bottom: 26px !important;
}

body.page-case .case-reel-glow {
  display: none !important;
}

body.page-case .case-reel-frame {
  border-radius: var(--player-radius-lg) !important;
  box-shadow: none !important;
}

body.page-case #case-reel-container {
  height: 320px !important;
  background-color: var(--player-surface) !important;
  border: 1px solid var(--player-border) !important;
  border-radius: var(--player-radius-lg) !important;
}

body.page-case .case-page > .flex.flex-col.justify-center.my-12 {
  margin-top: 26px !important;
  margin-bottom: 34px !important;
}

body.page-case .case-page > .flex.flex-col.justify-center.my-12 a,
body.page-case #open-case-btn,
body.page-case #test-open-btn {
  min-height: 44px;
  background: var(--player-surface-raised) !important;
  border: 1px solid var(--player-border-strong) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 13px !important;
  transition: transform 180ms var(--player-ease), background 180ms var(--player-ease) !important;
}

body.page-case .case-page > .flex.flex-col.justify-center.my-12 a:hover,
body.page-case #open-case-btn:hover,
body.page-case #test-open-btn:hover {
  background: #22283a !important;
  transform: translateY(-1px);
}

body.page-case .case-page > div[style*="width: 1499px"] {
  width: 100% !important;
  max-width: 1600px !important;
}

body.page-case .case-page > div[style*="width: 1499px"] > h2 {
  margin-bottom: 18px !important;
  font-size: 24px !important;
  font-weight: 650 !important;
  letter-spacing: -0.025em;
}

body.page-case .case-page > div[style*="width: 1499px"] > .grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 14px !important;
}

body.page-case .item-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 212px !important;
  min-height: 212px !important;
  max-height: 212px !important;
  padding: 14px !important;
  background-color: var(--player-surface) !important;
  border-width: 1px !important;
  border-radius: var(--player-radius-md) !important;
  box-shadow: none !important;
  transform: none !important;
  transition: transform 220ms var(--player-ease), border-color 180ms var(--player-ease) !important;
}

body.page-case .item-card:hover {
  box-shadow: none !important;
  transform: translateY(-3px) !important;
}

body.page-battles .battles-wrapper .container {
  width: 100%;
  max-width: var(--player-content) !important;
  padding: 28px 16px 40px !important;
}

body.page-battles .battles-topline {
  margin-bottom: 18px !important;
}

body.page-battles .battles-topline-line {
  height: 1px !important;
  background: #1b2838 !important;
}

body.page-battles .battles-topline-title {
  font-size: 16px !important;
}

body.page-battles .battles-toolbar,
body.page-battles .battles-mode-filter {
  background: var(--player-surface) !important;
  border: 1px solid var(--player-border) !important;
  border-radius: var(--player-radius-md) !important;
  box-shadow: none !important;
}

body.page-battles .battles-toolbar {
  min-height: 62px;
  padding: 9px 12px !important;
}

body.page-battles :where(.battle-btn-primary, .segmented-tab, .battle-sort-button, .mode-pill) {
  min-height: 38px;
  border-radius: 9px !important;
  font-size: 11px !important;
  box-shadow: none !important;
}

body.page-battles .battle-row {
  background: var(--player-surface) !important;
  border: 1px solid var(--player-border) !important;
  border-radius: var(--player-radius-md) !important;
  box-shadow: none !important;
  transition: transform 220ms var(--player-ease), border-color 180ms var(--player-ease) !important;
}

body.page-battles .battle-row:hover {
  border-color: var(--player-border-strong) !important;
  box-shadow: none !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 767px) {
  body.theme-casespin > section.w-full.relative.overflow-hidden {
    padding-inline: 10px;
  }

  body.theme-casespin .LiveDrop {
    height: 94px !important;
  }

  body.theme-casespin #recent-drops-container {
    top: 38px !important;
    height: 48px !important;
    grid-template-columns: repeat(3, minmax(72px, 1fr)) !important;
  }

  body.theme-casespin #recent-drops-container > :nth-child(n + 4) {
    display: none !important;
  }

  body.theme-casespin #recent-drops-container > div:not(.text-center),
  body.theme-casespin .drop-item,
  body.theme-casespin .recent-card-base {
    height: 48px !important;
  }

  body.page-market .market-container {
    padding-inline: 10px !important;
  }

  body.page-market .market-navigation-row,
  body.page-market .market-search-row {
    align-items: stretch !important;
    flex-wrap: wrap !important;
  }

  body.page-market .market-search-el.search {
    flex-basis: 100% !important;
  }

  body.page-market .items-grid,
  body.page-market .base-grid,
  body.page-market .inventory-skins.base-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.page-case .case-page {
    padding: 24px 10px 34px !important;
  }

  body.page-case .case-page > .case-content-width:first-child h1 {
    font-size: 30px !important;
  }

  body.page-case .case-page > nav.case-content-width > div:first-child {
    display: none !important;
  }

  body.page-case #case-reel-container {
    height: 240px !important;
  }

  body.page-case .case-page > div[style*="width: 1499px"] > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.page-case .item-card {
    height: 186px !important;
    min-height: 186px !important;
    max-height: 186px !important;
  }

  body.page-battles .battles-wrapper .container {
    padding-inline: 10px !important;
  }

  body.page-battles .battles-toolbar {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
}

body.page-market .items-grid,
body.page-market .base-grid,
body.page-market .inventory-skins.base-grid {
  align-content: start !important;
  align-items: start !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  grid-auto-rows: max-content;
}

body.page-market .item-card {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
}

@media (max-width: 767px) {
  body.page-market .items-grid,
  body.page-market .base-grid,
  body.page-market .inventory-skins.base-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.player-mobile-nav {
  display: none;
}

@media (max-width: 767px) {
  body.theme-casespin {
    padding-bottom: 70px !important;
  }

  .player-mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 66px;
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(21, 24, 30, 0.96);
    border-top: 1px solid var(--player-border);
    backdrop-filter: blur(18px);
  }

  .player-mobile-nav__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    min-height: 66px;
    color: var(--player-text-muted);
    font-size: 10px;
    font-weight: 650;
    transition: color 180ms var(--player-ease), background 180ms var(--player-ease);
  }

  .player-mobile-nav__item i {
    font-size: 17px;
  }

  .player-mobile-nav__item:hover,
  body.page-home .player-mobile-nav__cases,
  body.page-case .player-mobile-nav__cases,
  body.page-battles .player-mobile-nav__battles,
  body.page-create-battle .player-mobile-nav__battles,
  body.page-market .player-mobile-nav__market,
  body.page-profile .player-mobile-nav__account,
  body.page-inventory .player-mobile-nav__account,
  body.page-settings .player-mobile-nav__account {
    color: var(--player-cyan);
  }

  body.page-market .market-navigation-row {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.page-market .market-navigation-row::-webkit-scrollbar {
    display: none;
  }
}

body.page-profile > .app-container > .min-h-screen,
body.page-profile .min-h-screen.py-10 {
  padding-top: 28px !important;
  padding-bottom: 40px !important;
}

body.page-profile .max-w-\[1800px\] {
  max-width: var(--player-content) !important;
}

body.page-profile :where(.bg-gray-900\/40, .profile-tabs, .profile-tab-panel .settings-container) {
  background-color: var(--player-surface) !important;
  border-color: var(--player-border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.page-profile .profile-tab-link {
  min-height: 42px;
  border-radius: 9px !important;
  font-size: 11px !important;
}

body.page-profile .profile-tab-link.is-active {
  color: var(--player-text) !important;
  background: rgba(255, 255, 255, 0.075) !important;
  box-shadow: none !important;
}

body.page-inventory > .app-container > .container,
body.page-inventory .container.mx-auto {
  width: 100%;
  max-width: var(--player-content) !important;
  padding: 28px 16px 38px !important;
}

body.page-inventory #inventoryGrid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important;
  gap: 14px !important;
}

body.page-inventory .inventory-item {
  background: var(--player-surface) !important;
  border-width: 1px !important;
  border-color: var(--player-border) !important;
  border-radius: var(--player-radius-md) !important;
  box-shadow: none !important;
  transition: transform 220ms var(--player-ease), border-color 180ms var(--player-ease) !important;
}

body.page-inventory .inventory-item:hover {
  border-color: var(--player-border-strong) !important;
  box-shadow: none !important;
  transform: translateY(-3px) !important;
}

body.page-inventory :where(#inventory-sort-btn, #sell-selected-btn, #sell-all-btn, #withdraw-selected-btn) {
  min-height: 40px;
  border-radius: 9px !important;
  box-shadow: none !important;
  transform: none !important;
}

body.page-topup .payments-page {
  width: 100%;
  max-width: var(--player-content);
  margin: 0 auto;
  padding: 28px 16px 42px;
}

body.page-topup .payments-page > .section-title {
  margin-bottom: 18px !important;
}

body.page-topup .payments-page .title-box h1 {
  font-size: clamp(24px, 3vw, 34px) !important;
  letter-spacing: -0.03em;
}

body.page-topup .payments-container,
body.page-topup :where(.payments-settings, .payments-bonus, .payments-content) {
  border-color: var(--player-border) !important;
  border-radius: var(--player-radius-md) !important;
  box-shadow: none !important;
}

body.page-topup .method-box {
  border-color: var(--player-border) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: transform 180ms var(--player-ease), border-color 180ms var(--player-ease) !important;
}

body.page-topup .method:hover .method-box {
  border-color: var(--player-border-strong) !important;
  box-shadow: none !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 767px) {
  body.page-profile .min-h-screen.py-10,
  body.page-inventory .container.mx-auto,
  body.page-topup .payments-page {
    padding: 24px 10px 34px !important;
  }

  body.page-inventory #inventoryGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.page-inventory .container > .flex.justify-between.items-center {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 12px;
  }

  body.page-topup .player-mobile-nav__account,
  body.page-inventory .player-mobile-nav__account {
    color: var(--player-cyan);
  }
}

body.page-topup .container-left .payments-methods {
  flex: 0 0 auto !important;
}

body.page-topup .methods-list {
  height: auto !important;
  grid-auto-rows: auto !important;
}

body.page-topup .method {
  height: auto !important;
}

body.page-topup .method-box {
  height: 112px !important;
  min-height: 112px !important;
  padding: 14px !important;
}

@media (max-width: 767px) {
  body.page-topup .method-box {
    height: 96px !important;
    min-height: 96px !important;
    padding: 10px !important;
  }
}
@media (max-width: 767px) {
  .player-footer__inner {
    gap: 22px;
    padding: 22px 18px;
  }

  .player-footer__brand {
    gap: 12px;
  }

  .player-footer__logo img {
    height: 44px;
  }

  .player-footer__brand p {
    font-size: 11px;
    line-height: 1.55;
  }

  .player-footer__socials a {
    width: 34px;
    height: 34px;
  }

  .player-footer__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .player-footer__links > div {
    gap: 8px;
  }

  .player-footer__links h2 {
    font-size: 11px;
  }

  .player-footer__links a {
    font-size: 10px;
    line-height: 1.35;
  }

  .player-footer__bottom {
    padding: 14px 18px;
  }
}

@media (max-width: 420px) {
  .player-footer__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
body.theme-casespin.page-case {
  zoom: 1 !important;
  width: 100% !important;
  height: auto !important;
  transform: none !important;
}

body.page-case .case-content-width,
body.page-case .case-page > div[style*="width: 1499px"] {
  width: 100% !important;
  max-width: 1499px !important;
}

body.page-case .case-page {
  padding: 32px 20px 48px !important;
}

body.page-case .case-page > .case-content-width:first-child {
  margin-bottom: 28px !important;
}

body.page-case .case-page > .case-content-width:first-child h1 {
  margin-bottom: 10px !important;
  font-size: 44px !important;
  line-height: 1.08 !important;
}

body.page-case .case-page > .case-content-width:first-child p {
  font-size: 15px !important;
  line-height: 1.6 !important;
}

body.page-case .case-page > nav.case-content-width > :where(div, button) {
  min-height: 42px !important;
}

body.page-case #case-reel-container {
  height: 400px !important;
}

body.page-case .case-reel-shell {
  margin-bottom: 32px !important;
}

body.page-case .case-page > .flex.flex-col.justify-center.my-12 {
  margin-top: 32px !important;
  margin-bottom: 44px !important;
}

body.page-case .case-count-btn {
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  font-size: 16px !important;
}

body.page-case .case-page > .flex.flex-col.justify-center.my-12 a,
body.page-case #open-case-btn,
body.page-case #test-open-btn {
  min-height: 48px !important;
  padding: 12px 20px !important;
  font-size: 15px !important;
}

body.page-case .case-page > div[style*="width: 1499px"] > h2 {
  margin-bottom: 22px !important;
  font-size: 32px !important;
}

body.page-case .case-page > div[style*="width: 1499px"] > .grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body.page-case .item-card {
  height: 244px !important;
  min-height: 244px !important;
  max-height: 244px !important;
  padding: 16px !important;
}

@media (max-width: 1279px) {
  body.page-case .case-page > div[style*="width: 1499px"] > .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1023px) {
  body.page-case .case-page > div[style*="width: 1499px"] > .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.page-case .case-page {
    padding: 24px 10px 36px !important;
  }

  body.page-case .case-page > .case-content-width:first-child h1 {
    font-size: 32px !important;
  }

  body.page-case .case-page > .case-content-width:first-child p {
    font-size: 14px !important;
  }

  body.page-case #case-reel-container {
    height: 260px !important;
  }

  body.page-case .case-page > div[style*="width: 1499px"] > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.page-case .item-card {
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
    padding: 10px !important;
  }
}
@media (min-width: 1600px) {
  body.page-case .Navigation .Header {
    width: 100% !important;
    max-width: none !important;
  }

  body.page-case > section.w-full.relative.overflow-hidden > .w-full.relative.z-10 {
    width: calc(100% - 32px) !important;
    max-width: none !important;
  }

  body.page-case .LiveDrop {
    width: 100% !important;
    max-width: none !important;
  }

  body.page-case .case-content-width,
  body.page-case .case-page > div[style*="width: 1499px"] {
    width: calc(100% - 8px) !important;
    max-width: none !important;
  }

  body.page-case .case-page > .case-content-width:first-child h1 {
    font-size: 52px !important;
  }

  body.page-case #case-reel-container {
    height: 460px !important;
  }

  body.page-case .item-card {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
  }

  body.page-case .item-card .h-40.w-40 {
    width: 220px !important;
    height: 220px !important;
  }
}
@media (min-width: 1600px) {
  body.page-case .player-footer {
    width: calc(100% - 32px);
    max-width: none;
  }

  body.page-case .item-card > .absolute.bottom-2.left-2 p {
    font-size: 16px !important;
  }

  body.page-case .item-card > .absolute.top-2.right-2 p {
    font-size: 14px !important;
  }
}