:root {
  color-scheme: dark;
  --bg: #0d1115;
  --surface: #141a20;
  --surface-2: #1a222a;
  --surface-3: #202a33;
  --line: #2b3741;
  --line-strong: #3a4853;
  --text: #f5f7f8;
  --muted: #9ba8b3;
  --coral: #ff4655;
  --coral-dark: #d62f40;
  --cyan: #59e4d2;
  --blue: #62a8ff;
  --gold: #f0c86a;
  --radius: 6px;
  --display: "Barlow Condensed", sans-serif;
  --body: "Inter", sans-serif;
}

[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.8;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 17, 21, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--coral);
  background: var(--coral);
  clip-path: polygon(12% 0, 100% 0, 100% 72%, 72% 100%, 0 100%, 0 12%);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-family: var(--display);
  font-size: 24px;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 1.7px;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.header-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--surface);
}

.header-button {
  min-height: 38px;
  gap: 8px;
  padding: 0 14px;
  font-weight: 600;
}

.header-button:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.header-button--primary {
  border-color: var(--coral);
  background: var(--coral);
}

.header-button--primary:hover {
  border-color: #ff6975;
  background: var(--coral-dark);
}

.store-tabs {
  border-bottom: 1px solid var(--line);
  background: #11171c;
}

.store-tabs__inner,
.region-strip__inner,
.catalog-shell {
  width: min(1520px, 92vw);
  margin: 0 auto;
}

.store-tabs__inner {
  display: flex;
}

.store-tab {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 9px;
  padding: 0 28px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.store-tab:first-child {
  border-left: 1px solid var(--line);
}

.store-tab b,
.region-tab b {
  color: var(--cyan);
  font-family: var(--body);
  font-size: 12px;
}

.store-tab.is-active {
  background: var(--coral);
  color: white;
}

.store-tab.is-active b {
  color: white;
}

.store-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 16px;
  height: 16px;
  background: var(--bg);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
}

.region-strip {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.region-strip__inner {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.region-tab {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.region-tab:hover,
.region-tab.is-active {
  border-color: var(--cyan);
  color: var(--cyan);
}

.catalog-shell {
  padding: 28px 0 48px;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  line-height: 1;
  text-transform: uppercase;
}

h1 {
  font-size: 38px;
}

h2 {
  font-size: 28px;
}

.catalog-total {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(145px, 0.8fr)) 40px;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.filter-bar label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #10161b;
}

.filter-bar input {
  padding: 0 12px 0 38px;
}

.filter-bar select {
  padding: 0 10px;
}

.search-control {
  position: relative;
  display: block;
}

.search-control .icon {
  position: absolute;
  z-index: 1;
  top: 11px;
  left: 11px;
  color: var(--muted);
}

.icon-button {
  width: 40px;
  height: 40px;
  padding: 10px;
}

.clear-button {
  align-self: end;
}

.catalog-status {
  min-height: 26px;
  padding: 10px 0 2px;
  color: var(--muted);
  font-size: 12px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.account-grid.is-loading {
  cursor: progress;
}

.account-grid.is-loading .account-card {
  opacity: 0.58;
  pointer-events: none;
}

.account-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 2px solid var(--coral);
  background: linear-gradient(145deg, #182129, #11171c 68%);
  transition: border-color 150ms ease, transform 150ms ease;
}

.account-card::before {
  position: absolute;
  top: -38px;
  right: -38px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(89, 228, 210, 0.12);
  content: "";
  transform: rotate(45deg);
}

.account-card:hover {
  border-color: #4a5964;
  transform: translateY(-2px);
}

.account-card__header {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--line);
}

.account-region,
.account-label {
  display: block;
}

.account-region {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.account-label {
  margin-top: 3px;
  font-family: var(--display);
  font-size: 23px;
  line-height: 1;
  text-transform: uppercase;
}

.account-level {
  padding: 7px 8px;
  background: rgba(89, 228, 210, 0.12);
  color: var(--cyan);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
}

.account-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 14px;
  gap: 17px 14px;
}

.account-stats div {
  min-width: 0;
}

.account-stats dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.account-stats dd {
  overflow: hidden;
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.view-skins-button {
  display: flex;
  width: calc(100% - 28px);
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 14px 14px;
  padding: 0 12px;
  border: 1px dashed rgba(89, 228, 210, 0.6);
  background: rgba(89, 228, 210, 0.05);
  color: var(--cyan);
  font-weight: 700;
}

.view-skins-button:hover {
  border-style: solid;
  background: rgba(89, 228, 210, 0.1);
}

.account-card__footer {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: rgba(7, 10, 13, 0.45);
}

.price-wrap {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 5px;
}

.old-price {
  grid-column: 1 / -1;
  min-height: 14px;
  color: var(--muted);
  font-size: 11px;
  text-decoration: line-through;
}

.account-price {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
}

.price-wrap small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.buy-button {
  display: inline-flex;
  min-width: 92px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: var(--coral);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 88% 100%, 0 100%);
}

.buy-button:hover {
  background: #ff6370;
}

.pagination {
  display: flex;
  min-height: 40px;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.pagination button {
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
}

.pagination button:hover,
.pagination button.is-active {
  border-color: var(--coral);
  background: var(--coral);
}

.pagination button:disabled {
  cursor: default;
  opacity: 0.35;
}

.empty-state,
.error-state {
  grid-column: 1 / -1;
  display: grid;
  min-height: 240px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.skeleton {
  min-height: 350px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.045), transparent),
    var(--surface);
  background-size: 220% 100%;
  animation: loading 1.2s infinite;
}

@keyframes loading {
  to {
    background-position: -220% 0;
  }
}

.skin-dialog {
  width: min(930px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.skin-dialog::backdrop {
  background: rgba(4, 6, 8, 0.78);
  backdrop-filter: blur(4px);
}

.skin-dialog__header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.skin-dialog__body {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(360px, 1.3fr);
  min-height: 480px;
}

.skin-list-wrap {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--line);
}

.dialog-search {
  position: relative;
  display: block;
  margin-bottom: 10px;
}

.dialog-search .icon {
  position: absolute;
  top: 11px;
  left: 11px;
  color: var(--muted);
}

.dialog-search input {
  width: 100%;
  height: 40px;
  padding: 0 10px 0 38px;
  border: 1px solid var(--line);
  background: #10161b;
}

.skin-tier-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.skin-tier-filter {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid var(--line);
  background: #10161b;
  color: var(--muted);
  font-size: 11px;
}

.skin-tier-filter:hover,
.skin-tier-filter.is-active {
  border-color: var(--gold-dim);
  background: rgba(224, 189, 88, 0.1);
  color: var(--gold-bright);
}

.skin-tier-filter b {
  color: var(--text);
  font-size: 10px;
}

.skin-list {
  max-height: 474px;
  overflow-y: auto;
  scrollbar-color: var(--line-strong) var(--surface);
}

.skin-item {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: #d9e0e5;
  text-align: left;
}

.skin-item:hover,
.skin-item.is-active {
  border-left-color: var(--cyan);
  background: var(--surface-3);
  color: white;
}

.tier-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
}

.skin-preview {
  display: grid;
  min-width: 0;
  grid-template-rows: 1fr auto;
  margin: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(98, 168, 255, 0.12), transparent 48%),
    #0f1419;
}

.skin-preview__stage {
  position: relative;
  display: grid;
  min-height: 380px;
  place-items: center;
  overflow: hidden;
}

.skin-preview__stage::before,
.skin-preview__stage::after {
  position: absolute;
  width: 120px;
  height: 120px;
  border-color: rgba(89, 228, 210, 0.2);
  content: "";
}

.skin-preview__stage::before {
  top: 20px;
  left: 20px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.skin-preview__stage::after {
  right: 20px;
  bottom: 20px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.skin-preview img {
  z-index: 1;
  display: none;
  width: 88%;
  height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 24px 20px rgba(0, 0, 0, 0.55));
}

.skin-preview.has-image img {
  display: block;
}

.skin-preview.has-image .preview-placeholder {
  display: none;
}

.preview-placeholder {
  display: grid;
  place-items: center;
  gap: 10px;
  color: var(--muted);
}

.preview-placeholder .icon {
  width: 28px;
  height: 28px;
}

.skin-preview figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, auto);
  min-height: 94px;
  align-items: end;
  align-content: center;
  gap: 18px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  background: rgba(12, 16, 20, 0.9);
}

.skin-preview__caption-copy {
  display: grid;
  min-width: 0;
  gap: 8px;
  align-content: end;
}

.skin-preview figcaption span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.skin-preview figcaption strong {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.08;
  text-transform: none;
}

.skin-preview__purchase {
  display: inline-grid;
  min-width: 160px;
  justify-items: end;
  gap: 9px;
}

.skin-preview__purchase > span {
  color: var(--gold-bright, var(--text));
  font-family: var(--display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

.skin-preview__buy {
  display: inline-flex;
  min-width: 132px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  background: var(--coral);
  color: white;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.skin-preview__buy:hover {
  background: var(--coral-dark);
}

.skin-preview__buy:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-dialog {
  width: min(460px, calc(100vw - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.auth-dialog::backdrop {
  background: rgba(4, 6, 8, 0.78);
  backdrop-filter: blur(4px);
}

.auth-dialog__header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #10161b;
  color: var(--muted);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-tab:last-child {
  border-right: 0;
}

.auth-tab:hover,
.auth-tab.is-active {
  background: var(--surface-3);
  color: var(--text);
}

.auth-tab.is-active {
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.auth-dialog__body {
  padding: 16px;
}

.auth-panel {
  display: none;
}

.auth-panel.is-active {
  display: grid;
  gap: 12px;
}

.auth-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #10161b;
}

.auth-field input:hover,
.auth-field input:focus {
  border-color: var(--line-strong);
}

.auth-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.auth-submit {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: var(--coral);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-submit:hover {
  background: #ff6370;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-submit--secondary {
  border: 1px solid var(--line);
  background: #10161b;
  color: var(--text);
}

.auth-submit--secondary:hover {
  border-color: var(--coral);
  background: rgba(255, 70, 85, 0.12);
}

.auth-message {
  min-height: 18px;
  margin: 12px 0 0;
  color: var(--gold);
  font-size: 12px;
  line-height: 1.45;
}

.auth-message.is-error {
  color: #ff8d96;
}

.recovery-code {
  display: block;
  padding: 12px;
  border: 1px dashed rgba(89, 228, 210, 0.7);
  background: rgba(89, 228, 210, 0.08);
  color: var(--cyan);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.account-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #10161b;
}

.account-summary > .icon {
  width: 28px;
  height: 28px;
  color: var(--cyan);
}

.account-summary span,
.account-summary strong {
  display: block;
}

.account-summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.account-summary strong {
  margin-top: 2px;
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
}

.checkout-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.checkout-dialog::backdrop {
  background: rgba(4, 6, 8, 0.78);
  backdrop-filter: blur(4px);
}

.checkout-dialog__header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.checkout-dialog__body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.checkout-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(89, 228, 210, 0.55);
  background: rgba(89, 228, 210, 0.08);
}

.checkout-status.is-error {
  border-color: rgba(255, 70, 85, 0.6);
  background: rgba(255, 70, 85, 0.1);
}

.checkout-status.is-pending {
  border-color: rgba(240, 200, 106, 0.65);
  background: rgba(240, 200, 106, 0.1);
}

.checkout-status > .icon {
  width: 26px;
  height: 26px;
  color: var(--cyan);
}

.checkout-status.is-error > .icon {
  color: #ff8d96;
}

.checkout-status.is-pending > .icon {
  color: var(--gold);
}

.checkout-status strong,
.checkout-status span {
  display: block;
}

.checkout-status strong {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}

.checkout-status span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.checkout-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border: 1px solid var(--line);
  background: #10161b;
}

.checkout-details div {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checkout-details div:nth-child(2n),
.checkout-details div:last-child {
  border-right: 0;
}

.checkout-details div:nth-last-child(-n + 1) {
  border-bottom: 0;
}

.checkout-details__price {
  grid-column: 1 / -1;
}

.checkout-details dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.checkout-details dd {
  overflow: hidden;
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.checkout-details__price dd {
  color: var(--cyan);
  font-size: 30px;
}

.checkout-note {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.checkout-note.is-error {
  color: #ff8d96;
}

.checkout-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -4px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(224, 189, 88, 0.24);
  background: rgba(224, 189, 88, 0.05);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.checkout-support a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.checkout-actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 10px;
}

.checkout-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: var(--coral);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}

.checkout-button:hover {
  background: #ff6370;
}

.checkout-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.checkout-button--secondary {
  border: 1px solid var(--line);
  background: #10161b;
  color: var(--text);
}

.checkout-button--secondary:hover {
  border-color: var(--coral);
  background: rgba(255, 70, 85, 0.12);
}

.purchases-dialog {
  width: min(980px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.purchases-dialog::backdrop {
  background: rgba(4, 6, 8, 0.78);
  backdrop-filter: blur(4px);
}

.purchases-dialog__header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.purchases-dialog__body {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.4fr);
  min-height: 520px;
}

.purchase-list-wrap {
  min-width: 0;
  border-right: 1px solid var(--line);
  background: #10161b;
}

.purchase-list-status {
  min-height: 42px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.purchase-list {
  max-height: 478px;
  overflow-y: auto;
  scrollbar-color: var(--line-strong) var(--surface);
}

.purchase-item {
  display: grid;
  width: 100%;
  gap: 7px;
  padding: 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.purchase-item:hover,
.purchase-item.is-active {
  border-left-color: var(--cyan);
  background: var(--surface-2);
}

.purchase-item strong {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1;
  text-transform: uppercase;
}

.purchase-item span {
  color: var(--muted);
  font-size: 12px;
}

.purchase-item small {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.purchase-detail {
  min-width: 0;
  padding: 16px;
  overflow-y: auto;
}

.purchase-empty {
  display: grid;
  min-height: 100%;
  place-items: center;
  gap: 10px;
  color: var(--muted);
}

.purchase-empty .icon {
  width: 30px;
  height: 30px;
}

.purchase-detail__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.purchase-detail__head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}

.purchase-detail__head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.purchase-badge {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(89, 228, 210, 0.45);
  background: rgba(89, 228, 210, 0.08);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.purchase-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 14px;
  border: 1px solid var(--line);
  background: #10161b;
}

.purchase-facts div {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.purchase-facts div:nth-child(2n),
.purchase-facts div:last-child {
  border-right: 0;
}

.purchase-facts div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.purchase-facts dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.purchase-facts dd {
  overflow: hidden;
  margin: 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.purchase-skins {
  margin-bottom: 14px;
}

.purchase-skins h4,
.credentials-panel h4,
.reauth-panel h4 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 17px;
  text-transform: uppercase;
}

.purchase-skin-tags {
  display: flex;
  max-height: 86px;
  flex-wrap: wrap;
  gap: 6px;
  overflow-y: auto;
}

.purchase-skin-tags span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  background: #10161b;
  color: #d9e0e5;
  font-size: 11px;
}

.credentials-panel,
.reauth-panel {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  background: #10161b;
}

.credentials-grid {
  display: grid;
  gap: 8px;
}

.credential-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
}

.credential-row span {
  color: var(--muted);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.credential-row code {
  min-width: 0;
  padding: 10px;
  border: 1px dashed rgba(89, 228, 210, 0.55);
  background: rgba(89, 228, 210, 0.07);
  color: var(--cyan);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.purchase-actions {
  display: flex;
  gap: 9px;
}

.purchase-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 0;
  background: var(--coral);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.purchase-action:hover {
  background: #ff6370;
}

.purchase-action:disabled {
  cursor: wait;
  opacity: 0.65;
}

.purchase-action--secondary {
  border: 1px solid var(--line);
  background: var(--surface);
}

.purchase-action--secondary:hover {
  border-color: var(--cyan);
  background: rgba(89, 228, 210, 0.08);
}

.reauth-panel input {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.purchase-message {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.purchase-message.is-error {
  color: #ff8d96;
}

.payment-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.payment-method-dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid #514522;
  background: #111317;
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.payment-method-dialog::backdrop {
  background: rgba(3, 4, 5, 0.86);
  backdrop-filter: blur(4px);
}

.payment-method-dialog__body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.payment-method-option {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  min-height: 74px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #0d0f12;
  color: var(--text);
  text-align: left;
}

.payment-method-option:hover {
  border-color: var(--gold-dim);
  background: rgba(224, 189, 88, 0.07);
}

.payment-method-option:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.payment-method-option__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(224, 189, 88, 0.38);
  background: rgba(224, 189, 88, 0.08);
  color: var(--gold-bright);
}

.payment-method-option strong,
.payment-method-option small {
  display: block;
}

.payment-method-option strong {
  font-size: 16px;
}

.payment-method-option small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.payment-method-message {
  min-height: 18px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.payment-method-message.is-error {
  color: #ff8d96;
}

.recharge-dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid #514522;
  background: #111317;
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.recharge-dialog::backdrop {
  background: rgba(3, 4, 5, 0.86);
  backdrop-filter: blur(4px);
}

.recharge-dialog__body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.recharge-balance {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(224, 189, 88, 0.35);
  background: rgba(224, 189, 88, 0.07);
}

.recharge-balance span,
.recharge-amount > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.recharge-balance strong {
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 22px;
}

.recharge-amount {
  display: grid;
  gap: 7px;
}

.recharge-amount__control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 50px;
  align-items: center;
  border: 1px solid var(--line);
  background: #0d0f12;
}

.recharge-amount__control input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  outline: 0;
}

.recharge-amount__control b {
  padding: 0 14px;
  color: var(--gold-bright);
  font-size: 12px;
  text-transform: uppercase;
}

.recharge-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.recharge-presets button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: #0d0f12;
  color: var(--text);
  font-weight: 700;
}

.recharge-presets button:hover {
  border-color: var(--gold-dim);
  color: var(--gold-bright);
}

.recharge-rate {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.recharge-terms {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #0d0f12;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.recharge-terms input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--gold);
}

.recharge-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.recharge-methods button {
  display: grid;
  min-height: 78px;
  place-items: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #0d0f12;
  color: var(--text);
}

.recharge-methods button:hover {
  border-color: var(--gold-dim);
  background: rgba(224, 189, 88, 0.07);
}

.recharge-methods button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.recharge-methods .icon {
  color: var(--gold-bright);
}

.recharge-methods strong,
.recharge-methods small {
  display: block;
}

.recharge-methods small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

@media (max-width: 560px) {
  .recharge-methods {
    grid-template-columns: 1fr;
  }

  .recharge-methods button {
    grid-template-columns: 28px minmax(0, 1fr);
    min-height: 58px;
    place-items: center start;
    text-align: left;
  }
}

.payment-dialog::backdrop {
  background: rgba(4, 6, 8, 0.78);
  backdrop-filter: blur(4px);
}

.payment-dialog__header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.payment-dialog__body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.payment-status-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(240, 200, 106, 0.65);
  background: rgba(240, 200, 106, 0.1);
}

.payment-status-card.is-success {
  border-color: rgba(89, 228, 210, 0.6);
  background: rgba(89, 228, 210, 0.08);
}

.payment-status-card.is-error {
  border-color: rgba(255, 70, 85, 0.6);
  background: rgba(255, 70, 85, 0.1);
}

.payment-status-card > .icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.payment-status-card.is-success > .icon {
  color: var(--cyan);
}

.payment-status-card.is-error > .icon {
  color: #ff8d96;
}

.payment-status-card strong,
.payment-status-card span {
  display: block;
}

.payment-status-card strong {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1;
  text-transform: uppercase;
}

.payment-status-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.payment-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
  background: #10161b;
}

.payment-facts div {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--line);
}

.payment-facts div:last-child {
  border-right: 0;
}

.payment-facts dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.payment-facts dd {
  overflow: hidden;
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.payment-message {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.payment-actions {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 10px;
}

.payment-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: var(--coral);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}

.payment-button:hover {
  background: #ff6370;
}

.payment-button:disabled {
  cursor: default;
  opacity: 0.45;
}

.payment-button--secondary {
  border: 1px solid var(--line);
  background: #10161b;
}

.payment-button--secondary:hover {
  border-color: var(--cyan);
  background: rgba(89, 228, 210, 0.08);
}

.toast {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100vw - 40px));
  padding: 12px 15px;
  border-left: 3px solid var(--cyan);
  background: #202a33;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 150ms ease, transform 150ms ease;
}

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

@media (max-width: 1180px) {
  .account-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-bar {
    grid-template-columns: minmax(230px, 1.5fr) repeat(2, minmax(150px, 1fr)) 40px;
  }

  .filter-bar label:nth-of-type(4),
  .filter-bar label:nth-of-type(5) {
    grid-row: 2;
  }
}

@media (max-width: 820px) {
  .language-switch {
    height: 40px;
  }

  .language-switch button {
    width: 32px;
    height: 32px;
  }

  .site-header {
    padding: 0 16px;
  }

  .header-button span:not(.icon) {
    display: none;
  }

  .header-button {
    width: 40px;
    padding: 0;
  }

  .store-tabs__inner,
  .region-strip__inner,
  .catalog-shell {
    width: calc(100% - 24px);
  }

  .store-tab {
    flex: 1 1 50%;
    justify-content: center;
    padding: 0 10px;
    font-size: 16px;
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr 40px;
  }

  .filter-bar .search-field {
    grid-column: 1 / -1;
  }

  .filter-bar label:nth-of-type(4),
  .filter-bar label:nth-of-type(5) {
    grid-row: auto;
  }

  .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skin-dialog__body {
    grid-template-columns: minmax(190px, 0.75fr) minmax(280px, 1.25fr);
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 20px;
  }

  .brand small {
    font-size: 9px;
  }

  .store-tab .icon {
    display: none;
  }

  .catalog-shell {
    padding-top: 20px;
  }

  .catalog-heading {
    align-items: start;
  }

  h1 {
    font-size: 31px;
  }

  .catalog-total {
    max-width: 110px;
    font-size: 11px;
    text-align: right;
  }

  .filter-bar {
    grid-template-columns: 1fr 40px;
  }

  .filter-bar label {
    grid-column: 1 / -1;
  }

  .filter-bar .clear-button {
    grid-column: 2;
    grid-row: 6;
  }

  .filter-bar label:nth-of-type(5) {
    grid-column: 1;
  }

  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-card {
    min-height: 0;
  }

  .skin-dialog {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    overflow: hidden;
    border: 0;
    border-radius: 0;
  }

  .skin-dialog__header {
    min-height: 72px;
    padding: 12px 14px;
  }

  .skin-dialog__body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 45dvh) minmax(0, 1fr);
    height: calc(100dvh - 72px);
    min-height: 0;
    overflow: hidden;
  }

  .skin-list-wrap {
    display: grid;
    min-height: 0;
    grid-template-rows: auto auto minmax(0, 1fr);
    overflow: hidden;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dialog-search {
    margin-bottom: 8px;
  }

  .skin-tier-filters {
    flex-wrap: nowrap;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
  }

  .skin-tier-filter {
    min-height: 28px;
    flex: 0 0 auto;
    padding: 0 8px;
    font-size: 10px;
  }

  .skin-list {
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 2px;
  }

  .skin-preview {
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
  }

  .skin-preview__stage {
    min-height: 0;
    padding: 8px 0;
  }

  .skin-preview img {
    width: min(88vw, 420px);
    height: min(28dvh, 210px);
    max-height: 210px;
  }

  .skin-preview figcaption {
    grid-template-columns: 1fr;
    min-height: 132px;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  }

  .skin-preview figcaption strong {
    font-size: 22px;
  }

  .skin-preview__purchase {
    width: 100%;
    min-width: 0;
    grid-template-columns: auto minmax(128px, auto);
    align-items: center;
    justify-content: space-between;
    justify-items: stretch;
  }

  .skin-preview__purchase > span {
    font-size: 24px;
  }

  .skin-preview__buy {
    min-width: 128px;
    min-height: 46px;
    padding: 0 16px;
  }

  .auth-dialog {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .auth-dialog__body {
    padding: 14px;
  }

  .auth-tab {
    font-size: 14px;
  }

  .checkout-dialog {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .checkout-dialog__body {
    padding: 14px;
  }

  .checkout-actions {
    grid-template-columns: 1fr;
  }

  .purchases-dialog {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .purchases-dialog__body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(190px, 36vh) 1fr;
    height: calc(100dvh - 72px);
  }

  .purchase-list-wrap {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .purchase-list {
    max-height: calc(36vh - 42px);
  }

  .purchase-detail {
    padding: 14px;
  }

  .purchase-facts {
    grid-template-columns: 1fr;
  }

  .purchase-facts div,
  .purchase-facts div:nth-child(2n),
  .purchase-facts div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .purchase-facts div:last-child {
    border-bottom: 0;
  }

  .credential-row {
    grid-template-columns: 1fr 40px;
  }

  .credential-row span {
    grid-column: 1 / -1;
  }

  .payment-dialog {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .payment-dialog__body {
    padding: 14px;
  }

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

  .payment-facts div,
  .payment-facts div:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .payment-facts div:last-child {
    border-bottom: 0;
  }

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

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

/* Radiant Accounts Store identity */
:root {
  --bg: #090a0c;
  --surface: #111317;
  --surface-2: #171a1f;
  --surface-3: #1e2228;
  --line: #2b2e33;
  --line-strong: #484b50;
  --text: #f5f3ee;
  --muted: #a6a8ab;
  --coral: #d6a82f;
  --coral-dark: #ad8120;
  --cyan: #e0bd58;
  --blue: #c4c7cb;
  --gold: #e0bd58;
  --gold-bright: #f4d675;
  --gold-dim: #8f6b1c;
  --silver: #c7c8c9;
  --success: #4ec79a;
  --danger: #e26a70;
  --radius: 4px;
  --display: "Cinzel", serif;
  --body: "Manrope", sans-serif;
}

body {
  background: #090a0c;
  font-size: 13px;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline-color: var(--gold-bright);
}

.site-header {
  position: relative;
  overflow: hidden;
  min-height: 144px;
  top: auto;
  padding: 0 max(24px, 4vw);
  border-bottom-color: rgba(224, 189, 88, 0.35);
  background:
    radial-gradient(circle at 15% 42%, rgba(244, 214, 117, 0.16), transparent 24%),
    radial-gradient(circle at 91% 18%, rgba(214, 168, 47, 0.1), transparent 20%),
    repeating-linear-gradient(132deg, transparent 0 34px, rgba(224, 189, 88, 0.045) 35px, transparent 37px),
    linear-gradient(90deg, rgba(9, 10, 12, 0.98), rgba(15, 15, 13, 0.96) 34%, rgba(9, 10, 12, 0.98));
  box-shadow: inset 0 -1px 0 rgba(244, 214, 117, 0.18);
}

.brand {
  position: relative;
  display: block;
  width: clamp(285px, 27vw, 340px);
  height: 144px;
}

.brand::before,
.brand::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.brand::before {
  inset: 4px -46px 8px -18px;
  background:
    radial-gradient(ellipse at 48% 50%, rgba(244, 214, 117, 0.18), transparent 60%),
    linear-gradient(90deg, transparent, rgba(224, 189, 88, 0.14), transparent);
  filter: blur(8px);
}

.brand::after {
  right: -48px;
  bottom: 44px;
  width: 92px;
  height: 1px;
  background: linear-gradient(90deg, rgba(244, 214, 117, 0.75), transparent);
  box-shadow:
    -18px -44px 0 rgba(224, 189, 88, 0.18),
    18px -22px 0 rgba(244, 214, 117, 0.12);
}

.brand-art {
  position: absolute;
  left: -10px;
  top: 0;
  display: block;
  width: clamp(300px, 28vw, 345px);
  height: auto;
  border: 0;
  background: transparent;
  filter:
    drop-shadow(0 0 16px rgba(224, 189, 88, 0.24))
    drop-shadow(0 8px 12px rgba(0, 0, 0, 0.36));
}

.brand picture {
  display: contents;
}

.header-actions {
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  height: 42px;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  background: #0d0f12;
}

.language-switch button {
  width: 38px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.language-switch button:hover,
.language-switch button.is-active {
  background: var(--gold);
  color: #11100c;
}

.header-button {
  min-height: 42px;
  border-color: var(--line);
  background: #0d0f12;
  font-size: 12px;
}

.header-button:hover {
  border-color: var(--gold-dim);
  background: var(--surface-2);
  color: var(--gold-bright);
}

.support-link {
  color: var(--text);
  text-decoration: none;
}

.support-link .icon,
.dialog-support-link .icon,
.checkout-support .icon,
.support-strip .icon {
  color: var(--gold-bright);
}

.header-button--primary {
  border-color: var(--gold-dim);
  background: var(--gold);
  color: #11100c;
}

.header-button--primary:hover {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
}

.account-button-copy {
  display: grid;
  gap: 2px;
  line-height: 1.05;
  text-align: left;
}

.account-button-copy small {
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 800;
}

.header-button--primary.has-balance {
  border-color: var(--gold-dim);
  background: #0d0f12;
  color: var(--text);
}

.header-button--primary.has-balance:hover {
  border-color: var(--gold-bright);
  background: var(--surface-2);
  color: var(--gold-bright);
}

.inventory-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(14, 15, 17, 0.97), rgba(18, 18, 16, 0.96), rgba(14, 15, 17, 0.97));
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.inventory-nav__inner {
  display: flex;
  width: min(1520px, 92vw);
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}

.store-tabs,
.region-strip {
  padding: 0;
  border: 0;
  background: transparent;
}

.store-tabs__inner,
.region-strip__inner {
  width: auto;
  margin: 0;
}

.store-tabs__inner {
  gap: 10px;
}

.store-tab {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  color: var(--muted);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.store-tab:first-child {
  border-left: 1px solid transparent;
}

.store-tab:hover {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.store-tab.is-active {
  border-color: var(--gold-dim);
  background: rgba(224, 189, 88, 0.1);
  color: var(--gold-bright);
}

.store-tab.is-active::after {
  display: none;
}

.store-tab b,
.region-tab b,
.store-tab.is-active b {
  color: var(--silver);
  font-size: 12px;
}

.region-strip__inner {
  max-width: min(620px, 46vw);
  padding: 0;
}

.region-tab {
  min-height: 40px;
  padding: 0 14px;
  border-color: transparent;
  background: transparent;
  color: #8e9195;
  font-size: 12px;
}

.region-tab:hover,
.region-tab.is-active {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--gold-bright);
}

.catalog-shell {
  padding-top: 44px;
}

.catalog-heading {
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0;
}

h1 {
  font-size: 38px;
  font-weight: 600;
  text-transform: none;
}

h2 {
  font-size: 24px;
  text-transform: none;
}

.catalog-total {
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--silver);
  font-size: 13px;
}

.support-strip {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  margin: -6px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(224, 189, 88, 0.28);
  background:
    linear-gradient(90deg, rgba(224, 189, 88, 0.09), rgba(224, 189, 88, 0.03));
  color: var(--silver);
  font-size: 13px;
}

.support-strip a,
.checkout-support a,
.dialog-support-link {
  color: var(--gold-bright);
  font-weight: 800;
  text-decoration: none;
}

.support-strip a:hover,
.checkout-support a:hover,
.dialog-support-link:hover {
  color: var(--text);
}

.support-strip a {
  margin-left: auto;
  white-space: nowrap;
}

.filter-bar {
  grid-template-columns: minmax(320px, 1.7fr) repeat(4, minmax(175px, 0.8fr)) 50px;
  gap: 12px;
  padding: 16px;
  border-color: var(--line);
  background: #0d0f12;
}

.filter-bar label,
.auth-field {
  color: #8f9296;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0;
}

.filter-bar input,
.filter-bar select,
.dialog-search input,
.auth-field input,
.reauth-panel input {
  border-color: #33363b;
  background: #13161a;
  min-height: 50px;
  font-size: 13px;
}

.filter-bar input:hover,
.filter-bar input:focus,
.filter-bar select:hover,
.filter-bar select:focus,
.dialog-search input:hover,
.dialog-search input:focus,
.auth-field input:hover,
.auth-field input:focus {
  border-color: var(--gold-dim);
}

.icon-button {
  border-color: var(--line);
  background: #121519;
}

.icon-button:hover {
  border-color: var(--gold-dim);
  color: var(--gold-bright);
}

.catalog-status {
  padding-top: 16px;
  font-size: 14px;
}

.account-grid {
  gap: 20px;
}

.account-card {
  border: 1px solid #303338;
  border-top: 1px solid #5f4a19;
  background: #121519;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.account-card::before {
  top: 0;
  right: 0;
  width: 64px;
  height: 1px;
  border: 0;
  background: var(--gold-bright);
  content: "";
  transform: none;
}

.account-card:hover {
  border-color: #665426;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.account-card__header {
  min-height: 86px;
  padding: 19px 20px 16px;
  border-bottom-color: var(--line);
}

.account-region {
  color: var(--gold);
  font-size: 11px;
}

.account-label {
  margin-top: 8px;
  font-family: var(--body);
  font-size: 19px;
  font-weight: 700;
  text-transform: none;
}

.account-level {
  padding: 8px 10px;
  border: 1px solid #403b2c;
  background: rgba(224, 189, 88, 0.06);
  color: var(--gold-bright);
  font-family: var(--body);
  font-size: 12px;
}

.account-stats {
  gap: 22px 18px;
  padding: 20px;
}

.account-stats dt,
.checkout-details dt,
.purchase-facts dt,
.payment-facts dt {
  color: #888b90;
  font-family: var(--body);
  font-size: 11px;
}

.account-stats dd {
  font-family: var(--body);
  font-size: 16px;
  text-transform: none;
}

.view-skins-button {
  width: calc(100% - 40px);
  min-height: 50px;
  margin: 0 20px 18px;
  border: 1px solid #3a3d42;
  background: #0e1013;
  color: var(--silver);
  font-size: 13px;
}

.view-skins-button:hover {
  border-color: var(--gold-dim);
  background: rgba(224, 189, 88, 0.06);
  color: var(--gold-bright);
}

.account-card__footer {
  min-height: 84px;
  padding: 14px 20px;
  background: #0c0e11;
}

.account-price {
  color: var(--gold-bright);
  font-family: var(--body);
  font-size: 30px;
}

.buy-button,
.skin-preview__buy,
.auth-submit,
.checkout-button,
.purchase-action,
.payment-button {
  border: 1px solid var(--gold-dim);
  background: var(--gold);
  color: #11100c;
  clip-path: none;
  font-family: var(--body);
  min-height: 48px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.buy-button:hover,
.skin-preview__buy:hover,
.auth-submit:hover,
.checkout-button:hover,
.purchase-action:hover,
.payment-button:hover {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
}

.pagination button {
  background: #111317;
}

.pagination button:hover,
.pagination button.is-active {
  border-color: var(--gold-dim);
  background: rgba(224, 189, 88, 0.12);
  color: var(--gold-bright);
}

.skin-dialog,
.auth-dialog,
.checkout-dialog,
.purchases-dialog,
.payment-method-dialog,
.payment-dialog {
  border-color: #514522;
  background: #111317;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.skin-dialog::backdrop,
.auth-dialog::backdrop,
.checkout-dialog::backdrop,
.purchases-dialog::backdrop,
.payment-method-dialog::backdrop,
.payment-dialog::backdrop {
  background: rgba(3, 4, 5, 0.86);
}

.skin-dialog__header,
.auth-dialog__header,
.checkout-dialog__header,
.purchases-dialog__header,
.payment-method-dialog .payment-dialog__header,
.payment-dialog__header {
  border-bottom-color: #3b3320;
  background: #0d0f12;
}

.dialog-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dialog-support-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #121519;
  font-size: 12px;
}

.dialog-support-link:hover {
  border-color: var(--gold-dim);
  background: var(--surface-2);
}

.skin-list-wrap,
.purchase-list-wrap {
  background: #0d0f12;
}

.skin-item:hover,
.skin-item.is-active,
.purchase-item:hover,
.purchase-item.is-active {
  border-left-color: var(--gold);
  background: rgba(224, 189, 88, 0.07);
}

.skin-preview {
  background: #0b0d10;
}

.skin-preview__stage::before,
.skin-preview__stage::after {
  border-color: rgba(224, 189, 88, 0.22);
}

.skin-preview figcaption span,
.purchase-item small {
  color: var(--gold);
}

.skin-preview figcaption .skin-preview__purchase > span {
  color: var(--gold-bright);
  font-family: var(--body);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.skin-preview figcaption .skin-preview__buy {
  min-width: 138px;
  min-height: 50px;
  padding: 0 22px;
  font-size: 15px;
  line-height: 1;
}

.skin-preview__buy .icon {
  display: none;
}

.auth-tab {
  background: #0d0f12;
  font-family: var(--body);
  font-size: 11px;
  text-transform: none;
}

.auth-tab:hover,
.auth-tab.is-active {
  background: var(--surface-2);
}

.auth-tab.is-active {
  box-shadow: inset 0 -2px 0 var(--gold);
  color: var(--gold-bright);
}

.auth-submit--secondary,
.checkout-button--secondary,
.purchase-action--secondary,
.payment-button--secondary {
  border-color: var(--line);
  background: #0d0f12;
  color: var(--text);
}

.auth-submit--secondary:hover,
.checkout-button--secondary:hover,
.purchase-action--secondary:hover,
.payment-button--secondary:hover {
  border-color: var(--gold-dim);
  background: rgba(224, 189, 88, 0.06);
  color: var(--gold-bright);
}

.recovery-code,
.credential-row code {
  border-color: rgba(224, 189, 88, 0.5);
  background: rgba(224, 189, 88, 0.06);
  color: var(--gold-bright);
}

.account-summary > .icon,
.checkout-details__price dd {
  color: var(--gold-bright);
}

.account-summary--discord {
  border-color: rgba(224, 189, 88, 0.42);
  background:
    linear-gradient(135deg, rgba(224, 189, 88, 0.08), rgba(16, 22, 27, 0.96));
}

.account-summary--discord strong {
  color: var(--gold-bright);
}

.checkout-status {
  border-color: rgba(224, 189, 88, 0.5);
  background: rgba(224, 189, 88, 0.07);
}

.checkout-status > .icon {
  color: var(--gold);
}

.payment-status-card.is-success {
  border-color: rgba(78, 199, 154, 0.55);
  background: rgba(78, 199, 154, 0.08);
}

.payment-status-card.is-success > .icon {
  color: var(--success);
}

.purchase-badge {
  border-color: rgba(78, 199, 154, 0.45);
  background: rgba(78, 199, 154, 0.08);
  color: var(--success);
}

.purchase-item strong,
.purchase-detail__head h3,
.payment-status-card strong,
.checkout-status strong,
.account-summary strong,
.skin-preview figcaption strong {
  font-family: var(--body);
  text-transform: none;
}

.purchase-facts dd,
.checkout-details dd,
.payment-facts dd {
  font-family: var(--body);
  font-size: 17px;
  text-transform: none;
}

.toast {
  border-left-color: var(--gold);
  background: #1b1e23;
}

@media (max-width: 1180px) {
  .inventory-nav__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }

  .region-strip__inner {
    max-width: 100%;
  }

  .filter-bar {
    grid-template-columns: minmax(230px, 1.5fr) repeat(2, minmax(150px, 1fr)) 42px;
  }

  .filter-bar label:nth-of-type(4),
  .filter-bar label:nth-of-type(5) {
    grid-row: 2;
  }
}

@media (max-width: 820px) {
  .inventory-nav__inner {
    width: calc(100% - 24px);
  }

  .store-tabs__inner {
    width: 100%;
  }

  .region-strip {
    padding-top: 8px;
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr 42px;
  }

  .filter-bar .search-field {
    grid-column: 1 / -1;
  }

  .filter-bar label:nth-of-type(4),
  .filter-bar label:nth-of-type(5) {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .inventory-nav {
    position: relative;
    top: auto;
  }

  .site-header {
    min-height: 86px;
    padding: 0 12px;
    background:
      radial-gradient(circle at 25% 35%, rgba(244, 214, 117, 0.14), transparent 33%),
      repeating-linear-gradient(132deg, transparent 0 28px, rgba(224, 189, 88, 0.035) 29px, transparent 31px),
      linear-gradient(90deg, rgba(9, 10, 12, 0.98), rgba(13, 13, 12, 0.97));
  }

  .brand {
    width: clamp(150px, 43vw, 170px);
    height: 86px;
  }

  .brand::before {
    inset: 6px -18px 4px -12px;
  }

  .brand::after {
    display: none;
  }

  .brand-art {
    left: -6px;
    top: 0;
    width: clamp(178px, 50vw, 200px);
  }

  .header-actions {
    gap: 6px;
  }

  .site-header .support-link {
    display: none;
  }

  .support-strip {
    flex-wrap: wrap;
    margin-top: -2px;
  }

  .support-strip a {
    margin-left: 28px;
  }

  .checkout-support {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-tab {
    min-height: 40px;
    font-size: 10px;
  }

  .region-tab {
    min-height: 36px;
    padding: 0 11px;
    font-size: 11px;
  }

  .catalog-heading {
    gap: 12px;
  }

  h1 {
    font-size: 25px;
  }

  .filter-bar {
    grid-template-columns: minmax(0, 1fr) 42px;
    padding: 10px;
  }

  .filter-bar label {
    grid-column: 1 / -1;
  }

  .filter-bar .clear-button {
    grid-column: 2;
    grid-row: 6;
  }

  .filter-bar label:nth-of-type(5) {
    grid-column: 1;
  }
}

/* Final polish for the skin preview checkout area. */
.skin-preview figcaption {
  grid-template-columns: minmax(0, 1fr) minmax(172px, auto);
  min-height: 104px;
  align-items: end;
  gap: 20px;
  padding: 18px 20px;
}

.skin-preview__caption-copy {
  display: grid;
  gap: 9px;
  align-self: start;
  align-content: start;
}

.skin-preview figcaption #skin-preview-tier {
  font-size: 11px;
  line-height: 1;
}

.skin-preview figcaption #skin-preview-name {
  font-size: 30px;
  line-height: 1.08;
}

.skin-preview figcaption .skin-preview__prices {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.skin-preview figcaption .skin-preview__old-price {
  min-height: 12px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: line-through;
  text-transform: none;
}

.skin-preview figcaption .skin-preview__old-price:empty {
  display: none;
}

.skin-preview figcaption #skin-preview-price {
  color: var(--gold-bright);
  font-family: var(--body);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.skin-preview figcaption .skin-preview__purchase {
  min-width: 172px;
  align-self: end;
  gap: 10px;
}

.skin-preview figcaption .skin-preview__buy {
  min-width: 144px;
  min-height: 50px;
  padding: 0 22px;
  font-size: 15px;
  line-height: 1;
}

.skin-preview figcaption .skin-preview__buy .icon {
  display: none;
}

@media (max-width: 560px) {
  .skin-preview figcaption {
    grid-template-columns: 1fr;
    min-height: 136px;
    gap: 12px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  }

  .skin-preview figcaption #skin-preview-name {
    font-size: 22px;
  }

  .skin-preview figcaption #skin-preview-price {
    font-size: 24px;
  }

  .skin-preview figcaption .skin-preview__old-price {
    font-size: 11px;
  }

  .skin-preview figcaption .skin-preview__prices {
    justify-items: start;
  }

  .skin-preview figcaption .skin-preview__purchase {
    width: 100%;
    min-width: 0;
    grid-template-columns: auto minmax(132px, auto);
    align-items: center;
    justify-content: space-between;
    justify-items: stretch;
  }

  .skin-preview figcaption .skin-preview__buy {
    min-width: 132px;
    min-height: 46px;
  }
}
