:root {
  color-scheme: light;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  --ink: #0d0d0d;
  --surface: #fff;
  --surface-elevated: #f7f7f5;
  --surface-soft: #f1f1ee;
  --panel: #fff;
  --border: rgba(13, 13, 13, 0.1);
  --border-strong: rgba(13, 13, 13, 0.2);
  --text: #111;
  --text-secondary: #5f5f5b;
  --text-muted: #7a7a75;
  --mint: #111;
  --nav-accent: #10a37f;
  --accent: #e8f7f2;
  --glow: 16, 163, 127;
  --hero-focus-x: 50%;
  --hero-focus-y: 50%;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  overflow: clip;
  background: #fff;
}

body {
  color: var(--text);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  user-select: none;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.viewport-shell {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #fff;
}

.experience {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1920px;
  height: 1080px;
  overflow: clip;
  transform: translate(-50%, -50%) scale(var(--stage-scale, 1));
  transform-origin: center;
  background: #fff;
}

.studio-logo {
  position: absolute;
  z-index: 31;
  top: 14px;
  left: 50%;
  width: 276px;
  height: 72px;
  overflow: hidden;
  transform: translateX(-50%);
}

.studio-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.quick-actions {
  position: absolute;
  z-index: 32;
  top: 27px;
  left: 122px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-account {
  position: relative;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  transition: width 180ms ease, flex-basis 180ms ease;
}

.quick-account[data-auth-state="anonymous"] {
  width: 112px;
  flex-basis: 112px;
}

.quick-action {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 15px;
  color: #151515;
  cursor: pointer;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(30, 30, 28, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  backdrop-filter: blur(16px);
}

.quick-action::after {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  content: attr(data-label);
  background: rgba(255, 255, 255, 0.96);
  color: #42423f;
  box-shadow: 0 8px 24px rgba(30, 30, 28, 0.1);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -3px);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.quick-action:hover,
.quick-action:focus-visible {
  border-color: rgba(13, 13, 13, 0.22);
  background: #fff;
  box-shadow: 0 14px 34px rgba(30, 30, 28, 0.16);
  transform: translateY(-2px);
}

.quick-action:hover::after,
.quick-action:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.quick-action--profile {
  background: rgba(255, 255, 255, 0.86);
}

.quick-action--profile[data-auth-state="anonymous"] {
  display: flex;
  width: 112px;
  padding: 0 20px;
  border-color: transparent;
  border-radius: 999px;
  background: #e6e6e6;
  box-shadow: none;
}

.quick-action--profile[data-auth-state="anonymous"]:hover,
.quick-action--profile[data-auth-state="anonymous"]:focus-visible {
  border-color: transparent;
  background: #dedede;
  box-shadow: none;
}

.quick-action--profile[data-auth-state="anonymous"]::after {
  display: none;
}

.quick-action--profile[aria-expanded="true"] {
  border-color: #1182f0;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(17, 130, 240, 0.14), 0 14px 34px rgba(30, 30, 28, 0.16);
  transform: translateY(-1px);
}

.quick-action--profile[aria-expanded="true"]::after {
  display: none;
}

.quick-action--profile[data-auth-state="anonymous"][aria-expanded="true"] {
  border-color: transparent;
  background: #dedede;
  box-shadow: none;
  transform: translateY(-1px);
}

.quick-action__login {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #111;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.quick-action__login[hidden] {
  display: none;
}

.quick-action__login svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.quick-action--profile[aria-expanded="true"] .quick-action__login svg {
  transform: rotate(180deg);
}

.quick-action--ranking {
  background: rgba(255, 255, 255, 0.86);
}

.quick-action--ranking img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.16);
}

.quick-action__avatar {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 2px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(13, 13, 13, 0.18);
  border-radius: 50%;
  background: #f1f1ee;
  box-shadow: none;
}

.quick-action__avatar[hidden] {
  display: none;
}

.quick-action__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(0.88);
}

.account-avatar__initials {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: inherit;
  background: linear-gradient(145deg, #15b8c3, #087f97);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.account-avatar__initials[hidden] {
  display: none;
}

.quick-action__status {
  position: absolute;
  right: 3px;
  bottom: 3px;
  display: none;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #9d9d98;
  box-shadow: 0 2px 5px rgba(30, 30, 28, 0.2);
}

.quick-action__status[data-status="authenticated"] {
  display: block;
  background: #25ad79;
}

.quick-action__status[data-status="loading"] {
  display: block;
  background: #b7b7b2;
}

.quick-action--profile:not([data-auth-state="authenticated"]) .quick-action__status {
  display: none;
}

.account-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 11px);
  left: 0;
  width: 370px;
  max-height: calc(100dvh - 96px);
  padding: 10px;
  overflow-y: auto;
  border: 1px solid rgba(13, 13, 13, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 72px rgba(30, 30, 28, 0.19), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  color: #171715;
  animation: account-menu-in 150ms cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(24px);
  overscroll-behavior: contain;
  user-select: text;
}

.account-menu[hidden] {
  display: none;
}

.account-menu__identity {
  display: grid;
  min-height: 70px;
  padding: 10px 11px;
  align-items: center;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  border-radius: 14px;
  color: inherit;
  transition: background 150ms ease;
}

.account-menu__identity:has(.account-menu__identity-link:hover),
.account-menu__identity:has(.account-menu__identity-link:focus-visible) {
  background: #f5f5f2;
}

.account-menu__identity-link {
  display: grid;
  min-width: 0;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 22px;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.account-menu__identity-link:focus-visible {
  outline: none;
}

.account-menu__identity-link[aria-disabled="true"] {
  pointer-events: none;
}

.account-menu__avatar-button {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.account-menu__avatar-button:focus-visible {
  outline: 2px solid #1182f0;
  outline-offset: 3px;
}

.account-menu__avatar-button:disabled {
  cursor: default;
}

.account-menu__avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(13, 13, 13, 0.12);
  border-radius: 50%;
  background: #f1f1ee;
}

.account-menu__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.account-menu__avatar-edit {
  position: absolute;
  right: -3px;
  bottom: -2px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #171715;
  color: #fff;
  box-shadow: 0 3px 9px rgba(30, 30, 28, 0.24);
  opacity: 1;
  transform: scale(1);
  transition: opacity 140ms ease, transform 140ms ease;
}

.account-menu__avatar-edit svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.account-menu__avatar-button:not(:disabled):hover .account-menu__avatar-edit,
.account-menu__avatar-button:not(:disabled):focus-visible .account-menu__avatar-edit {
  opacity: 1;
  transform: scale(1.08);
}

.account-menu__avatar-button:disabled .account-menu__avatar-edit {
  display: none;
}

.account-menu__identity-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.account-menu__identity-copy strong {
  overflow: hidden;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu__identity-copy small {
  overflow: hidden;
  color: #8a8a84;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu__chevron {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.account-menu__divider {
  height: 1px;
  margin: 7px 8px;
  background: rgba(13, 13, 13, 0.11);
}

.account-menu__group {
  display: grid;
  gap: 2px;
}

.account-menu__group[hidden],
#accountUserActions[hidden],
#accountAdminLink[hidden] {
  display: none;
}

.account-menu__item {
  display: grid;
  width: 100%;
  min-height: 49px;
  padding: 7px 12px;
  align-items: center;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 520;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}

.account-menu__item:hover,
.account-menu__item:focus-visible {
  background: #f3f3f0;
  outline: none;
}

.account-menu__item > svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.account-menu__item > span {
  min-width: 0;
}

.account-menu__item > span:has(> small) {
  display: grid;
  gap: 2px;
}

.account-menu__item strong {
  font-size: 15px;
  font-weight: 600;
}

.account-menu__item small {
  color: #8a8a84;
  font-size: 12px;
  font-weight: 450;
}

.account-menu__item--sign-out:hover,
.account-menu__item--sign-out:focus-visible {
  background: #fff1ef;
  color: #b53125;
}

.account-menu__item:disabled {
  cursor: wait;
  opacity: 0.55;
}

.account-menu__loading-row {
  display: flex;
  min-height: 49px;
  padding: 0 13px;
  align-items: center;
  gap: 12px;
  color: #777772;
  font-size: 14px;
}

.account-menu__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #d8d8d3;
  border-top-color: #151515;
  border-radius: 50%;
  animation: account-menu-spin 750ms linear infinite;
}

.account-menu__notice {
  margin: 7px 8px 3px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #f5f5f2;
  color: #62625e;
  font-size: 12px;
  line-height: 1.35;
}

.account-avatar-editor {
  display: grid;
  min-height: 342px;
  padding: 2px 4px 4px;
  justify-items: center;
  animation: account-avatar-editor-in 170ms cubic-bezier(0.22, 1, 0.36, 1);
}

.account-avatar-editor[hidden],
#accountMenuMain[hidden] {
  display: none;
}

.account-avatar-editor__header {
  display: grid;
  width: 100%;
  min-height: 54px;
  align-items: center;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
}

.account-avatar-editor__header > button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #171715;
  cursor: pointer;
}

.account-avatar-editor__header > button:hover,
.account-avatar-editor__header > button:focus-visible {
  background: #f1f1ee;
  outline: none;
}

.account-avatar-editor__header svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.account-avatar-editor__header > span {
  display: grid;
  gap: 1px;
}

.account-avatar-editor__header strong {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.account-avatar-editor__header small {
  color: #8a8a84;
  font-size: 11px;
}

.account-avatar-editor__preview {
  display: grid;
  width: 116px;
  height: 116px;
  margin: 12px 0 18px;
  padding: 4px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(13, 13, 13, 0.13);
  border-radius: 50%;
  background: #f1f1ee;
  box-shadow: 0 11px 28px rgba(30, 30, 28, 0.12);
}

.account-avatar-editor__preview img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.account-avatar-editor__preview .account-avatar__initials {
  font-size: 34px;
}

.account-avatar-editor__pick {
  display: flex;
  min-height: 42px;
  padding: 0 18px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(13, 13, 13, 0.15);
  border-radius: 12px;
  background: #fff;
  color: #171715;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.account-avatar-editor__pick:hover,
.account-avatar-editor__pick:focus-visible {
  border-color: rgba(13, 13, 13, 0.28);
  background: #f7f7f4;
  outline: none;
  transform: translateY(-1px);
}

.account-avatar-editor__pick svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.account-avatar-editor__hint,
.account-avatar-editor__status {
  margin: 8px 0 0;
  color: #8a8a84;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.account-avatar-editor__status {
  padding: 6px 10px;
  border-radius: 9px;
  background: #f1f1ee;
  color: #62625e;
}

.account-avatar-editor__status[data-tone="error"] {
  background: #fff1ef;
  color: #a62c22;
}

.account-avatar-editor__status[data-tone="success"] {
  background: #edf9f3;
  color: #19704e;
}

.account-avatar-editor__actions {
  display: grid;
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
}

.account-avatar-editor__actions button {
  min-height: 43px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 620;
}

.account-avatar-editor__actions button:first-child {
  background: #f1f1ee;
  color: #343431;
}

.account-avatar-editor__actions button:last-child {
  background: #171715;
  color: #fff;
}

.account-avatar-editor__actions button:hover:not(:disabled),
.account-avatar-editor__actions button:focus-visible:not(:disabled) {
  filter: brightness(0.94);
  outline: none;
}

.account-avatar-editor__actions button:disabled,
.account-avatar-editor__pick:disabled {
  cursor: wait;
  opacity: 0.45;
}

.auth-bridge-frame {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

@keyframes account-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes account-avatar-editor-in {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes account-menu-spin {
  to {
    transform: rotate(360deg);
  }
}

.quick-action--discord {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(30, 30, 28, 0.12);
}

.quick-action--discord svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.quick-action--developer {
  grid-template-columns: auto;
  width: 100px;
  padding: 0 20px;
  gap: 0;
  border-color: #111;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.quick-action--developer::after {
  display: none;
}

.quick-action--developer:hover,
.quick-action--developer:focus-visible {
  border-color: #292929;
  background: #292929;
}

.quick-action__label {
  white-space: nowrap;
}

.feature-shell {
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-shell {
  position: absolute;
  z-index: 10;
  top: 234px;
  left: 122px;
  width: 1102px;
  height: 663px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 29px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 70px rgba(30, 30, 28, 0.13), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(18px);
}

.feature-card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(13, 13, 13, 0.08);
  border-radius: 20px;
  background: var(--surface);
  transform: translateZ(0);
}

.feature-card.is-changing::after {
  display: none;
}

#mediaButton[hidden],
.feature-media__status[hidden],
#trendPill[hidden],
.game-meta-row[hidden],
#carouselZone[hidden],
#carouselDots[hidden] {
  display: none !important;
}

.feature-card.is-empty .feature-media {
  background: radial-gradient(circle at 50% 38%, #2c2c2a 0%, #151514 46%, #0d0d0c 100%);
}

.feature-card.is-empty .feature-media img {
  width: min(34%, 280px);
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
  opacity: 0.22 !important;
  filter: grayscale(1);
  transform: none;
}

.feature-card.is-empty .feature-media:hover img {
  transform: none;
}

.feature-card.is-empty .game-heading h1 {
  max-width: none;
}

@keyframes flash-change {
  0% { opacity: 0; }
  32% { opacity: 0.08; }
  100% { opacity: 0; }
}

.feature-media {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 495px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #101010;
}

.feature-media.is-poster-hero {
  background-position: center;
  background-size: cover;
}

.feature-media.is-poster-hero::before {
  position: absolute;
  z-index: 0;
  inset: -28px;
  content: "";
  background: inherit;
  filter: blur(18px) brightness(0.5) grayscale(0.62) saturate(0.42);
  transform: scale(1.08);
}

.feature-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus-x) var(--hero-focus-y);
  transform: scale(1.003);
  transition: opacity 240ms ease, transform 5s ease;
}

.feature-media__video {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  background: #080808;
  opacity: 0;
  transition: opacity 320ms ease;
}

.feature-media__video iframe,
.feature-media__video video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  pointer-events: none;
  transform: scale(1.015);
}

.feature-media.is-video-ready .feature-media__video {
  opacity: 1;
}

.feature-media.is-video-ready img {
  opacity: 0 !important;
}

.feature-media.is-poster-hero img {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 17px 0;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.52));
  transform: scale(0.94);
}

.feature-media:hover img {
  transform: scale(1.015);
}

.feature-media.is-poster-hero:hover img {
  transform: scale(0.96);
}

.feature-media__shade {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 55%, rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

.feature-media__open {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.feature-media__open:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -5px;
}

.feature-media__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.58);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38);
  opacity: 0;
  transform: translate(-50%, -44%) scale(0.82);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(8px);
}

.feature-media__open:hover .feature-media__play,
.feature-media__open:focus-visible .feature-media__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.feature-media__play svg {
  width: 48px;
  fill: #fff;
}

.feature-media__status {
  position: absolute;
  z-index: 5;
  bottom: 16px;
  left: 16px;
  display: flex;
  height: 28px;
  padding: 0 10px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 10px;
  background: rgba(12, 12, 12, 0.58);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(8px);
}

.feature-media.is-video-ready .feature-media__status {
  opacity: 1;
  transform: translateY(0);
}

.feature-media__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #65d9b3;
  box-shadow: 0 0 0 3px rgba(101, 217, 179, 0.18);
}

.trend-pill {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: flex;
  height: 32px;
  padding: 0 12px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 5px 16px rgba(30, 30, 28, 0.1);
  color: #383835;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.trend-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10a37f;
  box-shadow: 0 0 0 3px rgba(16, 163, 127, 0.12);
}

.game-info {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 143px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 249, 247, 0.99));
}

.game-copy {
  position: absolute;
  top: 14px;
  left: 25px;
  width: 655px;
}

.game-heading {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 8px;
}

.game-heading h1 {
  max-width: 630px;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-meta-row {
  display: flex;
  height: 30px;
  margin-top: 4px;
  align-items: center;
  gap: 7px;
}

.creator-pill,
.model-pill,
.stat-pill {
  display: inline-flex;
  height: 28px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 550;
  line-height: 1;
  white-space: nowrap;
}

.creator-pill {
  max-width: 168px;
  padding: 0 10px;
  gap: 7px;
  background: #fff;
  color: #2e2e2b;
}

.creator-label {
  color: #8a8a84;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.creator-pill strong {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
}

.model-list {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.model-pill {
  padding: 0 10px;
  gap: 6px;
  border-color: #deded9;
  background: rgba(255, 255, 255, 0.92);
  color: #2e2e2b;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
  font-weight: 600;
}

.model-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex: none;
  object-fit: contain;
}

.stat-pill {
  min-width: 70px;
  padding: 0 9px;
  justify-content: center;
  gap: 5px;
  background: var(--surface-soft);
  color: #3d3d39;
}

.stat-pill:first-of-type {
  min-width: 70px;
}

.stat-pill span[aria-hidden="true"] {
  color: #11110f;
  font-size: 12px;
}

.stat-pill__label {
  color: #777772;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.game-copy p {
  width: 630px;
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.play-now {
  position: absolute;
  z-index: 6;
  top: 34px;
  right: 24px;
  display: flex;
  width: 312px;
  height: 72px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid #111;
  border-radius: 14px;
  background: #111;
  box-shadow: 0 12px 32px rgba(30, 30, 28, 0.18);
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.play-now:hover {
  background: #292929;
  box-shadow: 0 17px 42px rgba(30, 30, 28, 0.24);
  transform: translateY(-2px);
}

.play-now:active {
  transform: translateY(1px) scale(0.985);
}

.play-now:disabled {
  border-color: #d2d2ce;
  background: #e5e5e1;
  box-shadow: none;
  color: #92928c;
  cursor: default;
  transform: none;
}

.play-now:disabled .play-now__icon {
  border-left-color: #aaa9a3;
}

.play-now__icon {
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 21px solid #fff;
}

.carousel-zone {
  position: absolute;
  z-index: 14;
  top: 80px;
  right: 0;
  width: 560px;
  height: 1000px;
  overflow: visible;
  touch-action: none;
}

.carousel {
  position: absolute;
  inset: 0;
}

.game-card {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 250px;
  height: 280px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 52px rgba(30, 30, 28, 0.18);
  cursor: pointer;
  opacity: 0;
  transform-origin: center;
  transition:
    transform 640ms cubic-bezier(0.22, 1, 0.36, 1),
    width 640ms cubic-bezier(0.22, 1, 0.36, 1),
    height 640ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 350ms ease,
    border-radius 350ms ease,
    box-shadow 350ms ease,
    filter 350ms ease;
  will-change: transform, width, height;
}

.game-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 500ms ease, filter 350ms ease;
}

.game-card::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid var(--border);
  border-radius: inherit;
  pointer-events: none;
}

.game-card:hover img {
  transform: scale(1.02);
}

.game-card.is-active {
  width: 280px;
  height: 280px;
  border-radius: 18px;
  box-shadow:
    0 28px 80px rgba(30, 30, 28, 0.23),
    0 0 0 1px rgba(13, 13, 13, 0.26),
    0 0 0 5px rgba(16, 163, 127, 0.055);
  filter: saturate(1) brightness(1.01) contrast(1.01);
}

.game-card--ghost {
  pointer-events: none;
}

.game-card--ghost::after {
  border-color: rgba(13, 13, 13, 0.08);
}

.game-card.is-active::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  border: 1px solid rgba(13, 13, 13, 0.42);
  border-radius: inherit;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.44);
  pointer-events: none;
}

.game-card[data-position="-2"] {
  z-index: 1;
  opacity: 0.68;
  transform: translate(235px, -48px) rotate(18deg) scale(0.78);
  filter: brightness(0.78) saturate(0.82) contrast(0.98);
}

.game-card[data-position="-1"] {
  z-index: 2;
  opacity: 0.86;
  transform: translate(152px, 11px) rotate(8deg) scale(0.82);
  filter: brightness(0.9) saturate(0.9) contrast(0.99);
}

.game-card[data-position="0"] {
  z-index: 8;
  opacity: 1;
  transform: translate(64px, 255px) rotate(0) scale(1);
}

.game-card[data-position="1"] {
  z-index: 4;
  opacity: 0.86;
  transform: translate(153px, 501px) rotate(-8deg) scale(0.82);
  filter: brightness(0.9) saturate(0.9) contrast(0.99);
}

.game-card[data-position="2"] {
  z-index: 2;
  opacity: 0.68;
  transform: translate(233px, 653px) rotate(-18deg) scale(0.78);
  filter: brightness(0.78) saturate(0.82) contrast(0.98);
}

.game-card[data-position="-3"] {
  z-index: 0;
  opacity: 0;
  transform: translate(376px, -300px) rotate(35deg) scale(0.83);
}

.game-card[data-position="3"] {
  z-index: 0;
  opacity: 0;
  transform: translate(388px, 965px) rotate(-36deg) scale(0.83);
}

.game-card.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.scroll-cue {
  position: absolute;
  right: 34px;
  bottom: 29px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  opacity: 0;
}

.carousel-zone:hover .scroll-cue {
  opacity: 1;
}

.scroll-cue svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  animation: cue-bob 1.5s ease-in-out infinite;
}

@keyframes cue-bob {
  50% { transform: translateY(5px); }
}

.carousel-dots {
  position: absolute;
  z-index: 24;
  right: 28px;
  top: 470px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.carousel-zone:hover + .carousel-dots,
.carousel-dots:hover {
  opacity: 1;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(13, 13, 13, 0.22);
  cursor: pointer;
  transition: height 180ms ease, background 180ms ease;
}

.carousel-dot.is-active {
  height: 23px;
  border-radius: 9px;
  background: #10a37f;
}

.legal-links {
  position: absolute;
  z-index: 24;
  bottom: 26px;
  left: 50%;
  display: flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(-50%);
}

.legal-links a {
  color: #92928e;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1;
  text-decoration: none;
  transition: color 160ms ease;
  white-space: nowrap;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: #5f5f5b;
}

.video-modal {
  position: absolute;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}

.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 20, 18, 0.54);
  cursor: default;
  backdrop-filter: blur(22px);
}

.video-modal__panel {
  position: relative;
  width: 1180px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 40px 120px rgba(30, 30, 28, 0.28);
  transform: translateY(24px) scale(0.97);
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.video-modal.is-open .video-modal__panel {
  transform: translateY(0) scale(1);
}

.video-modal__topline {
  display: flex;
  height: 64px;
  padding: 0 4px 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.video-modal__eyebrow {
  color: #0d8f72;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.video-modal h2 {
  margin: 5px 0 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.video-modal__close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.video-modal__close:hover {
  background: var(--surface-soft);
  transform: none;
}

.video-modal__close svg {
  width: 24px;
  fill: none;
  stroke: #111;
  stroke-linecap: round;
  stroke-width: 2.5;
}

.video-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #050505;
}

.video-modal__frame iframe,
.video-modal__frame img,
.video-modal__frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-position: center;
  background-size: cover;
}

.video-fallback::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(2, 3, 6, 0.22);
}

.video-fallback span {
  z-index: 1;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-size: 42px;
  backdrop-filter: blur(9px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media (max-aspect-ratio: 4 / 5), (max-width: 720px) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow: auto;
  }

  .viewport-shell {
    position: relative;
    min-height: 100dvh;
    overflow: hidden;
  }

  .experience {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 100dvh;
    padding: 142px 16px 32px;
    overflow: visible;
    transform: none !important;
  }

  .studio-logo {
    top: 75px;
    width: 220px;
    height: 58px;
  }

  .scroll-cue,
  .carousel-dots {
    display: none;
  }

  .quick-actions {
    position: fixed;
    top: 14px;
    left: 14px;
    gap: 8px;
  }

  .quick-action {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .quick-account {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .quick-account[data-auth-state="anonymous"] {
    width: 96px;
    flex-basis: 96px;
  }

  .quick-action--profile[data-auth-state="anonymous"] {
    width: 96px;
    padding: 0 16px;
  }

  .quick-action__login {
    gap: 6px;
    font-size: 16px;
  }

  .quick-action__login svg {
    width: 14px;
    height: 14px;
  }

  .quick-action__avatar {
    width: 34px;
    height: 34px;
  }

  .quick-action--discord svg {
    width: 27px;
    height: 27px;
  }

  .quick-action--developer {
    grid-template-columns: auto;
    width: 76px;
    padding: 0 14px;
  }

  .quick-action--developer .quick-action__label {
    display: block;
  }

  .quick-action__label {
    display: none;
  }

  .account-menu {
    width: min(360px, calc(100vw - 28px));
    max-height: calc(100dvh - 80px);
    border-radius: 19px;
  }

  .feature-shell {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    padding: 6px;
    border-radius: 21px;
  }

  .feature-card {
    width: 100%;
    height: auto;
    min-height: 490px;
    border-radius: 15px;
  }

  .feature-media {
    position: relative;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .trend-pill {
    top: 10px;
    right: 9px;
    height: 28px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 12px;
  }

  .game-info {
    position: relative;
    height: 292px;
  }

  .game-copy {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    padding: 18px 18px 0;
  }

  .game-heading {
    height: auto;
    flex-wrap: wrap;
    gap: 6px;
  }

  .game-heading h1 {
    width: 100%;
    max-width: none;
    margin-bottom: 4px;
    font-size: 26px;
    font-weight: 600;
  }

  .game-meta-row {
    height: auto;
    margin-top: 6px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .creator-pill {
    max-width: 178px;
  }

  .model-list {
    flex-wrap: wrap;
  }

  .creator-pill,
  .model-pill,
  .stat-pill {
    height: 28px;
    font-size: 12px;
  }

  .stat-pill {
    min-width: 66px;
  }

  .game-copy p {
    display: -webkit-box;
    width: auto;
    margin-top: 10px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .play-now {
    top: auto;
    right: 18px;
    bottom: 18px;
    left: 18px;
    width: auto;
    height: 58px;
    border-radius: 14px;
    font-size: 24px;
  }

  .play-now__icon {
    border-top-width: 14px;
    border-bottom-width: 14px;
    border-left-width: 21px;
  }

  .carousel-zone {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% + 32px);
    height: 220px;
    margin: 20px -16px 0;
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x;
    scrollbar-width: none;
  }

  .carousel {
    position: relative;
    display: flex;
    width: max-content;
    padding: 8px 28px 24px;
    gap: 14px;
  }

  .legal-links {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto;
    margin: 26px auto 2px;
    padding: 0 8px;
    flex-wrap: wrap;
    gap: 15px 22px;
    transform: none;
  }

  .legal-links a {
    font-size: 11px;
  }

  .game-card,
  .game-card.is-active,
  .game-card[data-position] {
    position: relative;
    width: 148px;
    height: 184px;
    flex: 0 0 148px;
    border-radius: 14px;
    opacity: 0.74;
    transform: none;
    visibility: visible;
  }

  .game-card--ghost {
    display: none;
  }

  .game-card.is-active {
    opacity: 1;
    transform: translateY(-5px);
  }

  .video-modal {
    position: fixed;
    padding: 16px;
  }

  .video-modal__panel {
    width: 100%;
    padding: 12px;
    border-radius: 18px;
  }

  .video-modal__topline {
    height: 65px;
  }

  .video-modal h2 {
    font-size: 20px;
  }

  .video-modal__close {
    width: 42px;
    height: 42px;
  }
}
