@font-face {
  font-family: Inter;
  src: local("Inter");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #111318;
  color: #f2f3f7;
  font:
    15px/1.55 Inter,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #b7a6ff;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg {
  flex-shrink: 0;
}
img {
  display: block;
  width: 100%;
}
.skip {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px;
  background: #b9a7fa;
  color: #111;
}
.skip:focus {
  top: 12px;
}
#app {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  background: #16181e;
  display: flex;
  flex-direction: column;
  padding: 36px 22px 22px;
  z-index: 15;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  padding-left: 8px;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: #c4b5fd;
  border-radius: 11px;
  color: #222036;
}
.brand-icon svg {
  fill: currentColor;
  stroke-width: 1;
}
.brand-dot {
  color: #bcafff;
}
.nav-caption {
  font-size: 11px;
  color: #737580;
  padding: 38px 12px 17px;
  letter-spacing: 0.6px;
}
.sidebar nav {
  display: grid;
  gap: 8px;
}
.nav-link {
  min-height: 49px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #9b9daa;
  font-weight: 500;
  font-size: 13px;
}
.nav-link:hover {
  background: #20222b;
  color: white;
}
.nav-link.active {
  background: #282638;
  color: #cec2ff;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  border-radius: 5px;
  background: #39364c;
  padding: 0 6px;
}
.sidebar-create {
  margin-top: auto;
  background: #24232f;
  border-radius: 17px;
  padding: 20px 16px;
}
.small-spark {
  color: #cabbfd;
}
.sidebar-create h3 {
  font-size: 18px;
  letter-spacing: -0.5px;
  line-height: 1.4;
  margin: 12px 0 6px;
}
.sidebar-create p {
  color: #9b99ac;
  font-size: 12px;
}
.sidebar-create .button {
  font-size: 12px;
  padding: 11px;
  margin-top: 18px;
  width: 100%;
  min-height: 41px;
}
.sidebar-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  font-size: 11px;
  color: #858592;
}
.sidebar-foot .icon-btn {
  margin-left: auto;
  width: 24px;
  min-height: 24px;
  font-size: 11px;
  background: #262830;
  border-radius: 50%;
}
.local-dot {
  width: 6px;
  height: 6px;
  background: #a8c7ad;
  border-radius: 50%;
}
.app-body {
  margin-left: 232px;
}
.topbar {
  height: 88px;
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.global-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 470px;
  width: 48%;
  color: #70727f;
}
.global-search input {
  border: 0;
  outline: 0;
  background: none;
  color: #ececf4;
  width: 100%;
  font-size: 13px;
}
.global-search input::placeholder {
  color: #787a88;
}
.global-search kbd {
  font-size: 12px;
  border: 1px solid #383942;
  padding: 0 6px;
  border-radius: 4px;
}
.header-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}
.profile-button {
  width: 37px;
  height: 37px;
  background: #d1b9a0;
  color: #403531;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  position: relative;
}
.profile-live {
  position: absolute;
  bottom: 0;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #bcaeff;
  border: 2px solid #111318;
}
main {
  padding: 26px 44px 20px;
  max-width: 1540px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 29px;
  gap: 20px;
}
.eyebrow {
  display: block;
  color: #a9a6b9;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 7px;
}
h1 {
  font-size: clamp(26px, 2.4vw, 37px);
  line-height: 1.2;
  letter-spacing: -1.4px;
  font-weight: 700;
}
.page-heading p {
  font-size: 13px;
  margin-top: 12px;
  color: #9294a2;
}
.button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.button-accent {
  background: #c0afff;
  color: #252033;
}
.button-accent:hover {
  background: #d0c3ff;
}
.button-white {
  background: #f5f4fa;
  color: #22202c;
}
.button-dark {
  background: #302639;
  color: #f5e5ff;
}
.button-quiet {
  background: #22242d;
  color: #c5c6d0;
}
.button-quiet:hover {
  background: #30323e;
}
.topbar .button-quiet {
  background: none;
}
.heading-link {
  font-size: 12px;
  background: none;
}
.icon-btn {
  min-width: 36px;
  min-height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  color: #a8a8b7;
}
.icon-btn:hover {
  color: white;
  background: #30323b;
}
.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(245px, 1fr);
  gap: 20px;
}
.hero-game {
  min-height: 407px;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #252331;
}
.hero-art {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 55% 52%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 21, 30, 0.84), rgba(14, 21, 30, 0.2) 80%),
    linear-gradient(0deg, rgba(10, 16, 26, 0.75), transparent 65%);
}
.hero-top {
  position: absolute;
  top: 25px;
  left: 29px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #efeaf6;
  background: #faf5ff20;
  backdrop-filter: blur(10px);
  font-size: 10px;
  padding: 6px 10px;
  border-radius: 20px;
}
.hero-content {
  position: relative;
  padding: 138px 31px 25px;
  max-width: 520px;
}
.hero-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.hero-pills span {
  font-size: 10px;
  padding: 4px 8px;
  background: #fafaff20;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-content h2 {
  font-size: clamp(38px, 4vw, 56px);
  letter-spacing: -2.2px;
  line-height: 1.05;
}
.hero-content > p {
  font-size: 12px;
  color: #d3d6df;
  max-width: 320px;
  margin-top: 15px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 23px;
}
.hero-save {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  background: #fff2;
  border-radius: 8px;
}
.hero-details {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  margin-left: 4px;
  min-height: 44px;
}
.hero-note {
  font-size: 9px;
  color: #aaaebc;
  display: block;
  margin-top: 18px;
}
.hero-number {
  position: absolute;
  bottom: 25px;
  right: 25px;
  font-size: 10px;
  color: #bdc2d0;
}
.creator-feature {
  background: #e5ccdf;
  color: #3b2c3c;
  border-radius: 18px;
  padding: 23px 24px 19px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.round-label {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: #745d73;
  position: relative;
  z-index: 2;
}
.creator-feature h2 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -1px;
  position: relative;
  z-index: 2;
  margin-top: 4px;
}
.creator-feature p {
  color: #7f687b;
  font-size: 11px;
  margin-top: 11px;
  line-height: 1.8;
}
.creator-feature .button {
  margin-top: 20px;
  font-size: 11px;
  min-height: 40px;
  padding: 10px 15px;
}
.creator-note {
  font-size: 9px;
  color: #8a7083;
  margin-top: 11px;
}
.creation-visual {
  width: 100%;
  height: 124px;
  position: relative;
  margin: 0 0 5px;
}
.mini-window {
  position: absolute;
  left: 29px;
  top: 22px;
  width: 135px;
  height: 85px;
  background: #f2e9f0;
  transform: rotate(-8deg);
  border-radius: 9px;
  box-shadow: 8px 10px 0 #b595b351;
}
.window-dots {
  display: flex;
  gap: 4px;
  padding: 9px;
}
.window-dots i {
  width: 4px;
  height: 4px;
  background: #c0a4ba;
  border-radius: 50%;
}
.code-glyph {
  position: absolute;
  top: 28px;
  left: 32px;
  font-size: 27px;
  line-height: 1;
  font-weight: bold;
  color: #95769a;
}
.window-line {
  position: absolute;
  right: 10px;
  top: 40px;
  width: 30px;
  height: 4px;
  background: #d1becd;
  border-radius: 4px;
}
.window-line.short {
  top: 50px;
  width: 21px;
}
.floating-play {
  position: absolute;
  right: 18px;
  top: 56px;
  background: #b296cc;
  width: 57px;
  height: 57px;
  color: #f7edfa;
  display: grid;
  place-items: center;
  transform: rotate(14deg);
  border-radius: 15px;
}
.floating-play svg {
  fill: currentColor;
  stroke: none;
}
.float-spark {
  position: absolute;
  right: 12px;
  top: 13px;
  font-size: 29px;
  color: #967b9a;
}
.float-spark.small {
  left: 7px;
  bottom: 15px;
  font-size: 22px;
}
.section-block {
  margin-top: 36px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section-title h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.6px;
}
.section-title > span {
  font-size: 11px;
  color: #828490;
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 21px;
}
.filter {
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 11px;
  color: #8f91a0;
  background: #1c1e26;
}
.filter.active {
  background: #dad0ff;
  color: #3c345a;
  font-weight: 600;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px 20px;
}
.game-card {
  min-width: 0;
}
.card-image {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  background: #292633;
  aspect-ratio: 1.65;
}
.art-button {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
}
.game-art {
  height: 100%;
  object-fit: cover;
}
.art-button .game-art {
  transition: filter 0.25s;
}
.art-button:hover .game-art {
  filter: brightness(1.12);
}
.cover-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  background: #1118;
  backdrop-filter: blur(8px);
  width: 53px;
  height: 53px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}
.art-button:hover .cover-play,
.art-button:focus-visible .cover-play {
  opacity: 1;
}
.save {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #1118;
  color: #efecf5;
  display: grid;
  place-items: center;
  backdrop-filter: blur(5px);
}
.save.active {
  background: #d6c7ff;
  color: #49316d;
}
.save.active svg {
  fill: currentColor;
}
.image-tag {
  position: absolute;
  bottom: 10px;
  left: 11px;
  background: #1119;
  color: #ece8f3;
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 4px;
  pointer-events: none;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0 7px;
  align-items: center;
}
.text-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  text-align: left;
  padding: 0;
}
.text-title:hover {
  color: #cabbff;
}
.card-meta p {
  font-size: 10px;
  color: #888b9b;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.verified {
  background: #333442;
  border-radius: 50%;
  color: #c1b3fd;
  padding: 2px;
  display: inline-flex;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
.card-bottom > span {
  color: #8b8c9b;
  font-size: 10px;
}
.card-bottom i {
  margin: 0 4px;
  font-style: normal;
}
.card-cta {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  color: #c5b8fd;
  padding: 5px 0;
  min-height: 32px;
}
.bottom-callout {
  margin-top: 38px;
  background: #1e202a;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.callout-icon {
  color: #bbb0ed;
  background: #333041;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
}
.bottom-callout h2 {
  font-size: 17px;
  letter-spacing: -0.4px;
}
.bottom-callout p {
  font-size: 11px;
  color: #9091a2;
  margin-top: 4px;
}
.bottom-callout > .button {
  margin-left: auto;
  font-size: 11px;
}
.app-footer {
  padding: 26px 44px;
  color: #686b78;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.mobile-nav,
.mobile-brand {
  display: none;
}
.resume-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.resume-card {
  display: flex;
  align-items: center;
  background: #1e2028;
  border-radius: 12px;
  padding: 10px;
  text-align: left;
  gap: 12px;
}
.resume-card > img {
  width: 66px;
  height: 52px;
  object-fit: cover;
  border-radius: 7px;
}
.resume-card > span {
  min-width: 0;
}
.resume-card strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.resume-card small {
  font-size: 10px;
  display: block;
  color: #898c9c;
  margin-top: 4px;
}
.resume-card > svg {
  margin-left: auto;
  color: #c4b6fc;
}
.empty-state {
  text-align: center;
  padding: 65px 20px;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.empty-icon {
  color: #c4b5fc;
  background: #292638;
  width: 75px;
  height: 75px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  margin-bottom: 6px;
}
.empty-state h2 {
  font-size: 24px;
  letter-spacing: -0.8px;
}
.empty-state p {
  color: #9496a5;
  font-size: 13px;
}
.empty-state .button {
  margin-top: 6px;
}
.studio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-bottom: 32px;
}
.studio-stats > div {
  background: #1c1f27;
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.studio-stats span {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #9899ab;
  font-size: 12px;
}
.studio-stats strong {
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
}
.studio-empty {
  background: radial-gradient(ellipse at top, #2d2539, #1b1d25 70%);
  min-height: 390px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px;
  text-align: center;
}
.large-creation {
  display: flex;
  align-items: center;
  gap: 25px;
  color: #bba5ed;
  margin-bottom: 25px;
}
.large-creation > svg {
  background: #393146;
  box-sizing: content-box;
  padding: 14px;
  border-radius: 19px;
}
.large-creation > span {
  font-size: 25px;
  color: #81708f;
}
.studio-empty h2 {
  font-size: 36px;
  letter-spacing: -1.4px;
}
.studio-empty p {
  font-size: 13px;
  color: #9895a9;
  margin: 13px 0 23px;
}
.studio-steps {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
  color: #858194;
  font-size: 10px;
}
.studio-steps span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.studio-steps i {
  font-style: normal;
  color: #5b5368;
}
.local-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #1a1d25;
  border-radius: 12px;
  padding: 18px;
  margin-top: 24px;
  font-size: 11px;
  color: #84889a;
  max-width: 750px;
}
.status {
  padding: 3px 8px;
  border-radius: 5px;
  text-transform: capitalize;
}
.status.published {
  color: #b4d9be;
  background: #24362d;
}
.status.draft {
  color: #cfc0e7;
  background: #332b41;
}
.profile-form {
  background: #1b1e26;
  border-radius: 20px;
  padding: 30px;
  max-width: 640px;
  display: grid;
  gap: 22px;
}
.profile-intro {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-bottom: 8px;
}
.avatar-large {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c3a98e;
  color: #4b3727;
  font-size: 20px;
  font-weight: 600;
}
.profile-intro h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
}
.profile-intro p {
  font-size: 12px;
  color: #9194a2;
}
.profile-form > .button {
  justify-self: start;
}
label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #d5d4df;
}
input,
textarea,
select {
  width: 100%;
  min-width: 0;
  background: #272a34;
  color: #eceaf4;
  border: 0;
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 13px;
  outline: 0;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #767a8c;
}
.form-hint {
  font-size: 10px !important;
  line-height: 1.7;
  color: #85889c !important;
}
.profile-form .form-hint {
  max-width: 400px;
}
.modal {
  border: 0;
  background: #191c24;
  color: #f1f0f8;
  max-width: 800px;
  width: calc(100% - 36px);
  max-height: 90dvh;
  padding: 0;
  border-radius: 20px;
  box-shadow: 0 32px 100px #000a;
  scrollbar-color: #514a63 #22222b;
}
.modal::backdrop {
  background: #080b13b8;
  backdrop-filter: blur(9px);
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  color: white;
  background: #17172299;
  border-radius: 50%;
  width: 36px;
  height: 36px;
}
.detail-art {
  height: 300px;
}
.detail-art img {
  height: 100%;
  object-fit: cover;
}
.detail-body {
  padding: 29px 34px;
}
.detail-body h2 {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 5px 0;
}
.detail-author {
  color: #8f93a5;
  font-size: 12px !important;
  margin-bottom: 19px;
}
.detail-author strong {
  color: #cbc9d7;
  font-weight: 500;
}
.detail-body > p {
  font-size: 13px;
  color: #b3b5c5;
  line-height: 1.8;
}
.detail-badges {
  display: flex;
  gap: 20px;
  margin: 22px 0;
}
.detail-badges > span {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: #b9accf;
}
.detail-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.detail-body h3 {
  font-size: 14px;
  margin-top: 22px;
  margin-bottom: 7px;
}
.listing-feedback {
  background: #232330;
  border-radius: 13px;
  padding: 18px;
  margin-top: 22px;
}
.listing-feedback h3 {
  margin: 0 0 8px;
}
.listing-feedback p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #aaa4bd;
  margin-top: 8px;
}
.text-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 44px;
  padding: 0;
  color: #c5b4f2;
  font-size: 12px;
}
.creator-modal {
  max-width: 650px;
  padding: 30px;
}
.form-heading h2 {
  font-size: 30px;
  letter-spacing: -1px;
}
.form-heading p {
  font-size: 12px;
  color: #9295a8;
  margin-top: 6px;
}
#creator-form {
  display: grid;
  gap: 17px;
  margin-top: 22px;
}
.form-progress {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: space-between;
}
.form-progress span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #9a91af;
  white-space: nowrap;
}
.form-progress .complete {
  color: #d6c8fc;
}
.form-progress i {
  height: 2px;
  flex: 1;
  background: #393344;
}
.cover-upload {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  background: linear-gradient(120deg, #343044, #23232f);
  cursor: pointer;
}
.cover-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.cover-upload:focus-within {
  outline: 2px solid #c3adff;
  outline-offset: 3px;
}
.cover-upload img {
  height: 100%;
  object-fit: cover;
}
.cover-upload strong {
  font-size: 12px;
  font-weight: 500;
}
.cover-upload > span:not(.upload-symbol) {
  font-size: 9px;
  color: #9b92ac;
}
.upload-symbol {
  display: grid;
  place-items: center;
  color: #c7b6f3;
  width: 44px;
  height: 44px;
  background: #9a77e21a;
  border-radius: 12px;
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
#form-error {
  color: #fab8b5;
  font-size: 12px;
}
#form-error:empty {
  display: none;
}
.player-modal {
  width: min(1050px, 96vw);
  max-width: none;
  overflow: hidden;
}
.player-head {
  padding: 18px 70px 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.player-head h2 {
  font-size: 17px;
  font-weight: 600;
}
.player-head .eyebrow {
  font-size: 10px;
  margin-bottom: 2px;
}
.player-head .button {
  min-height: 36px;
  font-size: 11px;
}
.game-frame {
  border: 0;
  width: 100%;
  height: min(72dvh, 700px);
  display: block;
  background: #0b1020;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 15px);
  background: #e9e3f7;
  color: #322c40;
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 12px;
  box-shadow: 0 6px 30px #0004;
  z-index: 100;
  max-width: 90vw;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1600px) {
  main {
    padding-top: 38px;
  }
  .hero-game {
    min-height: 470px;
  }
  .hero-content {
    padding-top: 180px;
  }
  .creation-visual {
    height: 170px;
  }
  .creator-feature {
    padding: 28px;
  }
  .creator-feature h2 {
    font-size: 35px;
  }
  .mini-window {
    top: 40px;
    left: 40px;
    width: 160px;
    height: 105px;
  }
  .floating-play {
    top: 76px;
    right: 20px;
    width: 70px;
    height: 70px;
  }
  .code-glyph {
    top: 39px;
    font-size: 35px;
  }
  .window-line {
    top: 49px;
  }
  .window-line.short {
    top: 59px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
    padding-inline: 16px;
  }
  .app-body {
    margin-left: 205px;
  }
  .topbar {
    padding: 0 28px;
  }
  main {
    padding: 22px 28px;
  }
  .feature-layout {
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 15px;
  }
  .creator-feature {
    padding: 21px;
  }
  .creator-feature h2 {
    font-size: 25px;
  }
  .hero-content {
    padding-left: 25px;
  }
  .hero-details {
    display: none;
  }
  .app-footer {
    padding-inline: 28px;
  }
  .game-grid {
    gap: 22px 15px;
  }
  .card-bottom {
    align-items: flex-start;
  }
  .card-bottom > span {
    font-size: 9px;
  }
  .card-cta {
    font-size: 9px;
  }
  .game-card .icon-btn {
    min-width: 28px;
  }
  .creation-visual {
    height: 131px;
  }
  .mini-window {
    left: 10px;
  }
  .floating-play {
    right: 5px;
  }
}
@media (max-width: 920px) {
  .sidebar {
    width: 182px;
    padding: 25px 12px;
  }
  .brand {
    font-size: 20px;
  }
  .brand-icon {
    width: 31px;
    height: 31px;
  }
  .app-body {
    margin-left: 182px;
  }
  .sidebar-create {
    padding: 16px 12px;
  }
  .sidebar-create h3 {
    font-size: 16px;
  }
  .sidebar-create .button {
    font-size: 10px;
  }
  .sidebar-foot {
    font-size: 9px;
  }
  .nav-link {
    font-size: 12px;
    padding: 12px 10px;
  }
  .creator-feature {
    display: none;
  }
  .feature-layout {
    grid-template-columns: 1fr;
  }
  .hero-game {
    min-height: 380px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .global-search {
    width: 65%;
  }
  .header-actions {
    gap: 8px;
  }
  .bottom-callout {
    flex-wrap: wrap;
  }
  .bottom-callout > .button {
    margin-left: 63px;
  }
  .resume-row {
    grid-template-columns: 1fr 1fr;
  }
  .resume-card:last-child {
    display: none;
  }
  .app-footer {
    flex-direction: column;
    gap: 5px;
  }
  .heading-link {
    display: none;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 14px;
  }
  .sidebar {
    display: none;
  }
  .app-body {
    margin-left: 0;
  }
  .topbar {
    height: 76px;
    padding: 14px 20px;
    gap: 14px;
  }
  .mobile-brand {
    display: block;
    flex-shrink: 0;
  }
  .global-search {
    background: #1e2129;
    padding: 10px 12px;
    border-radius: 12px;
    flex: 1;
    min-width: 0;
    width: auto;
    gap: 8px;
  }
  .global-search input {
    font-size: 11px;
    padding: 0;
  }
  .global-search > svg {
    width: 16px;
  }
  .global-search kbd {
    display: none;
  }
  .profile-button {
    width: 32px;
    height: 32px;
    font-size: 10px;
  }
  .desktop-create {
    display: none !important;
  }
  .header-actions {
    gap: 0;
  }
  main {
    padding: 23px 20px 15px;
  }
  .page-heading {
    margin-bottom: 23px;
    gap: 10px;
    align-items: flex-start;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 8px;
  }
  h1 {
    font-size: 29px;
    letter-spacing: -1.15px;
    max-width: 320px;
    line-height: 1.18;
  }
  .page-heading p {
    font-size: 11px;
    margin-top: 10px;
    max-width: 270px;
  }
  .page-heading > .button {
    font-size: 0;
    padding: 10px;
    min-height: 40px;
  }
  .page-heading > .button svg {
    width: 19px;
  }
  .feature-layout {
    display: block;
  }
  .hero-game {
    min-height: 390px;
    border-radius: 17px;
  }
  .hero-art {
    object-position: 64% center;
  }
  .hero-shade {
    background:
      linear-gradient(0deg, #11182cf2, transparent 95%),
      linear-gradient(90deg, #18223780, transparent);
  }
  .hero-top {
    top: 19px;
    left: 20px;
    font-size: 9px;
    padding: 5px 9px;
  }
  .hero-content {
    padding: 177px 22px 22px;
    max-width: none;
  }
  .hero-pills {
    gap: 6px;
    margin-bottom: 12px;
  }
  .hero-pills span {
    font-size: 9px;
  }
  .hero-content h2 {
    font-size: 41px;
    letter-spacing: -1.8px;
  }
  .hero-content > p {
    font-size: 11px;
    margin-top: 10px;
    max-width: 260px;
  }
  .hero-actions {
    margin-top: 19px;
    gap: 10px;
  }
  .hero-actions .button {
    min-height: 43px;
    padding: 11px 18px;
    font-size: 12px;
  }
  .hero-save {
    width: 43px;
    height: 43px;
  }
  .hero-note {
    font-size: 8px;
    margin-top: 14px;
  }
  .hero-number {
    bottom: 22px;
    right: 20px;
    font-size: 9px;
  }
  .section-block {
    margin-top: 28px;
  }
  .section-title {
    margin-bottom: 16px;
    gap: 10px;
  }
  .section-title h2 {
    font-size: 18px;
    letter-spacing: -0.5px;
  }
  .section-title > span {
    font-size: 9px;
    white-space: nowrap;
  }
  .filter-row {
    flex-wrap: nowrap;
    overflow: auto;
    margin-inline: -20px;
    padding-inline: 20px;
    padding-bottom: 3px;
    gap: 7px;
    scrollbar-width: none;
  }
  .filter {
    font-size: 10px;
    padding: 7px 12px;
    white-space: nowrap;
    min-height: 35px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 12px;
  }
  .card-image {
    border-radius: 11px;
    aspect-ratio: 1.32;
  }
  .image-tag {
    font-size: 8px;
    left: 8px;
    bottom: 8px;
    padding: 3px 5px;
  }
  .save {
    right: 6px;
    top: 6px;
    min-width: 36px;
    min-height: 36px;
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
  .save svg {
    width: 16px;
  }
  .text-title {
    font-size: 12px;
    letter-spacing: -0.25px;
    line-height: 1.3;
  }
  .card-meta {
    gap: 3px;
    margin-top: 10px;
    margin-bottom: 4px;
    align-items: flex-start;
  }
  .card-meta .icon-btn {
    width: 30px;
    min-width: 30px;
    min-height: 36px;
    margin-top: -5px;
    margin-right: -6px;
  }
  .card-meta p {
    font-size: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
    gap: 4px;
  }
  .verified {
    padding: 1px;
  }
  .verified svg {
    width: 9px;
    height: 9px;
  }
  .card-bottom {
    flex-direction: column;
    gap: 3px;
  }
  .card-bottom > span {
    font-size: 8px;
  }
  .card-cta {
    font-size: 10px;
    min-height: 36px;
    padding-block: 4px;
  }
  .card-bottom i {
    margin-inline: 2px;
  }
  .cover-play {
    display: none;
  }
  .bottom-callout {
    margin-top: 28px;
    padding: 20px;
    gap: 13px;
    border-radius: 14px;
  }
  .callout-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .bottom-callout > div:nth-child(2) {
    flex: 1;
  }
  .bottom-callout h2 {
    font-size: 15px;
    line-height: 1.4;
  }
  .bottom-callout p {
    font-size: 10px;
    margin-top: 5px;
  }
  .bottom-callout > .button {
    margin: 0 0 0 51px;
    padding: 0;
    min-height: 34px;
    background: none;
    font-size: 11px;
  }
  .app-footer {
    font-size: 9px;
    padding: 18px 20px calc(104px + env(safe-area-inset-bottom));
    gap: 4px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    justify-content: space-around;
    background: #191c24ed;
    backdrop-filter: blur(20px);
    padding: 11px 8px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -5px 30px #0002;
  }
  .mobile-nav a {
    width: 24%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    color: #7c8091;
    min-height: 45px;
    justify-content: center;
  }
  .mobile-nav a.active {
    color: #c6b4fb;
  }
  .mobile-nav a.active svg {
    filter: drop-shadow(0 0 7px #a38bfc33);
  }
  .resume-row {
    display: flex;
    overflow: auto;
    gap: 10px;
    margin-inline: -20px;
    padding-inline: 20px;
  }
  .resume-card {
    min-width: 220px;
    flex: 1;
    gap: 10px;
  }
  .resume-card:last-child {
    display: flex;
  }
  .resume-card > img {
    width: 52px;
    height: 45px;
  }
  .resume-card strong {
    font-size: 11px;
  }
  .studio-stats {
    gap: 10px;
    margin-bottom: 26px;
  }
  .studio-stats > div {
    padding: 15px 12px;
    border-radius: 12px;
    gap: 14px;
  }
  .studio-stats span {
    font-size: 9px;
    gap: 5px;
    flex-direction: column;
    align-items: flex-start;
  }
  .studio-stats span svg {
    width: 17px;
  }
  .studio-stats strong {
    font-size: 25px;
  }
  .studio-empty {
    min-height: 390px;
    padding: 30px 17px;
    border-radius: 16px;
  }
  .studio-empty h2 {
    font-size: 31px;
  }
  .studio-empty p {
    font-size: 11px;
  }
  .large-creation {
    gap: 18px;
  }
  .large-creation > svg {
    width: 36px;
    height: 36px;
    padding: 14px;
    border-radius: 17px;
  }
  .studio-steps {
    gap: 8px;
    font-size: 8px;
    margin-top: 28px;
  }
  .studio-steps span {
    gap: 4px;
  }
  .studio-steps svg {
    width: 13px;
  }
  .local-note {
    font-size: 10px;
    padding: 15px;
  }
  .profile-form {
    padding: 22px;
    gap: 20px;
  }
  .modal {
    width: calc(100% - 20px);
    max-height: 94dvh;
    border-radius: 18px;
  }
  .detail-art {
    height: 220px;
  }
  .detail-body {
    padding: 24px;
  }
  .detail-body h2 {
    font-size: 29px;
  }
  .detail-body > p {
    font-size: 12px;
  }
  .detail-badges {
    gap: 13px;
    flex-wrap: wrap;
  }
  .detail-badges > span {
    font-size: 10px;
  }
  .detail-buttons {
    gap: 9px;
  }
  .detail-buttons > .button {
    font-size: 11px;
    padding: 11px 13px;
  }
  .creator-modal {
    padding: 25px 20px;
    width: calc(100% - 16px);
  }
  .form-heading {
    padding-right: 15px;
  }
  .form-heading h2 {
    font-size: 27px;
  }
  .form-heading p {
    font-size: 11px;
  }
  .form-progress {
    gap: 6px;
  }
  .form-progress span {
    font-size: 8px;
    gap: 4px;
  }
  .form-progress span svg {
    width: 13px;
  }
  .form-two {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  label {
    font-size: 11px;
  }
  input,
  textarea,
  select {
    font-size: 16px;
    padding: 12px;
    min-height: 45px;
  }
  textarea {
    font-size: 14px;
  }
  .cover-upload {
    height: 135px;
  }
  .cover-upload strong {
    font-size: 10px;
  }
  .cover-upload > span:not(.upload-symbol) {
    font-size: 8px;
  }
  .form-actions .button {
    font-size: 12px;
    padding: 11px 14px;
  }
  .form-hint {
    font-size: 9px !important;
  }
  .player-modal {
    width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    margin: 0;
  }
  .player-head {
    height: 76px;
    padding: 14px 58px 14px 17px;
  }
  .player-head h2 {
    font-size: 15px;
  }
  .player-head .button {
    font-size: 0;
    padding: 6px;
    min-height: 36px;
  }
  .player-head .button svg {
    width: 17px;
  }
  .player-modal .modal-close {
    top: 19px;
    right: 13px;
  }
  .game-frame {
    height: calc(100dvh - 76px);
    width: 100%;
  }
  #toast {
    bottom: calc(88px + env(safe-area-inset-bottom));
    font-size: 11px;
    width: max-content;
    max-width: calc(100vw - 28px);
  }
  .status {
    font-size: 9px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.mobile-creator-invite {
  display: none;
}
.art-fallback {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #383044, #1e222f);
  color: #a99abf;
  width: 100%;
  height: 100%;
  font-size: 11px;
}
.art-fallback.hero-art {
  color: #bfb0da;
}
.mobile-creator-invite button {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  font-size: 11px;
  color: #d6c8ff;
}
.mobile-creator-invite > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #b8adc9;
}
@media (max-width: 640px) {
  .mobile-creator-invite {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #232230;
    padding: 5px 13px;
    border-radius: 11px;
    margin: -3px 0 18px;
  }
  .game-card .card-cta {
    min-height: 44px;
  }
}

@media (max-width: 640px) {
  .card-meta p,
  .card-bottom > span,
  .image-tag {
    font-size: 10px;
  }
  .card-cta {
    font-size: 11px;
  }
  .hero-note {
    font-size: 10px;
  }
  .form-progress span {
    font-size: 10px;
  }
  .form-progress i {
    display: none;
  }
  .form-hint {
    font-size: 11px !important;
  }
  .studio-steps {
    font-size: 10px;
  }
  .studio-steps i {
    display: none;
  }
  .section-title > span {
    font-size: 10px;
  }
  .creator-note {
    font-size: 10px;
  }
  .cover-upload > span:not(.upload-symbol) {
    font-size: 10px;
  }
}
@media (max-height: 480px) and (max-width: 950px) {
  .player-modal {
    height: 100dvh;
    max-height: 100dvh;
    width: 100vw;
    margin: 0;
    border-radius: 0;
  }
  .player-head {
    height: 55px;
    padding: 7px 60px 7px 18px;
  }
  .player-modal .modal-close {
    top: 9px;
  }
  .game-frame {
    height: calc(100dvh - 55px);
  }
}

/* Game browsing starts at the top; creation stays in its own destination. */
.app-body{margin-left:0}.topbar{height:86px;max-width:1520px;margin:auto;padding:0 40px;gap:35px}.topbar .brand{font-size:23px;padding:0;flex-shrink:0}.topbar .global-search{background:#1d2028;border-radius:11px;padding:11px 15px;flex:1;max-width:440px;width:auto}.topbar .global-search input{padding:0}.desktop-navigation{display:flex;align-items:center;gap:25px;margin-left:auto}.desktop-navigation a{display:flex;gap:7px;align-items:center;color:#9398a9;min-height:44px;font-size:13px;white-space:nowrap}.desktop-navigation a.active{color:#e1d8ff}.desktop-navigation a span{font-size:11px;padding:0 5px;background:#30323c;border-radius:4px}main{max-width:1520px;padding:24px 40px 60px}.catalogue-toolbar{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:23px}.catalogue-toolbar h1{font-size:23px;letter-spacing:-.7px;white-space:nowrap}.catalogue-toolbar h1 span{display:inline-block;margin-left:8px;font-size:13px;vertical-align:middle;color:#858b9d;font-weight:400;letter-spacing:0}.catalogue-toolbar .filter-row{margin:0}.play-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}.play-grid .card-image{aspect-ratio:1.3;border-radius:14px}.play-grid .card-meta{margin-top:15px}.play-grid .text-title{font-size:20px}.play-grid .card-meta p{font-size:12px;margin-top:4px}.play-grid .card-bottom>span{font-size:12px}.play-grid .card-cta{min-height:44px;font-size:13px;padding:8px 0}.play-grid .image-tag{font-size:10px}.play-grid .save{width:40px;height:40px}.play-grid .card-bottom{align-items:center;flex-direction:row}.page-heading:has(.eyebrow:empty){margin-top:0}@media(max-width:1000px){.topbar{padding:0 25px;gap:22px}.desktop-navigation{gap:16px}.desktop-navigation a{font-size:12px}.topbar .brand{font-size:20px}.topbar .global-search{max-width:none}main{padding-inline:25px}.play-grid{gap:25px 18px}.play-grid .text-title{font-size:17px}.play-grid .card-bottom{align-items:flex-start;flex-direction:column}.play-grid .card-bottom>span{font-size:11px}.catalogue-toolbar{align-items:flex-start;flex-direction:column;gap:18px}.play-grid .card-image{aspect-ratio:1.1}}@media(max-width:700px){.desktop-navigation{display:none}.topbar{height:auto;min-height:77px;padding:15px 18px;gap:13px;flex-wrap:wrap}.topbar .brand{font-size:21px;flex:1}.topbar .brand-icon{width:31px;height:31px}.topbar .profile-button{order:1}.topbar .global-search{order:2;flex-basis:100%;max-width:none;min-height:45px;border-radius:10px}.topbar .global-search input{font-size:14px}.topbar .global-search>svg{width:18px}.topbar .brand{order:0}.topbar .profile-button{height:34px;width:34px}.app-body{margin-left:0}main{padding:20px 18px calc(100px + env(safe-area-inset-bottom))}.catalogue-toolbar{margin-bottom:20px;gap:17px}.catalogue-toolbar h1{font-size:22px}.catalogue-toolbar .filter-row{width:calc(100% + 36px);margin-inline:-18px;padding-inline:18px}.filter{font-size:12px;min-height:40px;padding:8px 14px}.play-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 14px}.play-grid .card-image{aspect-ratio:.88;border-radius:12px}.play-grid .text-title{font-size:16px;line-height:1.3}.play-grid .card-meta{margin-top:12px;align-items:flex-start}.play-grid .card-meta p{font-size:11px}.play-grid .card-meta .icon-btn{margin-right:-5px}.play-grid .card-bottom{gap:4px}.play-grid .card-bottom>span{font-size:11px}.play-grid .card-cta{font-size:13px;min-height:44px}.play-grid .image-tag{font-size:9px}.play-grid .save{width:38px;height:38px}.mobile-nav{display:flex}.play-grid .card-meta p{display:none}}@media(min-width:701px) and (max-width:920px){.mobile-nav{display:none}.play-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.art-button .game-art{transition:none}}

.game-banner{position:relative;overflow:hidden;min-height:190px;border-radius:15px;margin-bottom:27px;background:#202735}.game-banner .banner-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 45%}.banner-shade{position:absolute;inset:0;background:linear-gradient(90deg,#0c1529ed 0%,#111d3180 42%,transparent 75%)}.banner-content{position:relative;padding:25px 30px}.banner-content>span{font-size:11px;color:#d3d9e9}.banner-content h2{font-size:34px;line-height:1.15;letter-spacing:-1px;margin:6px 0 16px}.banner-content .button{min-height:42px;padding:9px 16px;font-size:12px}@media(max-width:700px){.game-banner{min-height:157px;margin-bottom:22px;border-radius:12px}.game-banner .banner-art{object-position:65% 40%}.banner-content{padding:19px 20px}.banner-content h2{font-size:27px;margin:5px 0 12px}.banner-content>span{font-size:11px}.banner-content .button{min-height:44px;font-size:12px}.banner-shade{background:linear-gradient(90deg,#0c1529e8,#111d3160 75%)}}
