:root {
  --bg: #131313;
  --panel: #1e1e1e;
  --panel2: #242424;
  --line: #ffffff0c;
  --muted: #8a8a8a;
  --text: #f4f4f4;
  --mint: #ededed;
  --cyan: #76dfeb;
  --gold: #f7c86d;
  --red: #f37988;
  --radius: 16px;
  font-family: Geist, Arial, sans-serif;
  color: var(--text);
  font-synthesis: none;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  font-size: 13px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}
button {
  border: 0;
}
svg.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  transition:
    background 0.18s,
    transform 0.18s,
    color 0.18s;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 88px;
  background: #181818;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-direction: column;
  z-index: 30;
  padding: 25px 0;
}
.logo-mark {
  width: 40px;
  height: 40px;
  margin-bottom: 34px;
}
.side-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.side-button {
  width: 50px;
  height: 49px;
  border-radius: 13px;
  background: transparent;
  color: #7d7d7d;
  display: grid;
  place-items: center;
  position: relative;
}
.side-button:hover {
  background: #272727;
  color: #e6e6e6;
}
.side-button.active {
  background: #ededed14;
  color: var(--mint);
}
.side-button.active:before {
  position: absolute;
  content: "";
  left: -18px;
  width: 3px;
  height: 22px;
  border-radius: 0 3px 3px 0;
  background: var(--mint);
}
.side-button .icon {
  width: 23px;
  height: 23px;
}
.side-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px #ededed0b;
  display: inline-block;
}
.side-status {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  color: #797979;
  font-size: 10px;
  margin-top: 17px;
}
.workspace {
  margin-left: 88px;
}
.topbar {
  height: 91px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  background: #161616;
}
.wordmark {
  font-family: Geist, sans-serif;
  font-size: 21px;
  letter-spacing: -1.3px;
  font-weight: 500;
  white-space: nowrap;
}
.wordmark span {
  color: var(--mint);
}
.edition {
  font-size: 10px;
  letter-spacing: 2.3px;
  color: #878787;
  margin-top: 7px;
  text-align: center;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
  margin-left: 24px;
}
.topnav button {
  padding: 0;
  background: transparent;
  font-weight: 600;
  font-size: 13px;
  color: #898989;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
}
.topnav button.active {
  color: #f6f6f6;
}
.topnav button.active:after {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 5px 5px 0 0;
  background: var(--mint);
  bottom: 0;
  left: 0;
  right: 0;
}
.tiny-badge {
  font-size: 10px;
  color: var(--mint);
  padding: 2px 5px;
  background: #ededed10;
  border-radius: 4px;
}
.account-area {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.balance-box {
  display: flex;
  align-items: center;
  gap: 13px;
}
.balance-copy {
  text-align: right;
}
.balance-copy small {
  font-size: 10px;
  letter-spacing: 0.6px;
  color: var(--muted);
  display: block;
  margin-bottom: 3px;
}
.balance {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.balance span {
  color: var(--mint);
  font-size: 12px;
}
.add-money {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--mint);
  color: #152c28;
  display: grid;
  place-items: center;
}
.avatar {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #525252, #2c2c2c);
  border: 1px solid #7171716b;
  border-radius: 12px;
  font-weight: 500;
  color: #e4e4e4;
  position: relative;
}
.avatar:after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -2px;
  border: 3px solid #161616;
  background: var(--mint);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.livefeed {
  height: 104px;
  background: #161616;
  display: flex;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.live-label {
  width: 125px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding-left: 28px;
  background: #181818;
  position: relative;
  z-index: 1;
  box-shadow: 14px 0 25px #161616;
}
.live-label > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 500;
}
.live-label small {
  font-size: 10px;
  color: #818181;
}
.feed-track {
  display: flex;
  flex: 1;
  overflow: hidden;
  gap: 4px;
  padding: 9px 0;
}
.feed-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 180px;
  padding: 9px 12px 9px 4px;
  background: linear-gradient(100deg, #1e1e1e, #181818);
  border-bottom: 2px solid var(--rarity);
  border-radius: 5px;
  overflow: hidden;
}
.feed-item img {
  width: 78px;
  height: 59px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px #0006);
  position: relative;
}
.feed-item:before {
  content: "";
  position: absolute;
  width: 80px;
  height: 70px;
  left: 0;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--rarity) 16%, transparent),
    transparent 70%
  );
}
.feed-item strong {
  font-size: 10px;
  display: block;
  white-space: nowrap;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-item small {
  display: block;
  font-size: 10px;
  color: #848484;
  margin-top: 5px;
}
.content {
  max-width: 1570px;
  margin: auto;
  padding: 29px 36px 0;
}
.welcome-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #818181;
}
.breadcrumb strong {
  color: #d2d2d2;
  font-weight: 600;
}
.session-tag {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #8f8f8f;
}
.session-tag .icon {
  width: 13px;
  height: 13px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 284px;
  gap: 18px;
}
.hero {
  min-height: 318px;
  border-radius: 18px;
  border: 1px solid #ffffff0b;
  background:
    radial-gradient(ellipse at 74% 50%, #4040404d, transparent 56%),
    linear-gradient(110deg, #292929, #252525 55%, #262626);
  position: relative;
  overflow: hidden;
  padding: 35px 35px;
}
.hero:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  background-image:
    linear-gradient(#ffffff04 1px, transparent 1px),
    linear-gradient(90deg, #ffffff04 1px, transparent 1px);
  background-size: 35px 35px;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 52%;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  background: #ededed0c;
  color: var(--mint);
  border: 1px solid #ededed22;
}
.pill .icon {
  width: 12px;
  height: 12px;
}
.hero h1 {
  font-family: Geist, sans-serif;
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.35;
  letter-spacing: -1.8px;
  margin: 17px 0 13px;
  font-weight: 600;
  max-width: 410px;
}
.hero p {
  color: #a8a8a8;
  font-size: 11px;
  line-height: 1.9;
  max-width: 285px;
}
.hero .primary {
  margin-top: 23px;
  gap: 24px;
  height: 42px;
  font-size: 11px;
}
.primary,
.secondary,
.danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}
.primary {
  background: var(--mint);
  color: #152b28;
}
.primary:hover {
  background: #b9ffe9;
}
.secondary {
  background: #313131;
  color: #e0e0e0;
  border: 1px solid #ffffff08;
}
.secondary:hover {
  background: #404040;
}
.danger {
  background: #f3798818;
  color: #f5919d;
}
.primary .icon,
.secondary .icon {
  width: 16px;
  height: 16px;
}
.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  width: 54%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.hero-word {
  position: absolute;
  font-family: Geist, sans-serif;
  font-size: 96px;
  font-weight: 500;
  letter-spacing: -8px;
  transform: rotate(-13deg);
  color: #ededed08;
  top: 102px;
  right: 5px;
}
.hero-orbit {
  position: absolute;
  width: 268px;
  height: 268px;
  border: 1px solid #b0dfc218;
  border-radius: 50%;
  left: 15%;
  top: 18px;
}
.hero-orbit:after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px dashed #b0dfc21a;
  border-radius: 50%;
}
.hero-art img {
  position: absolute;
  width: 110%;
  height: 96%;
  object-fit: contain;
  top: -3%;
  left: -7%;
  transform: rotate(-17deg);
  filter: drop-shadow(0 20px 25px #0d0d0d77);
}
.hero-skin-label {
  position: absolute;
  right: 25px;
  bottom: 27px;
  text-align: right;
  font-size: 10px;
  line-height: 1.8;
}
.hero-skin-label strong {
  display: block;
  color: #eacb84;
  font-size: 12px;
}
.hero-skin-label span {
  font-size: 10px;
  color: #a4a4a4;
}
.daily-card {
  border: 1px solid #ffffff09;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 80% 30%, #4551382b, transparent 60%), #212121;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.daily-card .gift-icon {
  width: 36px;
  height: 36px;
  background: #b1ec8f12;
  color: #b1ec8f;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
}
.daily-card .pill {
  position: absolute;
  right: 20px;
  top: 24px;
  color: #b4e993;
  background: #b4e9930a;
  border-color: #b4e99315;
}
.daily-card h2 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.6px;
  line-height: 1.4;
  margin-bottom: 9px;
}
.daily-card p {
  font-size: 10px;
  color: #9a9a9a;
  line-height: 1.8;
  max-width: 200px;
}
.daily-reward {
  font-size: 28px;
  font-weight: 500;
  color: #b4ed96;
  margin: 13px 0 14px;
  letter-spacing: -1px;
}
.daily-reward span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}
.daily-card button {
  width: 100%;
  height: 37px;
  min-height: 37px;
  font-size: 10px;
  background: #b4ed9610;
  color: #c0eea4;
  border: 1px solid #b4ed9625;
}
.daily-card button:hover {
  background: #b4ed9620;
}
.quick-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 29px;
}
.quick-stat {
  display: flex;
  align-items: center;
  gap: 11px;
}
.quick-stat .stat-icon {
  color: #757575;
  padding: 9px;
  border: 1px solid #ffffff08;
  border-radius: 9px;
  display: grid;
  place-items: center;
}
.quick-stat strong {
  font-size: 14px;
  display: block;
  font-weight: 500;
}
.quick-stat small {
  font-size: 10px;
  color: #828282;
  display: block;
  margin-top: 4px;
}
.quick-stat:last-child strong {
  color: var(--mint);
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 21px;
}
.section-title h2 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.7px;
}
.section-title h2 span {
  color: #777777;
  font-size: 12px;
  vertical-align: middle;
  margin-left: 10px;
  font-weight: 600;
}
.text-button {
  background: transparent;
  color: #9c9c9c;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.text-button:hover {
  color: var(--mint);
}
.text-button .icon {
  width: 14px;
  height: 14px;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  background: #1c1c1c;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 4px;
}
.tabs button {
  background: transparent;
  border-radius: 6px;
  min-height: 33px;
  padding: 0 16px;
  font-size: 10px;
  font-weight: 600;
  color: #8e8e8e;
  white-space: nowrap;
}
.tabs button.active {
  color: #d5f3e9;
  background: #293b3b;
}
.tabs button:hover:not(.active) {
  background: #292929;
  color: #cccccc;
}
.tools {
  display: flex;
  gap: 9px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1c1c1c;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: #757575;
  width: 190px;
}
.search input {
  border: 0;
  outline: 0;
  background: transparent;
  color: #dfdfdf;
  width: 100%;
  font-size: 10px;
  height: 41px;
}
.search input::placeholder {
  color: #767676;
}
.search .icon {
  width: 14px;
  height: 14px;
}
.sort-select {
  border: 1px solid var(--line);
  background: #1c1c1c;
  border-radius: 8px;
  color: #a4a4a4;
  font-size: 10px;
  padding: 0 10px;
  max-width: 165px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.case-card {
  background: linear-gradient(180deg, #222222, #1e1e1e);
  border: 1px solid #ffffff07;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  text-align: center;
  padding: 16px 17px 19px;
  isolation: isolate;
}
.case-card:hover {
  border-color: color-mix(in srgb, var(--case-color) 45%, transparent);
  background: linear-gradient(180deg, #2b2b2b, #222222);
}
.case-card:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 190px;
  top: 14px;
  left: 0;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--case-color) 13%, transparent),
    transparent 65%
  );
  z-index: -1;
}
.case-tag {
  position: absolute;
  left: 14px;
  top: 13px;
  color: var(--case-color);
  background: color-mix(in srgb, var(--case-color) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--case-color) 15%, transparent);
  font-size: 10px;
  font-weight: 500;
  padding: 4px 7px;
  border-radius: 5px;
  z-index: 2;
}
.case-number {
  position: absolute;
  right: 15px;
  top: 16px;
  font-size: 10px;
  color: #808080;
  display: flex;
  gap: 4px;
  align-items: center;
}
.case-number .icon {
  width: 10px;
  height: 10px;
}
.case-art {
  height: 154px;
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 4px;
}
.case-art:after {
  content: "";
  position: absolute;
  height: 16px;
  width: 120px;
  background: #0005;
  bottom: 12px;
  filter: blur(12px);
  z-index: -1;
}
.case-art img {
  width: 100%;
  height: 100%;
  max-width: 240px;
  object-fit: contain;
  transform: rotate(-6deg);
  filter: drop-shadow(0 10px 14px #0c0c0c70);
  transition: transform 0.3s;
}
.case-card:nth-child(4n + 2) .case-art img {
  transform: rotate(5deg);
}
.case-card:hover .case-art img {
  transform: translateY(-5px) rotate(-3deg);
}
.case-art .case-stamp {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%) rotate(-6deg);
  font-size: 13px;
  font-family: Geist, sans-serif;
  color: #fff9;
  text-shadow: 1px 1px 2px #000;
  background: #222222b3;
  padding: 5px 9px;
  border: 1px solid #fff3;
  pointer-events: none;
}
.case-card h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin: 7px 0;
}
.case-card p {
  font-size: 10px;
  color: #838383;
  margin-bottom: 16px;
}
.case-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #ffffff08;
  padding-top: 14px;
}
.case-price {
  font-size: 16px;
  font-weight: 500;
}
.case-price small {
  font-size: 11px;
  color: #9b9b9b;
}
.case-bottom button {
  font-size: 10px;
  min-height: 31px;
  background: #353535;
  color: #e9e9e9;
  border-radius: 6px;
  padding: 0 13px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
}
.case-bottom button .icon {
  width: 12px;
  height: 12px;
}
.case-bottom button:hover {
  background: var(--mint);
  color: #153129;
}
.promo-strip {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: linear-gradient(100deg, #232323, #272727);
  border: 1px solid #ffffff08;
  border-radius: 13px;
}
.promo-strip h3 {
  font-size: 16px;
  margin-bottom: 7px;
}
.promo-strip p {
  font-size: 11px;
  color: #959595;
}
.promo-strip .promo-icon {
  color: #86d7e7;
  width: 42px;
  height: 42px;
}
.promo-copy {
  flex: 1;
}
.footer {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6c6c6c;
  font-size: 10px;
  line-height: 1.9;
  gap: 20px;
}
.footer .wordmark {
  font-size: 15px;
  color: #989898;
}
.footer .wordmark span {
  color: #989898;
}
.footer p {
  max-width: 520px;
}
.footer-actions {
  display: flex;
  gap: 16px;
}
.footer-actions button {
  font-size: 10px;
  background: transparent;
  color: #979797;
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 15px 0 27px;
}
.page-heading h1 {
  font-family: Geist, sans-serif;
  font-size: 29px;
  letter-spacing: -1px;
}
.page-heading p {
  font-size: 12px;
  color: #959595;
  margin-top: 12px;
  line-height: 1.8;
}
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #929292;
  background: transparent;
  margin-bottom: 12px;
  padding: 0;
}
.back-button .icon {
  width: 15px;
  height: 15px;
}
.case-detail-header {
  text-align: center;
  position: relative;
  padding-top: 10px;
}
.case-detail-header h1 {
  font-family: Geist, sans-serif;
  font-size: 29px;
  letter-spacing: -1px;
  margin-bottom: 9px;
}
.case-detail-header p {
  color: #868686;
  font-size: 11px;
}
.detail-main {
  margin: 25px 0;
  min-height: 262px;
  border: 1px solid #ffffff09;
  background:
    radial-gradient(
      ellipse at 50% 65%,
      color-mix(in srgb, var(--case-color) 10%, transparent),
      transparent 55%
    ),
    #1c1c1c;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.detail-case-img {
  height: 250px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px #0005);
  transform: rotate(-4deg);
}
.detail-main:before {
  content: "DROPZONE";
  font-family: Geist, sans-serif;
  font-size: clamp(40px, 8vw, 105px);
  letter-spacing: -5px;
  position: absolute;
  color: #ffffff03;
  font-weight: 500;
}
.case-open-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-bottom: 31px;
}
.open-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.quantity {
  display: flex;
  gap: 5px;
  padding: 4px;
  border-radius: 9px;
  background: #212121;
}
.quantity button {
  width: 37px;
  height: 36px;
  background: transparent;
  border-radius: 6px;
  color: #979797;
  font-weight: 500;
}
.quantity button.active {
  background: #344443;
  color: var(--mint);
}
.open-button {
  min-width: 265px;
  height: 48px;
}
.switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #989898;
  cursor: pointer;
}
.switch input {
  accent-color: var(--mint);
}
.case-open-meta {
  font-size: 10px;
  color: #7b7b7b;
  display: flex;
  align-items: center;
  gap: 6px;
}
.case-open-meta .icon {
  width: 13px;
  height: 13px;
}
.item-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}
.item-card {
  padding: 13px 14px 14px;
  border-radius: 11px;
  border: 1px solid #ffffff08;
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--rarity) 7%, #202020),
    #1f1f1f
  );
  position: relative;
  overflow: hidden;
  text-align: left;
  min-width: 0;
}
.item-card:after {
  content: "";
  height: 2px;
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  background: var(--rarity);
  opacity: 0.8;
}
.item-card img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px #0004);
}
.item-card .weapon {
  font-size: 10px;
  color: #8f8f8f;
  display: block;
  margin-bottom: 5px;
}
.item-card h3 {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.item-card .item-price {
  font-size: 12px;
  font-weight: 500;
  margin-top: 11px;
}
.item-card .chance {
  position: absolute;
  top: 11px;
  right: 11px;
  color: #888888;
  font-size: 10px;
}
.item-card .wear {
  font-size: 10px;
  color: #7f7f7f;
  margin-top: 5px;
  display: block;
}
.item-actions {
  display: flex;
  gap: 5px;
  margin-top: 12px;
}
.item-actions button {
  background: #353535;
  border-radius: 5px;
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 600;
  flex: 1;
}
.item-actions button:hover {
  color: var(--mint);
}
.item-actions button.lock {
  flex: 0;
  display: grid;
  place-items: center;
  padding: 6px;
}
.item-actions button.lock .icon {
  width: 12px;
  height: 12px;
}
.item-card.selected {
  outline: 2px solid var(--mint);
  outline-offset: -2px;
}
.item-card.selectable {
  cursor: pointer;
}
.item-card.selectable:hover {
  background: #333333;
}
.check-circle {
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 50%;
  width: 21px;
  height: 21px;
  background: var(--mint);
  color: #16322a;
  display: grid;
  place-items: center;
}
.check-circle .icon {
  width: 12px;
  height: 12px;
}
.empty-state {
  grid-column: 1/-1;
  border: 1px dashed #ffffff12;
  border-radius: 13px;
  padding: 50px 25px;
  text-align: center;
  background: #1c1c1c66;
}
.empty-state > .icon {
  width: 40px;
  height: 40px;
  color: #616161;
  margin-bottom: 18px;
}
.empty-state h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.empty-state p {
  color: #909090;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.inventory-summary {
  display: flex;
  gap: 35px;
  align-items: center;
  padding: 24px;
  background: #202020;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 23px;
}
.inventory-summary small {
  display: block;
  font-size: 10px;
  color: #969696;
  margin-bottom: 6px;
}
.inventory-summary strong {
  font-size: 20px;
}
.inventory-summary .primary {
  margin-left: auto;
}
.muted {
  color: var(--muted);
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #0a0a0ac9;
  backdrop-filter: blur(9px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow: auto;
}
.modal {
  position: relative;
  width: min(100%, 530px);
  max-height: 90dvh;
  overflow: auto;
  border: 1px solid #ffffff12;
  border-radius: 20px;
  background: #212121;
  padding: 30px;
  box-shadow: 0 25px 90px #0008;
}
.modal.wide {
  width: min(100%, 800px);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #ffffff08;
  color: #a8a8a8;
  display: grid;
  place-items: center;
  z-index: 2;
}
.modal-close .icon {
  width: 16px;
  height: 16px;
}
.modal h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.7px;
  margin: 0 25px 12px 0;
}
.modal > p {
  font-size: 12px;
  color: #9e9e9e;
  line-height: 1.8;
  margin-bottom: 22px;
}
.modal-icon {
  width: 48px;
  height: 48px;
  background: #ededed12;
  color: var(--mint);
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 18px;
}
.amount-grid button {
  background: #323232;
  border: 1px solid #ffffff08;
  border-radius: 8px;
  padding: 15px 8px;
  font-size: 13px;
  font-weight: 500;
}
.amount-grid button:hover {
  border-color: var(--mint);
  color: var(--mint);
}
.note {
  font-size: 10px;
  color: #818181;
  line-height: 1.8;
  background: #17171766;
  border-radius: 8px;
  padding: 12px 14px;
}
.result-title {
  text-align: center;
  color: var(--mint);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 5px 0 10px;
}
.result-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.result-item {
  text-align: center;
  padding: 18px 10px 20px;
  background:
    radial-gradient(
      ellipse at 50% 25%,
      color-mix(in srgb, var(--rarity) 19%, transparent),
      transparent 65%
    ),
    #1d1d1d;
  border-radius: 12px;
  border-bottom: 2px solid var(--rarity);
}
.result-item img {
  height: 145px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px #0006);
}
.result-item small {
  font-size: 10px;
  color: #a7a7a7;
}
.result-item h3 {
  font-size: 16px;
  margin: 7px 0 9px;
}
.result-item strong {
  color: var(--rarity);
  font-size: 17px;
}
.result-item p {
  font-size: 10px;
  margin-top: 7px;
  color: #858585;
}
.modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.modal-actions button {
  flex: 1;
  white-space: nowrap;
}
.modal-footnote {
  text-align: center;
  font-size: 10px;
  color: #878787;
  margin-top: 15px;
}
.toast {
  background: #353535;
  border: 1px solid #ededed31;
  border-radius: 10px;
  padding: 15px 19px;
  color: #e5f3ef;
  box-shadow: 0 8px 30px #0004;
  font-size: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  animation: toast-in 0.2s ease-out;
  max-width: 370px;
}
.toast .icon {
  color: var(--mint);
  width: 16px;
  height: 16px;
}
.toast.error {
  border-color: #f3798844;
}
.toast.error .icon {
  color: var(--red);
}
#toast-root {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 200;
}
@keyframes toast-in {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.roulette-viewport {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.roulette-track {
  display: flex;
  gap: 8px;
  will-change: transform;
}
.reel-item {
  width: 158px;
  height: 190px;
  flex-shrink: 0;
  border-radius: 9px;
  background: linear-gradient(
    0deg,
    color-mix(in srgb, var(--rarity) 15%, #1d1d1d),
    #222222
  );
  border-bottom: 3px solid var(--rarity);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.reel-item img {
  width: 100%;
  height: 114px;
  object-fit: contain;
}
.reel-item small {
  font-size: 10px;
  color: #989898;
}
.reel-item strong {
  font-size: 10px;
  margin-top: 6px;
}
.reel-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(
    var(--mint),
    #ededed00 30%,
    #ededed00 70%,
    var(--mint)
  );
  z-index: 5;
  filter: drop-shadow(0 0 6px #ededed44);
}
.reel-marker:before,
.reel-marker:after {
  position: absolute;
  left: -6px;
  content: "";
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid var(--mint);
  top: 0;
}
.reel-marker:after {
  top: auto;
  bottom: 0;
  transform: rotate(180deg);
}
.is-spinning .detail-case-img {
  display: none;
}
.odds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 16px 0;
}
.odds-table td {
  padding: 13px 4px;
  border-bottom: 1px solid #ffffff08;
}
.odds-table td:last-child {
  text-align: right;
  font-weight: 500;
}
.rarity-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 9px;
  background: var(--rarity);
}
.workbench {
  display: grid;
  grid-template-columns: 1fr 240px 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 30px;
}
.upgrade-slot {
  border: 1px solid #ffffff0c;
  min-height: 285px;
  background:
    radial-gradient(ellipse at 50% 40%, #76dfeb0b, transparent 65%), #1f1f1f;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  padding: 24px;
  text-align: center;
}
.upgrade-slot > img {
  width: 90%;
  height: 150px;
  object-fit: contain;
}
.upgrade-slot > .icon {
  width: 42px;
  height: 42px;
  color: #5f5f5f;
  margin-bottom: 19px;
}
.upgrade-slot h3 {
  font-size: 14px;
  margin: 7px 0;
}
.upgrade-slot p {
  font-size: 10px;
  color: #8a8a8a;
  line-height: 1.8;
}
.upgrade-slot strong {
  font-size: 16px;
  margin-top: 10px;
  color: var(--mint);
}
.upgrade-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.chance-ring {
  width: 172px;
  height: 172px;
  border-radius: 50%;
  background: conic-gradient(var(--mint) calc(var(--chance) * 1%), #2c2c2c 0);
  padding: 5px;
  position: relative;
  display: grid;
  place-items: center;
}
.chance-ring > div {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #1b1b1b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.chance-ring strong {
  font-size: 34px;
  letter-spacing: -1.5px;
}
.chance-ring small {
  font-size: 10px;
  color: #909090;
  margin-top: 7px;
}
.chance-ring.rolling {
  animation: ring-pulse 0.35s infinite alternate;
}
@keyframes ring-pulse {
  to {
    filter: drop-shadow(0 0 15px #ededed60);
    transform: scale(1.02);
  }
}
.upgrade-middle > .primary {
  width: 100%;
}
.split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.selection-panel {
  background: #1b1b1b;
  border: 1px solid #ffffff08;
  border-radius: 14px;
  padding: 20px;
  min-width: 0;
}
.selection-panel h2 {
  font-size: 16px;
  margin-bottom: 17px;
}
.selection-panel .item-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  max-height: 620px;
  overflow: auto;
  padding: 3px;
}
.selection-panel .item-card {
  padding: 10px;
}
.selection-panel .item-card img {
  height: 80px;
}
.selection-panel .item-card h3 {
  font-size: 10px;
}
.selection-panel .item-card .item-price {
  font-size: 11px;
}
.selection-panel .tools {
  margin-bottom: 15px;
}
.selection-panel .search {
  width: 100%;
}
.contract-slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
  padding: 25px;
  background:
    radial-gradient(ellipse at 50% 100%, #b393ef0a, transparent 70%), #1d1d1d;
  border: 1px solid #ffffff09;
  border-radius: 15px;
  margin: 25px 0;
}
.contract-slot {
  min-height: 138px;
  border: 1px dashed #ffffff13;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #ffffff02;
  color: #606060;
  position: relative;
}
.contract-slot .icon {
  width: 22px;
  height: 22px;
}
.contract-slot small {
  font-size: 10px;
  color: #757575;
  margin-top: 10px;
}
.contract-slot img {
  width: 100%;
  height: 86px;
  object-fit: contain;
}
.contract-slot.filled {
  border: 1px solid color-mix(in srgb, var(--rarity) 40%, transparent);
  background: color-mix(in srgb, var(--rarity) 5%, transparent);
  cursor: pointer;
}
.contract-slot.filled strong {
  font-size: 10px;
  color: #c2c2c2;
}
.contract-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  margin-bottom: 35px;
}
.contract-summary p {
  font-size: 10px;
  color: #888888;
}
.contract-summary strong {
  display: block;
  font-size: 19px;
  color: #dddddd;
  margin-top: 7px;
}
.contract-summary .primary {
  height: 49px;
  min-width: 225px;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.mission-card {
  background: #222222;
  padding: 24px;
  border-radius: 13px;
  border: 1px solid #ffffff09;
}
.mission-card > .icon {
  color: var(--mint);
  width: 28px;
  height: 28px;
  margin-bottom: 19px;
}
.mission-card h3 {
  font-size: 15px;
  margin-bottom: 9px;
}
.mission-card p {
  font-size: 11px;
  color: #959595;
  line-height: 1.8;
}
.progress-bar {
  height: 5px;
  background: #3a3a3a;
  border-radius: 5px;
  margin: 19px 0 9px;
  overflow: hidden;
}
.progress-bar span {
  display: block;
  background: var(--mint);
  height: 100%;
  border-radius: 5px;
}
.mission-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #9c9c9c;
  margin-bottom: 20px;
}
.mission-meta strong {
  color: var(--gold);
}
.mission-card button {
  width: 100%;
}
.profile-banner {
  display: flex;
  align-items: center;
  gap: 22px;
  background:
    radial-gradient(ellipse at 80% 10%, #ededed0a, transparent 60%), #222222;
  padding: 28px;
  border: 1px solid #ffffff09;
  border-radius: 15px;
  margin-bottom: 24px;
}
.profile-banner .avatar {
  width: 72px;
  height: 72px;
  font-size: 24px;
}
.profile-banner h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
.profile-banner p {
  font-size: 11px;
  color: #989898;
}
.profile-banner .level {
  margin-left: auto;
  background: #ededed0a;
  border: 1px solid #ededed25;
  padding: 12px 20px;
  border-radius: 10px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 500;
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.profile-stat {
  background: #1f1f1f;
  border: 1px solid #ffffff08;
  border-radius: 12px;
  padding: 22px;
}
.profile-stat small {
  display: block;
  color: #959595;
  font-size: 11px;
  margin-bottom: 12px;
}
.profile-stat strong {
  font-size: 25px;
  letter-spacing: -0.5px;
}
.history-list {
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
}
.history-row {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid #ffffff06;
}
.history-row img {
  width: 70px;
  height: 50px;
  object-fit: contain;
}
.history-row h3 {
  font-size: 12px;
  margin-bottom: 6px;
}
.history-row p {
  font-size: 10px;
  color: #898989;
}
.history-row > strong {
  margin-left: auto;
  font-size: 12px;
}
.history-row time {
  font-size: 10px;
  color: #7a7a7a;
  min-width: 100px;
  text-align: right;
}
.inline-info {
  background: #76dfeb08;
  border: 1px solid #76dfeb12;
  border-radius: 9px;
  padding: 14px 17px;
  display: flex;
  gap: 10px;
  color: #a6a6a6;
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 23px;
}
.inline-info .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.setting-row label {
  font-size: 12px;
}
.setting-row p {
  font-size: 10px;
  color: #949494;
  margin-top: 6px;
}
.setting-row input {
  accent-color: var(--mint);
  width: 17px;
  height: 17px;
}
.help-copy p {
  font-size: 12px;
  color: #b0b0b0;
  line-height: 1.9;
  margin-bottom: 15px;
}
.help-copy h3 {
  font-size: 14px;
  margin: 24px 0 9px;
}
.mobile-nav {
  display: none;
}
.heading-actions {
  display: flex;
  gap: 10px;
}
.tier-label {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 10px;
  color: #9b9b9b;
}
.select-hint {
  font-size: 10px;
  color: #8b8b8b;
  margin: 10px 0;
}
.daily-countdown {
  font-variant-numeric: tabular-nums;
}
.mobile-balance-label {
  display: none;
}
@media (min-width: 1600px) {
  .hero {
    min-height: 355px;
    padding: 40px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero p {
    font-size: 12px;
  }
  .hero-art img {
    width: 100%;
    left: 0;
  }
  .daily-card {
    padding: 29px;
  }
  .daily-card h2 {
    font-size: 22px;
  }
  .daily-card p {
    font-size: 12px;
  }
  .daily-reward {
    margin-top: 23px;
  }
  .case-art {
    height: 180px;
  }
  .case-card h3 {
    font-size: 16px;
  }
}
@media (max-width: 1250px) {
  .topbar {
    gap: 20px;
    padding: 0 25px;
  }
  .topnav {
    gap: 19px;
    margin-left: 0;
  }
  .topnav button {
    font-size: 11px;
  }
  .content {
    padding: 25px 25px 0;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .hero {
    padding: 28px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero-copy {
    max-width: 56%;
  }
  .hero p {
    font-size: 10px;
  }
  .hero-art {
    right: -10px;
    width: 53%;
  }
  .daily-card {
    padding: 22px;
  }
  .catalog-toolbar {
    flex-wrap: wrap;
  }
  .catalog-toolbar > .tools {
    margin-left: auto;
  }
  .case-art {
    height: 135px;
  }
  .case-card {
    padding: 15px 13px;
  }
  .case-card h3 {
    font-size: 12px;
  }
  .case-card p {
    font-size: 10px;
  }
  .case-bottom button {
    gap: 6px;
    padding: 0 9px;
  }
  .case-price {
    font-size: 14px;
  }
  .case-tag {
    font-size: 10px;
  }
  .item-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .workbench {
    grid-template-columns: 1fr 180px 1fr;
    gap: 15px;
  }
  .selection-panel .item-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1020px) {
  .sidebar {
    width: 70px;
  }
  .side-button.active:before {
    left: -10px;
  }
  .workspace {
    margin-left: 70px;
  }
  .wordmark {
    font-size: 18px;
  }
  .topnav {
    gap: 16px;
  }
  .topnav button {
    font-size: 10px;
  }
  .topnav .tiny-badge {
    display: none;
  }
  .topbar {
    gap: 18px;
    height: 80px;
    padding: 0 22px;
  }
  .balance-copy small {
    font-size: 10px;
  }
  .balance {
    font-size: 13px;
  }
  .account-area {
    gap: 11px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 13px;
  }
  .hero {
    padding: 25px;
    min-height: 300px;
  }
  .hero h1 {
    font-size: 25px;
    letter-spacing: -1px;
  }
  .hero p {
    max-width: 200px;
  }
  .hero-art img {
    top: 3%;
  }
  .hero-orbit {
    width: 200px;
    height: 200px;
    top: 32px;
  }
  .hero-skin-label {
    right: 18px;
    bottom: 26px;
    font-size: 10px;
  }
  .hero-skin-label strong {
    font-size: 10px;
  }
  .hero-word {
    font-size: 72px;
  }
  .daily-card {
    padding: 21px 19px;
  }
  .daily-card h2 {
    font-size: 17px;
  }
  .daily-card .pill {
    right: 17px;
    top: 21px;
    font-size: 10px;
  }
  .daily-card p {
    font-size: 10px;
  }
  .quick-stat {
    gap: 8px;
  }
  .quick-stat strong {
    font-size: 12px;
  }
  .quick-stat .stat-icon {
    padding: 7px;
  }
  .quick-stat small {
    font-size: 10px;
  }
  .quick-stats {
    gap: 15px;
  }
  .case-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .case-art {
    height: 150px;
  }
  .footer {
    flex-wrap: wrap;
  }
  .footer p {
    max-width: 400px;
  }
  .section-title h2 {
    font-size: 21px;
  }
  .mission-grid {
    grid-template-columns: 1fr;
  }
  .profile-stat strong {
    font-size: 20px;
  }
  .profile-stat {
    padding: 17px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 72px;
    padding: 0 19px;
    gap: 14px;
  }
  .topnav {
    display: none;
  }
  .wordmark {
    font-size: 18px;
  }
  .edition {
    font-size: 10px;
  }
  .account-area {
    gap: 12px;
  }
  .avatar {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .balance-box {
    gap: 10px;
  }
  .balance-copy small {
    font-size: 10px;
  }
  .balance {
    font-size: 12px;
  }
  .add-money {
    width: 31px;
    height: 31px;
  }
  .livefeed {
    height: 87px;
  }
  .live-label {
    width: 96px;
    padding-left: 18px;
  }
  .live-label > div {
    font-size: 10px;
  }
  .live-label small {
    font-size: 10px;
  }
  .feed-item {
    min-width: 160px;
    padding-right: 9px;
  }
  .feed-item img {
    width: 64px;
    height: 49px;
  }
  .feed-item strong {
    font-size: 10px;
  }
  .feed-item small {
    font-size: 10px;
  }
  .content {
    padding: 22px 17px 0;
  }
  .welcome-line {
    margin-bottom: 17px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .session-tag {
    font-size: 10px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 306px;
    padding: 25px;
  }
  .hero h1 {
    font-size: 29px;
    max-width: 330px;
    line-height: 1.35;
  }
  .hero-copy {
    max-width: 58%;
  }
  .hero p {
    font-size: 10px;
    max-width: 220px;
  }
  .hero-art {
    width: 49%;
    right: -8px;
  }
  .hero-art img {
    top: 0;
    left: -12%;
    width: 124%;
    height: 95%;
  }
  .hero-skin-label {
    right: 22px;
    bottom: 25px;
  }
  .hero .primary {
    margin-top: 20px;
    font-size: 10px;
    gap: 12px;
    height: 39px;
  }
  .daily-card {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 0 15px;
    align-items: center;
    padding: 18px 20px;
  }
  .daily-card .gift-icon {
    grid-row: 1/3;
    margin: 0;
    width: 40px;
    height: 40px;
  }
  .daily-card .pill {
    display: none;
  }
  .daily-card h2 {
    font-size: 14px;
    margin: 0;
    grid-column: 2;
  }
  .daily-card h2 br {
    display: none;
  }
  .daily-card p {
    font-size: 10px;
    grid-column: 2;
    max-width: none;
    margin-top: 5px;
  }
  .daily-reward {
    grid-column: 3;
    grid-row: 1;
    font-size: 20px;
    margin: 0;
    text-align: right;
  }
  .daily-reward span {
    font-size: 10px;
  }
  .daily-card button {
    grid-column: 3;
    grid-row: 2;
    min-height: 25px;
    height: 25px;
    font-size: 10px;
    margin-top: 5px;
    padding: 0 12px;
  }
  .quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 22px 3px;
    margin-bottom: 24px;
  }
  .quick-stat {
    gap: 10px;
  }
  .quick-stat strong {
    font-size: 13px;
  }
  .quick-stat small {
    font-size: 10px;
  }
  .quick-stat .stat-icon {
    padding: 8px;
  }
  .section-title {
    margin-bottom: 16px;
  }
  .section-title h2 {
    font-size: 21px;
  }
  .section-title .text-button {
    font-size: 10px;
  }
  .catalog-toolbar {
    gap: 12px;
    margin-bottom: 17px;
  }
  .tabs {
    width: 100%;
    gap: 1px;
    padding: 4px;
    justify-content: space-between;
  }
  .tabs button {
    font-size: 10px;
    padding: 0 10px;
    min-height: 32px;
  }
  .catalog-toolbar > .tools {
    width: 100%;
  }
  .search {
    width: auto;
    flex: 1;
  }
  .sort-select {
    font-size: 10px;
    max-width: 150px;
  }
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .case-card {
    padding: 14px 13px 15px;
  }
  .case-tag {
    left: 10px;
    top: 10px;
    font-size: 10px;
  }
  .case-number {
    right: 10px;
    top: 13px;
    font-size: 10px;
  }
  .case-art {
    height: 139px;
    margin-top: 6px;
  }
  .case-art .case-stamp {
    font-size: 10px;
    padding: 4px 6px;
  }
  .case-card h3 {
    font-size: 12px;
    margin: 3px 0 6px;
    white-space: nowrap;
  }
  .case-card p {
    font-size: 10px;
    margin-bottom: 13px;
  }
  .case-price {
    font-size: 13px;
  }
  .case-bottom {
    padding-top: 12px;
  }
  .case-bottom button {
    font-size: 10px;
    min-height: 29px;
    gap: 6px;
  }
  .case-bottom button .icon {
    width: 11px;
    height: 11px;
  }
  .promo-strip {
    margin-top: 20px;
    padding: 20px;
    gap: 13px;
    flex-wrap: wrap;
  }
  .promo-strip .promo-icon {
    width: 31px;
    height: 31px;
  }
  .promo-strip h3 {
    font-size: 13px;
  }
  .promo-strip p {
    font-size: 10px;
  }
  .promo-strip .secondary {
    width: 100%;
    min-height: 36px;
    font-size: 10px;
  }
  .footer {
    margin-top: 25px;
    padding: 23px 3px 102px;
    gap: 14px;
  }
  .footer p {
    font-size: 10px;
    max-width: 100%;
  }
  .footer .wordmark {
    font-size: 14px;
  }
  .footer-actions {
    margin-left: auto;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1b1b1bf5;
    backdrop-filter: blur(15px);
    border-top: 1px solid #ffffff10;
    z-index: 45;
    display: flex;
    justify-content: space-around;
    padding: 12px 7px max(12px, env(safe-area-inset-bottom));
    height: 73px;
  }
  .mobile-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
    background: transparent;
    color: #8b8b8b;
    min-width: 52px;
  }
  .mobile-nav button.active {
    color: var(--mint);
  }
  .mobile-nav .icon {
    width: 21px;
    height: 21px;
  }
  .page-heading {
    flex-direction: column;
    margin-top: 11px;
    gap: 15px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .heading-actions {
    width: 100%;
  }
  .heading-actions button {
    flex: 1;
  }
  .inventory-summary {
    gap: 20px;
    padding: 18px;
    flex-wrap: wrap;
  }
  .inventory-summary strong {
    font-size: 17px;
  }
  .inventory-summary small {
    font-size: 10px;
  }
  .inventory-summary .primary {
    width: 100%;
    margin-left: 0;
    min-height: 36px;
  }
  .item-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .item-card img {
    height: 105px;
  }
  .item-card {
    padding: 12px;
  }
  .case-detail-header h1 {
    font-size: 23px;
  }
  .detail-main {
    min-height: 228px;
    margin: 20px 0;
  }
  .detail-case-img {
    height: 220px;
  }
  .case-open-controls {
    padding-bottom: 25px;
  }
  .open-row {
    gap: 10px;
  }
  .open-button {
    min-width: 220px;
  }
  .case-open-meta {
    font-size: 10px;
  }
  .switch {
    font-size: 10px;
  }
  .reel-item {
    width: 142px;
    height: 170px;
  }
  .workbench {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .upgrade-slot {
    min-height: 210px;
    padding: 17px;
  }
  .upgrade-slot > img {
    height: 105px;
  }
  .upgrade-slot h3 {
    font-size: 11px;
  }
  .upgrade-slot p {
    font-size: 10px;
  }
  .upgrade-middle {
    grid-column: 1/-1;
    grid-row: 2;
    flex-direction: row;
    justify-content: center;
    gap: 25px;
  }
  .chance-ring {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    padding: 4px;
  }
  .chance-ring strong {
    font-size: 27px;
  }
  .chance-ring small {
    font-size: 10px;
  }
  .upgrade-middle > .primary {
    width: 170px;
    font-size: 11px;
  }
  .split-panels {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .selection-panel {
    padding: 16px;
  }
  .selection-panel .item-grid {
    grid-template-columns: repeat(3, 1fr);
    max-height: 450px;
    gap: 8px;
  }
  .selection-panel .item-card h3 {
    font-size: 10px;
  }
  .selection-panel .item-card .weapon {
    font-size: 10px;
  }
  .selection-panel .item-card img {
    height: 70px;
  }
  .contract-slots {
    grid-template-columns: repeat(5, 1fr);
    padding: 13px;
    gap: 7px;
  }
  .contract-slot {
    min-height: 83px;
  }
  .contract-slot img {
    height: 51px;
  }
  .contract-slot small {
    font-size: 10px;
  }
  .contract-slot.filled strong {
    font-size: 10px;
  }
  .contract-summary {
    gap: 20px;
    flex-wrap: wrap;
  }
  .contract-summary strong {
    font-size: 17px;
  }
  .contract-summary .primary {
    width: 100%;
    order: 3;
  }
  .profile-banner {
    padding: 20px;
    gap: 15px;
  }
  .profile-banner .avatar {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }
  .profile-banner h2 {
    font-size: 18px;
  }
  .profile-banner p {
    font-size: 10px;
  }
  .profile-banner .level {
    padding: 10px;
    font-size: 10px;
  }
  .profile-stats {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }
  .profile-stat strong {
    font-size: 23px;
  }
  .history-row {
    gap: 10px;
    padding: 12px;
  }
  .history-row img {
    width: 50px;
  }
  .history-row h3 {
    font-size: 10px;
  }
  .history-row p {
    font-size: 10px;
  }
  .history-row > strong {
    font-size: 10px;
    white-space: nowrap;
  }
  .history-row time {
    display: none;
  }
  .modal {
    padding: 25px 21px;
    border-radius: 16px;
  }
  .modal h2 {
    font-size: 21px;
  }
  .modal > p {
    font-size: 11px;
  }
  .modal-actions button {
    font-size: 10px;
    padding: 0 12px;
  }
  .result-item img {
    height: 130px;
  }
  .result-item h3 {
    font-size: 13px;
  }
  .result-item strong {
    font-size: 15px;
  }
  .result-items {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .modal-backdrop {
    padding: 15px;
  }
  .toast {
    font-size: 11px;
    padding: 13px 15px;
  }
  #toast-root {
    bottom: 88px;
    right: 16px;
    left: 16px;
    align-items: flex-end;
  }
  .inline-info {
    font-size: 10px;
  }
  .mission-card {
    padding: 22px;
  }
}
@media (max-width: 390px) {
  .topbar {
    padding: 0 14px;
  }
  .wordmark {
    font-size: 16px;
  }
  .account-area {
    gap: 8px;
  }
  .balance-copy small {
    display: none;
  }
  .hero {
    padding: 23px 20px;
    min-height: 295px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero-copy {
    max-width: 61%;
  }
  .hero p {
    font-size: 10px;
  }
  .hero-skin-label {
    right: 17px;
    font-size: 10px;
  }
  .hero-skin-label strong {
    font-size: 10px;
  }
  .daily-card {
    padding: 17px 14px;
    gap: 0 11px;
  }
  .daily-card h2 {
    font-size: 12px;
  }
  .daily-card p {
    font-size: 10px;
  }
  .daily-reward {
    font-size: 18px;
  }
  .case-art {
    height: 119px;
  }
  .case-card {
    padding: 14px 10px;
  }
  .case-card h3 {
    font-size: 10px;
  }
  .case-price {
    font-size: 12px;
  }
  .case-bottom button {
    padding: 0 8px;
    font-size: 10px;
    gap: 4px;
  }
  .tabs button {
    font-size: 10px;
    padding: 0 8px;
  }
  .item-card img {
    height: 90px;
  }
  .selection-panel .item-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.mode-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  margin: -8px 0 28px;
  padding: 0 0 20px;
  gap: 15px;
}
.mode-strip button {
  background: transparent;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 17px;
  border-radius: 9px;
  text-align: left;
}
.mode-strip button:hover {
  background: #ffffff04;
}
.mode-strip button > .icon:first-child {
  width: 24px;
  height: 24px;
  color: var(--mint);
}
.mode-strip button:nth-child(2) > .icon:first-child {
  color: #ba9ae9;
}
.mode-strip button:nth-child(3) > .icon:first-child {
  color: #edbc84;
}
.mode-strip strong {
  font-size: 13px;
  display: block;
}
.mode-strip small {
  font-size: 10px;
  color: #8e8e8e;
  display: block;
  margin-top: 5px;
}
.mode-strip button > .icon:last-child {
  margin-left: auto;
  width: 14px;
  height: 14px;
  color: #656565;
}
.result-items.count-5 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.result-items.count-5 .result-item {
  width: calc((100% - 24px) / 3);
}
/* Profiles, server features and the full official catalogue. */
.wordmark {
  font-size: 18px;
  letter-spacing: -1px;
}
.edition {
  font-size: 10px;
  letter-spacing: 1.6px;
}
.topnav {
  margin-left: 4px;
  gap: 23px;
}
.topnav button {
  font-size: 12px;
}
.topbar {
  gap: 24px;
}
.case-favorite {
  position: absolute;
  right: 10px;
  top: 10px;
  background: transparent;
  color: #717171;
  display: grid;
  place-items: center;
  z-index: 3;
  width: 27px;
  height: 27px;
  border-radius: 6px;
}
.case-favorite .icon {
  width: 14px;
  height: 14px;
}
.case-favorite:hover {
  background: #ffffff08;
  color: #e6cf87;
}
.case-favorite.active {
  color: #ebc576;
}
.case-favorite.active svg {
  fill: #ebc57620;
}
.case-card h3 {
  min-height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.5;
  white-space: normal;
}
.case-card p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.loading-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  color: #8f8f8f;
  font-size: 12px;
}
.loading-page img {
  width: 60px;
  height: 60px;
}
.brand-arrow {
  color: var(--mint);
  font-size: 12px;
  vertical-align: top;
  margin-left: 5px;
}
.auth-page {
  min-height: 100dvh;
  background:
    radial-gradient(ellipse at 22% 48%, #3838383b, transparent 50%), #141414;
  padding: 0 max(5%, calc((100vw - 1390px) / 2));
  display: flex;
  flex-direction: column;
}
.auth-header {
  height: 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ffffff09;
}
.auth-header > .wordmark,
.auth-header .wordmark {
  font-size: 23px;
}
.auth-header > span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #818181;
  font-size: 10px;
}
.auth-header > span .icon {
  width: 15px;
  height: 15px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 70px;
  align-items: center;
  flex: 1;
  padding: 65px 0;
}
.auth-showcase {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
}
.auth-showcase h1 {
  font-family: Geist, sans-serif;
  font-size: 40px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -1.8px;
  margin: 23px 0 19px;
  z-index: 2;
}
.auth-showcase > .pill {
  align-self: flex-start;
}
.auth-showcase > p {
  font-size: 12px;
  color: #989898;
  line-height: 1.9;
  z-index: 2;
}
.auth-weapon {
  position: relative;
  height: 295px;
  width: 100%;
  max-width: 600px;
  margin-top: -5px;
  display: flex;
  justify-content: center;
}
.auth-weapon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(-12deg);
  filter: drop-shadow(0 20px 20px #0006);
  z-index: 1;
}
.auth-halo {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid #ededed12;
  border-radius: 50%;
  top: -10px;
  left: 23%;
}
.auth-halo:after {
  content: "";
  position: absolute;
  inset: 25px;
  border: 1px dashed #ededed15;
  border-radius: 50%;
}
.auth-weapon > span {
  position: absolute;
  right: 6%;
  bottom: 15px;
  font-size: 10px;
  color: #888888;
  z-index: 2;
}
.auth-weapon > span strong {
  color: var(--gold);
  display: block;
  text-align: right;
  margin-top: 5px;
}
.auth-perks {
  display: flex;
  gap: 25px;
  border-top: 1px solid #ffffff0a;
  padding-top: 23px;
  max-width: 580px;
  margin-top: auto;
}
.auth-perks div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a0a0a0;
  font-size: 10px;
}
.auth-perks .icon {
  width: 17px;
  height: 17px;
  color: #9fc6bb;
}
.auth-card {
  padding: 36px;
  background: #222222;
  border: 1px solid #ffffff0d;
  border-radius: 18px;
  box-shadow: 0 24px 60px #09090924;
}
.auth-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #83bba9;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 24px;
}
.auth-card-top .icon {
  width: 15px;
  height: 15px;
}
.auth-card h2 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 0 0 12px;
  font-weight: 500;
}
.auth-card > p {
  font-size: 11px;
  color: #919191;
  line-height: 1.8;
}
.auth-tabs {
  margin: 25px 0;
  background: #181818;
  padding: 4px;
  display: flex;
  gap: 4px;
  border-radius: 8px;
}
.auth-tabs button {
  flex: 1;
  min-height: 36px;
  background: transparent;
  border-radius: 6px;
  font-size: 11px;
  color: #9a9a9a;
  font-weight: 600;
}
.auth-tabs button.active {
  background: #373737;
  color: #c1f1df;
}
.form-label {
  font-size: 10px;
  font-weight: 600;
  color: #c0c0c0;
  display: block;
  margin: 18px 0 10px;
}
.form-field {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  border: 1px solid #ffffff09;
  border-radius: 8px;
  background: #1b1b1b;
  padding: 0 13px;
}
.form-field:focus-within {
  border-color: #ededed5a;
}
.form-field > .icon {
  width: 15px;
  height: 15px;
  color: #747474;
}
.form-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0 !important;
  color: #e9e9e9;
  background: transparent;
  font-size: 11px;
  height: 46px;
}
.form-field input::placeholder {
  color: #6f6f6f;
}
.form-field button {
  background: transparent;
  color: #808080;
  display: grid;
  place-items: center;
  padding: 0;
}
.form-field button .icon {
  width: 15px;
  height: 15px;
}
.form-error {
  color: #f38e9a;
  font-size: 10px;
  line-height: 1.8;
  min-height: 18px;
  margin: 12px 0;
}
.auth-submit {
  width: 100%;
  min-height: 45px;
  justify-content: space-between;
  font-size: 11px;
  padding: 0 18px;
}
.auth-note {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 10px;
  color: #898989;
  line-height: 1.9;
  margin-top: 22px;
  text-align: left;
}
.auth-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
}
.auth-card-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #6c6c6c;
  font-size: 10px;
  border-top: 1px solid #ffffff07;
  margin-top: 23px;
  padding-top: 20px;
}
.auth-card-bottom .icon {
  width: 12px;
  height: 12px;
}
.auth-footer {
  padding: 23px 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ffffff09;
  font-size: 10px;
  color: #6e6e6e;
  gap: 18px;
}
.battle-arena {
  display: grid;
  grid-template-columns: 1fr 240px 1fr;
  min-height: 300px;
  align-items: center;
  padding: 26px 40px;
  border: 1px solid #ffffff0a;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 20% 50%, #ededed0a, transparent 50%),
    radial-gradient(ellipse at 80% 50%, #a795dd0c, transparent 50%), #1e1e1e;
  margin-bottom: 23px;
}
.battle-player {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.battle-avatar {
  width: 75px;
  height: 75px;
  border: 1px solid #ededed2e;
  border-radius: 20px;
  background: #ededed0b;
  display: grid;
  place-items: center;
  color: var(--mint);
  margin-bottom: 16px;
}
.battle-avatar .icon {
  width: 34px;
  height: 34px;
}
.battle-player.bot .battle-avatar {
  color: #c3a8f0;
  background: #c3a8f00b;
  border-color: #c3a8f02e;
}
.battle-player h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 7px;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
}
.battle-player p {
  font-size: 10px;
  color: #8a8a8a;
}
.battle-player strong {
  font-size: 18px;
  margin-top: 18px;
  color: var(--mint);
}
.battle-player.bot strong {
  color: #c3a8f0;
}
.battle-center {
  text-align: center;
  position: relative;
}
.battle-center > span {
  font-family: Geist, sans-serif;
  font-size: 75px;
  font-weight: 500;
  color: #ffffff05;
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
}
.battle-center img {
  width: 100%;
  height: 165px;
  object-fit: contain;
  position: relative;
}
.battle-center p {
  font-size: 11px;
  font-weight: 600;
  color: #9a9a9a;
}
.battle-controls {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 25px;
}
.battle-select-label {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 10px;
  color: #9b9b9b;
}
.battle-select-label select {
  height: 46px;
  width: 290px;
  max-width: 100%;
  font-size: 11px;
}
.battle-controls .select-hint {
  display: block;
  margin: 0 0 10px;
}
.battle-controls > .primary {
  height: 45px;
}
.battle-rolling {
  animation: battle-glow 0.45s infinite alternate;
}
@keyframes battle-glow {
  to {
    border-color: #ededed77;
    filter: brightness(1.15);
  }
}
.battle-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 25px 0 10px;
}
.battle-result-grid section {
  background: #1b1b1b;
  border: 1px solid #ffffff08;
  border-radius: 10px;
  padding: 16px;
  min-width: 0;
}
.battle-result-grid h3 {
  font-size: 13px;
  text-align: center;
  margin-bottom: 15px;
  overflow-wrap: anywhere;
}
.battle-drop-list > div {
  border-bottom: 1px solid #ffffff08;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  padding: 8px 0;
  gap: 3px 10px;
}
.battle-drop-list img {
  width: 70px;
  height: 54px;
  object-fit: contain;
  grid-row: 1/3;
}
.battle-drop-list span {
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.battle-drop-list strong {
  font-size: 12px;
  color: var(--rarity);
}
.battle-total {
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  color: var(--mint);
  margin-top: 15px;
}
.leaderboard-content {
  background: #1f1f1f;
  border: 1px solid #ffffff08;
  border-radius: 13px;
  overflow: hidden;
}
.leaderboard-head,
.leaderboard-row {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1.3fr 1fr;
  gap: 15px;
  padding: 19px 24px;
  align-items: center;
  border-bottom: 1px solid #ffffff07;
}
.leaderboard-head {
  background: #262626;
  color: #939393;
  font-size: 10px;
}
.leaderboard-row > div {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.leaderboard-row > span {
  font-size: 12px;
  font-weight: 600;
}
.rank {
  width: 20px;
  text-align: center;
  font-size: 12px;
  color: #7d7d7d;
}
.rank .icon {
  width: 19px;
  height: 19px;
}
.rank-1 {
  color: #f0cf85;
}
.rank-2 {
  color: #c7c7c7;
}
.rank-3 {
  color: #c89a83;
}
.leader-avatar {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: #3a3a3a;
  color: #b8b8b8;
  font-size: 11px;
  font-weight: 500;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.leaderboard-row strong {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.leaderboard-row strong small {
  display: block;
  font-size: 10px;
  color: #8ab8a8;
  font-weight: 600;
  margin-top: 4px;
}
.leaderboard-row.is-you {
  background: #ededed06;
}
.leaderboard-row.is-you strong {
  color: var(--mint);
}
@media (max-width: 1200px) {
  .topnav {
    gap: 15px;
  }
  .topnav button {
    font-size: 10px;
  }
  .topbar {
    gap: 20px;
  }
  .wordmark {
    font-size: 16px;
  }
  .auth-layout {
    gap: 40px;
    grid-template-columns: 1fr 380px;
  }
  .auth-showcase h1 {
    font-size: 33px;
  }
  .auth-perks {
    gap: 15px;
  }
  .auth-perks div {
    font-size: 10px;
  }
  .auth-card {
    padding: 29px;
  }
  .tabs button {
    padding: 0 12px;
  }
}
@media (max-width: 1000px) {
  .topnav .icon {
    display: none;
  }
  .topnav {
    gap: 14px;
  }
  .topbar {
    gap: 13px;
  }
  .wordmark {
    font-size: 15px;
  }
  .topbar .edition {
    font-size: 10px;
    letter-spacing: 1.4px;
  }
  .auth-layout {
    grid-template-columns: 1fr 350px;
    gap: 25px;
  }
  .auth-showcase h1 {
    font-size: 27px;
  }
  .auth-showcase > p {
    font-size: 10px;
  }
  .auth-perks {
    flex-direction: column;
    gap: 14px;
  }
  .auth-showcase {
    min-height: 610px;
  }
  .auth-card {
    padding: 26px;
  }
  .auth-card h2 {
    font-size: 25px;
  }
  .auth-weapon {
    height: 250px;
  }
  .battle-arena {
    grid-template-columns: 1fr 190px 1fr;
    padding: 26px;
  }
  .battle-select-label select {
    width: 230px;
  }
  .battle-player h2 {
    font-size: 16px;
  }
}
@media (max-width: 760px) {
  .wordmark {
    font-size: 15px;
    letter-spacing: -0.8px;
  }
  .topbar {
    padding: 0 15px;
    gap: 12px;
  }
  .topbar .edition {
    font-size: 10px;
    letter-spacing: 1.4px;
  }
  .account-area {
    margin-left: auto;
  }
  .topnav {
    display: none;
  }
  .mobile-nav button {
    font-size: 10px;
    min-width: 45px;
  }
  .mobile-nav .icon {
    width: 19px;
    height: 19px;
  }
  .case-card h3 {
    font-size: 11px;
    min-height: 33px;
  }
  .catalog-toolbar .tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .tabs button {
    font-size: 10px;
    padding: 0 11px;
  }
  .case-favorite {
    top: 7px;
    right: 7px;
    width: 24px;
    height: 24px;
  }
  .case-favorite .icon {
    width: 12px;
    height: 12px;
  }
  .hero h1 {
    font-size: 25px;
  }
  .hero-copy {
    max-width: 67%;
  }
  .hero-art {
    width: 49%;
    right: -5%;
  }
  .hero-art img {
    width: 125%;
    height: 90%;
    top: 9%;
    left: -18%;
  }
  .hero-orbit {
    width: 190px;
    height: 190px;
    left: 0;
    top: 35px;
  }
  .hero p {
    max-width: 220px;
    font-size: 10px;
  }
  .hero-skin-label {
    right: 30px;
    bottom: 22px;
  }
  .hero {
    min-height: 290px;
  }
  .auth-page {
    padding: 0 22px;
  }
  .auth-header {
    height: 88px;
  }
  .auth-header .wordmark {
    font-size: 20px;
  }
  .auth-header > span {
    display: none;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 35px 0;
  }
  .auth-showcase {
    min-height: 0;
  }
  .auth-showcase h1 {
    font-size: 28px;
    line-height: 1.5;
    margin-top: 18px;
    margin-bottom: 14px;
    position: relative;
    max-width: 320px;
  }
  .auth-showcase > p {
    font-size: 10px;
    max-width: 270px;
  }
  .auth-weapon {
    position: absolute;
    width: 190px;
    height: 180px;
    right: -30px;
    bottom: 0;
    opacity: 0.45;
    z-index: 0;
  }
  .auth-weapon img {
    transform: rotate(-35deg);
    object-fit: contain;
  }
  .auth-halo {
    width: 150px;
    height: 150px;
    left: 10%;
  }
  .auth-weapon > span {
    display: none;
  }
  .auth-perks {
    display: none;
  }
  .auth-card {
    padding: 27px 25px;
  }
  .auth-card h2 {
    font-size: 26px;
  }
  .auth-card-top {
    margin-bottom: 20px;
  }
  .auth-card .auth-tabs {
    margin: 22px 0;
  }
  .auth-card > p {
    font-size: 11px;
  }
  .auth-footer {
    flex-direction: column;
    font-size: 10px;
    gap: 8px;
    padding-bottom: 26px;
  }
  .auth-showcase > .pill {
    font-size: 10px;
  }
  .battle-arena {
    grid-template-columns: 1fr 85px 1fr;
    padding: 23px 14px;
    min-height: 245px;
    gap: 7px;
  }
  .battle-avatar {
    width: 57px;
    height: 57px;
    border-radius: 16px;
    margin-bottom: 14px;
  }
  .battle-avatar .icon {
    width: 25px;
    height: 25px;
  }
  .battle-player h2 {
    font-size: 12px;
  }
  .battle-player p {
    font-size: 10px;
  }
  .battle-player strong {
    font-size: 12px;
    margin-top: 13px;
  }
  .battle-center img {
    height: 100px;
    width: 120%;
    margin-left: -10%;
  }
  .battle-center > span {
    font-size: 42px;
    top: 10px;
  }
  .battle-center p {
    font-size: 10px;
  }
  .battle-controls {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 17px;
  }
  .battle-select-label select {
    width: 100%;
    font-size: 10px;
  }
  .battle-controls > .primary {
    grid-column: 1/-1;
  }
  .battle-controls .quantity button {
    width: 29px;
  }
  .battle-result-grid {
    gap: 10px;
  }
  .battle-result-grid section {
    padding: 12px 10px;
  }
  .battle-result-grid h3 {
    font-size: 11px;
  }
  .battle-drop-list > div {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 7px;
    padding: 12px 0;
  }
  .battle-drop-list img {
    grid-row: auto;
    width: 100%;
    height: 65px;
  }
  .battle-drop-list span {
    font-size: 10px;
  }
  .battle-drop-list strong {
    font-size: 11px;
  }
  .battle-total {
    font-size: 17px;
  }
  .leaderboard-head,
  .leaderboard-row {
    grid-template-columns: 1.8fr 0.7fr 1fr;
    gap: 10px;
    padding: 16px 13px;
  }
  .leaderboard-head span:last-child,
  .leaderboard-row > span:last-child {
    display: none;
  }
  .leaderboard-head {
    font-size: 10px;
  }
  .leaderboard-row > div {
    gap: 8px;
  }
  .leaderboard-row .leader-avatar {
    display: none;
  }
  .leaderboard-row strong {
    font-size: 10px;
  }
  .leaderboard-row > span {
    font-size: 10px;
  }
  .rank {
    width: 18px;
    flex-shrink: 0;
  }
  .rank .icon {
    width: 15px;
    height: 15px;
  }
  .session-tag {
    font-size: 10px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .selection-panel .item-card img {
    height: 75px;
  }
}
@media (max-width: 390px) {
  .hero h1 {
    font-size: 23px;
  }
  .hero-copy {
    max-width: 70%;
  }
  .hero p {
    max-width: 190px;
    font-size: 10px;
  }
  .hero-art img {
    top: 11%;
  }
  .hero-skin-label strong {
    font-size: 10px;
  }
  .hero-skin-label {
    right: 24px;
  }
  .wordmark {
    font-size: 14px;
  }
  .topbar {
    padding: 0 13px;
  }
  .balance {
    font-size: 11px;
  }
  .account-area {
    gap: 9px;
  }
  .add-money {
    width: 28px;
    height: 28px;
  }
  .avatar {
    width: 31px;
    height: 31px;
  }
  .auth-showcase h1 {
    font-size: 25px;
  }
  .tabs button {
    padding: 0 10px;
  }
}
@media (max-width: 760px) {
  .result-items.count-5 .result-item {
    width: calc((100% - 12px) / 2);
  }
  .mobile-nav .tiny-badge {
    display: none;
  }
  .mode-strip {
    gap: 8px;
    margin: -4px 0 25px;
    padding-bottom: 20px;
  }
  .mode-strip button {
    gap: 7px;
    padding: 9px 5px;
    justify-content: center;
    flex-direction: column;
  }
  .mode-strip strong {
    font-size: 10px;
  }
  .mode-strip small,
  .mode-strip button > .icon:last-child {
    display: none;
  }
  .mode-strip button > .icon:first-child {
    width: 23px;
    height: 23px;
    margin-bottom: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-art img {
    transform: none;
  }
}
