/* RAT SODA — hand-tuned storefront system. Reference: Ratsoda concept supplied by the owner. */
:root {
  color-scheme: dark;
  --bg: #101213;
  --panel: #17191a;
  --panel2: #1d2021;
  --panel3: #242728;
  --border: #2b2f30;
  --border2: #383d3d;
  --text: #f2f0e7;
  --muted: #989c9c;
  --dim: #6b7170;
  --lime: #c6ff00;
  --red: #ff4052;
  --cream: #f5f1e9;
  --radius: 8px;
  --sidebar: 212px;
  --top: 65px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
img {
  max-width: 100%;
}
svg {
  flex: none;
}
::selection {
  background: #bfff21;
  color: #171919;
}
::-webkit-scrollbar {
  width: 10px;
  height: 7px;
}
::-webkit-scrollbar-thumb {
  background: #323737;
  border: 2px solid #161919;
  border-radius: 10px;
}
.boot-loading {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font:
    900 54px/1 Impact,
    "Arial Black",
    sans-serif;
  letter-spacing: -3px;
}
.boot-loading > span {
  color: var(--red);
}
.boot-loading small {
  font: 600 10px "Segoe UI";
  letter-spacing: 0.23em;
  color: var(--lime);
  padding-top: 20px;
}
/* header */
.shell-top {
  height: var(--top);
  position: sticky;
  top: 0;
  z-index: 40;
  background: #0f1112;
  border-bottom: 1px solid #272b2c;
  display: flex;
  align-items: center;
  padding: 0 26px 0 18px;
  gap: 24px;
}
.brand-link {
  width: calc(var(--sidebar) - 18px);
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-img {
  width: 133px;
  height: 37px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
}
.brand-reg {
  font-size: 9px;
  margin-left: -15px;
  margin-top: -24px;
  color: var(--cream);
}
.menu-toggle {
  display: none;
  color: #ccc;
  background: none;
  border: 0;
}
.nav-top {
  display: flex;
  align-items: center;
  gap: 25px;
  height: 100%;
}
.nav-top a {
  font-size: 12px;
  font-weight: 600;
  color: #b2b4b3;
  display: flex;
  align-items: center;
  height: 100%;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-top a:hover,
.nav-top a.current {
  color: var(--cream);
}
.nav-top a.current {
  border-bottom-color: var(--lime);
}
.head-search {
  margin-left: auto;
  position: relative;
  width: 300px;
  min-width: 120px;
  display: flex;
  align-items: center;
  color: #a3a8a5;
  background: #1d2021;
  border: 1px solid #262a2b;
  height: 37px;
  border-radius: 22px;
  padding: 0 13px;
  gap: 8px;
}
.head-search input {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--cream);
  font-size: 11px;
}
.head-search input::placeholder {
  color: #747c7a;
}
.head-search kbd {
  background: #282d2d;
  color: #747d7c;
  border: 1px solid #3b4241;
  border-radius: 4px;
  padding: 3px 4px;
  font: 10px monospace;
}
.top-icons {
  display: flex;
  align-items: center;
  gap: 11px;
}
.icon-button {
  height: 34px;
  width: 34px;
  border: 0;
  background: none;
  color: #cbd0cb;
  display: grid;
  place-items: center;
}
.icon-button:hover {
  color: var(--lime);
}
.top-user {
  border: 0;
  background: none;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #ddd;
  font-weight: 650;
  font-size: 11px;
  white-space: nowrap;
}
.top-avatar {
  width: 31px;
  height: 31px;
  border: 2px solid #555;
  border-radius: 100%;
  object-fit: cover;
  background: #eb413f;
}
.header-launch {
  border: 1px solid #57642c;
  border-radius: 6px;
  background: #c1f318;
  color: #1b2310;
  font-size: 11px;
  font-weight: 800;
  padding: 11px 13px;
  white-space: nowrap;
  display: flex;
  gap: 8px;
  align-items: center;
}
.header-launch:hover,
.primary-button:hover {
  background: #d4ff40;
}
.header-launch svg {
  width: 14px;
  height: 14px;
}
/* sidebar */
.sidebar {
  width: var(--sidebar);
  position: fixed;
  top: var(--top);
  bottom: 0;
  left: 0;
  background: #101213;
  border-right: 1px solid var(--border);
  z-index: 26;
  overflow-y: auto;
  padding: 18px 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sidebar-section {
  padding: 0 2px;
}
.sidebar-label {
  padding: 11px 12px 9px;
  color: #666d6c;
  font-size: 9px;
  letter-spacing: 0.15em;
  font-weight: 850;
}
.side-link {
  height: 39px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 11px;
  width: 100%;
  border: 0;
  border-radius: 6px;
  text-align: left;
  background: none;
  color: #a9b0ae;
  font-size: 12px;
  font-weight: 550;
}
.side-link svg {
  width: 15px;
  height: 15px;
  stroke: #a8b0af;
}
.side-link:hover {
  background: #1d2121;
  color: #fff;
}
.side-link.active {
  background: #24292a;
  color: #fff;
  font-weight: 700;
}
.side-link.active svg {
  stroke: var(--lime);
}
.side-link .count {
  margin-left: auto;
  color: #68706d;
  font-size: 10px;
}
.sidebar-sep {
  height: 1px;
  background: var(--border);
  margin: 4px 7px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 5px 4px;
}
.sidebar-sticker {
  margin: 8px 7px 0;
  padding: 14px;
  border: 1px solid #313937;
  background: #1e2221;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.sidebar-sticker > div {
  font:
    900 15px/1.08 Impact,
    "Arial Black";
  letter-spacing: 0.025em;
}
.sidebar-sticker span {
  color: var(--lime);
}
.sidebar-sticker p {
  font-size: 10px;
  line-height: 1.5;
  color: #a4aaa6;
  margin: 9px 0 11px;
}
.sidebar-sticker a {
  display: inline-flex;
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  gap: 5px;
  align-items: center;
}
.side-footer {
  font-size: 10px;
  color: #535b57;
  padding: 13px 11px 0;
}
.mobile-mask {
  display: none;
}
/* layout */
.site-main {
  margin-left: var(--sidebar);
  min-height: calc(100vh - var(--top));
}
.page-content {
  max-width: 1480px;
  margin: 0 auto;
  padding: 24px 28px 55px;
}
.page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 0 15px;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7d8582;
  font-size: 11px;
}
.page-breadcrumb b {
  color: #dadbd6;
}
.page-actions {
  font-size: 10px;
  color: #6f7a75;
}
.home-hero {
  height: 335px;
  background: #171a1b;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #363c3c;
}
.home-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  filter: contrast(1.04);
}
.home-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #121617f5 0%, #12161790 13%, transparent 38%),
    linear-gradient(90deg, #11181945, transparent 63%);
  pointer-events: none;
}
.hero-metadata {
  position: absolute;
  top: 18px;
  right: 20px;
  background: #121717b9;
  border: 1px solid #73805b73;
  border-radius: 4px;
  color: #dfffa5;
  padding: 8px 11px;
  letter-spacing: 0.09em;
  font-size: 9px;
  font-weight: 850;
  z-index: 2;
}
.hero-actions {
  position: absolute;
  bottom: 24px;
  left: 30px;
  right: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.primary-button {
  background: var(--lime);
  color: #1a2210;
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 17px;
  font-weight: 850;
  font-size: 12px;
  transition: background 0.15s;
}
.primary-button svg {
  width: 16px;
  height: 16px;
}
.primary-button.is-small {
  padding: 10px 13px;
  font-size: 11px;
}
.hero-platform {
  color: #d8dcd5;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
}
.hero-dots {
  display: flex;
  gap: 6px;
}
.hero-dots i {
  width: 6px;
  height: 6px;
  background: #555f59;
  border-radius: 20px;
}
.hero-dots i:first-child {
  background: var(--lime);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 26px 0 13px;
}
.section-head h2 {
  font-size: 16px;
  letter-spacing: -0.02em;
  font-weight: 760;
  margin: 0;
}
.section-head p {
  color: var(--muted);
  font-size: 11px;
  margin: 4px 0 0;
}
.text-link {
  border: 0;
  background: none;
  color: #bac2bc;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 650;
}
.text-link:hover {
  color: var(--lime);
}
.text-link svg {
  width: 14px;
  height: 14px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.game-card {
  border: 1px solid #2b3030;
  background: #1b1f20;
  border-radius: 7px;
  overflow: hidden;
  transition:
    border-color 0.16s,
    transform 0.16s;
  position: relative;
  min-width: 0;
}
.game-card:hover {
  border-color: #7c9557;
  transform: translateY(-2px);
}
.cover-link {
  position: relative;
  display: block;
  aspect-ratio: 1.22;
  overflow: hidden;
  background: #252525;
}
.cover-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.game-card:hover .cover-link img {
  transform: scale(1.045);
}
.showcase-ribbon {
  position: absolute;
  top: 9px;
  left: 10px;
  z-index: 1;
  font: 800 9px Arial;
  letter-spacing: 0.06em;
  background: #111a19cf;
  color: #c0c9c4;
  border: 1px solid #8a948850;
  border-radius: 3px;
  padding: 5px 7px;
}
.free-ribbon {
  position: absolute;
  top: 10px;
  right: auto;
  z-index: 1;
  background: #caff00;
  color: #101510;
  border-radius: 3px;
  padding: 5px 7px;
  font-size: 9px;
  font-weight: 900;
}
.card-details {
  padding: 11px 12px 12px;
  min-height: 97px;
}
.card-title {
  font-weight: 760;
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}
.card-title:hover {
  color: var(--lime);
}
.card-studio {
  margin: 6px 0 9px;
  font-size: 10px;
  color: #8c9692;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a8afa8;
  gap: 6px;
}
.chip {
  display: inline-flex;
  border: 1px solid #343b3a;
  background: #272c2d;
  color: #aeb7b2;
  padding: 4px 7px;
  font-size: 9px;
  max-width: 100%;
  border-radius: 4px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.card-stat {
  font-size: 10px;
  font-weight: 750;
  color: #d2d8d2;
  white-space: nowrap;
}
.card-stat .star {
  color: var(--lime);
}
.card-price {
  font-size: 11px;
  color: #e3e6df;
  font-weight: 900;
}
.gallery-browse {
  display: grid;
  grid-template-columns: 1fr 265px;
  gap: 17px;
  margin-top: 6px;
}
.promo-block {
  border: 1px solid #3b4c29;
  background: linear-gradient(145deg, #202f18, #111912);
  height: 100%;
  min-height: 253px;
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  padding: 19px;
}
.promo-block img {
  position: absolute;
  bottom: -35px;
  right: -44px;
  width: 210px;
  opacity: 0.7;
  mix-blend-mode: screen;
}
.promo-block small {
  font-size: 9px;
  color: #d2e7b4;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.promo-block h3 {
  font:
    900 32px/0.98 Impact,
    "Arial Black";
  letter-spacing: 0.015em;
  margin: 16px 0;
  position: relative;
  z-index: 2;
}
.promo-block p {
  font-size: 11px;
  line-height: 1.65;
  color: #aab99d;
  max-width: 160px;
}
.promo-block a {
  font-size: 11px;
  font-weight: 900;
  color: var(--lime);
  position: relative;
  z-index: 2;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.studio-strip {
  margin-top: 26px;
  background: #191d1e;
  border: 1px solid #2b3432;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 190px;
  border-radius: 7px;
  overflow: hidden;
}
.studio-strip-art {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.studio-strip-info {
  padding: 23px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.studio-strip-info img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border: 3px solid #323636;
  border-radius: 7px;
}
.studio-strip-info h3 {
  font-size: 17px;
  margin: 5px 0 5px;
}
.verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lime);
  color: #121711;
  font-size: 9px;
  font-weight: 900;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-left: 5px;
}
.studio-strip-info p {
  color: #9da59f;
  font-size: 11px;
  margin-bottom: 18px;
}
.studio-strip-info a {
  font-size: 11px;
  color: var(--lime);
  font-weight: 800;
}
/* tabs, catalog */
.pill-tabs {
  display: flex;
  gap: 3px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.pill-tabs button {
  border: 0;
  background: none;
  color: #9da5a1;
  min-width: 75px;
  padding: 14px 18px;
  position: relative;
  font-size: 12px;
}
.pill-tabs button.active {
  color: var(--cream);
  font-weight: 700;
}
.pill-tabs button.active:after {
  position: absolute;
  bottom: -1px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--lime);
  content: "";
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 17px 0 16px;
}
.filter-buttons {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.filter-buttons button {
  background: #1c2021;
  border: 1px solid #323838;
  border-radius: 5px;
  padding: 8px 11px;
  font-size: 11px;
  color: #a9b2ad;
}
.filter-buttons button.active {
  background: #2b3517;
  color: var(--lime);
  border-color: #748c3e;
}
.select {
  background: #202425;
  color: #c8cec9;
  border: 1px solid #33393a;
  border-radius: 5px;
  padding: 9px 11px;
  font-size: 11px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.page-titleline {
  margin-top: 15px;
  margin-bottom: 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.page-titleline h1 {
  font-size: 25px;
  letter-spacing: -0.04em;
  margin: 0 0 5px;
}
.page-titleline p {
  color: #929b96;
  font-size: 11px;
  margin: 0;
}
.empty-state {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #181c1d;
  border: 1px dashed #3a4441;
  border-radius: 9px;
  color: #9ea7a2;
  text-align: center;
  padding: 20px;
}
.empty-state svg {
  width: 27px;
  height: 27px;
  color: var(--lime);
  margin-bottom: 15px;
}
.empty-state strong {
  font-size: 16px;
  color: #eceee7;
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 12px;
  max-width: 350px;
  line-height: 1.7;
}
/* studio */
.studio-profile {
  border-radius: 7px 7px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-bottom: 0;
}
.studio-cover {
  height: 255px;
  background: #571d26;
}
.studio-cover img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
.studio-details {
  padding: 0 24px 19px;
  background: #191c1d;
  display: flex;
  gap: 17px;
}
.studio-avatar {
  height: 95px;
  width: 95px;
  object-fit: cover;
  background: #f54b4c;
  border: 4px solid #191c1d;
  border-radius: 10px;
  margin-top: -32px;
  position: relative;
  z-index: 2;
}
.studio-identity {
  padding-top: 15px;
  flex: 1;
}
.studio-identity h1 {
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -0.035em;
}
.studio-identity p {
  margin: 0 0 11px;
  color: #a5afa7;
  font-size: 11px;
}
.studio-stats {
  font-size: 10px;
  color: #757f79;
}
.studio-follow {
  align-self: center;
}
.follow-button {
  background: var(--lime);
  color: #142011;
  padding: 11px 25px;
  min-width: 105px;
  border: 0;
  border-radius: 7px;
  font-weight: 850;
  font-size: 11px;
}
.follow-button.following {
  background: #2b351b;
  color: var(--lime);
  border: 1px solid #6c8544;
}
.studio-games {
  padding-top: 17px;
}
.studio-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.studio-bio {
  font-size: 13px;
  line-height: 1.8;
  color: #bac2bd;
  max-width: 700px;
}
.community-panel {
  background: #1a1e1d;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.community-panel h3 {
  margin: 0 0 7px;
}
.community-panel p {
  margin: 0;
  color: #99a29d;
  font-size: 12px;
  line-height: 1.6;
}
/* game details */
.game-hero {
  height: 330px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  background: #222;
}
.game-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    #0d1111fa 0%,
    #0d1111a4 16%,
    transparent 70%
  );
}
.game-hero-copy {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 24px;
  right: 20px;
}
.game-hero-copy small {
  font-size: 10px;
  color: #caff80;
  font-weight: 750;
  letter-spacing: 0.14em;
}
.game-hero-copy h1 {
  font-weight: 850;
  font-size: 31px;
  letter-spacing: -0.04em;
  margin: 6px 0;
}
.game-hero-copy p {
  color: #cad0c7;
  font-size: 12px;
  margin: 0;
}
.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 24px;
  margin-top: 21px;
}
.content-box {
  background: #181c1c;
  border: 1px solid #2d3432;
  border-radius: 7px;
  padding: 21px;
  margin-bottom: 15px;
}
.content-box h2 {
  font-size: 17px;
  margin: 0 0 15px;
  font-weight: 750;
}
.content-box p {
  font-size: 12px;
  color: #adb6b0;
  line-height: 1.85;
  white-space: pre-wrap;
}
.game-tags {
  display: flex;
  gap: 7px;
  margin: 18px 0;
  flex-wrap: wrap;
}
.game-tags .chip {
  font-size: 10px;
  padding: 7px 10px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table td {
  padding: 12px 2px;
  border-bottom: 1px solid #303735;
  font-size: 11px;
}
.spec-table td:first-child {
  width: 37%;
  color: #8b968f;
}
.download-panel {
  border: 1px solid #38433a;
  background: #1c221f;
  border-radius: 7px;
  padding: 21px;
  position: sticky;
  top: calc(var(--top) + 20px);
}
.download-panel > small,
.fine-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #899c7b;
}
.download-panel h2 {
  font-size: 21px;
  margin: 10px 0 4px;
  line-height: 1.1;
}
.download-panel > p {
  font-size: 11px;
  color: #8e9e90;
}
.download-panel .primary-button {
  width: 100%;
  margin: 16px 0 10px;
}
.disabled-download {
  padding: 15px 11px;
  border: 1px dashed #64705b;
  border-radius: 5px;
  text-align: center;
  font-size: 11px;
  color: #bdc5b6;
  background: #2a322d;
  margin: 18px 0 9px;
}
.download-warning {
  margin: 10px 0;
  font-size: 10px;
  color: #949f96;
  line-height: 1.5;
}
.game-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 23px 0;
  border-block: 1px solid #384339;
  padding: 16px 0;
  text-align: center;
}
.game-stats b {
  display: block;
  font-size: 20px;
  color: var(--cream);
}
.game-stats small {
  display: block;
  color: #849489;
  font-size: 9px;
  margin-top: 6px;
}
.rate-title {
  margin: 0 0 7px;
  font-size: 14px;
}
.rate-desc {
  margin: 0;
  font-size: 11px;
  color: #8c9c90;
  line-height: 1.5;
}
.star-pick {
  display: flex;
  gap: 5px;
  margin: 13px 0;
}
.star-pick button {
  font-size: 26px;
  background: none;
  border: 0;
  color: #4b5751;
  padding: 0;
  line-height: 1.2;
}
.star-pick button.selected {
  color: var(--lime);
}
.rating-send {
  background: #313b29;
  border: 1px solid #65794c;
  color: #d4fca0;
  width: 100%;
  padding: 10px;
  font-weight: 750;
  border-radius: 5px;
  font-size: 11px;
}
.rating-send:hover {
  border-color: var(--lime);
}
.social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.social-links a {
  border: 1px solid #3b4741;
  background: #242a28;
  color: #c7e0bf;
  padding: 8px 11px;
  border-radius: 5px;
  font-size: 11px;
}
.dev-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #c9d9c0;
}
.dev-link img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 5px;
}
/* auth and modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 15px;
  backdrop-filter: blur(4px);
}
.modal-window {
  background: #1b1f20;
  border: 1px solid #3d4441;
  border-radius: 10px;
  width: min(420px, 100%);
  padding: 28px;
  box-shadow: 0 30px 100px #0008;
  position: relative;
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  border: 0;
  background: none;
  color: #aeb6af;
  padding: 6px;
}
.modal-logo {
  width: 119px;
  height: 38px;
  object-fit: cover;
  mix-blend-mode: screen;
  margin-bottom: 17px;
}
.modal-window h2 {
  font-size: 23px;
  margin: 0 0 8px;
  letter-spacing: -0.04em;
}
.modal-window p {
  font-size: 12px;
  line-height: 1.65;
  color: #9ca6a1;
  margin-bottom: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #aebbb2;
  font-size: 11px;
  font-weight: 650;
}
.field input,
.field textarea,
.field select {
  border: 1px solid #394140;
  background: #121616;
  color: var(--cream);
  border-radius: 5px;
  padding: 12px 13px;
  outline: 0;
  min-height: 43px;
  font-size: 12px;
  width: 100%;
}
.field textarea {
  line-height: 1.6;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #8fa94e;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #5c6863;
}
.field small {
  font-size: 10px;
  color: #76837b;
  font-weight: 400;
}
.modal-form {
  display: grid;
  gap: 14px;
}
.modal-form > .primary-button {
  margin-top: 6px;
}
.auth-switch {
  margin: 21px 0 0 !important;
  text-align: center;
}
.inline-button {
  color: var(--lime);
  background: none;
  border: 0;
  font-weight: 650;
  padding: 0;
}
.errorbox {
  color: #f6afb4;
  background: #3f2125;
  border: 1px solid #74353c;
  padding: 11px 13px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.5;
}
.toast {
  position: fixed;
  z-index: 80;
  bottom: 24px;
  right: 26px;
  max-width: min(420px, calc(100vw - 32px));
  border: 1px solid #768a54;
  background: #263420;
  color: #eaffca;
  border-radius: 7px;
  box-shadow: 0 14px 45px #000a;
  padding: 14px 17px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  gap: 9px;
  align-items: center;
}
.toast.is-error {
  background: #3a2023;
  color: #ffd5d5;
  border-color: #7d3f47;
}
/* forms */
.workspace-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 3px 0 23px;
}
.workspace-header h1 {
  font-size: 26px;
  letter-spacing: -0.045em;
  margin: 0 0 8px;
}
.workspace-header p {
  color: #9aa39e;
  font-size: 12px;
  margin: 0;
  line-height: 1.65;
}
.workspace-pill {
  font-size: 10px;
  font-weight: 850;
  color: #caff87;
  background: #2a351d;
  border: 1px solid #596c39;
  padding: 8px 11px;
  border-radius: 15px;
  white-space: nowrap;
}
.launch-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 260px;
  gap: 17px;
  align-items: start;
}
.wizard-nav {
  border: 1px solid #313a36;
  background: #181c1c;
  border-radius: 8px;
  position: sticky;
  top: 85px;
  padding: 12px;
}
.wizard-nav h3 {
  font-size: 11px;
  color: #849188;
  letter-spacing: 0.12em;
  margin: 8px 8px 12px;
}
.wizard-step {
  background: none;
  border: 0;
  width: 100%;
  padding: 12px 8px;
  text-align: left;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #a6afa8;
  font-weight: 600;
  font-size: 11px;
  border-radius: 5px;
}
.wizard-step.active,
.wizard-step:hover {
  background: #273024;
  color: #def6c3;
}
.wizard-step .step-num {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 6px;
  border: 1px solid #4c5a44;
  font-weight: 900;
  font-size: 10px;
  color: var(--lime);
}
.wizard-note {
  color: #69776e;
  font-size: 11px;
  line-height: 1.6;
  margin: 20px 8px 5px;
}
.launch-form {
  min-width: 0;
}
.form-panel {
  padding: 22px;
  border-radius: 8px;
  background: #191d1d;
  border: 1px solid #333d39;
  margin-bottom: 13px;
  scroll-margin-top: 86px;
}
.form-panel-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #2f3634;
  padding-bottom: 15px;
  margin-bottom: 18px;
}
.form-panel-header h2 {
  font-size: 15px;
  letter-spacing: -0.02em;
  margin: 0;
}
.form-panel-header span {
  font-size: 10px;
  color: #7c8c80;
}
.form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.span-2 {
  grid-column: 1/-1;
}
.form-fields .field textarea {
  min-height: 130px;
}
.upload-field {
  border: 1px dashed #536056;
  border-radius: 6px;
  background: #202625;
  padding: 16px;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.upload-field:hover {
  border-color: var(--lime);
}
.upload-field input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-field strong {
  color: #e5eadf;
  font-size: 11px;
  font-weight: 800;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.upload-field small {
  color: #839086;
  font-size: 10px;
}
.upload-field svg {
  color: var(--lime);
}
.upload-field img {
  height: 65px;
  max-width: 90%;
  object-fit: contain;
  border-radius: 3px;
}
.upload-graphics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}
.submit-strip {
  background: #1c231d;
  border: 1px solid #405236;
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.submit-strip p {
  color: #93a087;
  font-size: 10px;
  line-height: 1.65;
  margin: 0;
  max-width: 340px;
}
.submit-strip .primary-button {
  flex: none;
}
.preview-panel {
  border: 1px solid #313b37;
  background: #181d1c;
  border-radius: 8px;
  padding: 15px;
  position: sticky;
  top: 85px;
}
.preview-panel h3 {
  font-size: 11px;
  margin: 0 0 14px;
  font-weight: 800;
}
.preview-cover {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 5px;
  background: linear-gradient(135deg, #29332c, #24262b);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #647d6b;
}
.preview-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-copy {
  padding: 13px 0;
}
.preview-copy h4 {
  font-size: 15px;
  margin: 0 0 6px;
}
.preview-copy p {
  font-size: 11px;
  color: #849288;
}
.preview-foot {
  border-top: 1px solid #303b34;
  margin-top: 9px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.preview-foot b {
  color: var(--lime);
}
.upload-progress {
  margin: 15px 0 0;
  display: none;
}
.upload-progress.track-on {
  display: block;
}
.progress-track {
  height: 7px;
  border-radius: 4px;
  background: #384534;
  overflow: hidden;
}
.progress-track div {
  height: 100%;
  width: 0;
  background: var(--lime);
  transition: width 0.16s;
}
.progress-text {
  font-size: 11px;
  margin-top: 9px;
  color: #b6c9aa;
}
.guideline-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #222a22;
  border: 1px solid #394d36;
  border-radius: 7px;
  color: #c0d4b9;
  font-size: 11px;
  line-height: 1.7;
  padding: 15px;
  margin: 14px 0;
}
/* dashboard/admin */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 25px;
}
.stat-card {
  padding: 20px 19px;
  background: #1a1f1f;
  border: 1px solid #313a36;
  border-radius: 7px;
}
.stat-card small {
  display: block;
  font-size: 10px;
  color: #909d92;
  margin-bottom: 12px;
  font-weight: 700;
}
.stat-card strong {
  display: block;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.05em;
}
.stat-card span {
  color: #849581;
  font-size: 10px;
}
.table-wrap {
  border: 1px solid #333c38;
  background: #191e1d;
  border-radius: 7px;
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.data-table th {
  text-align: left;
  font-size: 10px;
  color: #7d8d81;
  letter-spacing: 0.06em;
  background: #202625;
  padding: 13px 15px;
  font-weight: 850;
}
.data-table td {
  border-top: 1px solid #2d3531;
  padding: 13px 15px;
  color: #cbd5cb;
  font-size: 11px;
}
.table-game {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 160px;
}
.table-game img {
  height: 41px;
  width: 66px;
  object-fit: cover;
  border-radius: 4px;
}
.table-game strong {
  display: block;
  font-size: 12px;
  color: var(--cream);
}
.table-game small {
  color: #87978b;
  font-size: 10px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.05em;
  border-radius: 4px;
  padding: 6px 8px;
  background: #393d36;
  color: #cbd0c5;
  text-transform: uppercase;
}
.status.approved {
  background: #2b3b1d;
  color: #caff72;
}
.status.pending {
  background: #413a21;
  color: #ffda88;
}
.status.rejected {
  background: #45272b;
  color: #ff989f;
}
.status.showcase {
  background: #2e3333;
  color: #bbc5c1;
}
.status.archived {
  background: #323332;
  color: #868a86;
}
.table-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  min-width: 160px;
}
.tiny-btn {
  border: 1px solid #3d493f;
  border-radius: 4px;
  background: #242d28;
  color: #d8e4d6;
  padding: 7px 9px;
  font-size: 10px;
  font-weight: 750;
}
.tiny-btn:hover {
  border-color: var(--lime);
}
.tiny-btn.lime {
  background: #2e4123;
  color: var(--lime);
}
.tiny-btn.danger {
  color: #ff9aa4;
}
.admin-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #3d4840;
  margin: 25px 0 18px;
}
.admin-tabs button {
  padding: 12px 15px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #8e9b8f;
  font-weight: 750;
  font-size: 11px;
}
.admin-tabs button.active {
  border-color: var(--lime);
  color: #edf3e3;
}
.admin-game-tools {
  background: #141918;
  padding: 14px 15px 17px;
  border-top: 1px solid #333c36;
}
.override-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}
.override-grid .field input {
  padding: 9px 10px;
  min-height: 35px;
}
.override-grid > button {
  margin-bottom: 0;
}
.admin-preview-note {
  margin: 0 0 13px;
  color: #93a69c;
  font-size: 10px;
}
.rating-row {
  display: grid;
  grid-template-columns: minmax(150px, 2fr) 1fr 1fr 170px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #333b35;
}
.rating-row strong {
  font-size: 12px;
}
.rating-row time {
  font-size: 11px;
  color: #849182;
}
.rating-value {
  color: var(--lime);
  letter-spacing: 0.09em;
  font-size: 17px;
}
.admin-listing {
  border: 1px solid #323d35;
  border-radius: 7px;
  overflow: hidden;
  margin: 12px 0;
  background: #191e1d;
}
.admin-listing > .record-head {
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.admin-listing > .record-head .status {
  margin-left: auto;
}
.admin-listing > .record-head .tiny-btn {
  margin-left: 0;
}
.admin-listing .table-game {
  flex: 1;
}
.admin-listing .table-game img {
  height: 50px;
  width: 86px;
}
.edit-modal {
  width: min(670px, calc(100vw - 30px));
}
.edit-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 6px;
}
.edit-form .span-2 {
  grid-column: span 2;
}
.edit-form .primary-button {
  grid-column: 1/-1;
}
/* info pages */
.info-wrap {
  max-width: 920px;
  margin: 0 auto;
}
.info-hero {
  background: #1a211e;
  border: 1px solid #3b4a3d;
  min-height: 230px;
  border-radius: 8px;
  padding: 35px 38px;
  position: relative;
  overflow: hidden;
}
.info-hero h1 {
  font-size: 31px;
  letter-spacing: -0.05em;
  max-width: 600px;
  margin: 12px 0;
}
.info-hero p {
  max-width: 620px;
  color: #aab9ab;
  font-size: 12px;
  line-height: 1.8;
}
.info-hero img {
  position: absolute;
  right: -115px;
  top: -95px;
  height: 340px;
  opacity: 0.35;
  mix-blend-mode: screen;
}
.info-hero > *:not(img) {
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
  color: var(--lime);
}
.info-stack {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}
.faq-item {
  background: #1b201e;
  border: 1px solid #313a34;
  border-radius: 6px;
  overflow: hidden;
}
.faq-item > button {
  padding: 18px 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  border: 0;
  background: transparent;
  color: #ebeee7;
  font-weight: 700;
  font-size: 12px;
  gap: 16px;
}
.faq-item > button svg {
  color: var(--lime);
}
.faq-item > p {
  padding: 0 20px 18px;
  color: #9eaca1;
  line-height: 1.8;
  font-size: 12px;
  margin: 0;
}
.three-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin: 20px 0;
}
.three-steps article {
  border: 1px solid #364038;
  background: #1b211e;
  border-radius: 7px;
  padding: 22px;
}
.three-steps b {
  font-size: 20px;
  color: var(--lime);
}
.three-steps h3 {
  font-size: 14px;
  margin: 19px 0 9px;
}
.three-steps p {
  color: #9ba99e;
  font-size: 11px;
  line-height: 1.7;
}
.mini-footer {
  border-top: 1px solid #2d3630;
  padding: 28px 0 4px;
  margin-top: 55px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  color: #65726b;
  font-size: 10px;
}
.mini-footer img {
  width: 91px;
  mix-blend-mode: screen;
}
.mini-footer a {
  color: #899c8c;
  padding-left: 16px;
}
.mini-footer a:hover {
  color: var(--lime);
}
@media (max-width: 1280px) {
  :root {
    --sidebar: 192px;
  }
  .shell-top {
    gap: 18px;
    padding-right: 17px;
  }
  .nav-top {
    gap: 16px;
  }
  .head-search {
    width: 215px;
  }
  .page-content {
    padding: 21px 20px 45px;
  }
  .launch-layout {
    grid-template-columns: 164px 1fr;
  }
  .preview-panel {
    display: none;
  }
  .gallery-browse {
    grid-template-columns: 1fr 205px;
  }
}
@media (max-width: 1050px) {
  .nav-top {
    gap: 10px;
  }
  .nav-top a {
    font-size: 11px;
  }
  .top-icons .icon-button:nth-child(1) {
    display: none;
  }
  .head-search {
    width: 175px;
  }
  .header-launch {
    font-size: 10px;
  }
  .featured-grid,
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .studio-mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-browse {
    grid-template-columns: 1fr 190px;
  }
  .home-hero {
    height: 290px;
  }
  .cover-link {
    aspect-ratio: 1.16;
  }
}
@media (max-width: 850px) {
  :root {
    --sidebar: 215px;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    padding: 7px;
    margin-left: -6px;
  }
  .shell-top {
    gap: 12px;
  }
  .brand-link {
    width: 130px;
  }
  .brand-img {
    width: 123px;
  }
  .nav-top {
    display: none;
  }
  .sidebar {
    visibility: hidden;
    transform: translateX(-110%);
    transition: transform 0.2s;
    top: var(--top);
  }
  .sidebar.open {
    visibility: visible;
    transform: translateX(0);
  }
  .mobile-mask.open {
    display: block;
    position: fixed;
    z-index: 24;
    inset: var(--top) 0 0;
    background: #0009;
  }
  .site-main {
    margin-left: 0;
  }
  .head-search {
    width: min(260px, 30vw);
  }
  .page-content {
    padding: 17px 19px;
  }
  .featured-grid,
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .launch-layout {
    grid-template-columns: 165px 1fr;
  }
  .studio-cover {
    height: 225px;
  }
}
@media (max-width: 660px) {
  :root {
    --top: 61px;
  }
  .shell-top {
    padding: 0 11px;
    gap: 7px;
  }
  .brand-link {
    width: 106px;
  }
  .brand-img {
    width: 100px;
    height: 29px;
  }
  .brand-reg {
    display: none;
  }
  .head-search {
    flex: 1;
    max-width: none;
    width: auto;
  }
  .head-search kbd {
    display: none;
  }
  .head-search input {
    font-size: 10px;
  }
  .top-icons {
    gap: 1px;
  }
  .top-icons .icon-button {
    display: none;
  }
  .top-user {
    font-size: 0;
    gap: 0;
  }
  .top-avatar {
    width: 29px;
    height: 29px;
  }
  .header-launch {
    padding: 9px 10px;
    font-size: 0;
  }
  .header-launch svg {
    width: 17px;
    height: 17px;
  }
  .page-content {
    padding: 14px 12px;
  }
  .page-actions {
    display: none;
  }
  .home-hero {
    height: 240px;
  }
  .home-hero img {
    object-position: 48% center;
  }
  .hero-actions {
    bottom: 15px;
    left: 12px;
    right: 12px;
  }
  .hero-metadata {
    top: 10px;
    right: 10px;
    font-size: 8px;
  }
  .hero-platform {
    display: none;
  }
  .featured-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .game-card .cover-link {
    aspect-ratio: 1.1;
  }
  .card-details {
    padding: 10px;
    min-height: 96px;
  }
  .card-studio {
    margin: 5px 0 7px;
  }
  .section-head {
    margin: 22px 0 12px;
  }
  .gallery-browse {
    grid-template-columns: 1fr;
  }
  .promo-block {
    min-height: 155px;
  }
  .promo-block img {
    right: -20px;
    bottom: -80px;
  }
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .studio-strip {
    grid-template-columns: 1fr;
  }
  .studio-strip-art {
    height: 165px;
  }
  .studio-strip-info {
    padding: 15px;
  }
  .studio-cover {
    height: 165px;
  }
  .studio-details {
    padding: 0 12px 15px;
    gap: 11px;
    flex-wrap: wrap;
  }
  .studio-avatar {
    width: 67px;
    height: 67px;
    margin-top: -23px;
  }
  .studio-identity {
    padding-top: 11px;
    min-width: 160px;
  }
  .studio-identity h1 {
    font-size: 17px;
  }
  .studio-follow {
    margin-left: 78px;
    margin-top: -4px;
  }
  .studio-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .game-hero {
    height: 235px;
  }
  .game-hero-copy {
    left: 15px;
    bottom: 14px;
  }
  .game-hero-copy h1 {
    font-size: 24px;
  }
  .game-layout {
    grid-template-columns: 1fr;
  }
  .download-panel {
    position: static;
  }
  .launch-layout {
    grid-template-columns: 1fr;
  }
  .wizard-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .wizard-nav h3,
  .wizard-note {
    display: none;
  }
  .wizard-step {
    width: auto;
    flex: 1;
    white-space: nowrap;
    justify-content: center;
    font-size: 10px;
    padding: 8px 4px;
  }
  .wizard-step .step-num {
    width: 18px;
    height: 18px;
  }
  .form-fields {
    grid-template-columns: 1fr;
  }
  .form-panel {
    padding: 16px;
  }
  .upload-graphics {
    grid-template-columns: 1fr;
  }
  .upload-field {
    min-height: 110px;
  }
  .submit-strip {
    flex-direction: column;
    align-items: stretch;
  }
  .page-titleline h1 {
    font-size: 22px;
  }
  .stat-strip {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-card strong {
    font-size: 25px;
  }
  .rating-row {
    grid-template-columns: 1fr 80px;
    gap: 8px;
  }
  .rating-row .rating-value {
    grid-column: 2;
  }
  .rating-row time {
    grid-column: 1;
  }
  .rating-row .table-actions {
    grid-column: 2;
    grid-row: 2;
  }
  .record-head {
    flex-wrap: wrap;
  }
  .record-head .table-actions {
    width: 100%;
  }
  .override-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .override-grid > button {
    align-self: end;
  }
  .three-steps {
    grid-template-columns: 1fr;
  }
  .info-hero {
    padding: 24px 19px;
  }
  .info-hero h1 {
    font-size: 23px;
  }
  .mini-footer {
    flex-wrap: wrap;
  }
  .edit-form {
    grid-template-columns: 1fr;
  }
  .edit-form .span-2 {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile hero variant: keep the cat art, set readable real HTML text instead of cropping the reference lettering. */
.hero-mobile-title {
  display: none;
}
@media (max-width: 660px) {
  .home-hero img {
    object-position: 100% center;
    filter: brightness(0.7) contrast(1.1);
  }
  .home-hero:after {
    background:
      linear-gradient(90deg, #111716e8, transparent 95%),
      linear-gradient(0deg, #1018189c, transparent 80%);
  }
  .hero-mobile-title {
    position: absolute;
    display: block;
    left: 16px;
    top: 74px;
    z-index: 2;
    font:
      900 32px/0.95 Impact,
      "Arial Black",
      sans-serif;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    max-width: 205px;
    text-shadow: 0 3px 8px #1119;
  }
  .hero-mobile-title small {
    display: block;
    font:
      650 10px/1.5 Inter,
      "Segoe UI",
      sans-serif;
    letter-spacing: 0;
    color: #d5dcd2;
    margin-top: 9px;
    text-transform: none;
    max-width: 200px;
  }
}

/* Ratsoda 2 — editorial storefront. Keep the chrome quiet; let games carry color. */
:root {
  --bg: #111211;
  --panel: #1a1c1b;
  --border: #2c2e2b;
  --text: #f4f1e8;
  --muted: #a3a69e;
  --lime: #c6ff00;
  --red: #ff3b4e;
  --sidebar: 208px;
  --top: 72px;
}
body {
  font-size: 14px;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  background: var(--lime);
  color: #111;
  padding: 14px;
  font-weight: 800;
}
.skip-link:focus {
  top: 12px;
}
.has-modal {
  overflow: hidden;
}
.shell-top {
  background: #101110;
  padding: 0 24px;
  gap: 24px;
}
.brand-link {
  width: calc(var(--sidebar) - 24px);
}
.brand-img {
  width: 142px;
  height: 37px;
  object-fit: contain;
}
.brand-reg {
  display: none;
}
.nav-top a {
  font-size: 13px;
  letter-spacing: -0.01em;
}
.head-search {
  height: 39px;
  width: min(320px, 26vw);
  border-radius: 5px;
  background: #1d1f1c;
  border-color: #31342e;
}
.head-search input {
  font-size: 12px;
}
.header-launch {
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 12px;
  background: var(--lime);
  color: #15180b;
  border-color: var(--lime);
}
.top-user {
  min-height: 44px;
}
.sidebar {
  background: #131412;
  padding: 22px 12px 18px;
  gap: 14px;
  border-color: #2b2e27;
}
.sidebar-label {
  font:
    10px/1.5 "Courier New",
    monospace;
  letter-spacing: 0.14em;
  color: #92978a;
  padding-bottom: 14px;
}
.side-link {
  height: 41px;
  border-radius: 4px;
  font-size: 12px;
  color: #b2b6aa;
}
.side-link.active {
  background: #272c20;
  color: var(--lime);
}
.side-link.active svg {
  stroke: var(--lime);
}
.sidebar-sticker {
  background: #1c2017;
  border: 1px solid #3a422a;
  transform: rotate(-2deg);
  border-radius: 3px;
  padding: 16px 12px;
}
.sidebar-sticker > div {
  font:
    900 19px/1.05 Arial,
    sans-serif;
  letter-spacing: -0.04em;
}
.side-footer {
  color: #8b927e;
  font:
    9px/1.5 "Courier New",
    monospace;
  letter-spacing: 0.05em;
}
.page-content {
  padding: 25px 30px 40px;
  max-width: 1530px;
}
.page-header {
  margin-bottom: 27px;
}
.page-breadcrumb {
  font-size: 11px;
  color: #979c90;
}
.page-actions {
  font:
    9px "Courier New",
    monospace;
  letter-spacing: 0.09em;
  color: #919886;
}
.edition-label {
  font:
    10px/1.6 "Courier New",
    monospace;
  letter-spacing: 0.13em;
  color: #a8ae9b;
  display: block;
}
.store-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 23px;
  gap: 20px;
}
.store-intro h1 {
  font-size: clamp(28px, 3.05vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  font-weight: 850;
  margin: 8px 0 0;
}
.store-intro em {
  font-style: normal;
  color: var(--lime);
  position: relative;
  white-space: nowrap;
}
.store-intro em:after {
  content: "";
  height: 2px;
  background: var(--lime);
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  transform: rotate(-2deg);
}
.store-intro > p {
  color: #a8ad9f;
  font-size: 12px;
  line-height: 1.7;
  flex: none;
  margin: 0 0 1px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 15px;
}
.home-hero {
  height: 398px;
  border: 1px solid #3f473b;
  border-radius: 5px;
  isolation: isolate;
  background: #12201d;
}
.home-hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 65% 54%;
  filter: none;
}
.home-hero:after {
  background:
    linear-gradient(90deg, #080e0de8 0%, #080e0d80 43%, transparent 78%),
    linear-gradient(0deg, #080e0dbb, transparent 60%);
  z-index: 0;
}
.hero-topline {
  position: absolute;
  inset: 20px 22px auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  z-index: 1;
}
.editor-label {
  font:
    700 9px/1.2 "Courier New",
    monospace;
  letter-spacing: 0.1em;
  background: var(--lime);
  color: #15200c;
  padding: 7px 9px;
  border-radius: 2px;
}
.hero-index {
  color: #d6dac8;
  font:
    10px/1.2 "Courier New",
    monospace;
  text-shadow: 0 1px 8px #000;
}
.hero-copy {
  position: absolute;
  left: 28px;
  right: 24px;
  bottom: 27px;
  z-index: 1;
  max-width: 440px;
}
.hero-copy > span {
  font:
    10px/1.2 "Courier New",
    monospace;
  letter-spacing: 0.14em;
  color: #d5dbc8;
  text-transform: uppercase;
}
.hero-copy h2 {
  font-size: clamp(40px, 4vw, 62px);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.06em;
  max-width: 400px;
  margin: 14px 0 14px;
  font-weight: 950;
  text-shadow: 0 2px 20px #08100f;
}
.hero-copy > p {
  font-size: 13px;
  line-height: 1.65;
  color: #d3d8cc;
  max-width: 300px;
  margin: 0 0 21px;
}
.primary-button {
  border-radius: 3px;
  font-size: 12px;
  min-height: 44px;
  letter-spacing: 0.01em;
  color: #182006;
  padding: 13px 17px;
  gap: 15px;
}
.hero-copy > small {
  display: block;
  font-size: 10px;
  color: #c2cbbb;
  margin-top: 11px;
  line-height: 1.5;
}
.creator-feature {
  position: relative;
  overflow: hidden;
  background: #090b09;
  border: 1px solid #3e4536;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  min-width: 0;
}
.creator-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 18px;
  font:
    9px "Courier New",
    monospace;
  letter-spacing: 0.1em;
  color: var(--lime);
}
.creator-feature > img {
  position: absolute;
  top: 28px;
  right: -5px;
  width: 238px;
  height: 238px;
  object-fit: contain;
  transform: rotate(8deg);
  z-index: -1;
}
.creator-bottom {
  margin-top: auto;
  padding: 17px 19px 20px;
  background: linear-gradient(0deg, #0a0c0a 80%, transparent);
  z-index: 1;
}
.creator-bottom h2 {
  font-size: 24px;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -0.045em;
  margin: 0 0 11px;
}
.creator-bottom em {
  font-style: normal;
  color: var(--lime);
}
.creator-bottom p {
  font-size: 11px;
  line-height: 1.6;
  color: #b3b8aa;
  margin: 0 0 18px;
}
.creator-bottom a {
  border-top: 1px solid #3a4132;
  padding-top: 13px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: 0.025em;
}
.store-ticker {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid #34382d;
  font:
    9px/1.3 "Courier New",
    monospace;
  letter-spacing: 0.055em;
  color: #b3bba6;
}
.store-ticker span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.store-ticker svg {
  color: var(--lime);
  width: 14px;
  height: 14px;
}
.store-ticker b {
  font-weight: 400;
  color: #909e7b;
}
.section-head {
  margin: 32px 0 16px;
  align-items: flex-end;
}
.section-head .edition-label {
  font-size: 9px;
  margin-bottom: 6px;
  color: #8f9d7e;
}
.section-head h2 {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.shelf-number {
  font:
    11px "Courier New",
    monospace;
  vertical-align: top;
  color: #9ca98c;
  margin-left: 7px;
}
.text-link {
  font-size: 11px;
  color: #c1c8b3;
  min-height: 32px;
}
.featured-grid,
.catalog-grid {
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.game-card {
  border-radius: 4px;
  background: #1c1e1a;
  border-color: #33372d;
}
.game-card:hover {
  border-color: #a3bf66;
  transform: translateY(-3px);
}
.cover-link,
.game-card .cover-link {
  aspect-ratio: 1.62;
}
.cover-link img {
  object-fit: cover;
}
.card-open {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  background: #111c;
  border: 1px solid #c6ff0077;
  color: var(--lime);
  width: 30px;
  height: 30px;
  opacity: 0;
  transition: opacity 0.2s;
}
.game-card:hover .card-open,
.game-card:focus-within .card-open {
  opacity: 1;
}
.card-details {
  padding: 13px 13px 12px;
  min-height: 112px;
}
.card-studio {
  font-size: 10px;
  color: #a5ad99;
  margin: 0 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-title {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: -0.02em;
  display: block;
  white-space: normal;
}
.card-row {
  margin-top: 17px;
  gap: 6px;
  flex-wrap: wrap;
}
.chip {
  background: #2b3024;
  border-color: #414831;
  color: #c3cdb3;
  font-size: 9px;
  border-radius: 2px;
  padding: 4px 6px;
  line-height: 1.2;
}
.card-stat {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #d9e1ca;
}
.card-downloads {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  margin-left: 5px;
  color: #a3ae94;
}
.concept-stat {
  font:
    8px "Courier New",
    monospace;
  color: #a4ae96;
  letter-spacing: 0.02em;
}
.showcase-ribbon {
  top: 9px;
  left: 9px;
  font:
    8px "Courier New",
    monospace;
  color: #f4f1e8;
  background: #111d;
  padding: 5px 7px;
  border-radius: 2px;
  border: 1px solid #bdc6ac88;
}
.free-ribbon {
  top: 9px;
  left: 9px;
  font:
    700 8px "Courier New",
    monospace;
  background: var(--lime);
  color: #172005;
  border-radius: 2px;
  padding: 5px 7px;
}
.concept-note {
  font-size: 11px;
  color: #aab59a;
  margin: -3px 0 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
}
.concept-note > span {
  width: 5px;
  height: 5px;
  flex: none;
  background: #d5a45c;
  border-radius: 50%;
}
.gallery-browse {
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 14px;
}
.mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.editorial-sticker {
  background: var(--lime);
  color: #20280d;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 21px 18px;
  transform: rotate(1deg);
  border-radius: 2px;
  min-height: 230px;
}
.editorial-sticker > span {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}
.editorial-sticker > div {
  align-self: flex-end;
  border: 2px solid #26300d;
  padding: 10px;
  border-radius: 50%;
  transform: rotate(-12deg);
}
.editorial-sticker > b {
  font:
    700 10px "Courier New",
    monospace;
}
.bottom-publish {
  position: relative;
  overflow: hidden;
  margin-top: 42px;
  padding: 32px;
  background: #1b2016;
  border: 1px solid #4d5839;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-radius: 4px;
}
.bottom-publish h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 12px 0 0;
}
.bottom-publish em {
  font-style: normal;
  color: var(--lime);
}
.bottom-publish > div {
  position: relative;
  z-index: 1;
}
.bottom-publish p {
  font-size: 12px;
  color: #bec9ac;
  line-height: 1.7;
}
.publish-star {
  position: absolute;
  font-size: 240px;
  line-height: 1;
  color: #313d20;
  left: 43%;
  top: 5px;
  transform: rotate(15deg);
}
.mini-footer {
  margin-top: 38px;
  color: #939e86;
  border-color: #343b2b;
  font:
    9px/1.8 "Courier New",
    monospace;
}
.mini-footer img {
  width: 112px;
  height: 35px;
  object-fit: contain;
  margin-bottom: 8px;
}
.mini-footer a {
  font:
    11px Arial,
    sans-serif;
  color: #aebba0;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.page-titleline {
  margin-bottom: 24px;
  align-items: flex-end;
  gap: 15px;
}
.page-titleline h1 {
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 10px 0;
}
.page-titleline p {
  font-size: 12px;
  color: #abb3a1;
  line-height: 1.7;
}
.catalog-count {
  color: var(--lime);
  font:
    11px "Courier New",
    monospace;
  white-space: nowrap;
  margin-bottom: 8px;
}
.catalog-kinds {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #3b4431;
  margin: 0 0 20px;
}
.catalog-kinds button {
  background: none;
  color: #bac4ac;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 0;
  font-size: 12px;
  white-space: nowrap;
}
.catalog-kinds button.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}
.toolbar {
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.filter-buttons {
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.filter-buttons button {
  font-size: 11px;
  border-radius: 3px;
  min-height: 35px;
  padding: 7px 10px;
}
.select {
  flex: none;
  max-width: 170px;
  background: #1d2318;
  min-height: 38px;
  border-color: #444f36;
  font-size: 11px;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
  font-size: 12px;
  color: #bdcaae;
}
.pagination .tiny-btn {
  min-height: 40px;
  font-size: 12px;
  padding: 10px 15px;
}
.game-hero picture,
.game-hero picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-hero {
  border-radius: 4px;
}
.game-hero-copy {
  max-width: 70%;
}
.game-hero-copy h1 {
  font-size: 38px;
}
.game-layout {
  gap: 20px;
}
.content-box p {
  font-size: 14px;
  color: #bcc5b1;
  line-height: 1.8;
}
.spec-table td {
  font-size: 12px;
  color: #dce3cf;
}
.spec-table td:first-child {
  color: #a2af92;
}
.download-panel {
  border-radius: 4px;
}
.download-panel > .primary-button {
  font-size: 11px;
  gap: 8px;
}
.rating-receipt {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  line-height: 1.5;
  padding: 13px 0;
  color: var(--lime);
}
.star-pick button {
  min-width: 36px;
  min-height: 42px;
}
.rating-send {
  min-height: 40px;
}
.workspace-header h1 {
  font-size: 32px;
}
.workspace-header p {
  font-size: 13px;
  color: #aeb9a2;
}
.form-panel {
  border-color: #36412e;
  background: #1b2018;
  border-radius: 4px;
}
.form-panel-header h2 {
  font-size: 16px;
}
.field {
  font-size: 12px;
  color: #c4d1b6;
}
.field input,
.field textarea,
.field select {
  font-size: 13px;
  background: #12170f;
  border-color: #465139;
  border-radius: 3px;
  color: #eef2e4;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #8f9c81;
}
.field small {
  color: #a3b191;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--lime);
}
.form-fields {
  gap: 18px;
}
.upload-field {
  border-radius: 3px;
  border-color: #697b52;
  background: #1c2616;
  min-height: 150px;
}
.upload-field:focus-within {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.upload-field small {
  color: #b1c09f;
  line-height: 1.5;
}
.upload-field input:focus-visible {
  outline: 0;
}
.upload-field img {
  height: 70px;
}
.draft-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0 17px;
  font-size: 11px;
  line-height: 1.6;
  color: #b3c39d;
}
.draft-notice button {
  border: 0;
  background: none;
  color: var(--lime);
  margin-left: auto;
  font-size: 10px;
  white-space: nowrap;
}
#publish-error {
  margin-bottom: 13px;
  scroll-margin-top: 100px;
}
.wizard-step {
  font-size: 12px;
  min-height: 44px;
}
.wizard-nav {
  border-radius: 4px;
  border-color: #394b2d;
  top: 95px;
}
.preview-panel {
  top: 95px;
  border-radius: 4px;
}
.modal-window {
  border-radius: 5px;
  border-color: #576646;
  padding: 30px;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: #1a2116;
}
.modal-window p {
  color: #b6c2a7;
  font-size: 13px;
}
.modal-close {
  min-height: 36px;
  min-width: 36px;
}
.edit-form {
  max-height: 65dvh;
}
.modal-logo {
  object-fit: contain;
}
.modal-form {
  gap: 17px;
}
.errorbox {
  font-size: 12px;
}
.admin-game-tools {
  border-color: #46573a;
}
.admin-listing .record-head {
  gap: 12px;
  flex-wrap: wrap;
}
.admin-listing .record-head small {
  line-height: 1.6;
}
.admin-listing .table-game {
  min-width: 220px;
}
.tiny-btn {
  min-height: 34px;
  font-size: 10px;
  padding: 8px 10px;
}
.admin-tabs button {
  min-height: 44px;
  font-size: 12px;
}
.data-table td {
  font-size: 12px;
}
.moderation-note {
  font-size: 11px;
  line-height: 1.6;
  color: #e5c590;
  white-space: normal;
  max-width: 250px;
  margin: 8px 0 0;
}
.loading-shelf {
  padding: 20px 0;
  min-height: 60vh;
}
.loading-shelf > div {
  height: 75px;
  margin: 16px 0;
  background: linear-gradient(90deg, #1c2417, #27341d, #1c2417);
  background-size: 200% 100%;
  animation: shelf-load 1.5s ease-in-out infinite;
  border-radius: 4px;
}
@keyframes shelf-load {
  to {
    background-position: -200% 0;
  }
}
.empty-state {
  grid-column: 1/-1;
  min-height: 260px;
}
.empty-state strong {
  font-size: 20px;
  line-height: 1.4;
}
.empty-state p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 480px;
  color: #b7c2a6;
}
.empty-state .text-link {
  margin-top: 15px;
}
.info-hero p,
.faq-item > p {
  font-size: 13px;
  color: #bec9b1;
}
.info-hero img {
  opacity: 0.2;
}
.faq-item > button {
  min-height: 62px;
  font-size: 13px;
}
@media (min-width: 1600px) {
  .home-hero {
    height: 440px;
  }
  .hero-copy h2 {
    font-size: 70px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 285px;
  }
  .creator-feature > img {
    width: 275px;
    height: 275px;
  }
}
@media (max-width: 1280px) {
  :root {
    --sidebar: 188px;
  }
  .shell-top {
    gap: 18px;
    padding-inline: 18px;
  }
  .nav-top {
    gap: 18px;
  }
  .page-content {
    padding: 24px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .creator-feature > img {
    right: -15px;
    width: 230px;
    height: 230px;
  }
  .home-hero {
    height: 380px;
  }
  .hero-copy {
    left: 24px;
  }
  .hero-copy h2 {
    font-size: 50px;
  }
  .creator-bottom h2 {
    font-size: 23px;
  }
  .store-intro > p {
    font-size: 11px;
  }
  .store-intro h1 {
    font-size: 37px;
  }
  .gallery-browse {
    grid-template-columns: 1fr 210px;
  }
  .editorial-sticker > span {
    font-size: 21px;
  }
  .nav-top a {
    font-size: 12px;
  }
  .head-search {
    width: 210px;
  }
  .store-ticker b {
    display: none;
  }
}
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr 215px;
  }
  .creator-bottom {
    padding: 17px;
  }
  .creator-bottom h2 {
    font-size: 21px;
  }
  .hero-copy h2 {
    font-size: 47px;
  }
  .store-intro {
    align-items: start;
  }
  .store-intro > p {
    display: none;
  }
  .gallery-browse {
    grid-template-columns: 1fr;
  }
  .editorial-sticker {
    display: none;
  }
  .head-search {
    width: 180px;
  }
  .nav-top {
    gap: 12px;
  }
  .shell-top {
    gap: 13px;
  }
  .featured-grid,
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .card-details {
    padding: 12px 10px;
  }
  .section-head h2 {
    font-size: 21px;
  }
}
@media (max-width: 850px) {
  :root {
    --sidebar: 215px;
  }
  .nav-top {
    display: none;
  }
  .shell-top {
    padding-inline: 14px;
    gap: 14px;
  }
  .brand-link {
    width: 130px;
  }
  .brand-img {
    width: 128px;
  }
  .head-search {
    width: min(300px, 40vw);
  }
  .menu-toggle {
    display: grid;
    min-height: 42px;
    min-width: 32px;
    align-items: center;
  }
  .sidebar {
    z-index: 45;
  }
  .mobile-mask.open {
    z-index: 44;
  }
  .page-content {
    padding: 23px;
  }
  .store-intro h1 {
    font-size: 39px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 225px;
  }
  .home-hero {
    height: 375px;
  }
  .featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .card-title {
    font-size: 13px;
  }
  .section-head h2 {
    font-size: 21px;
  }
  .hero-copy h2 {
    font-size: 48px;
  }
  .studio-mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 660px) {
  :root {
    --top: 64px;
  }
  .shell-top {
    padding-inline: 10px;
    gap: 8px;
  }
  .brand-link {
    width: 107px;
  }
  .brand-img {
    width: 106px;
    height: 32px;
  }
  .head-search {
    margin-left: auto;
    width: auto;
    flex: 1;
    min-width: 70px;
    padding: 0 8px;
    height: 35px;
  }
  .head-search input {
    font-size: 11px;
  }
  .head-search input::placeholder {
    color: #a0aa94;
  }
  .head-search kbd {
    display: none;
  }
  .header-launch {
    padding: 9px;
    min-height: 36px;
    gap: 0;
  }
  .header-launch span {
    display: none;
  }
  .top-user {
    padding: 0;
    min-width: 30px;
  }
  .top-avatar {
    width: 28px;
    height: 28px;
  }
  .top-icons {
    display: none;
  }
  .page-content {
    padding: 19px 14px 28px;
  }
  .page-header {
    margin-bottom: 22px;
  }
  .page-breadcrumb {
    font-size: 10px;
  }
  .store-intro {
    margin-bottom: 22px;
  }
  .store-intro h1 {
    font-size: 32px;
    max-width: 340px;
    line-height: 1.1;
  }
  .store-intro h1 em {
    display: inline-block;
  }
  .edition-label {
    font-size: 8px;
    letter-spacing: 0.11em;
  }
  .hero-grid {
    display: block;
  }
  .home-hero {
    height: 392px;
    border-radius: 3px;
  }
  .home-hero > img {
    object-position: 66% center;
    filter: none;
  }
  .home-hero:after {
    background:
      linear-gradient(90deg, #080e0dba, transparent),
      linear-gradient(0deg, #080e0df0, transparent 85%);
  }
  .hero-topline {
    inset: 15px 15px auto;
  }
  .editor-label {
    font-size: 8px;
  }
  .hero-copy {
    left: 20px;
    bottom: 21px;
    right: 20px;
    max-width: 320px;
  }
  .hero-copy h2 {
    font-size: 51px;
    max-width: 260px;
    margin: 13px 0;
  }
  .hero-copy > p {
    font-size: 12px;
    max-width: 245px;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .hero-copy > small {
    font-size: 9px;
    max-width: 260px;
  }
  .hero-copy > span {
    font-size: 9px;
  }
  .creator-feature {
    display: none;
  }
  .store-ticker {
    gap: 10px;
    padding: 13px 0;
    font-size: 8px;
    letter-spacing: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .store-ticker span {
    gap: 5px;
  }
  .store-ticker span:last-of-type {
    display: none;
  }
  .store-ticker svg {
    height: 12px;
    width: 12px;
  }
  .section-head {
    margin: 27px 0 14px;
    align-items: center;
    gap: 10px;
  }
  .section-head h2 {
    font-size: 21px;
    max-width: 225px;
  }
  .section-head .text-link {
    font-size: 10px;
    white-space: nowrap;
    gap: 3px;
  }
  .section-head .text-link svg {
    width: 12px;
  }
  .section-head .edition-label {
    font-size: 8px;
  }
  .shelf-number {
    display: none;
  }
  .concept-note {
    font-size: 10px;
    line-height: 1.6;
    align-items: baseline;
  }
  .concept-note > span {
    flex: none;
  }
  .featured-grid,
  .catalog-grid,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .card-title {
    font-size: 14px;
  }
  .card-details {
    padding: 12px 10px;
    min-height: 112px;
  }
  .cover-link,
  .game-card .cover-link {
    aspect-ratio: 1.18;
  }
  .card-studio {
    font-size: 9px;
  }
  .card-row {
    margin-top: 13px;
    gap: 4px;
  }
  .chip {
    font-size: 8px;
    padding: 4px;
  }
  .concept-stat {
    font-size: 7px;
  }
  .card-stat {
    font-size: 9px;
  }
  .card-downloads {
    font-size: 9px;
    margin-left: 3px;
  }
  .showcase-ribbon,
  .free-ribbon {
    top: 7px;
    left: 7px;
    font-size: 7px;
    padding: 4px 5px;
  }
  .bottom-publish {
    padding: 23px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
  }
  .bottom-publish h2 {
    font-size: 31px;
  }
  .bottom-publish p {
    font-size: 12px;
  }
  .publish-star {
    left: auto;
    right: -20px;
    top: 10px;
    font-size: 210px;
  }
  .mini-footer {
    gap: 12px;
    margin-top: 30px;
    padding-top: 23px;
  }
  .mini-footer img {
    width: 104px;
  }
  .mini-footer a {
    padding-left: 0;
    padding-right: 18px;
  }
  .page-titleline {
    align-items: flex-start;
  }
  .page-titleline h1 {
    font-size: 28px;
  }
  .catalog-count {
    font-size: 10px;
    padding-top: 13px;
  }
  .catalog-kinds {
    gap: 17px;
  }
  .catalog-kinds button {
    font-size: 11px;
    min-height: 44px;
  }
  .toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .filter-buttons {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 3px 2px 9px;
    max-width: 100%;
  }
  .filter-buttons button {
    flex: none;
    white-space: nowrap;
    min-height: 35px;
  }
  .select {
    max-width: none;
    width: 100%;
    min-height: 40px;
  }
  .game-hero {
    height: 340px;
  }
  .game-hero-copy {
    max-width: 90%;
    bottom: 20px;
  }
  .game-hero-copy h1 {
    font-size: 32px;
  }
  .game-layout {
    display: flex;
    flex-direction: column;
  }
  .game-right {
    order: -1;
  }
  .game-left {
    min-width: 0;
  }
  .content-box {
    padding: 18px;
  }
  .download-panel {
    position: static;
  }
  .download-panel h2 {
    font-size: 23px;
  }
  .download-panel > .primary-button {
    min-height: 48px;
    font-size: 12px;
  }
  .download-warning,
  .rate-desc {
    font-size: 12px;
  }
  .game-stats small {
    font-size: 10px;
  }
  .workspace-header h1 {
    font-size: 27px;
  }
  .workspace-header {
    align-items: flex-start;
  }
  .workspace-pill {
    font-size: 8px;
    padding: 8px;
  }
  .workspace-header p {
    font-size: 12px;
  }
  .draft-notice {
    font-size: 10px;
    align-items: flex-start;
  }
  .draft-notice svg {
    width: 14px;
  }
  .wizard-nav {
    gap: 2px;
    padding: 6px;
  }
  .wizard-step {
    font-size: 10px;
    gap: 5px;
  }
  .wizard-step .step-num {
    display: none;
  }
  .form-panel {
    padding: 17px;
  }
  .form-panel-header span {
    font-size: 8px;
  }
  .form-panel-header h2 {
    font-size: 15px;
  }
  .form-fields {
    gap: 17px;
  }
  .upload-field {
    min-height: 126px;
  }
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
  }
  .field {
    font-size: 12px;
  }
  .submit-strip {
    padding: 17px;
  }
  .submit-strip p {
    font-size: 11px;
  }
  .stat-strip {
    gap: 9px;
  }
  .stat-card strong {
    font-size: 27px;
  }
  .admin-tabs {
    overflow-x: auto;
    gap: 0;
  }
  .admin-tabs button {
    font-size: 11px;
    white-space: nowrap;
    padding: 11px;
  }
  .admin-listing .record-head {
    padding: 13px;
  }
  .admin-listing .record-head .table-actions {
    gap: 7px;
    min-width: 0;
  }
  .admin-listing .record-head .table-game {
    min-width: 160px;
  }
  .admin-listing .table-game img {
    width: 68px;
    height: 44px;
  }
  .table-actions .tiny-btn {
    min-height: 38px;
  }
  .override-grid {
    gap: 10px;
  }
  .modal-window {
    padding: 27px 22px;
  }
  .edit-form {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .edit-form .span-2 {
    grid-column: auto;
  }
  .pagination {
    gap: 12px;
    font-size: 11px;
  }
  .pagination .tiny-btn {
    font-size: 11px;
    padding: 9px 12px;
  }
  .studio-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .studio-identity h1 {
    font-size: 21px;
  }
  .info-hero h1 {
    font-size: 28px;
  }
}
@media (max-width: 370px) {
  .brand-link {
    width: 92px;
  }
  .brand-img {
    width: 90px;
  }
  .shell-top {
    gap: 6px;
  }
  .menu-toggle {
    min-width: 27px;
    padding: 4px;
  }
  .top-user {
    display: none;
  }
  .store-intro h1 {
    font-size: 30px;
  }
  .section-head h2 {
    font-size: 19px;
  }
  .section-head .text-link {
    font-size: 9px;
  }
  .card-row {
    gap: 7px;
  }
  .concept-stat {
    font-size: 7px;
  }
  .hero-copy h2 {
    font-size: 47px;
  }
  .catalog-kinds {
    gap: 13px;
  }
  .catalog-kinds button {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.top-user > span {
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1100px) {
  .nav-top {
    display: none;
  }
  .head-search {
    width: min(310px, 34vw);
  }
}
.hero-copy h2,
.game-hero-copy h1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.card-details {
  display: flex;
  flex-direction: column;
}
.card-row {
  margin-top: auto;
  padding-top: 15px;
}

/* v4: quieter navigation and a clean, uncropped wordmark. */
.brand-img, .mini-footer img, .modal-logo {
  object-fit: contain;
  mix-blend-mode: normal;
}
.brand-img { object-position: left center; }
.sidebar-section { display: grid; gap: 6px; }
.side-link { height: 44px; font-size: 13px; }
.sidebar-label { letter-spacing: .06em; font-size: 10px; padding-bottom: 8px; }
.sidebar-bottom { padding: 8px 2px 0; }
.sidebar-bottom .side-link { color: var(--muted); }
.store-intro { margin-top: 8px; margin-bottom: 28px; }
.store-intro h1 { margin-top: 0; }
.store-intro > p { font-size: 12px; }
.creator-feature > img { top: 15px; }
.creator-bottom h2 { font-size: 28px; margin-bottom: 8px; }
.creator-bottom p { font-size: 12px; margin-bottom: 20px; }
.mini-footer > div:last-child { display: flex; flex-wrap: wrap; gap: 14px 20px; justify-content: flex-end; }
.mini-footer a { padding: 0; }
@media (min-width: 851px) {
  :root { --sidebar: 192px; }
  .head-search { width: min(410px, 36vw); }
  .sidebar { padding-top: 28px; }
}
@media (max-width: 660px) {
  .store-intro { margin-top: 8px; margin-bottom: 26px; }
  .mini-footer > div:last-child { justify-content: flex-start; gap: 14px 18px; }
}
.brand-img { width: 144px; height: 48px; transform: translateY(-2px); }
.mini-footer img { height: 38px; }
@media (max-width: 850px) { .brand-img { width: 128px; height: 43px; } }
@media (max-width: 660px) { .brand-img { width: 106px; height: 36px; } }
@media (max-width: 370px) { .brand-img { width: 90px; height: 31px; } }

/* Gameplay media: existing Ratsoda palette and typography, uncropped media. */
.gameplay-gallery {
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--border2);
  border-radius: 4px;
  background: var(--panel);
  min-width: 0;
}
.gameplay-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.gameplay-heading h2 { font-size: 18px; line-height: 28px; margin: 0; font-weight: 700; }
.gameplay-counter { color: var(--muted); font-size: 12px; line-height: 16px; text-align: right; }
.gameplay-stage { aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 4px; }
.gameplay-stage > video,
.gameplay-stage > button,
.gameplay-stage > button > img { width: 100%; height: 100%; display: block; object-fit: contain; }
.gameplay-stage > button { position: relative; border: 0; padding: 0; background: #000; color: var(--text); }
.gameplay-stage > button:focus-visible { outline-offset: -4px; }
.gameplay-expand { display: flex; align-items: center; gap: 8px; position: absolute; right: 12px; bottom: 12px; background: #181818; padding: 8px 12px; border-radius: 4px; font-size: 12px; line-height: 16px; }
.gameplay-stage > button:hover .gameplay-expand { color: var(--lime); }
.gameplay-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px; margin: 12px -4px -4px; }
.gameplay-thumb { position: relative; flex: 0 0 96px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 4px; background: #000; overflow: hidden; color: var(--text); }
.gameplay-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gameplay-thumb.selected { border-color: var(--lime); }
.gameplay-thumb:hover { border-color: var(--muted); }
.gameplay-thumb.selected:hover { border-color: var(--lime); }
.gameplay-thumb:active { transform: translateY(1px); }
.gameplay-video-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: #181818; font-size: 12px; line-height: 16px; }
.gameplay-thumb img + .gameplay-video-label { inset: auto 0 0; padding: 4px; }
.gameplay-load-error,
.gameplay-upload-error,
.gameplay-lightbox-error { color: #ff9da7; font-size: 14px; line-height: 20px; margin: 12px 0 0; }
.gameplay-lightbox { z-index: 130; padding: 16px; background: #000; }
.gameplay-lightbox-window { width: 100%; max-width: none; height: calc(100dvh - 32px); max-height: none; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; padding: 0; border: 0; border-radius: 0; background: #000; box-shadow: none; overflow: hidden; }
.gameplay-lightbox-toolbar,
.gameplay-lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gameplay-lightbox-toolbar h2 { font-size: 18px; line-height: 28px; margin: 0; font-weight: 700; text-wrap: balance; }
.gameplay-lightbox-image { min-height: 0; position: relative; }
.gameplay-lightbox-image > img { width: 100%; height: 100%; display: block; object-fit: contain; }
.gameplay-lightbox-error { position: absolute; inset: 0; align-content: center; text-align: center; }
.gameplay-lightbox .tiny-btn { min-height: 40px; font-size: 14px; line-height: 20px; padding: 8px 12px; }
.gameplay-lightbox-count { color: var(--muted); font-size: 14px; line-height: 20px; }
.gameplay-upload-hint,
.gameplay-review-note { margin: 0 0 16px; font-size: 14px; line-height: 20px; color: var(--muted); text-wrap: pretty; }
.gameplay-review-note { color: var(--lime); padding: 12px; background: #272727; border: 1px solid var(--border2); border-radius: 4px; }
.gameplay-file-pickers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.gameplay-file-pickers .field { min-width: 0; gap: 8px; font-size: 14px; line-height: 20px; }
.gameplay-file-pickers .field > span { color: var(--muted); font-size: 12px; line-height: 16px; font-weight: 400; }
.gameplay-file-pickers input[type=file] { width: 100%; min-width: 0; font-size: 12px; line-height: 16px; padding: 8px; }
.gameplay-file-pickers input::file-selector-button { border: 1px solid var(--border2); border-radius: 4px; background: var(--panel2); color: var(--text); padding: 8px 12px; margin-right: 8px; cursor: pointer; }
.gameplay-selection,
.gameplay-existing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gameplay-selection:empty { display: none; }
.gameplay-selection-item,
.gameplay-existing-item { min-width: 0; border: 1px solid var(--border2); border-radius: 4px; padding: 8px; background: #181818; }
.gameplay-selection-item > img,
.gameplay-selection-item > video,
.gameplay-existing-item > img,
.gameplay-existing-item > video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 240px; object-fit: contain; background: #000; }
.gameplay-selection-item > div,
.gameplay-existing-item > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gameplay-selection-item strong { flex-basis: 100%; overflow-wrap: anywhere; font-size: 12px; line-height: 16px; font-weight: 600; }
.gameplay-selection-item span,
.gameplay-existing-item span { color: var(--muted); font-size: 12px; line-height: 16px; flex: 1; }
.gameplay-existing-item.marked-for-removal { border-style: dashed; }
.gameplay-existing-item.marked-for-removal > img,
.gameplay-existing-item.marked-for-removal > video { opacity: .4; }
.gameplay-existing .gameplay-upload-hint { grid-column: 1 / -1; }
.gameplay-editor { z-index: 125; }
.gameplay-editor-window { width: min(840px, calc(100vw - 32px)); padding: 24px; }
.gameplay-editor-window > h2 { margin: 0 40px 8px 0; font-size: 24px; line-height: 32px; font-weight: 700; }
.gameplay-editor-window > p { font-size: 14px; line-height: 20px; }
.gameplay-editor .gameplay-upload-fields { margin-top: 24px; }
.gameplay-save-row { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.gameplay-save-row .primary-button { padding: 8px 12px; font-size: 16px; line-height: 24px; font-weight: 600; }
.gameplay-editor .tiny-btn { font-size: 12px; line-height: 16px; min-height: 40px; padding: 8px 12px; }
.gameplay-save-progress { margin-top: 16px; }
.gameplay-save-progress progress { display: block; width: 100%; height: 8px; accent-color: var(--lime); }
.gameplay-save-progress p { color: var(--muted); font-size: 12px; line-height: 16px; margin: 8px 0 0; }
.gameplay-save-success { color: var(--lime); font-size: 14px; line-height: 20px; margin: 16px 0 0; }
.gameplay-edit-link { margin-bottom: 16px; }
@media (max-width: 660px) {
  .gameplay-gallery { padding: 12px; }
  .gameplay-heading { align-items: flex-start; gap: 12px; }
  .gameplay-expand { right: 8px; bottom: 8px; padding: 4px 8px; }
  .gameplay-thumb { flex-basis: 80px; height: 56px; }
  .gameplay-file-pickers { grid-template-columns: minmax(0, 1fr); }
  .gameplay-editor-window { padding: 16px; }
  .gameplay-selection,
  .gameplay-existing { gap: 8px; }
  .gameplay-editor .tiny-btn { padding: 8px; }
  .gameplay-lightbox { padding: 12px; }
  .gameplay-lightbox-window { height: calc(100dvh - 24px); gap: 12px; }
  .gameplay-lightbox-toolbar h2 { font-size: 16px; line-height: 24px; }
  .gameplay-lightbox-controls { gap: 8px; }
}
@media (max-width: 370px) {
  .gameplay-selection,
  .gameplay-existing { grid-template-columns: minmax(0, 1fr); }
}

/* Put actual gameplay before the download panel on narrow game pages. */
@media (max-width: 660px) {
  .game-layout.has-gameplay { gap: 24px; }
  .game-layout.has-gameplay .game-left { display: contents; }
  .game-layout.has-gameplay .gameplay-gallery { order: 0; margin-bottom: 0; }
  .game-layout.has-gameplay .game-right { order: 1; }
  .game-layout.has-gameplay .game-left > .content-box { order: 2; margin-bottom: 0; }
}

/* Game page review: a dedicated, media-first product page. */
@font-face {
  font-family: "Manrope";
  src: url("/static/assets/fonts/Manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
#app.game-detail-view {
  min-height: 100vh;
  background: #181818;
  color: #f5f5f0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  --top: 70px;
  --muted: #a4a4a0;
  --border: #313131;
  --border2: #3b3b38;
}
.game-detail-view .shell-top {
  height: 70px;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  gap: 24px;
  background: #181818;
  border-color: #313131;
}
.game-detail-view .brand-link { width: 144px; }
.game-detail-view .brand-img { width: 144px; height: 40px; transform: none; }
.game-detail-view .game-top-nav { display: flex; align-items: center; gap: 24px; }
.game-top-nav a { color: #bcbcb8; font-size: 14px; line-height: 20px; font-weight: 600; padding: 8px 0; }
.game-top-nav a:hover { color: #fff; }
.game-detail-view .head-search { width: min(320px, 27vw); background: #272727; border-color: #313131; border-radius: 4px; height: 40px; }
.game-detail-view .head-search input { font-size: 12px; line-height: 16px; }
.game-detail-view .header-launch { background: transparent; border: 1px solid #454542; border-radius: 4px; color: #deded8; font-size: 12px; line-height: 16px; min-height: 40px; padding: 8px 12px; box-shadow: none; }
.game-detail-view .header-launch:hover { background: #272727; color: #fff; }
.game-detail-view .top-user { gap: 8px; }
.game-detail-view .sidebar { display: none; }
.game-detail-view .site-main { margin-left: 0; background: #181818; min-width: 0; }
.game-detail-view .page-content { width: 100%; max-width: 1280px; padding: 24px 32px 0; margin: 0 auto; }
.game-detail-view .mini-footer { margin-top: 64px; padding: 32px 0; border-color: #313131; }
.game-detail-view .mini-footer a { font-size: 12px; line-height: 16px; }
.game-detail-view .mini-footer img { height: 32px; }
.game-back-link { display: inline-flex; align-items: center; gap: 8px; color: #a4a4a0; font-size: 12px; line-height: 16px; padding: 4px 0; }
.game-back-link:hover { color: #f5f5f0; }
.game-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 16px 0 24px; }
.game-heading h1 { margin: 0; font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -.045em; overflow-wrap: anywhere; text-wrap: balance; }
.game-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; color: #a4a4a0; font-size: 12px; line-height: 16px; }
.game-byline a { color: #e0e0dc; }
.game-byline a:hover { color: var(--lime); }
.game-heading-dot { color: #686863; }
.game-concept-label { border: 1px solid #454542; border-radius: 4px; padding: 2px 8px; font-size: 12px; line-height: 16px; }
.game-presentation { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 24px; }
.game-gallery-column { min-width: 0; }
.game-detail-view .gameplay-gallery { padding: 0; margin: 0; background: none; border: 0; border-radius: 0; }
.game-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.game-detail-view .gameplay-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; background: #000; }
.game-detail-view .gameplay-stage > video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.game-detail-view .gameplay-stage > .gameplay-play-button {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: auto; min-width: 192px; height: auto; border: 0; border-radius: 4px; padding: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: transparent; color: #fff; text-shadow: 0 1px 4px #000; font-size: 14px; line-height: 20px; font-weight: 600;
}
.game-detail-view .gameplay-stage > .gameplay-play-button[hidden] { display: none; }
.gameplay-play-button b { display: grid; place-items: center; width: 64px; height: 64px; background: #f5f5f0; color: #181818; border-radius: 50%; font-size: 24px; line-height: 32px; padding-left: 4px; }
.game-detail-view .gameplay-stage > .gameplay-play-button:hover b { background: #fff; transform: scale(1.04); }
.gameplay-playback-note { position: absolute; top: 16px; left: 16px; padding: 4px 8px; border-radius: 4px; background: #181818e6; color: #e0e0dc; font-size: 12px; line-height: 16px; pointer-events: none; }
.game-detail-view .gameplay-thumbs { margin: 12px -4px 0; padding: 4px; gap: 8px; scrollbar-width: thin; }
.game-detail-view .gameplay-thumb { flex-basis: 112px; height: 64px; border-radius: 4px; border-color: transparent; opacity: .65; background: #000; }
.game-detail-view .gameplay-thumb.selected { border-color: var(--lime); opacity: 1; }
.game-detail-view .gameplay-thumb:hover { opacity: 1; }
.game-detail-view .gameplay-thumb img { object-fit: contain; }
.game-detail-view .gameplay-video-label { inset: auto 0 0; background: #181818e6; padding: 4px; font-size: 12px; line-height: 16px; gap: 8px; }
.gameplay-gallery-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; color: #8f8f8a; font-size: 12px; line-height: 16px; }
.game-detail-view .gameplay-counter { color: inherit; }
.game-detail-view .gameplay-expand { background: #181818e6; color: #fff; font-size: 12px; line-height: 16px; }
.game-detail-view .game-hero.game-keyart-only { height: auto; aspect-ratio: 16 / 9; background: #000; border: 0; border-radius: 4px; }
.game-detail-view .game-keyart-only:after { display: none; }
.game-detail-view .game-keyart-only picture img { object-fit: contain; }
.game-release-column { min-width: 0; }
.game-detail-view .download-panel.game-release-panel { position: static; top: auto; padding: 16px; border: 0; border-radius: 4px; background: #1f1f1f; }
.release-keyart { width: 100%; aspect-ratio: 16 / 9; margin: 0 0 16px; background: #000; border-radius: 4px; overflow: hidden; }
.release-keyart img { display: block; width: 100%; height: 100%; object-fit: contain; }
.game-detail-view .download-panel > .release-summary { margin: 0 0 24px; color: #cdcdc7; font-size: 14px; line-height: 20px; text-wrap: pretty; }
.release-availability { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 12px; line-height: 16px; color: #b2b2ad; }
.release-availability > span:first-child { font-size: 20px; line-height: 28px; color: #f5f5f0; font-weight: 700; }
.release-availability > span:last-child { text-align: right; }
.game-detail-view .release-action .primary-button { display: flex; justify-content: center; gap: 12px; width: 100%; min-height: 48px; margin: 0; border-radius: 4px; padding: 12px; background: var(--lime); color: #151a08; font-size: 16px; line-height: 24px; font-weight: 700; letter-spacing: -.02em; }
.game-detail-view .release-action .primary-button > svg:last-child { margin-left: auto; }
.game-detail-view .release-action .primary-button:hover { background: #d3ff3d; }
.game-detail-view .release-action .primary-button:active { transform: translateY(1px); }
.release-file-info { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 12px; line-height: 16px; color: #a4a4a0; }
.release-direct-note { margin: 8px 0 0; color: #8f8f8a; font-size: 12px; line-height: 16px; }
.game-detail-view .game-stats { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin: 24px 0 0; padding: 0; border: 0; text-align: left; }
.game-detail-view .game-stats > span { display: inline-flex; align-items: center; gap: 4px; color: #91918c; font-size: 12px; line-height: 16px; }
.game-detail-view .game-stats b { display: inline; font-size: 12px; line-height: 16px; font-weight: 600; color: #d8d8d2; }
.game-detail-view .game-rating-stat > svg { color: #d8d8d2; }
.game-rating { margin-top: 16px; }
.game-rating > summary,
.game-file-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; color: #cecec8; font-size: 12px; line-height: 16px; padding: 8px 0; }
.game-rating > summary::-webkit-details-marker,
.game-file-details > summary::-webkit-details-marker { display: none; }
.game-rating > summary:hover,
.game-file-details > summary:hover { color: #fff; }
.game-rating > summary:focus-visible,
.game-file-details > summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.game-rating[open] > summary svg { transform: rotate(45deg); }
.game-detail-view .rate-desc { margin: 8px 0 12px; font-size: 12px; line-height: 16px; color: #a4a4a0; }
.game-detail-view .star-pick { justify-content: flex-start; gap: 8px; }
.game-detail-view .star-pick button { min-width: 40px; min-height: 40px; font-size: 24px; line-height: 32px; }
.game-detail-view .rating-send { min-height: 40px; margin-top: 12px; background: #313131; color: #f5f5f0; border: 1px solid #454542; border-radius: 4px; font-size: 12px; line-height: 16px; padding: 8px 12px; }
.game-detail-view .rating-send:hover { background: #454542; }
.game-detail-view .rating-receipt { margin-top: 16px; padding: 0; color: #b6c88b; font-size: 12px; line-height: 16px; }
.game-file-details { margin-top: 4px; }
.game-file-details > summary { color: #91918c; }
.game-file-details > p { color: #a4a4a0; font-size: 12px; line-height: 16px; margin: 8px 0; overflow-wrap: anywhere; }
.game-detail-view .disabled-download { display: flex; flex-direction: column; gap: 8px; border: 1px solid #454542; background: #272727; padding: 16px; margin: 0; border-radius: 4px; text-align: left; }
.game-detail-view .disabled-download strong { font-size: 16px; line-height: 24px; }
.game-detail-view .disabled-download span { font-size: 12px; line-height: 16px; color: #a4a4a0; }
.game-details-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; margin-top: 40px; }
.game-story { min-width: 0; }
.game-story > h2,
.game-facts h2 { margin: 0 0 16px; font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.025em; }
.game-description { max-width: 70ch; color: #bcbcb5; font-size: 16px; line-height: 24px; }
.game-description p { margin: 0 0 16px; white-space: pre-line; text-wrap: pretty; overflow-wrap: anywhere; }
.game-description p:last-child { margin-bottom: 0; }
.game-description.is-collapsed { max-height: 192px; overflow: hidden; }
.game-description-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 4px 0; background: none; border: 0; color: #e0e0da; font-size: 14px; line-height: 20px; font-weight: 600; }
.game-description-toggle[aria-expanded=true] svg { transform: rotate(180deg); }
.game-description-toggle:hover { color: var(--lime); }
.game-detail-view .game-tags { margin: 24px 0 0; gap: 8px; }
.game-detail-view .game-tags .chip { border: 1px solid #3b3b38; border-radius: 4px; background: transparent; color: #a4a4a0; font-size: 12px; line-height: 16px; padding: 4px 8px; }
.game-facts { min-width: 0; }
.game-facts h2 { font-size: 16px; line-height: 24px; }
.game-requirements { margin: 0; display: grid; gap: 12px; }
.game-requirements > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; align-items: start; }
.game-requirements dt { color: #8f8f8a; font-size: 12px; line-height: 20px; }
.game-requirements dd { margin: 0; color: #cecec8; font-size: 12px; line-height: 20px; overflow-wrap: anywhere; }
.game-developer-links { margin-top: 32px; }
.game-studio-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: #d8d8d2; }
.game-studio-link:hover { color: var(--lime); }
.game-detail-view .social-links { margin-top: 12px; gap: 8px; }
.game-detail-view .social-links a { display: inline-flex; align-items: center; gap: 4px; border-color: #3b3b38; border-radius: 4px; background: transparent; color: #a4a4a0; padding: 4px 8px; font-size: 12px; line-height: 16px; }
@media (max-width: 1100px) {
  .game-detail-view .shell-top { padding-inline: 24px; gap: 16px; }
  .game-detail-view .game-top-nav { gap: 16px; }
  .game-detail-view .head-search { width: 200px; }
  .game-detail-view .page-content { padding-inline: 24px; }
  .game-heading h1 { font-size: 36px; line-height: 40px; }
  .game-presentation,
  .game-details-grid { grid-template-columns: minmax(0, 1fr) 288px; }
}
@media (max-width: 850px) {
  .game-detail-view .shell-top { gap: 16px; padding-inline: 16px; }
  .game-detail-view .brand-link { width: 128px; }
  .game-detail-view .brand-img { width: 128px; height: 40px; }
  .game-detail-view .game-top-nav { display: none; }
  .game-detail-view .sidebar { display: flex; background: #1f1f1f; }
  .game-detail-view .head-search { width: min(280px, 35vw); }
  .game-presentation { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .game-details-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 32px; }
  .game-detail-view .download-panel.game-release-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; padding: 24px; }
  .release-keyart { display: none; }
  .release-action { grid-column: 2; grid-row: 1 / span 2; }
  .game-detail-view .download-panel > .release-summary { margin: 0; }
  .game-detail-view .game-stats { margin: 0; justify-content: flex-start; }
  .game-rating,
  .game-detail-view .rating-receipt,
  .game-file-details { margin: 0; }
  .game-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .game-developer-links { margin: 0; }
}
@media (max-width: 600px) {
  .game-detail-view .shell-top { gap: 12px; }
  .game-detail-view .brand-link { width: 112px; }
  .game-detail-view .brand-img { width: 112px; height: 32px; }
  .game-detail-view .head-search { display: none; }
  .game-detail-view .top-user { margin-left: auto; }
  .game-detail-view .top-user > span { display: none; }
  .game-detail-view .header-launch { width: 40px; min-width: 40px; padding: 8px; justify-content: center; }
  .game-detail-view .header-launch span { display: none; }
  .game-detail-view .page-content { padding: 16px 16px 0; }
  .game-heading { margin: 12px 0 20px; }
  .game-heading h1 { font-size: 30px; line-height: 36px; letter-spacing: -.035em; }
  .game-byline { gap: 8px; margin-top: 8px; }
  .game-presentation { gap: 20px; }
  .game-detail-view .gameplay-thumb { flex-basis: 88px; height: 56px; }
  .game-detail-view .gameplay-thumbs { margin-top: 8px; }
  .gameplay-playback-note { top: 8px; left: 8px; font-size: 12px; line-height: 16px; }
  .gameplay-play-button b { width: 48px; height: 48px; font-size: 20px; line-height: 28px; }
  .game-detail-view .download-panel.game-release-panel { display: flex; flex-direction: column; gap: 16px; padding: 16px; }
  .release-action { order: 0; }
  .game-detail-view .download-panel > .release-summary { order: 1; font-size: 14px; line-height: 20px; }
  .game-detail-view .game-stats { order: 2; }
  .game-rating,
  .game-detail-view .rating-receipt { order: 3; }
  .game-file-details { order: 4; }
  .release-availability { margin-bottom: 8px; }
  .release-file-info { margin-top: 8px; }
  .release-direct-note { margin-top: 4px; }
  .game-facts { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .game-description { font-size: 14px; line-height: 20px; }
  .game-description.is-collapsed { max-height: 160px; }
  .game-details-grid { margin-top: 32px; }
  .game-detail-view .mini-footer { margin-top: 40px; padding-block: 24px; }
}


/* Shared header: balance the painted mark and wordmark, not their image boxes. */
:root,
#app.game-detail-view { --top: 64px; }
.shell-top,
.game-detail-view .shell-top { height: 64px; padding-inline: 32px; gap: 16px; }
.game-detail-view .shell-top { padding-inline: max(32px, calc((100vw - 1280px) / 2 + 32px)); }
.shell-top .brand-link,
.game-detail-view .shell-top .brand-link {
  width: auto;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  gap: 2px;
}
.shell-top .brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.shell-top .brand-img {
  display: block;
  flex: 0 0 auto;
  width: 134px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  transform: translateY(-2px);
}
.shell-top .top-user { display: flex; flex: 0 0 auto; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; color: #bcbcb8; }
.shell-top .top-user:hover { color: #fff; }
.shell-top .header-launch,
.game-detail-view .shell-top .header-launch { min-height: 44px; flex-shrink: 0; }
.shell-top .head-search,
.game-detail-view .shell-top .head-search { height: 44px; }
.game-top-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.mobile-menu-search,
.drawer-topline { display: none; }
body.has-drawer { overflow: hidden; }
.game-detail-view .gameplay-thumbs { overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #50504a transparent; }
.gameplay-thumbs::-webkit-scrollbar { height: 4px; }
.gameplay-thumbs::-webkit-scrollbar-thumb { background: #50504a; border-radius: 4px; }
.game-rating > summary,
.game-file-details > summary { min-height: 44px; }
.game-detail-view .star-pick button,
.game-detail-view .rating-send,
.gameplay-lightbox .tiny-btn { min-width: 44px; min-height: 44px; }
.game-studio-link,
.game-description-toggle { min-height: 44px; align-items: center; }
.game-back-link { min-height: 32px; }
.gameplay-lightbox-toolbar h2 { min-width: 0; overflow-wrap: anywhere; }
.gameplay-lightbox-toolbar > button { flex-shrink: 0; }
@media (min-width: 961px) and (max-width: 1100px) {
  .shell-top,
  .game-detail-view .shell-top { padding-inline: 24px; }
  .shell-top .brand-mark { width: 36px; height: 36px; }
  .shell-top .brand-img { width: 124px; }
  .game-release-panel .release-keyart { display: none; }
}
@media (max-width: 960px) {
  .shell-top,
  .game-detail-view .shell-top { padding-inline: 24px; gap: 12px; }
  .shell-top .brand-mark { width: 36px; height: 36px; }
  .shell-top .brand-img { width: 124px; }
  .shell-top .menu-toggle { display: grid; place-items: center; flex: 0 0 44px; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 10px; margin: 0; }
  .game-detail-view .game-top-nav { display: none; }
  .shell-top .head-search,
  .game-detail-view .shell-top .head-search { width: min(300px, 35vw); min-width: 120px; }
  .shell-top .head-search input { font-size: 16px; line-height: 24px; }
  .shell-top .top-user > span { display: none; }
  .sidebar,
  .game-detail-view .sidebar { display: flex; visibility: hidden; width: min(320px, calc(100vw - 32px)); top: var(--top); padding: 16px; gap: 16px; transform: translateX(-110%); transition: transform .2s; z-index: 45; overscroll-behavior: contain; }
  .sidebar.open { visibility: visible; transform: translateX(0); }
  .mobile-mask.open { display: block; position: fixed; z-index: 44; inset: var(--top) 0 0; background: #0009; }
  .site-main { margin-left: 0; }
  .drawer-topline { display: flex; align-items: center; justify-content: space-between; min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 600; }
  .drawer-topline button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border2); border-radius: 4px; background: transparent; color: var(--text); }
  .mobile-menu-search { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 8px 12px; border: 1px solid var(--border2); border-radius: 4px; background: var(--panel2); color: var(--muted); }
  .mobile-menu-search input { min-width: 0; width: 100%; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; line-height: 24px; }
  .game-detail-view .page-content { padding: 16px 24px 0; }
  .game-heading { margin: 8px 0 20px; }
  .game-heading h1 { font-size: 36px; line-height: 40px; }
  .game-byline { margin-top: 8px; }
  .game-presentation { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .game-details-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 32px; }
  .game-detail-view .download-panel.game-release-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "action summary" "action stats" "files rating"; gap: 8px 24px; padding: 16px; align-items: start; }
  .game-release-panel .release-keyart { display: none; }
  .release-action { grid-area: action; }
  .game-detail-view .download-panel > .release-summary { grid-area: summary; margin: 0; }
  .game-detail-view .game-stats { grid-area: stats; margin: 0; justify-content: flex-start; }
  .game-rating,
  .game-detail-view .rating-receipt { grid-area: rating; margin: 0; }
  .game-file-details { grid-area: files; margin: 0; }
  .game-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .game-developer-links { margin: 0; }
  .game-detail-view .social-links a { min-height: 44px; }
  .mini-footer > div:last-child { gap: 0 20px; }
  .mini-footer a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; }
}
@media (max-width: 760px) {
  .shell-top .header-launch,
  .game-detail-view .shell-top .header-launch { width: 44px; min-width: 44px; padding: 8px; justify-content: center; }
  .shell-top .header-launch span { display: none; }
}
@media (max-width: 660px) {
  .shell-top,
  .game-detail-view .shell-top { gap: 8px; padding-inline: 16px; }
  .shell-top .brand-mark { width: 32px; height: 32px; }
  .shell-top .brand-img { width: 108px; }
  .shell-top .head-search,
  .game-detail-view .shell-top .head-search { display: none; }
  .shell-top .top-user { margin-left: auto; }
  .shell-top .header-launch,
  .game-detail-view .shell-top .header-launch { width: 44px; min-width: 44px; padding: 8px; justify-content: center; }
  .shell-top .header-launch span { display: none; }
  .game-detail-view .page-content { padding-inline: 16px; }
  .game-heading { margin: 0 0 16px; }
  .game-heading h1 { font-size: 30px; line-height: 36px; }
  .game-byline { gap: 8px; }
  .game-detail-view .gameplay-thumbs { margin-top: 8px; scrollbar-width: none; }
  .gameplay-thumbs::-webkit-scrollbar { display: none; }
  .game-detail-view .gameplay-thumb { flex-basis: 88px; height: 56px; }
  .game-detail-view .download-panel.game-release-panel { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
  .game-release-panel > * { width: 100%; }
  .release-action { order: 0; }
  .game-detail-view .download-panel > .release-summary { order: 1; }
  .game-detail-view .game-stats { order: 2; }
  .game-rating,
  .game-detail-view .rating-receipt { order: 3; }
  .game-file-details { order: 4; margin-top: -8px; }
  .release-availability { margin-bottom: 8px; }
  .release-file-info { margin-top: 8px; }
  .release-direct-note { margin-top: 4px; }
  .game-facts { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mini-footer > div:last-child { gap: 0 16px; }
}
@media (max-width: 370px) {
  .shell-top,
  .game-detail-view .shell-top { gap: 4px; }
  .shell-top .brand-img { width: 100px; }
}

/* Shared storefront system. Game media and the accepted brand lockup retain
   their dedicated rules above; public pages share the same quiet shell. */
:root {
  --bg: #181818;
  --panel: #1f1f1f;
  --panel2: #272727;
  --panel3: #313131;
  --border: #313131;
  --border2: #454542;
  --text: #f5f5f0;
  --muted: #a4a4a0;
  --dim: #91918c;
  --radius: 8px;
}
body { font-size: 14px; line-height: 20px; }
#app { font-family: "Manrope", "Segoe UI", sans-serif; }
#app :where(h1, h2, h3, h4, p, a, button, label, span, small, input, textarea, select,
  .sidebar-label, .catalog-count, .mini-footer, .page-actions, .edition-label, .eyebrow) { font-family: inherit; }
#app :where(h1, h2, h3, h4) { font-weight: 700; text-wrap: balance; }
#app :where(p) { text-wrap: pretty; }
.boot-loading { font-family: "Manrope", "Segoe UI", sans-serif; font-weight: 700; }
.skip-link { font-size: 14px; line-height: 20px; font-weight: 600; padding: 12px 16px; border-radius: 4px; }
.shell-top { background: var(--bg); border-color: var(--border); }
.shell-top .head-search { background: var(--panel2); border-color: var(--border); border-radius: 4px; }
.shell-top .head-search input { font-size: 14px; line-height: 20px; }
.shell-top .header-launch { background: transparent; border: 1px solid var(--border2); color: var(--text); border-radius: 4px; padding: 8px 12px; font-size: 14px; line-height: 20px; font-weight: 600; box-shadow: none; }
.shell-top .header-launch:hover { background: var(--panel2); border-color: #62625c; }
.public-view .shell-top { padding-inline: max(32px, calc((100vw - 1280px) / 2 + 32px)); }
.public-top-nav { display: flex; align-items: center; gap: 24px; flex: 0 0 auto; }
.public-top-nav a { color: #bcbcb8; font-size: 14px; line-height: 20px; font-weight: 600; }
.public-top-nav a:hover { color: var(--text); }
.public-top-nav a[aria-current="page"] { color: var(--lime); }
.public-view .head-search { width: min(320px, 27vw); }
.public-view:not(.game-detail-view) .site-main { margin-left: 0; min-width: 0; background: var(--bg); }
.public-view:not(.game-detail-view) .page-content { width: 100%; max-width: 1280px; padding: 32px 32px 0; margin: 0 auto; }
.sidebar { background: var(--bg); border-color: var(--border); }
.side-link { font-size: 14px; line-height: 20px; color: #bcbcb8; }
.side-link.active { background: var(--panel2); color: var(--lime); }
.sidebar-label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.sidebar-sep { background: var(--border); }
@media (min-width: 961px) {
  .public-view .sidebar { display: none; }
}

/* Homepage: one unobscured game image, then the complete playable shelf. */
.public-view .store-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 8px 0 32px; }
.public-view .store-intro h1 { margin: 0; max-width: 680px; font-size: 36px; line-height: 40px; letter-spacing: -.04em; font-weight: 700; }
.public-view .store-intro em { color: var(--text); font-style: normal; white-space: normal; }
.public-view .store-intro em::after { display: none; }
.public-view .store-intro > p { display: block; max-width: 280px; margin: 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.home-spotlight { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); overflow: hidden; border-radius: 8px; background: var(--panel); }
.spotlight-art { display: flex; align-items: center; justify-content: center; min-width: 0; background: #000; }
.spotlight-art img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; transition: opacity .3s cubic-bezier(.32,.72,0,1); }
.spotlight-art:hover img { opacity: .92; }
.spotlight-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: 32px; }
.spotlight-label { color: var(--muted); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .04em; }
.spotlight-copy h2 { margin: 12px 0 16px; font-size: 36px; line-height: 40px; letter-spacing: -.04em; }
.spotlight-copy h2 a:hover { color: var(--lime); }
.spotlight-author { display: block; margin: -8px 0 16px; color: var(--muted); font-size: 12px; line-height: 16px; }
.spotlight-copy > p { max-width: 38ch; margin: 0 0 24px; color: #c5c5bf; font-size: 14px; line-height: 20px; }
.spotlight-copy > small { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 16px; }
.public-view:not(.game-detail-view) .primary-button { min-height: 48px; padding: 12px 16px; gap: 12px; border-radius: 4px; font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: 0; }
.public-view .section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 40px 0 16px; }
.public-view .section-head h2 { margin: 0; max-width: none; font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -.025em; }
.public-view .text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: #cecec8; }
.public-view .text-link:hover { color: var(--text); }
.creator-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 24px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.creator-strip h2 { margin: 0 0 8px; font-size: 24px; line-height: 32px; letter-spacing: -.025em; }
.creator-strip p { margin: 0; max-width: 60ch; color: var(--muted); font-size: 14px; line-height: 20px; }
.creator-strip > a { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 44px; gap: 8px; padding: 8px 16px; border: 1px solid var(--border2); border-radius: 4px; color: var(--text); background: transparent; font-size: 14px; line-height: 20px; font-weight: 600; }
.creator-strip > a:hover { background: var(--panel2); border-color: #62625c; }

/* Shared catalog and studio cards: artwork stays clear of interface labels. */
.public-view :is(.featured-grid, .catalog-grid, .studio-mini-grid, .mini-grid) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.public-view .game-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); overflow: hidden; transition: border-color .3s cubic-bezier(.32,.72,0,1), transform .3s cubic-bezier(.32,.72,0,1); }
.public-view .game-card:hover { border-color: #62625c; transform: translateY(-2px); }
.public-view .game-card:focus-within { border-color: var(--lime); }
.public-view .game-card .cover-link { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.public-view .cover-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s cubic-bezier(.32,.72,0,1); }
.public-view .game-card:hover .cover-link img { transform: none; opacity: .94; }
.public-view .card-open { display: none; }
.public-view .card-details { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 144px; padding: 16px; }
.public-view .card-title { display: block; order: 0; margin: 0 0 4px; font-size: 18px; line-height: 28px; font-weight: 600; letter-spacing: -.02em; white-space: normal; overflow-wrap: anywhere; text-wrap: balance; -webkit-line-clamp: unset; }
.public-view .card-title:hover { color: var(--text); }
.public-view .card-studio { order: 1; margin: 0 0 16px; font-size: 12px; line-height: 16px; color: var(--muted); }
.public-view .studio-directory-card .card-details { min-height: 0; }
.public-view .studio-directory-card .card-studio { margin-bottom: 0; }
.public-view .card-row { display: flex; order: 2; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 0; }
.public-view .card-row .chip { padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: 12px; line-height: 16px; font-weight: 400; }
.card-availability { font-size: 12px; line-height: 16px; font-weight: 600; color: #deded8; }
.card-metrics { display: flex; order: 3; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 16px; }
.card-metrics > span { display: inline-flex; align-items: center; gap: 4px; }
.card-metrics b { color: #cecec8; font-weight: 600; }
.public-view .page-header { margin-bottom: 16px; }
.public-view .page-breadcrumb { font-size: 12px; line-height: 16px; color: var(--muted); }
.public-view .page-titleline { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 8px 0 24px; }
.public-view .page-titleline h1 { max-width: 680px; margin: 0 0 8px; font-size: 36px; line-height: 40px; letter-spacing: -.04em; }
.public-view .page-titleline p { max-width: 64ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 20px; }
.public-view :is(.catalog-count, .edition-label, .eyebrow) { color: var(--muted); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .04em; }
.public-view .edition-label { margin-bottom: 12px; }
.catalog-controls { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.catalog-search { display: flex; flex: 1; align-items: center; max-width: 640px; gap: 8px; }
.catalog-search input { width: 100%; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border2); border-radius: 4px; background: var(--panel); color: var(--text); font-size: 16px; line-height: 24px; }
.catalog-search button, .catalog-reset { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border2); border-radius: 4px; background: var(--panel2); color: var(--text); font-size: 14px; line-height: 20px; font-weight: 600; }
.catalog-search button:hover, .catalog-reset:hover { background: var(--panel3); }
.catalog-reset { background: transparent; }
.public-view .catalog-kinds { display: flex; gap: 24px; margin: 0 0 16px; border-color: var(--border); overflow-x: auto; scrollbar-width: thin; }
.public-view .catalog-kinds button { min-height: 44px; padding: 12px 0; color: var(--muted); font-size: 14px; line-height: 20px; font-weight: 600; }
.public-view .catalog-kinds button.active { color: var(--lime); border-bottom-color: var(--lime); }
.public-view .toolbar { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 16px; }
.public-view .filter-buttons { flex: 1; gap: 8px; }
.public-view .filter-buttons button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 4px; background: var(--panel); color: #bcbcb8; font-size: 14px; line-height: 20px; }
.public-view .filter-buttons button:hover { border-color: #62625c; color: var(--text); }
.public-view .filter-buttons button.active { border-color: #657c1f; background: var(--panel2); color: var(--lime); }
.public-view .select { max-width: none; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border2); border-radius: 4px; background: var(--panel); color: var(--text); font-size: 14px; line-height: 20px; }
.catalog-active-summary { margin: 0 0 24px; color: var(--muted); font-size: 12px; line-height: 16px; }
.public-view .pagination { gap: 16px; margin-top: 32px; color: var(--muted); font-size: 14px; line-height: 20px; }
.public-view .pagination .tiny-btn { min-height: 44px; padding: 8px 12px; font-size: 14px; line-height: 20px; }
.public-view .empty-state { grid-column: 1 / -1; min-height: 240px; padding: 32px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.public-view .empty-state strong { margin-bottom: 8px; color: var(--text); font-size: 24px; line-height: 32px; font-weight: 600; }
.public-view .empty-state p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 20px; }

/* Studio and information pages use the same readable surface and type scale. */
.public-view .studio-profile { border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.public-view .studio-cover { height: 240px; background: var(--panel2); }
.public-view .studio-cover img { filter: none; }
.public-view .studio-details { gap: 24px; padding: 0 24px 24px; background: var(--panel); }
.public-view .studio-avatar { width: 96px; height: 96px; border-color: var(--panel); border-radius: 8px; background: var(--panel2); }
.public-view .studio-identity h1 { font-size: 36px; line-height: 40px; margin-bottom: 8px; }
.public-view .studio-identity p { color: #bcbcb8; font-size: 14px; line-height: 20px; }
.public-view .studio-stats { color: var(--muted); font-size: 12px; line-height: 16px; }
.public-view .follow-button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--border2); border-radius: 4px; background: var(--panel2); color: var(--text); font-size: 14px; line-height: 20px; font-weight: 600; }
.public-view .follow-button.following { color: var(--lime); border-color: #657c1f; }
.public-view .studio-games { padding-top: 24px; }
.public-view .studio-profile-compact .studio-details { align-items: center; padding: 24px; }
.public-view .studio-profile-compact .studio-avatar { width: 80px; height: 80px; margin: 0; flex-shrink: 0; }
.public-view .studio-profile-compact .studio-identity { padding-top: 0; }
.public-view .studio-profile-compact .studio-identity h1 { overflow-wrap: anywhere; }
.public-view .studio-profile-compact .studio-identity > p:last-child { margin-bottom: 0; }
.public-view .studio-profile-compact .studio-follow { display: flex; flex-direction: column; gap: 8px; }
.public-view .studio-profile-compact .studio-follow small, .public-view .studio-kind { color: var(--muted); font-size: 12px; line-height: 16px; }
.public-view .studio-kind { display: block; margin-bottom: 8px; }
.public-view .pill-tabs { gap: 24px; margin-top: 24px; border-color: var(--border); overflow-x: auto; }
.public-view .pill-tabs button { min-height: 44px; padding: 12px 0; color: var(--muted); font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.public-view .pill-tabs button.active { color: var(--text); }
.public-view .community-panel { padding: 24px; gap: 16px; }
.public-view .community-panel h3 { margin: 0 0 8px; font-size: 18px; line-height: 28px; }
.public-view .community-panel p, .public-view .guideline-note { color: #bcbcb8; font-size: 14px; line-height: 20px; }
.public-view:not(.game-detail-view) :is(.info-hero, .content-box, .faq-item, .three-steps article, .community-panel, .guideline-note) { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; color: var(--text); }
.public-view .info-wrap { max-width: 960px; }
.public-view .info-hero { min-height: 0; padding: 32px; }
.public-view .info-hero h1 { margin: 0 0 16px; max-width: 680px; font-size: 36px; line-height: 40px; letter-spacing: -.04em; }
.public-view .info-hero p { max-width: 64ch; margin-bottom: 24px; color: #bcbcb8; font-size: 16px; line-height: 24px; }
.public-view .info-hero p:last-child { margin-bottom: 0; }
.public-view .info-hero .eyebrow { display: block; margin-bottom: 16px; }
.public-view .three-steps { gap: 24px; margin: 24px 0; }
.public-view .three-steps article { padding: 24px; }
.public-view .three-steps b { color: var(--muted); font-size: 18px; line-height: 28px; font-weight: 600; }
.public-view .three-steps h2, .public-view .three-steps h3 { margin: 16px 0 8px; font-size: 18px; line-height: 28px; }
.public-view .three-steps p { margin-bottom: 0; color: #bcbcb8; font-size: 14px; line-height: 20px; }
.public-view:not(.game-detail-view) .content-box { padding: 24px; }
.public-view:not(.game-detail-view) .content-box h2 { font-size: 24px; line-height: 32px; }
.public-view:not(.game-detail-view) .content-box p { color: #bcbcb8; font-size: 16px; line-height: 24px; }
.public-view .faq-item > button { min-height: 64px; padding: 16px 24px; color: var(--text); font-size: 16px; line-height: 24px; font-weight: 600; }
.public-view .faq-item > p { padding: 0 24px 24px; color: #bcbcb8; font-size: 14px; line-height: 20px; }
.public-view:not(.game-detail-view) .mini-footer { margin-top: 64px; padding: 32px 0; border-color: var(--border); color: var(--muted); font-size: 12px; line-height: 16px; }
.public-view .mini-footer a { min-height: 44px; padding: 8px 0; color: var(--muted); font-size: 12px; line-height: 16px; }
.public-view .mini-footer a:hover { color: var(--text); }

/* Workspace form geometry stays intact while controls remain legible. */
.workspace-header h1 { font-size: 36px; line-height: 40px; font-weight: 700; }
.workspace-header p { color: var(--muted); font-size: 14px; line-height: 20px; }
.form-panel { background: var(--panel); border-color: var(--border); }
.form-panel-header h2 { font-size: 18px; line-height: 28px; font-weight: 600; }
.field { gap: 8px; color: #cecec8; font-size: 14px; line-height: 20px; }
.field input, .field textarea, .field select { min-height: 44px; background: var(--bg); border-color: var(--border2); color: var(--text); font-size: 16px; line-height: 24px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field small { color: var(--muted); font-size: 12px; line-height: 16px; }
.upload-field { background: var(--panel); border-color: var(--border2); }
.tiny-btn { min-height: 44px; font-size: 14px; line-height: 20px; font-weight: 600; }
.session-recovery, .admin-refresh-notice { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 24px; padding: 16px; border: 1px solid var(--border2); border-radius: 4px; background: var(--panel2); }
.session-recovery p, .admin-refresh-notice p { margin: 0; color: #cecec8; font-size: 14px; line-height: 20px; }
.session-recovery .tiny-btn, .admin-refresh-notice .tiny-btn { flex-shrink: 0; background: var(--panel3); border-color: var(--border2); }
.release-row-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px; }
.release-row-actions .tiny-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; background: var(--panel2); border-color: var(--border2); }
.release-status-help { max-width: 72ch; margin: 12px 0 16px; color: var(--muted); font-size: 12px; line-height: 16px; overflow-wrap: anywhere; }
.dashboard-release-table .release-status-help { min-width: 0; margin: 8px 0 0; }
.modal-window:not(.gameplay-editor-window) { background: var(--panel); border-color: var(--border2); }
.modal-window:not(.gameplay-editor-window) h2 { font-size: 24px; line-height: 32px; }
.modal-window:not(.gameplay-editor-window) > p { color: var(--muted); font-size: 14px; line-height: 20px; }

@media (min-width: 961px) and (max-width: 1100px) {
  .public-view .shell-top { padding-inline: 24px; gap: 12px; }
  .public-view .public-top-nav { gap: 16px; }
  .public-view .head-search { width: min(240px, 22vw); }
  .spotlight-copy { padding: 24px; }
  .spotlight-copy h2 { font-size: 24px; line-height: 32px; }
}
@media (max-width: 960px) {
  .public-view .shell-top { padding-inline: 24px; }
  .public-view .public-top-nav { display: none; }
  .public-view .head-search { width: min(300px, 35vw); }
  .shell-top .head-search input { font-size: 16px; line-height: 24px; }
  .public-view:not(.game-detail-view) .page-content { padding: 24px 24px 0; }
  .public-view .store-intro { flex-direction: column; align-items: flex-start; gap: 12px; margin: 0 0 24px; }
  .public-view .store-intro > p { max-width: none; }
  .home-spotlight { grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr); }
  .spotlight-copy { padding: 24px; }
  .spotlight-copy h2 { margin: 8px 0 12px; font-size: 24px; line-height: 32px; }
  .spotlight-copy > p { margin-bottom: 16px; }
  .public-view :is(.featured-grid, .catalog-grid, .studio-mini-grid, .mini-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .public-view .toolbar { flex-direction: column; }
  .public-view .select { width: auto; min-width: 192px; }
  .public-view .studio-details { flex-wrap: wrap; }
  .public-view .studio-identity { min-width: 0; }
  .public-view .studio-identity h1 { font-size: 24px; line-height: 32px; }
  .public-view .studio-follow { margin-left: auto; }
  .public-view .three-steps { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 660px) {
  .public-view .shell-top { padding-inline: 16px; }
  .public-view:not(.game-detail-view) .page-content { padding: 24px 16px 0; }
  .public-view .store-intro h1 { font-size: 36px; line-height: 40px; }
  .home-spotlight { grid-template-columns: minmax(0, 1fr); }
  .spotlight-copy { padding: 24px; }
  .spotlight-copy > p { max-width: 48ch; }
  .public-view .section-head { margin-top: 32px; gap: 12px; }
  .public-view .section-head h2 { font-size: 24px; line-height: 32px; }
  .public-view .section-head .text-link { flex-shrink: 0; font-size: 12px; line-height: 16px; }
  .public-view :is(.featured-grid, .catalog-grid, .studio-mini-grid, .mini-grid) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .public-view .card-details { min-height: 0; }
  .public-view .card-row { margin-top: 0; }
  .public-view .card-studio { margin-bottom: 16px; }
  .creator-strip { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 32px; padding: 24px; }
  .public-view .page-titleline { align-items: flex-start; flex-direction: column; gap: 12px; }
  .public-view .page-titleline h1 { font-size: 36px; line-height: 40px; overflow-wrap: anywhere; }
  .public-view .catalog-count { margin: 0; }
  .catalog-controls { align-items: stretch; flex-wrap: wrap; gap: 8px; }
  .catalog-search { flex-basis: 100%; }
  .catalog-reset { align-self: flex-start; }
  .public-view .catalog-kinds { gap: 16px; }
  .public-view .catalog-kinds button { font-size: 12px; line-height: 16px; }
  .public-view .filter-buttons { gap: 8px; }
  .public-view .filter-buttons button { font-size: 12px; line-height: 16px; }
  .public-view .select { width: 100%; font-size: 16px; line-height: 24px; }
  .public-view .pagination { flex-wrap: wrap; gap: 8px; }
  .public-view .empty-state { padding: 24px; }
  .public-view .studio-cover { height: 160px; }
  .public-view .studio-details { gap: 16px; padding: 0 16px 16px; }
  .public-view .studio-avatar { width: 80px; height: 80px; margin-top: -24px; }
  .public-view .studio-identity { flex-basis: calc(100% - 96px); padding-top: 16px; }
  .public-view .studio-follow { width: 100%; margin-left: 0; }
  .public-view .studio-profile-compact .studio-details { align-items: flex-start; padding: 16px; }
  .public-view .follow-button { width: 100%; }
  .public-view .info-hero { padding: 24px; }
  .public-view .info-hero h1 { font-size: 36px; line-height: 40px; }
  .public-view .faq-item > button { padding: 16px; }
  .public-view .faq-item > p { padding: 0 16px 16px; }
  .public-view:not(.game-detail-view) .mini-footer { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 40px; padding-block: 24px; }
  .public-view .mini-footer > div:last-child { justify-content: flex-start; gap: 0 16px; }
  .session-recovery, .admin-refresh-notice { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dashboard-release-table { border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .dashboard-release-table .data-table { display: block; width: 100%; min-width: 0; }
  .dashboard-release-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  .dashboard-release-table tbody { display: grid; gap: 16px; width: 100%; min-width: 0; }
  .dashboard-release-table tbody tr { display: grid; gap: 8px; min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
  .dashboard-release-table .data-table td { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: 8px 12px; width: auto; min-width: 0; padding: 4px 0; border: 0; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
  .dashboard-release-table td::before { content: attr(data-label); color: var(--muted); font-size: 12px; line-height: 20px; font-weight: 600; }
  .dashboard-release-table td > * { grid-column: 2; min-width: 0; }
  .dashboard-release-table .data-table td[data-label="Game"] { display: block; padding: 0 0 8px; }
  .dashboard-release-table td[data-label="Game"]::before { display: none; }
  .dashboard-release-table .table-game { min-width: 0; gap: 12px; }
  .dashboard-release-table .table-game img { width: 64px; height: 48px; flex-shrink: 0; }
  .dashboard-release-table .table-game > div { min-width: 0; }
  .dashboard-release-table .table-game strong { font-size: 16px; line-height: 24px; font-weight: 600; overflow-wrap: anywhere; }
  .dashboard-release-table .table-game small { color: var(--muted); font-size: 12px; line-height: 16px; }
  .dashboard-release-table .status { justify-self: start; max-width: 100%; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0; }
  .dashboard-release-table .moderation-note { max-width: none; margin: 0; font-size: 12px; line-height: 16px; }
  .dashboard-release-table .data-table td[data-label="Actions"] { display: block; padding-top: 8px; }
  .dashboard-release-table td[data-label="Actions"]::before { display: block; margin-bottom: 8px; }
  .dashboard-release-table .release-row-actions .tiny-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .public-view .game-card, .public-view .cover-link img, .spotlight-art img { transition: none; }
  .public-view .game-card:hover { transform: none; }
}
