:root {
  color-scheme: dark;
  --ink: #101417;
  --ink-2: #151a1d;
  --ink-3: #20262a;
  --paper: #f3eadc;
  --paper-2: #fff7e8;
  --text: #f8f3e8;
  --muted: #bdb8ad;
  --line: rgba(255, 255, 255, 0.16);
  --gold: #d7a74a;
  --jade: #4ec3a6;
  --coral: #ee7464;
  --blue: #5f8fcf;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: 76px;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(16, 20, 23, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 12px 26px rgba(95, 143, 207, 0.22);
}

.site-nav {
  justify-self: start;
  display: inline-flex;
  justify-content: center;
  gap: 30px;
  min-height: 46px;
  margin-left: clamp(18px, 4vw, 72px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.site-nav a,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 36px;
  padding: 0;
  border-radius: 0;
  font-weight: 800;
  transition: color 160ms ease;
}

.site-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  width: auto;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: rgba(215, 167, 74, 0);
  transition: background 160ms ease, transform 160ms ease;
  transform: scaleX(0.45);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.site-nav a.is-active::before {
  background: var(--gold);
  transform: scaleX(1);
}

.site-footer a:hover {
  color: #fff;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.download-button,
.profile-button,
.language-menu__toggle,
.filter-chip,
.billing-switch button,
.auth-tabs button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  padding: 0 16px;
  background: rgba(243, 234, 220, 0.96);
  color: #15100a;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(215, 167, 74, 0.18);
}

.download-button:hover {
  background: var(--paper-2);
}

.language-menu {
  position: relative;
}

.language-menu__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 70px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 950;
}

.language-menu__arrow {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.72;
}

.language-menu__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  display: grid;
  gap: 5px;
  min-width: 172px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(15, 18, 20, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.language-menu__list[hidden] {
  display: none;
}

.language-menu__list button {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
  cursor: pointer;
}

.language-menu__list button span {
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.language-menu__list button small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.language-menu__list button:hover,
.language-menu__list button.is-active {
  background: rgba(255, 255, 255, 0.09);
}

.profile-menu {
  position: relative;
}

.profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 96px;
  padding: 0 12px;
  font-weight: 900;
}

.profile-avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(215, 167, 74, 0.95), rgba(78, 195, 166, 0.84));
  color: #111;
  font-size: 11px;
  font-weight: 950;
}

.profile-avatar.is-person {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.07);
  color: transparent;
}

.profile-avatar.is-person::before,
.profile-avatar.is-person::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
}

.profile-avatar.is-person::before {
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.profile-avatar.is-person::after {
  bottom: 6px;
  width: 15px;
  height: 7px;
  border-radius: 10px 10px 4px 4px;
}

.profile-label {
  max-width: 136px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-caret {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  transform: translateY(-1px);
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(20, 24, 27, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.profile-dropdown[hidden] {
  display: none;
}

.profile-summary {
  display: grid;
  gap: 3px;
  padding: 8px 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 6px;
}

.profile-summary strong {
  font-size: 14px;
}

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

.profile-dropdown a,
.profile-dropdown button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  text-align: left;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.page-view {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 18%, rgba(95, 143, 207, 0.12), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(78, 195, 166, 0.1), transparent 28%),
    var(--ink);
}

.page-view[hidden] {
  display: none;
}

.page-view--catalog,
.page-view--subscriptions,
.page-view--profile,
.page-view--community {
  padding-top: 72px;
}

.page-view--catalog .section-band,
.page-view--subscriptions .section-band,
.page-view--profile .section-band,
.page-view--community .section-band {
  min-height: calc(100vh - 72px);
  padding-top: 62px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 116px 32px 72px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 17, 18, 0.95), rgba(13, 17, 18, 0.6) 50%, rgba(13, 17, 18, 0.18)),
    linear-gradient(0deg, #101417 0%, rgba(16, 20, 23, 0.24) 44%, rgba(16, 20, 23, 0.72) 100%);
}

.hero-inner {
  position: relative;
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
  min-width: 0;
}

.hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  align-items: center;
  gap: 52px;
}

.hero-copy-block {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.55;
}

.hero-model-panel {
  position: relative;
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-model-panel::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(215, 167, 74, 0.18);
  border-radius: 8px;
  pointer-events: none;
}

.model-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: min(310px, 100%);
  aspect-ratio: 1;
  perspective: 900px;
}

.model-orbit--three {
  width: min(340px, 100%);
}

.model-ring {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: rotateX(68deg);
}

.model-ring--inner {
  inset: 58px;
  border-color: rgba(215, 167, 74, 0.28);
}

.model-canvas {
  position: absolute;
  inset: -10px;
  z-index: 1;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  display: block;
}

.model-loader {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(12, 15, 16, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

[data-model-status="loaded"] .model-loader {
  display: none;
}

.skin-model-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(2%);
  transition: opacity 180ms ease, visibility 180ms ease;
  visibility: hidden;
}

[data-model-status="loading"] .skin-model-fallback,
[data-model-status="error"] .skin-model-fallback {
  opacity: 0.92;
  visibility: visible;
}

[data-model-status="loaded"] .skin-model-fallback {
  opacity: 0;
  visibility: hidden;
}

.skin-model-fallback__figure {
  position: relative;
  display: block;
  width: 138px;
  height: 304px;
  margin-top: 18px;
  border-radius: 86px 86px 46px 46px;
  background:
    radial-gradient(circle at 50% 11%, #f4cfaa 0 27px, transparent 28px),
    radial-gradient(ellipse at 50% 54%, rgba(255, 255, 255, 0.38) 0 15%, transparent 16%),
    linear-gradient(138deg, rgba(246, 197, 77, 0.92) 8%, rgba(75, 200, 166, 0.94) 45%, rgba(92, 139, 219, 0.94) 70%, rgba(232, 91, 148, 0.86));
  box-shadow:
    0 34px 42px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  clip-path: polygon(50% 0, 66% 8%, 72% 21%, 86% 30%, 89% 86%, 69% 100%, 52% 94%, 31% 100%, 11% 86%, 14% 30%, 28% 21%, 34% 8%);
  filter: drop-shadow(0 0 22px rgba(95, 143, 207, 0.18));
}

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

.skin-model-fallback__figure::before {
  left: 21px;
  top: 62px;
  width: 96px;
  height: 196px;
  border-radius: 54px 54px 32px 32px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.02) 48%, rgba(0, 0, 0, 0.18));
  mix-blend-mode: screen;
}

.skin-model-fallback__figure::after {
  left: 54px;
  top: 92px;
  width: 24px;
  height: 176px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 248, 224, 0.72), rgba(215, 167, 74, 0.16));
  transform: rotate(-5deg);
}

.model-caption {
  position: relative;
  display: grid;
  gap: 7px;
  text-align: center;
}

.model-caption span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.model-caption strong {
  font-size: 20px;
}

.model-caption p {
  color: var(--muted);
  line-height: 1.55;
}

@keyframes modelSpin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.hero-actions,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
}

.hero-main-action {
  min-width: 210px;
  min-height: 58px;
  padding: 0 24px;
  font-size: 16px;
}

.primary-action {
  background: var(--paper);
  color: #15100a;
  box-shadow: 0 16px 34px rgba(215, 167, 74, 0.24);
}

.primary-action:hover {
  background: var(--paper-2);
}

.primary-action.dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
}

.secondary-action {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
}

.secondary-action:hover,
.profile-button:hover,
.language-menu__toggle:hover,
.filter-chip:hover,
.billing-switch button:hover,
.auth-tabs button:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 160px));
  gap: 14px;
  padding-top: 12px;
}

.hero-stats div {
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 950;
}

.hero-stats dd {
  color: var(--muted);
  font-size: 14px;
}

.section-band {
  padding: 76px 32px;
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading p:not(.eyebrow),
.installer-inner p {
  color: var(--muted);
  line-height: 1.65;
}

.story-grid,
.showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: center;
}

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

.story-cards article,
.profile-page-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.story-cards article {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 18px;
}

.story-cards span {
  color: var(--gold);
  font-weight: 950;
}

.story-cards h3 {
  font-size: 20px;
}

.story-cards p {
  color: var(--muted);
  line-height: 1.55;
}

.showcase-section,
.home-socials {
  background: #15191c;
}

.skin-stage {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(95, 143, 207, 0.16), transparent 44%),
    linear-gradient(315deg, rgba(215, 167, 74, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.045);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.skin-stage--single::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 0;
  width: 240px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(97, 208, 166, 0.24), rgba(97, 208, 166, 0));
  transform: translateX(-50%);
  filter: blur(2px);
}

.skin-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 6px;
  width: 172px;
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(15, 18, 20, 0.76);
  backdrop-filter: blur(12px);
}

.skin-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.skin-card strong {
  font-size: 18px;
}

.skin-card--one {
  top: 42px;
  left: 32px;
}

.skin-card--two {
  right: 28px;
  top: 132px;
}

.skin-card--three {
  left: 76px;
  bottom: 38px;
}

.skin-model-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(96%, 560px);
  height: 138%;
  z-index: 1;
  pointer-events: none;
  transform-origin: 50% 72%;
  transform: translate(-50%, -50%);
  filter:
    drop-shadow(0 28px 30px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 18px rgba(95, 143, 207, 0.3));
}

.skin-model-stage[data-model-motion="dash"] {
  animation: showcaseModelDash 4.2s ease-in-out infinite;
}

.skin-model-stage .model-canvas {
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
}

.skin-model-stage .model-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes showcaseModelDash {
  0%,
  100% {
    transform: translate(-58%, -51%) rotate(-1.5deg);
  }
  45% {
    transform: translate(-42%, -53%) rotate(1.5deg);
  }
  70% {
    transform: translate(-50%, -52%) rotate(-0.5deg);
  }
}

.mod-feed {
  background: #101417;
}

.pricing,
.community {
  background: #15191c;
}

.feed-tools {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(150px, 200px) minmax(220px, 1fr) minmax(150px, 200px);
  gap: 12px;
  align-items: end;
}

.feed-toolbar,
.billing-switch,
.auth-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip,
.billing-switch button,
.auth-tabs button {
  padding: 0 12px;
  font-weight: 800;
}

.filter-chip.is-active,
.billing-switch button.is-active,
.auth-tabs button.is-active {
  background: var(--paper);
  border-color: var(--paper);
  color: #15100a;
}

.search-control,
.select-control,
label {
  display: grid;
  gap: 7px;
}

label span,
.search-control span,
.select-control span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  color: #fff;
  outline: 0;
}

input,
select {
  height: 44px;
  padding: 0 12px;
}

.select-menu {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.select-menu__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 176px;
  height: 44px;
  padding: 0 13px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    rgba(10, 14, 17, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 26px rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.94);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.select-menu__button:hover,
.select-menu__button[aria-expanded="true"] {
  border-color: rgba(241, 196, 95, 0.48);
  background:
    linear-gradient(180deg, rgba(241, 196, 95, 0.12), rgba(255, 255, 255, 0.018)),
    rgba(15, 19, 22, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 30px rgba(0, 0, 0, 0.28);
}

.select-menu__button:focus-visible {
  outline: 0;
  border-color: rgba(241, 196, 95, 0.78);
  box-shadow:
    0 0 0 3px rgba(241, 196, 95, 0.16),
    0 14px 30px rgba(0, 0, 0, 0.28);
}

.select-menu__button:active {
  transform: translateY(1px);
}

.select-menu__chevron {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: currentColor;
  color: var(--paper);
  clip-path: polygon(20% 35%, 50% 66%, 80% 35%, 91% 46%, 50% 88%, 9% 46%);
  transition: transform 0.16s ease;
}

.select-menu__button[aria-expanded="true"] .select-menu__chevron {
  transform: rotate(180deg);
}

.select-menu__list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding: 7px;
  border: 1px solid rgba(241, 196, 95, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(27, 34, 39, 0.98), rgba(12, 16, 19, 0.98));
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.select-menu__list[hidden] {
  display: none;
}

.select-menu__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.select-menu__option::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: transparent;
}

.select-menu__option:hover,
.select-menu__option:focus-visible {
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.select-menu__option.is-active {
  background: rgba(241, 196, 95, 0.15);
  color: var(--paper);
}

.select-menu__option.is-active::after {
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(241, 196, 95, 0.13);
}

.select-control--game {
  min-width: 0;
}

@media (max-width: 680px) {
  .select-menu__button {
    min-width: 0;
  }

  .select-menu__list {
    position: static;
    min-width: 0;
    margin-top: 8px;
  }
}

textarea {
  resize: vertical;
  padding: 12px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--jade);
}

.feed-count {
  min-height: 22px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.mods-grid,
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.mod-card,
.plan-card,
.auth-modal,
.empty-state {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.mod-card {
  min-height: 340px;
  display: grid;
  grid-template-rows: 112px 1fr auto;
  overflow: hidden;
}

.mod-cover {
  position: relative;
  display: grid;
  align-items: end;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(215, 167, 74, 0.88), rgba(78, 195, 166, 0.78)),
    url("/assets/mod-detail-watermark.png") center/cover;
}

.mod-cover[data-tier="pro"] {
  background:
    linear-gradient(135deg, rgba(95, 143, 207, 0.9), rgba(78, 195, 166, 0.7)),
    url("/assets/mod-detail-watermark.png") center/cover;
}

.mod-cover[data-tier="proplus"] {
  background:
    linear-gradient(135deg, rgba(238, 116, 100, 0.88), rgba(95, 143, 207, 0.76)),
    url("/assets/mod-detail-watermark.png") center/cover;
}

.mod-cover[data-tier="global"] {
  background:
    linear-gradient(135deg, rgba(215, 167, 74, 0.88), rgba(238, 116, 100, 0.76)),
    url("/assets/mod-detail-watermark.png") center/cover;
}

.mod-tier,
.mod-game {
  justify-self: start;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(16, 20, 23, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.mod-game {
  position: absolute;
  top: 12px;
  right: 12px;
}

.mod-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.mod-body h3 {
  font-size: 18px;
  line-height: 1.2;
}

.mod-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.mod-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.mod-actions {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  padding: 0 16px 16px;
}

.plan-actions {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
}

.mod-actions button,
.plan-card button,
.auth-panel button {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
}

.mod-actions .mod-social-btn {
  position: relative;
  width: 44px;
  display: inline-grid;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  cursor: pointer;
}

.mod-social-btn span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.mod-social-btn b {
  position: absolute;
  right: 5px;
  bottom: 4px;
  min-width: 0;
  max-width: 30px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  line-height: 1;
  text-overflow: ellipsis;
}

.mod-actions .primary-action.dark {
  min-height: 40px;
  padding: 0 12px;
  font-size: 12px;
  line-height: 1.15;
  box-shadow: none;
}

.mod-social-btn.is-active {
  border-color: rgba(215, 167, 74, 0.72);
  background: rgba(215, 167, 74, 0.18);
  color: #fff;
}

.mod-social-btn.is-active span {
  color: var(--gold);
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
}

.empty-state strong {
  font-size: 20px;
}

.empty-state span {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.55;
}

.installer-band {
  background: var(--paper);
  color: var(--ink);
  padding: 42px 32px;
}

.installer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.installer-inner .eyebrow {
  color: #8f6320;
}

.download-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(128px, 1fr));
  gap: 10px;
  min-width: min(520px, 48vw);
}

.download-option {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 74px;
  padding: 13px 15px;
  border: 1px solid rgba(20, 24, 26, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
}

.download-option:hover {
  border-color: rgba(20, 24, 26, 0.34);
  background: rgba(255, 255, 255, 0.68);
}

.download-option--main {
  background: var(--ink);
  color: var(--paper);
}

.download-option--main:hover {
  background: #20272c;
}

.download-option span {
  font-size: 15px;
  font-weight: 950;
  line-height: 1.15;
}

.download-option strong {
  color: currentColor;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  opacity: 0.68;
}

.purchase-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.purchase-flow div {
  min-height: 78px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.purchase-flow strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--paper);
  color: #15100a;
}

.purchase-flow span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.purchase-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.purchase-steps span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 900;
}

.purchase-steps b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.purchase-steps span.is-active {
  border-color: rgba(250, 205, 124, 0.45);
  color: #fff8e8;
  background: rgba(215, 167, 74, 0.13);
}

.purchase-steps span.is-done {
  color: rgba(255, 255, 255, 0.82);
}

.purchase-steps span.is-done b {
  background: rgba(103, 197, 143, 0.24);
  color: #aaf1c4;
}

.pricing .billing-switch {
  margin: 2px 0 12px;
}

.billing-game-switch {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  max-width: 620px;
}

.billing-game-switch__label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.billing-game-switch__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.billing-game-switch button,
.billing-game-switch__buttons button {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.billing-game-switch button.is-active,
.billing-game-switch__buttons button.is-active {
  background: var(--paper);
  border-color: var(--paper);
  color: #15100a;
}

.billing-game-switch__buttons--cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.billing-game-switch__buttons .purchase-game-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 10px;
  text-align: left;
}

.purchase-game-card span {
  display: grid;
  gap: 3px;
}

.purchase-game-card strong {
  color: inherit;
  font-size: 15px;
  line-height: 1.1;
}

.purchase-game-card small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.purchase-game-card.is-active small {
  color: rgba(21, 16, 10, 0.66);
}

[data-admin-link][hidden] {
  display: none !important;
}

.page-view--subscriptions .section-heading {
  max-width: 760px;
}

.page-view--subscriptions .plans-grid {
  align-items: stretch;
}

.page-view--subscriptions .plan-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 90% 0%, rgba(250, 205, 124, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
}

.page-view--subscriptions .plan-card::before {
  display: none;
}

.page-view--subscriptions .plan-card[data-plan='proplus']::before {
  display: none;
}

.page-view--subscriptions .plan-card[data-plan='global']::before {
  display: none;
}

.page-view--subscriptions .plan-actions {
  margin-top: auto;
}

.purchase-config {
  max-width: 920px;
  margin-inline: auto;
  padding: 18px;
  border-color: rgba(250, 205, 124, 0.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(110, 150, 190, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(250, 205, 124, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(14, 17, 18, 0.94);
}

.purchase-config__header {
  align-items: center;
}

.purchase-summary-grid {
  grid-template-columns: 1fr minmax(220px, 0.85fr);
}

.purchase-summary-card {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.purchase-config__controls {
  grid-template-columns: minmax(220px, 0.72fr) 1fr;
  align-items: stretch;
}

.purchase-control {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.billing-switch {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.billing-switch button,
.billing-game-switch__buttons .purchase-game-card {
  min-height: 42px;
  border-radius: 8px;
}

.billing-game-switch__buttons--cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.purchase-config__footer {
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(250, 205, 124, 0.14), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.035);
}

@media (max-width: 520px) {
  .billing-game-switch__buttons {
    grid-template-columns: 1fr;
  }

  .purchase-config__header,
  .purchase-summary-grid,
  .purchase-config__controls,
  .purchase-config__footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .purchase-config__actions {
    justify-content: stretch;
  }

  .purchase-config__actions > * {
    width: 100%;
  }
}

.subscription-heading {
  max-width: 860px;
}

.plans-grid--large,
.page-view--subscriptions .plans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 330px;
  padding: 20px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
}

.plan-card[data-plan="global"] {
  background: rgba(215, 167, 74, 0.12);
  border-color: rgba(215, 167, 74, 0.36);
}

.plan-card.is-selected {
  border-color: rgba(250, 205, 124, 0.72);
  box-shadow: 0 0 0 1px rgba(250, 205, 124, 0.18), 0 20px 60px rgba(0, 0, 0, 0.24);
}

.plan-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 900;
}

.plan-name span:last-child {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 950;
}

.plan-price span {
  color: var(--gold);
  font-size: 18px;
}

.plan-price--upgrade {
  display: grid;
  gap: 4px;
  align-items: start;
  font-size: 24px;
}

.plan-price--upgrade s {
  color: rgba(255, 255, 255, 0.48);
  font-size: 18px;
  font-weight: 850;
}

.plan-price--upgrade strong {
  color: #fff8e8;
  font-size: clamp(24px, 2.7vw, 34px);
}

.plan-card.is-current {
  border-color: rgba(103, 197, 143, 0.42);
}

.plan-card.is-disabled {
  opacity: 0.62;
}

.plan-card button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.72;
}

.plan-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.42;
}

.plan-note {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.purchase-config {
  margin-top: 24px;
  max-width: 960px;
  padding: 20px;
  border: 1px solid rgba(250, 205, 124, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(215, 167, 74, 0.12), rgba(82, 112, 138, 0.08)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.purchase-config__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.purchase-config__back {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.purchase-config__back:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.purchase-config__header > div {
  display: grid;
  gap: 6px;
}

.purchase-config__header span,
.purchase-config__summary {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.purchase-config__header strong {
  color: #fff8e8;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.purchase-config__header em {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.68);
  font-style: normal;
  font-weight: 750;
  line-height: 1.45;
}

.purchase-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.75fr);
  gap: 12px;
  margin-bottom: 14px;
}

.purchase-summary-card {
  display: grid;
  gap: 6px;
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.purchase-summary-card span,
.purchase-summary-card small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.purchase-summary-card strong {
  color: #fff8e8;
  font-size: 22px;
  line-height: 1.1;
}

.purchase-summary-card em {
  color: rgba(255, 255, 255, 0.62);
  font-style: normal;
  font-weight: 800;
}

.purchase-summary-card--game {
  grid-template-columns: 56px 1fr;
  align-items: center;
}

.purchase-summary-card__global {
  align-self: center;
  color: #fff8e8 !important;
  font-size: 22px !important;
  text-transform: none !important;
}

.purchase-summary-card--game img,
.purchase-game-card img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.purchase-config__summary {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.purchase-config__summary span,
.purchase-control > span,
.purchase-config__footer span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.purchase-config__summary strong {
  color: #fff8e8;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.purchase-config__summary em,
.purchase-config__footer em {
  color: rgba(255, 255, 255, 0.62);
  font-style: normal;
  font-weight: 800;
}

.purchase-config__controls {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
}

.purchase-control {
  display: grid;
  gap: 8px;
}

.purchase-control .billing-switch {
  margin: 0;
}

.purchase-config__footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.purchase-config__footer > div:first-child {
  display: grid;
  gap: 6px;
}

.purchase-config__footer strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #fff8e8;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.purchase-config__footer small {
  color: var(--gold);
  font-size: 18px;
}

.checkout-price {
  color: #fff8e8;
}

.checkout-price--upgrade {
  display: grid !important;
  gap: 4px !important;
}

.checkout-price--upgrade s {
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
}

.checkout-price--upgrade b {
  color: #fff8e8;
  font-size: clamp(34px, 4vw, 52px);
}

.purchase-config__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.page-view--subscriptions .purchase-config {
  position: relative;
  overflow: hidden;
  max-width: 1040px;
  margin-top: 26px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 18px;
  border-color: rgba(250, 205, 124, 0.36);
  background:
    radial-gradient(circle at 18% 0%, rgba(250, 205, 124, 0.18), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(118, 156, 255, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03)),
    rgba(11, 14, 17, 0.88);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-view--subscriptions .purchase-config::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.05)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
  opacity: 0.34;
}

.page-view--subscriptions .purchase-config > * {
  position: relative;
  z-index: 1;
}

.page-view--subscriptions .purchase-config__header {
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 16px;
  margin-bottom: 22px;
}

.page-view--subscriptions .purchase-config__back {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  font-size: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(0, 0, 0, 0.22);
}

.page-view--subscriptions .purchase-config__back::before {
  content: '<';
  color: rgba(255, 255, 255, 0.92);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.page-view--subscriptions .purchase-config__header span {
  color: #f7c96d;
  letter-spacing: 0.04em;
}

.page-view--subscriptions .purchase-config__header strong {
  width: fit-content;
  padding: 8px 16px 10px;
  border-radius: 999px;
  border: 1px solid rgba(250, 205, 124, 0.28);
  background: rgba(250, 205, 124, 0.1);
  font-size: clamp(30px, 5vw, 56px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-view--subscriptions .purchase-config__header em {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.page-view--subscriptions .purchase-summary-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 14px;
  margin-bottom: 18px;
}

.page-view--subscriptions .purchase-summary-card {
  min-height: 104px;
  padding: 18px;
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
}

.page-view--subscriptions .purchase-summary-card strong {
  font-size: clamp(22px, 3vw, 30px);
}

.page-view--subscriptions .purchase-summary-card--game {
  grid-template-columns: 62px 1fr;
}

.page-view--subscriptions .purchase-summary-card--game img,
.page-view--subscriptions .purchase-game-card img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.page-view--subscriptions .purchase-config__controls {
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 16px;
}

.page-view--subscriptions .purchase-control {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.14);
}

.page-view--subscriptions .purchase-control > span {
  color: rgba(255, 255, 255, 0.72);
}

.page-view--subscriptions .purchase-control .billing-switch {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-view--subscriptions .purchase-control .billing-switch button,
.page-view--subscriptions .purchase-game-card {
  border-radius: 13px;
}

.page-view--subscriptions .purchase-game-card {
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.page-view--subscriptions .purchase-game-card:hover {
  transform: translateY(-1px);
  border-color: rgba(250, 205, 124, 0.34);
}

.page-view--subscriptions .purchase-game-card.is-active {
  border-color: rgba(250, 205, 124, 0.62);
  background:
    radial-gradient(circle at 15% 0%, rgba(250, 205, 124, 0.18), transparent 45%),
    rgba(250, 205, 124, 0.08);
}

.page-view--subscriptions .purchase-config__footer {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(250, 205, 124, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(250, 205, 124, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.18);
}

.page-view--subscriptions .purchase-config__footer strong {
  color: #fff4cf;
}

.page-view--subscriptions .checkout-price--upgrade b {
  color: #fff4cf;
}

.page-view--subscriptions .purchase-config__actions .primary-action {
  min-width: 220px;
  justify-content: center;
  background: linear-gradient(180deg, #fff2c4, #dda542);
  color: #15100a;
  box-shadow: 0 18px 36px rgba(221, 165, 66, 0.22);
}

.page-view--subscriptions .plans-grid {
  align-items: center;
}

.page-view--subscriptions .plan-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  height: 430px;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.09), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(12, 15, 18, 0.76);
  box-shadow:
    0 20px 62px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-view--subscriptions .plan-card[data-plan='proplus'] {
  min-height: 500px;
  height: 500px;
  border-color: rgba(250, 205, 124, 0.62);
  background:
    radial-gradient(circle at 50% -10%, rgba(250, 205, 124, 0.25), transparent 36%),
    linear-gradient(180deg, rgba(48, 38, 25, 0.9), rgba(15, 17, 20, 0.86));
  box-shadow:
    0 0 0 1px rgba(250, 205, 124, 0.14),
    0 30px 88px rgba(0, 0, 0, 0.36),
    0 0 56px rgba(215, 167, 74, 0.13);
}

.page-view--subscriptions .plan-card[data-plan='global'] {
  min-height: 430px;
  height: 430px;
  border-color: rgba(151, 139, 255, 0.34);
  background:
    radial-gradient(circle at 50% -10%, rgba(151, 139, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(33, 31, 52, 0.8), rgba(12, 15, 18, 0.78));
}

.page-view--subscriptions .plan-name {
  min-height: 30px;
}

.page-view--subscriptions .plan-name span:last-child {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(250, 205, 124, 0.2);
  background: rgba(250, 205, 124, 0.08);
  color: rgba(255, 233, 185, 0.86);
  font-size: 11px;
  text-transform: uppercase;
}

.page-view--subscriptions .plan-price {
  min-height: 58px;
  margin-top: 2px;
}

.page-view--subscriptions .plan-state {
  min-height: 28px;
  margin: -4px 0 2px;
  padding: 7px 10px;
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid rgba(250, 205, 124, 0.22);
  background: rgba(250, 205, 124, 0.08);
  color: #ffd982;
  font-size: 12px;
  font-weight: 900;
}

.page-view--subscriptions .plan-card.is-current .plan-state {
  border-color: rgba(111, 226, 165, 0.28);
  background: rgba(111, 226, 165, 0.1);
  color: #9df1c7;
}

.page-view--subscriptions .plan-card ul {
  display: grid;
  gap: 10px;
  flex: 1 1 auto;
  margin-top: 2px;
}

.page-view--subscriptions .plan-actions {
  margin-top: auto;
}

.page-view--subscriptions .plan-actions .primary-action {
  width: 100%;
  justify-content: center;
}

.page-view--subscriptions .plan-actions .primary-action.is-upgrade {
  background: linear-gradient(180deg, #fff2c4, #dda542);
  color: #15100a;
  box-shadow: 0 18px 34px rgba(221, 165, 66, 0.22);
}

.page-view--subscriptions .plan-note {
  min-height: 20px;
  margin: 2px 0 0;
}

@media (max-width: 900px) {
  .page-view--subscriptions .plans-grid {
    grid-template-columns: 1fr;
  }

  .page-view--subscriptions .plan-card,
  .page-view--subscriptions .plan-card[data-plan='proplus'],
  .page-view--subscriptions .plan-card[data-plan='global'] {
    height: auto;
    min-height: 0;
  }
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.social-panel {
  display: grid;
  gap: 12px;
}

.social-panel a {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.social-panel a:hover {
  border-color: rgba(255, 255, 255, 0.32);
}

.social-panel span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.social-panel strong {
  color: #fff;
  font-size: 18px;
}

.social-panel--two {
  grid-template-columns: 1fr;
}

.profile-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.9fr);
  gap: 34px;
  align-items: start;
}

.profile-page-card {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.profile-page-card[hidden] {
  display: none;
}

.profile-page-card > strong {
  font-size: 26px;
}

.profile-page-card p {
  color: var(--muted);
  line-height: 1.55;
}

.profile-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-page-actions button {
  border-radius: 8px;
}

.profile-page-user {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
}

.profile-page-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(215, 167, 74, 0.95), rgba(78, 195, 166, 0.86));
  color: #111;
  font-size: 20px;
  font-weight: 950;
}

.profile-page-user strong {
  font-size: 24px;
}

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

.profile-subscription-grid div {
  display: grid;
  gap: 7px;
  min-height: 110px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.profile-subscription-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.profile-subscription-grid strong {
  align-self: end;
  font-size: 22px;
}

.admin-page {
  background: #101417;
}

.admin-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(91, 76, 145, 0.14), rgba(215, 167, 74, 0.06)),
    rgba(255, 255, 255, 0.04);
}

.admin-panel__locked,
.admin-empty {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.72);
}

.admin-panel__locked strong {
  display: block;
  margin-bottom: 6px;
  color: #fff8e8;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-tabs button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.admin-tabs button:hover,
.admin-tabs button.is-active {
  border-color: rgba(250, 205, 124, 0.48);
  background: rgba(250, 205, 124, 0.14);
  color: #fff8e8;
}

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

.admin-stat {
  display: grid;
  gap: 8px;
  min-height: 110px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.admin-stat span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-stat strong {
  color: #fff8e8;
  font-size: 34px;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.admin-table th {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-table td {
  color: rgba(255, 255, 255, 0.86);
}

.admin-table a {
  color: var(--paper);
}

.admin-help-text {
  margin: -4px 0 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.5;
}

.admin-price-editor {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(250, 205, 124, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0%, rgba(250, 205, 124, 0.1), transparent 34%),
    rgba(0, 0, 0, 0.2);
}

.admin-price-editor__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-price-editor__title strong,
.admin-price-card__head strong {
  display: block;
  color: #fff8e8;
  font-size: 16px;
  font-weight: 950;
}

.admin-price-editor__title span,
.admin-price-card__head span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.45;
}

.admin-price-editor__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 12px;
}

.admin-price-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.admin-price-grid {
  display: grid;
  grid-template-columns: minmax(70px, 0.75fr) repeat(4, minmax(70px, 1fr));
  gap: 8px;
  align-items: center;
}

.admin-price-grid b,
.admin-price-grid strong {
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-price-grid input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff8e8;
  font: inherit;
  font-size: 13px;
  box-sizing: border-box;
}

.admin-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.admin-form--codes {
  grid-template-columns: repeat(6, minmax(130px, 1fr)) auto;
  overflow-x: auto;
}

.admin-form select {
  appearance: none;
  padding-right: 34px;
  background:
    linear-gradient(45deg, transparent 50%, var(--paper) 50%) right 16px center / 6px 6px no-repeat,
    linear-gradient(135deg, var(--paper) 50%, transparent 50%) right 11px center / 6px 6px no-repeat,
    rgba(0, 0, 0, 0.24);
}

@media (max-width: 860px) {
  .admin-grid,
  .admin-form,
  .admin-form--codes,
  .admin-price-editor__cards {
    grid-template-columns: 1fr;
  }

  .admin-price-editor__title {
    align-items: stretch;
    flex-direction: column;
  }
}

.site-footer {
  min-height: 82px;
  padding: 0 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c0f10;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer span {
  color: #fff;
  font-weight: 900;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-shell[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(12px);
}

.auth-modal {
  position: relative;
  width: min(500px, 100%);
  padding: 24px;
  background: #171b1e;
}

.auth-intro {
  display: grid;
  gap: 8px;
  padding-right: 42px;
}

.auth-intro h2 {
  font-size: 25px;
}

.auth-intro p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.auth-tabs {
  margin: 18px 0;
}

.auth-panel {
  display: none;
  gap: 14px;
}

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

.auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-benefits span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.check-line {
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.check-line input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
}

.form-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--paper);
  color: #15100a;
  box-shadow: var(--shadow);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    grid-column: 2;
    justify-content: end;
  }

  h1 {
    font-size: 56px;
  }

  .feed-tools,
  .installer-inner,
  .community-layout,
  .story-grid,
  .showcase-layout,
  .profile-page-layout {
    grid-template-columns: 1fr;
  }

  .mods-grid,
  .plans-grid,
  .plans-grid--large,
  .profile-subscription-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .hero-model-panel {
    width: min(520px, 100%);
  }

  .installer-inner .primary-action,
  .download-options {
    justify-self: start;
  }

  .download-options {
    width: min(100%, 560px);
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    min-height: 66px;
    padding: 0 12px;
    gap: 8px;
    overflow: visible;
  }

  .brand span {
    display: none;
  }

  .header-actions {
    position: absolute;
    top: 14px;
    left: 68px;
    right: auto;
    display: grid;
    grid-template-columns: 70px 61px 38px;
    width: 179px;
    margin-left: 0;
    gap: 5px;
  }

  .download-button {
    width: 70px;
    min-width: 70px;
    min-height: 38px;
    padding: 0 9px;
    font-size: 12px;
  }

  .language-menu {
    width: 61px;
  }

  .language-menu__toggle {
    width: 61px;
    min-width: 61px;
    min-height: 38px;
    padding: 0 8px;
    font-size: 11px;
  }

  .language-menu__list {
    right: -46px;
    min-width: 156px;
  }

  .profile-button {
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0 6px;
  }

  .profile-label {
    display: none;
  }

  .profile-avatar {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }

  .profile-caret {
    display: none;
  }

  .profile-dropdown {
    right: 0;
    width: min(230px, calc(100vw - 24px));
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 86px 18px 38px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    width: min(320px, 100%);
    align-items: stretch;
  }

  .hero-main-action,
  .hero-actions .primary-action,
  .hero-actions .secondary-action {
    width: 100%;
    min-width: 0;
  }

  .hero-stats,
  .mods-grid,
  .plans-grid,
  .plans-grid--large,
  .purchase-flow,
  .story-cards,
  .profile-subscription-grid {
    grid-template-columns: 1fr;
  }

  .hero-model-panel {
    padding: 18px;
  }

  .model-orbit {
    width: min(240px, 100%);
  }

  .skin-stage {
    min-height: 360px;
  }

  .skin-card {
    width: 152px;
  }

  .skin-card--one {
    top: 28px;
    left: 18px;
  }

  .skin-card--two {
    right: 18px;
    top: 112px;
  }

  .skin-card--three {
    left: 24px;
    bottom: 26px;
  }

  .section-band,
  .installer-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .download-options {
    grid-template-columns: 1fr;
  }

  .auth-modal {
    padding: 20px;
  }
}

@media (max-width: 680px) {
  .purchase-config {
    padding: 18px;
  }

  .purchase-config__header,
  .purchase-summary-grid,
  .purchase-config__controls,
  .purchase-config__footer,
  .billing-game-switch__buttons--cards {
    grid-template-columns: 1fr;
    display: grid;
  }

  .purchase-config__footer {
    align-items: stretch;
  }

  .purchase-config__actions {
    justify-content: stretch;
  }

  .purchase-config__actions > * {
    width: 100%;
  }

  .mod-actions {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .mod-actions .mod-social-btn {
    width: 40px;
  }
}
