@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #eef1ff;
  background: #050713;
  color-scheme: dark;
  font-synthesis: none;
  --ink: #eef1ff;
  --muted: #b6bfd8;
  --line: #a8b4f52b;
  --orange: #f0ba8d;
  --green: #a2e0e3;
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  position: relative;
  isolation: isolate;
}
.space-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #050713;
}
.space-object {
  position: absolute;
  aspect-ratio: 1;
}
.space-object img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mask-image: radial-gradient(ellipse, #000 44%, #000e 58%, transparent 76%);
}
.space-object--blue {
  width: clamp(560px, 75vw, 1100px);
  top: -25vh;
  right: -17vw;
  opacity: .85;
  animation: galaxy-roam 20s ease-in-out infinite alternate;
}
.space-object--blue img {
  animation: galaxy-spin 210s linear infinite;
}
.space-object--amber {
  width: clamp(280px, 27vw, 420px);
  top: -2vh;
  left: 29vw;
  opacity: .72;
  animation: galaxy-roam 25s ease-in-out -8s infinite alternate-reverse;
}
.space-object--amber img {
  animation: galaxy-spin 270s linear -60s infinite reverse;
}
.space-object--nebula {
  width: min(130vw, 1600px);
  aspect-ratio: 3 / 2;
  top: -23vh;
  left: -20vw;
  opacity: .42;
  animation: nebula-roam 27s ease-in-out -6s infinite alternate;
}
.space-object--nebula img {
  animation: nebula-breathe 14s ease-in-out infinite alternate;
}
.space-depth-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #05071399, #05071340 65%, #0507131f);
}
.space-stars {
  position: absolute;
  inset: -60px;
  background: url("/assets/starfield.svg") 0 0 / 760px 760px repeat;
  opacity: .7;
  animation: stars-drift 34s linear infinite alternate;
}
.space-stars--near {
  background-image: url("/assets/stars.svg");
  background-size: 870px 870px;
  background-position: 170px 280px;
  opacity: .65;
  animation: stars-drift 18s linear infinite alternate-reverse, stars-glimmer 6s ease-in-out infinite alternate;
}
.space-meteor {
  position: absolute;
  top: 12%;
  left: 58%;
  width: 130px;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, #cfddff);
  animation: meteor-pass 19s linear infinite;
}
.space-meteor--two {
  top: 45%;
  left: 20%;
  width: 90px;
  animation-duration: 29s;
  animation-delay: -11s;
}
@keyframes galaxy-roam {
  from { transform: translate3d(-6%, -3%, 0) rotate(-12deg); }
  to { transform: translate3d(6%, 7%, 0) rotate(6deg); }
}
@keyframes galaxy-spin {
  to { transform: rotate(360deg); }
}
@keyframes nebula-roam {
  from { transform: translate3d(-3%, -3%, 0) rotate(-12deg); }
  to { transform: translate3d(8%, 6%, 0) rotate(-5deg); }
}
@keyframes nebula-breathe {
  to { transform: scale(1.12); }
}
@keyframes stars-drift {
  from { transform: translate3d(-40px, -36px, 0); }
  to { transform: translate3d(48px, 40px, 0); }
}
@keyframes stars-glimmer {
  from { opacity: .35; }
  to { opacity: .8; }
}
@keyframes meteor-pass {
  0%, 88% { opacity: 0; transform: translate3d(-90px, -50px, 0) rotate(32deg); }
  89% { opacity: .75; }
  94%, 100% { opacity: 0; transform: translate3d(300px, 190px, 0) rotate(32deg); }
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #b6a4ff;
  outline-offset: 6px;
}
a {
  text-decoration: none;
  touch-action: manipulation;
}
::selection {
  background: #b6a4ff;
  color: #10152e;
}
.page-wrap {
  width: min(1180px, calc(100% - 96px));
  margin: auto;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 15px;
  z-index: 20;
  background: #182044;
  color: white;
  padding: 16px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  gap: 18px;
}
.wordmark {
  display: flex;
  gap: 9px;
  align-items: center;
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 1.3px;
  font-size: 17px;
}
.wordmark img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.wordmark-small {
  display: block;
  font:
    500 8px "DM Sans",
    sans-serif;
  letter-spacing: 2px;
  margin-top: 4px;
}
.site-header nav {
  display: flex;
  gap: 24px;
  font-size: 12px;
  align-items: center;
}
.site-header nav a {
  padding: 12px 0;
  min-height: 44px;
}
.nav-active {
  font-weight: 700;
}
.nav-active span {
  margin-left: 12px;
  color: #b6a4ff;
}
.hero {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 24px;
  align-items: center;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a2e0e3;
  box-shadow: 0 0 12px #a2e0e350;
}
[data-presence-status="offline"] .live-dot,
[data-presence-status="loading"] .live-dot {
  background: #8792b0;
  box-shadow: none;
}
.hero h1 {
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(34px, 3.5vw, 46px);
  line-height: 1.1;
  letter-spacing: -2px;
  font-weight: 700;
  margin: 12px 0;
  position: relative;
  width: fit-content;
}
.hero em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #c5b4ff;
}
.spark {
  width: 32px;
  height: 32px;
  stroke: #a2e0e3;
  stroke-width: 3;
  margin: 0 0 1px 14px;
}
.hero-description {
  color: var(--muted);
  max-width: 490px;
  line-height: 1.65;
  font-size: 13px;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: #c5b4ff;
  color: #11152d;
  border-radius: 4px;
  padding: 11px 16px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 14px;
  transition:
    background 0.18s,
    transform 0.18s;
}
.primary-link:hover {
  background: #d9ceff;
  transform: translateY(-2px);
}
.hero-note {
  transform: rotate(5deg);
  background: #121b36e8;
  border: 1px solid #9caff54d;
  min-height: 160px;
  padding: 18px;
  box-shadow: 8px 9px 0 #05071370;
  position: relative;
  margin: 10px 8px 0 0;
}
.hero-note:before {
  content: "";
  position: absolute;
  top: -10px;
  left: calc(50% - 32px);
  width: 64px;
  height: 22px;
  background: #a99be15c;
  transform: rotate(-9deg);
}
.note-orbit {
  font-size: 32px;
  color: #a2e0e3;
  line-height: 1;
}
.hero-note p {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.45;
  margin: 10px 0 12px;
}
.note-signature {
  font-size: 8px;
  letter-spacing: 2px;
  color: #b6bfd8;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 14px;
}
.section-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 6px;
}
h2 {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.section-heading h2 span {
  color: #c5b4ff;
}
.collection-count {
  font-size: 10px;
  color: var(--muted);
  padding-bottom: 6px;
}
.game-grid {
  display: grid;
  gap: 16px;
}
.game-card {
  --game-art-height: clamp(240px, 30vw, 360px);
  --card-inset: 22px;
  position: relative;
  border: 1px solid var(--line);
  background: #10172ce8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px #02040e59;
}
.game-art {
  display: block;
  position: relative;
  min-width: 0;
  height: var(--game-art-height);
  background: #121b3c;
  overflow: hidden;
}
.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.game-art:hover img {
  transform: scale(1.025);
}
.game-art:focus-visible {
  outline-color: #fff6d9;
  outline-offset: -5px;
}
.game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #080e26b3, #080e2600 36%, #080e2600 52%, #080e26e6);
}
.game-title {
  position: absolute;
  z-index: 1;
  top: var(--card-inset);
  left: var(--card-inset);
  max-width: calc(100% - 160px);
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.1;
  color: #fcfff7;
  text-shadow: 0 2px 18px #050713a0;
  overflow-wrap: anywhere;
}
.art-badge {
  position: absolute;
  right: var(--card-inset);
  top: calc(var(--card-inset) + 8px);
  z-index: 1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #141e3aeb;
  border: 1px solid #b1c4ff70;
  border-radius: 20px;
  padding: 8px 11px;
  color: #e5efff;
  text-transform: uppercase;
}
.art-badge > span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a2e0e3;
}
.badge-arrow {
  font-size: 15px;
  line-height: 1;
}
.game-info {
  margin: 0;
}
.game-info-toggle {
  position: absolute;
  z-index: 2;
  top: calc(var(--game-art-height) - var(--card-inset) - 32px);
  right: var(--card-inset);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #b1c4ff99;
  border-radius: 50%;
  background: #17213feb;
  color: #eef1ff;
  box-shadow: 0 2px 15px #05071370;
  list-style: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .18s, color .18s, box-shadow .18s;
}
.game-info-toggle::-webkit-details-marker {
  display: none;
}
.game-info-toggle::marker {
  content: "";
}
.game-info-toggle:hover {
  background: #29365b;
  box-shadow: 0 3px 18px #05071390;
}
.game-info[open] .game-info-toggle {
  color: #11152d;
  background: #c5b4ff;
}
.game-description {
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}
.game-description .play-link {
  margin-top: 14px;
}
.tagline {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.description {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 8px;
  max-width: 70ch;
}
.tags {
  position: absolute;
  z-index: 1;
  bottom: var(--card-inset);
  left: var(--card-inset);
  right: calc(var(--card-inset) + 60px);
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tags li {
  font-size: 11px;
  font-weight: 500;
  border: 1px solid #ffffff52;
  border-radius: 20px;
  padding: 7px 12px;
  color: #f8fff4;
  background: #14223de6;
}
.play-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 700;
}
.play-link span {
  font-size: 23px;
  transition: transform 0.15s;
}
.play-link:hover span {
  transform: translate(3px, -3px);
}
.next-up {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px dashed #889aca55;
  border-radius: 9px;
  padding: 16px 20px;
  margin-top: 12px;
  background: #111a30c9;
}
.next-symbol {
  display: grid;
  place-items: center;
  border: 1px solid #a8b4f54d;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 23px;
  font-weight: 400;
  color: #a2b3e2;
  flex-shrink: 0;
}
.next-up h3 {
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
}
.next-up p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 4px;
}
.next-label {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 1.6px;
  white-space: nowrap;
  color: #acb9dc;
}
.next-label span {
  margin-left: 12px;
  font-size: 20px;
}
.about {
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 1.2fr;
  align-items: center;
  gap: 28px;
  background: linear-gradient(130deg, #121a32eb, #0b1124eb);
}
.about-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}
.game-info-toggle svg { width: 18px; height: 18px; }
.about h2 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.4px;
  margin: 0 0 5px;
}
.about .about-tagline {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}
.about .about-copy {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0 20px;
}
.footer-brand {
  font:
    800 12px Manrope,
    sans-serif;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand span {
  color: #a2e0e3;
  font-size: 22px;
}
footer p,
footer > a:last-child {
  font-size: 10px;
  color: var(--muted);
}
.missing {
  max-width: 750px;
  margin: 15vh auto;
  padding: 30px;
}
.missing h1 {
  font-size: clamp(35px, 7vw, 70px);
  letter-spacing: -2px;
  margin-top: 25px;
  line-height: 1.1;
}
@media (min-width: 951px) {
  .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 24px;
  }
  .hero-copy > .eyebrow,
  .hero-copy > h1 {
    grid-column: 1 / -1;
  }
  .hero-copy > .primary-link {
    align-self: center;
    margin-top: 0;
  }
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 28px;
    padding-bottom: 32px;
  }
}
@media (max-width: 950px) {
  .page-wrap {
    width: calc(100% - 56px);
  }
  .hero {
    grid-template-columns: 1fr 150px;
    padding-top: 22px;
    padding-bottom: 26px;
    gap: 20px;
  }
  .hero h1 {
    font-size: 38px;
    letter-spacing: -1.6px;
  }
  .hero-note {
    padding: 16px;
    min-height: 150px;
  }
  .hero-note p {
    font-size: 15px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about > div {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .space-object--blue {
    width: 720px;
    right: -360px;
    top: -150px;
  }
  .space-object--amber {
    width: 360px;
    left: -190px;
    top: 51vh;
  }
  .space-object--nebula {
    width: 900px;
    left: -300px;
    top: 31vh;
  }
  .page-wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    min-height: 64px;
    gap: 14px;
  }
  .wordmark {
    font-size: 15px;
    gap: 8px;
    letter-spacing: 1px;
  }
  .wordmark img {
    width: 44px;
    height: 44px;
  }
  .wordmark-small {
    font-size: 6px;
    letter-spacing: 1.3px;
  }
  .site-header nav {
    gap: 16px;
    font-size: 11px;
  }
  .nav-active span {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 22px 0 24px;
  }
  .hero h1 {
    font-size: clamp(30px, 8.2vw, 36px);
    letter-spacing: -1.5px;
    margin: 12px 0;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.8px;
  }
  .spark {
    width: 26px;
    height: 26px;
    margin-left: 9px;
    stroke-width: 3.5;
  }
  .hero-description {
    font-size: 12px;
    max-width: 350px;
    line-height: 1.65;
  }
  .primary-link {
    font-size: 12px;
    padding: 11px 15px;
    gap: 24px;
    margin-top: 14px;
  }
  .hero-note {
    display: none;
  }
  .section-heading {
    margin-bottom: 12px;
    gap: 10px;
  }
  .section-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1.4px;
  }
  h2 {
    font-size: 24px;
  }
  .collection-count {
    font-size: 9px;
    white-space: nowrap;
  }
  .game-card {
    --card-inset: 16px;
  }
  .art-badge {
    font-size: 8px;
    padding: 7px 9px;
  }
  .game-title {
    font-size: 30px;
    max-width: calc(100% - 132px);
  }
  .game-description {
    padding: 17px;
  }
  .tagline {
    font-size: 14px;
  }
  .description {
    font-size: 12px;
    margin-top: 8px;
  }
  .tags li {
    font-size: 10px;
    padding: 6px 9px;
  }
  .play-link {
    font-size: 12px;
    padding-top: 10px;
  }
  .next-up {
    padding: 15px 16px;
    gap: 11px;
  }
  .next-symbol {
    width: 31px;
    height: 31px;
    font-size: 21px;
  }
  .next-up h3 {
    font-size: 12px;
  }
  .next-up p {
    font-size: 10px;
  }
  .next-label {
    display: none;
  }
  .about {
    margin: 16px 0;
    padding: 17px;
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .about-heading { gap: 11px; }
  .about h2 { font-size: 18px; }
  footer {
    flex-wrap: wrap;
    padding: 16px 0 20px;
    gap: 12px;
  }
  .footer-brand {
    font-size: 10px;
  }
  footer p {
    order: 3;
    width: 100%;
    font-size: 9px;
  }
  footer > a:last-child {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
/* Compact game-library masthead: keep the artwork and moving sky in focus. */
.site-header { min-height: 70px; }
.header-brand { display: flex; align-items: center; gap: 22px; min-width: 0; }
.site-header { position: relative; }
.header-brand, .site-header nav { position: relative; z-index: 3; }
.section-heading { position: relative; z-index: 3; }
.header-live { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.3; }
.header-live .live-dot { flex: 0 0 6px; width: 6px; height: 6px; }
.collection { padding-top: 18px; }
.section-heading h1 { font-family: Manrope, system-ui, sans-serif; font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -.6px; margin: 0; }
@media (max-width: 620px) {
  .site-header { min-height: 76px; gap: 12px; }
  .header-brand { flex-direction: column; align-items: flex-start; gap: 5px; padding: 9px 0; }
  .header-live { font-size: 9px; gap: 5px; }
  .wordmark-small { display: none; }
  .site-header nav { gap: 14px; }
  .collection { padding-top: 15px; }
  .section-heading h1 { font-size: 22px; }
}
.view-toggle { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #10172ce8; }
.view-toggle button { display: grid; place-items: center; width: 34px; height: 32px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--muted); cursor: pointer; }
.view-toggle button[aria-pressed="true"] { color: #f2f0ff; background: #b39cff30; box-shadow: inset 0 0 0 1px #b39cff55; }
.view-toggle button:focus-visible { outline: 2px solid #c5b4ff; outline-offset: 2px; }
.game-grid[data-view="grid"] { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
.game-grid[data-view="grid"] .game-card { --game-art-height: 230px; --card-inset: 14px; }
.game-grid[data-view="grid"] .game-title { font-size: 25px; letter-spacing: -.7px; max-width: calc(100% - 28px); }
.game-grid[data-view="grid"] .art-badge { display: none; }
.game-grid[data-view="grid"] .tags { gap: 5px; }
.game-grid[data-view="grid"] .tags li { font-size: 10px; font-weight: 600; padding: 4px 7px; background: #101b30f5; }
.game-grid[data-view="grid"] .game-description { padding: 13px; }
.game-grid[data-view="grid"] .description { font-size: 12px; }
@media (max-width: 620px) {
  .game-grid[data-view="grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game-grid[data-view="grid"] .game-card { --game-art-height: 210px; --card-inset: 11px; }
  .game-grid[data-view="grid"] .game-title { font-size: 20px; max-width: calc(100% - 22px); }
  .game-grid[data-view="grid"] .tags { bottom: 59px; right: 11px; gap: 4px; }
  .game-grid[data-view="grid"] .tags li { font-size: 10px; padding: 3px 5px; }
  .game-grid[data-view="grid"] .tagline { font-size: 12px; }
  .view-toggle button { width: 36px; height: 36px; }
  .site-header nav { flex-shrink: 0; }
}
@media (max-width: 480px) {
  .site-header nav > a[href="#games"] { display: none; }
  .header-brand { max-width: calc(100% - 130px); }
}
/* The About panel is the critter's world; its overlay never intercepts input. */
@media (max-width: 620px) {
  .site-header nav { flex-wrap: wrap; justify-content: flex-end; max-width: 120px; gap: 0 12px; }
  .site-header nav > a[href="#about"] { display: none; }
  .site-header nav > .community-nav-link { width: 100%; text-align: right; padding: 5px 0; min-height: 30px; }
  .site-header nav > a[href="#games"] { display: none; }
}
.about { position: relative; min-height: 140px; overflow: hidden; }
.about-critter-stage { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.critter-projectiles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 20; }

/* Real gameplay previews occupy the existing artwork area; controls stay still. */
.game-preview,
.game-preview-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; opacity: 0;
  transition: opacity .22s ease;
}
[data-preview-ready] .game-preview { opacity: 1; }
[data-preview-canvas] .game-preview { opacity: 0; transition: none; }
[data-preview-canvas] .game-preview-canvas { opacity: 1; transition: none; }
[data-game-preview] .game-art img { transition: none; }
[data-game-preview] .game-art:hover img { transform: none; }
[data-game-preview="market"] .game-art img,
[data-game-preview="market"] .game-preview { object-position: 100% 50%; }
.collection-tools { display: flex; align-items: center; gap: 10px; }
.collection-tools .collection-count { padding: 0; }
.preview-toggle {
  width: 32px; height: 32px; padding: 0; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 8px; color: var(--muted);
  background: #10172ce8; cursor: pointer;
}
.preview-toggle[hidden] { display: none; }
.preview-toggle:hover { color: var(--ink); border-color: #a8b4f570; }
.preview-toggle:focus-visible { outline: 2px solid #c5b4ff; outline-offset: 3px; }
.preview-toggle:disabled { opacity: .5; cursor: default; }
.preview-toggle[aria-pressed="true"] .preview-play,
.preview-toggle[aria-pressed="false"] .preview-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .game-preview { transition: none; } }
