@import url("/assets/fonts/fonts.css");
:root {
  color-scheme: dark;
  --bg: #101218;
  --panel: #171a22;
  --text: #f0f0f5;
  --muted: #9195a6;
  --accent: #b8b1ff;
  --line: #ffffff0e;
  --sidebar: 224px;
  --radius: 18px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  background: #080d19;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 85% 5%, #26487a60, transparent 50%),
    radial-gradient(ellipse at 10% 70%, #163e6650, transparent 50%);
  min-height: 100vh;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #bcb4ff;
  outline-offset: 4px;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
}
h2 {
  letter-spacing: -0.65px;
  font-size: 23px;
  font-weight: 750;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
  line-height: 1.8;
}
.accent {
  color: var(--accent);
}
.icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
.shell {
  display: flex;
  max-width: 1740px;
  margin: 24px auto;
  min-height: calc(100vh - 48px);
  background: linear-gradient(130deg, #161923f5, #101218fa 35%, #12151cf5);
  border: 1px solid #ffffff0c;
  border-radius: 25px;
  box-shadow: 0 20px 100px #0006;
  overflow: clip;
  position: relative;
}
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.12' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sidebar {
  width: var(--sidebar);
  flex-shrink: 0;
  padding: 34px 18px 20px;
  border-right: 1px solid var(--line);
  background: #11131a88;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: calc(100vh - 48px);
  min-height: 760px;
}
.brand {
  font-family: Manrope, sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1.7px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 14px;
  margin-bottom: 48px;
}
.brand-dot {
  color: var(--accent);
}
.nav-label {
  color: #737787;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.65px;
  margin: 0 14px 14px;
}
nav a,
.side-categories a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  color: #9296a6;
  font-size: 12px;
  border-radius: 9px;
  margin-bottom: 5px;
  min-height: 44px;
  transition:
    background 0.2s,
    color 0.2s;
}
nav a.active {
  color: #d7d2ff;
  background: linear-gradient(100deg, #8072d229, #8072d210);
  box-shadow: inset 2px 0 #a89cf2;
}
nav a:hover,
.side-categories a:hover,
.side-categories a.active {
  color: #ebe9ff;
  background: #ffffff06;
}
nav .icon,
.side-categories .icon {
  width: 18px;
  height: 18px;
}
.count {
  margin-left: auto;
  color: #9396a9;
  font-size: 10px;
  font-weight: 600;
  background: #ffffff08;
  padding: 3px 6px;
  border-radius: 5px;
}
.category-label {
  margin-top: 36px;
}
.side-categories a {
  padding-top: 10px;
  padding-bottom: 10px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 32px 13px 0;
}
.mini-orbit {
  font-size: 35px;
  color: #adb0dd;
  line-height: 1.5;
}
.sidebar-bottom strong {
  font-size: 11px;
  font-weight: 500;
}
.sidebar-bottom p {
  font-size: 10px;
  color: #777e90;
  line-height: 1.8;
  margin-top: 5px;
}
.sidebar-bottom button {
  margin-top: 25px;
  padding: 8px 0 !important;
  font-size: 11px !important;
}
.workspace {
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 91px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 38px;
  border-bottom: 1px solid var(--line);
}
.top-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #858b9d;
  font-weight: 600;
  white-space: nowrap;
}
.search-wrap {
  display: flex;
  gap: 11px;
  align-items: center;
  max-width: 360px;
  flex: 1;
  margin-left: auto;
  background: #ffffff04;
  border: 1px solid #ffffff09;
  border-radius: 9px;
  padding: 11px 13px;
  color: #787d8e;
}
.search-wrap .icon {
  width: 16px;
  height: 16px;
}
.search-wrap input {
  background: none;
  border: 0;
  outline: none !important;
  color: #eee;
  width: 100%;
  font-size: 11px;
  min-width: 0;
}
.search-wrap input::placeholder {
  color: #777e90;
}
.search-wrap kbd {
  font-size: 10px;
  font-family: inherit;
  border: 1px solid #ffffff15;
  border-radius: 3px;
  padding: 1px 5px;
  color: #767c8d;
}
.quiet {
  background: transparent;
  color: #b9bdcb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  min-height: 40px;
  transition:
    background 0.2s,
    color 0.2s;
}
.quiet:hover {
  background: #ffffff08;
  color: white;
}
.quiet .icon {
  width: 16px;
  height: 16px;
}
.random {
  white-space: nowrap;
  font-size: 11px;
  padding: 10px 0;
}
.avatar {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #768b9f44, #65628444);
  border: 1px solid #ffffff12;
  color: #c5c2df;
}
.avatar .icon {
  width: 16px;
  height: 16px;
}
.mobile-menu {
  display: none !important;
}
main {
  padding: 34px 38px 45px;
  min-height: 70vh;
  outline: none;
}
.page-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-intro h2 {
  margin-top: 7px;
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -1px;
}
.collection-count {
  font-size: 10px;
  color: #9097a8;
  display: flex;
  align-items: center;
  gap: 7px;
}
.live-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #a6c9b9;
  display: inline-block;
  box-shadow: 0 0 10px #98ccaf55;
}
.hero {
  min-height: 380px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 30%, #49698460, transparent 53%),
    linear-gradient(110deg, #202032, #202534 60%, #293947);
  border: 1px solid #ffffff0d;
  isolation: isolate;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 43px 38px;
  max-width: 570px;
}
.hero .eyebrow {
  color: #c7c8e5;
  font-size: 8px;
  letter-spacing: 1.8px;
}
.hero h1 {
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 650;
  line-height: 1.17;
  letter-spacing: -2.5px;
  margin-top: 20px;
}
.hero h1 em {
  font-style: normal;
  color: #c2b9ff;
}
.hero p {
  font-size: 12px;
  line-height: 1.85;
  margin-top: 17px;
  color: #c2c3d3;
}
.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
}
.primary {
  background: #edeaff;
  color: #29263f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 8px;
  padding: 13px 19px;
  font-size: 11px;
  font-weight: 650;
  min-height: 44px;
  box-shadow: 0 3px 18px #0002;
  transition:
    background 0.2s,
    transform 0.2s;
}
.primary:hover {
  background: #fff;
  transform: translateY(-2px);
}
.primary .icon {
  width: 14px;
  height: 14px;
}
.primary .icon:last-child {
  margin-left: 10px;
}
.hero-note {
  color: #a4a6ba;
  font-size: 9px;
  line-height: 1.7;
}
.hero-image {
  position: absolute;
  inset: 0 0 0 35%;
  width: 65%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(0.8);
}
.hero.has-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #1a1b2c 3%, #1a1b2cf2 30%, #171a2a55 70%),
    linear-gradient(0deg, #141724dd, transparent 60%);
  z-index: 1;
}
.has-image .hero-orbits {
  opacity: 0.25;
}
.hero-orbits {
  position: absolute;
  right: -45px;
  top: 50%;
  width: 440px;
  height: 340px;
  transform: translateY(-50%);
  z-index: 0;
}
.hero-orbits .planet {
  position: absolute;
  left: 105px;
  top: 40px;
  width: 245px;
  height: 245px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 25%,
    #9eabc2 0%,
    #516b96 18%,
    #2d3b64 40%,
    #20273e 65%,
    #131623 80%
  );
  box-shadow:
    inset -22px -25px 35px #080c15aa,
    inset 1px 1px 4px #d5dcff66,
    0 0 70px #89b9fb14;
}
.hero-orbits i {
  position: absolute;
  left: 3px;
  top: 120px;
  width: 440px;
  height: 115px;
  border-radius: 50%;
  border: 1px solid #b0c8e94a;
  transform: rotate(-29deg);
  box-shadow: 0 0 10px #8cbfff08;
}
.hero-orbits i:nth-of-type(2) {
  width: 400px;
  left: 20px;
  top: 126px;
  height: 100px;
  border-color: #a4a4f622;
}
.hero-orbits i:nth-of-type(3) {
  width: 480px;
  left: -20px;
  top: 110px;
  height: 140px;
  border-color: #b4bdde15;
}
.star-one {
  position: absolute;
  top: 37px;
  right: 80px;
  font-size: 40px;
  color: #c7d5ee;
  text-shadow: 0 0 22px #9abfee;
}
.star-two {
  position: absolute;
  bottom: 40px;
  left: 55px;
  font-size: 25px;
  color: #a6b2d5;
}
.featured-caption {
  position: absolute;
  right: 27px;
  bottom: 27px;
  z-index: 4;
  text-align: right;
}
.featured-caption > span {
  display: block;
  font-size: 7px;
  color: #c3bfd4;
  letter-spacing: 1.7px;
  margin-bottom: 8px;
}
.featured-caption strong {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
}
.featured-caption .icon {
  width: 15px;
  height: 15px;
}
.hero-pagination {
  position: absolute;
  bottom: 20px;
  left: 38px;
  z-index: 5;
  display: flex;
  gap: 4px;
}
.hero-pagination button {
  width: 26px;
  height: 20px;
  position: relative;
  background: none;
  padding: 0;
}
.hero-pagination button:after {
  content: "";
  position: absolute;
  inset: 8px 2px;
  background: #ffffff35;
  border-radius: 2px;
}
.hero-pagination button.active:after {
  background: #e4e0ff;
}
.promise-strip {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 23px 0;
  color: #7f8597;
  font-size: 9px;
  border-bottom: 1px solid var(--line);
}
.promise-strip span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.promise-strip .icon {
  height: 13px;
  width: 13px;
  color: #a3a2bb;
}
.game-section,
.category-section {
  margin-top: 35px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 19px;
}
.section-heading h2 {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.section-heading p {
  color: #848b9d;
  font-size: 11px;
  margin-top: 6px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b7b2db;
  font-size: 10px;
  min-height: 35px;
}
.text-link:hover {
  color: #e8e2ff;
}
.text-link .icon {
  width: 14px;
  height: 14px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 17px;
}
.game-grid .game-card:nth-child(n + 5) {
  display: none;
}
.library-grid .game-card:nth-child(n + 5) {
  display: block;
}
.game-card {
  min-width: 0;
  position: relative;
  transition: transform 0.2s;
}
.game-card:hover {
  transform: translateY(-4px);
}
.card-art {
  aspect-ratio: 1.5;
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, #24283a, #1b2230);
  border-radius: 11px;
}
.card-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.4s,
    filter 0.3s;
}
.game-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.75);
}
.card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #151521b3;
  backdrop-filter: blur(12px);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 5px 7px;
  border: 1px solid #ffffff18;
  border-radius: 4px;
}
.play-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #f3efffe6;
  color: #29253c;
  transform: translate(-50%, -35%);
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.game-card:hover .play-overlay,
.game-card:focus-within .play-overlay {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.play-overlay .icon {
  height: 18px;
  width: 18px;
  fill: currentColor;
  stroke-width: 0;
  margin-left: -3px;
}
.card-info {
  padding: 12px 27px 0 1px;
}
.card-info h3 {
  font-family: "DM Sans", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 500;
}
.card-info > span {
  font-size: 9px;
  color: #81899c;
  display: block;
  margin-top: 5px;
}
.favorite {
  position: absolute;
  right: 1px;
  bottom: 8px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #7e8496;
  padding: 5px;
  border-radius: 6px;
  min-width: 30px;
  min-height: 30px;
}
.favorite .icon {
  width: 15px;
  height: 15px;
}
.favorite:hover,
.favorite.saved {
  color: #c4b4f2;
}
.favorite.saved .icon {
  fill: #b8a1f333;
}
.fallback-art {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 25% 10%,
      hsl(var(--art-hue) 30% 38%),
      transparent 75%
    ),
    hsl(var(--art-hue) 20% 15%);
}
.fallback-art span {
  font-family: Manrope;
  font-weight: 800;
  font-size: 55px;
  opacity: 0.6;
  letter-spacing: -3px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.category-tile {
  border: 1px solid #ffffff08;
  border-radius: 11px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--category) 8%, transparent),
    #ffffff02
  );
  padding: 20px 15px 14px;
  transition:
    background 0.2s,
    transform 0.2s;
  min-width: 0;
}
.category-tile:hover {
  transform: translateY(-3px);
  background: color-mix(in srgb, var(--category) 12%, transparent);
}
.category-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: color-mix(in srgb, var(--category) 10%, transparent);
  border-radius: 10px;
  color: var(--category);
  margin-bottom: 17px;
}
.category-symbol .icon {
  width: 20px;
  height: 20px;
}
.category-tile strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.category-tile > span:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  color: #848b9a;
  margin-top: 7px;
}
.category-tile > span:last-child .icon {
  width: 12px;
  height: 12px;
}
.closing-panel {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 42px;
  padding: 27px 24px;
  background:
    radial-gradient(ellipse at 0 100%, #7565c71c, transparent 80%), #ffffff02;
  border: 1px solid #ffffff08;
  border-radius: 13px;
}
.closing-star {
  font-size: 35px;
  color: #aca7db;
}
.closing-panel .eyebrow {
  font-size: 7px;
  color: #9292b0;
  letter-spacing: 1.3px;
}
.closing-panel h2 {
  font-size: 16px;
  letter-spacing: -0.2px;
  margin-top: 5px;
}
.closing-panel p {
  font-size: 10px;
  margin-top: 7px;
  color: #80889b;
}
.closing-panel button {
  margin-left: auto;
  border: 1px solid #ffffff13;
  white-space: nowrap;
  font-size: 10px;
}
.empty {
  background: linear-gradient(120deg, #ffffff03, #ffffff01);
  border: 1px dashed #ffffff12;
  border-radius: 13px;
  min-height: 215px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.empty > .icon {
  color: #9187bc;
  width: 25px;
  height: 25px;
  margin-bottom: 15px;
}
.empty h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.3px;
}
.empty p {
  font-size: 11px;
  color: #9299ad;
  margin-top: 9px;
  line-height: 1.8;
}
.empty .quiet {
  font-size: 10px;
  margin-top: 13px;
  color: #b8acd7;
}
.import-note {
  font-size: 9px;
  color: #767e92;
  margin-top: 21px;
  line-height: 1.8;
}
code {
  font-family: Consolas, monospace;
  font-size: inherit;
  color: #b5abc9;
}
footer {
  margin: 0 38px;
  padding: 23px 0;
  display: flex;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #71788c;
  font-size: 9px;
}
.footer-brand {
  font-family: Manrope;
  font-weight: 750;
  font-size: 20px;
  letter-spacing: -1px;
  color: #a0a2b7;
}
.footer-right {
  margin-left: auto;
}
.tiny-star {
  color: #a7a0c8;
  margin-left: 8px;
  font-size: 14px;
}
.library-heading {
  margin: 16px 0 31px;
}
.library-heading .eyebrow {
  color: #84889e;
}
.library-heading h1 {
  font-size: 37px;
  letter-spacing: -1.6px;
  font-weight: 650;
  margin-top: 12px;
}
.library-heading p {
  font-size: 12px;
  color: #9298a9;
  margin-top: 13px;
}
.filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
}
.chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.chip {
  font-size: 11px;
  color: #959bad;
  background: transparent;
  padding: 10px 13px;
  border-radius: 7px;
  min-height: 40px;
}
.chip:hover {
  background: #ffffff06;
}
.chip.selected {
  color: #d1c8f5;
  background: #b09cff17;
}
.sort select {
  border: 1px solid #ffffff12;
  color: #aab0c2;
  border-radius: 7px;
  background: #1c1f29;
  padding: 10px;
  font-size: 10px;
  max-width: 140px;
  min-height: 40px;
}
.results-meta {
  font-size: 10px;
  color: #787f93;
  padding: 19px 0;
}
.library-grid {
  row-gap: 27px;
}
.player-navigation {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #7e8596;
  font-size: 10px;
  margin-bottom: 18px;
}
.player-navigation > .quiet {
  padding-left: 0;
}
.player-shell {
  width: 100%;
  max-width: calc(80vh * var(--game-aspect, 1.7777778) + 2px);
  margin-inline: auto;
  border: 1px solid #ffffff10;
  border-radius: 14px;
  overflow: hidden;
  background: #080a0e;
}
.player-stage {
  width: 100%;
  position: relative;
  min-height: 250px;
  background: #050609;
}
.player-stage iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  inset: 0;
}
.player-stage:fullscreen {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto !important;
  max-height: none;
}
.player-loading {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  background: radial-gradient(ellipse, #212238, #10121b);
  z-index: 2;
  text-align: center;
  padding: 20px;
}
.player-loading h2 {
  font-size: 18px;
}
.player-loading p {
  font-size: 12px;
  color: var(--muted);
}
.loader {
  width: 34px;
  height: 34px;
  border: 2px solid #ffffff15;
  border-top-color: #b3a5f4;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.player-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 14px 18px;
  background: linear-gradient(120deg, #232631, #191c25);
}
.player-toolbar > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.player-toolbar strong {
  font-size: 12px;
  font-weight: 500;
}
.player-toolbar > div > span {
  font-size: 9px;
  color: var(--muted);
}
.player-toolbar .quiet {
  font-size: 10px;
}
.player-toolbar [aria-pressed="true"] {
  color: #d1b9ff;
}
.player-toolbar [aria-pressed="true"] .icon {
  fill: #b8a1f344;
}
.game-details {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  margin: 35px 0 45px;
}
.game-details .eyebrow {
  font-size: 8px;
  color: #8b90a4;
}
.game-details h1 {
  font-size: 26px;
  margin-top: 8px;
  letter-spacing: -0.8px;
}
.game-details p {
  font-size: 12px;
  color: #939aad;
  line-height: 1.9;
  margin-top: 12px;
}
.game-tips {
  padding: 20px;
  background: #ffffff03;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.game-tips strong {
  font-size: 12px;
  font-weight: 500;
}
.game-tips p {
  font-size: 11px;
}
.game-tips .text-link {
  margin-top: 10px;
}
.focus-mode .sidebar,
.focus-mode .top-label {
  display: none;
}
.focus-mode {
  --sidebar: 0px;
}
dialog {
  max-width: 440px;
  width: calc(100% - 32px);
  padding: 28px;
  background: linear-gradient(130deg, #30333eea, #1c222bed);
  border: 1px solid #ffffff15;
  border-radius: 18px;
  color: var(--text);
  box-shadow: 0 24px 100px #0009;
  backdrop-filter: blur(35px);
}
dialog::backdrop {
  background: #080b19aa;
  backdrop-filter: blur(9px);
}
.modal-header {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.modal-header h2 {
  font-size: 20px;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #ffffff05;
  border-radius: 8px;
  color: #a6adc0;
  font-size: 22px;
}
.modal-header + .muted {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 12px;
  margin-bottom: 17px;
}
.preference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #ffffff0c;
  font-size: 12px;
  gap: 20px;
}
.preference input {
  accent-color: #b8a3ee;
  width: 17px;
  height: 17px;
}
.preference + .small {
  margin-top: 20px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
.danger {
  color: #caa7b6;
  font-size: 10px;
  margin-top: 12px;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 15px);
  padding: 14px 22px;
  background: #2b2c3df2;
  backdrop-filter: blur(20px);
  color: #e2ddf3;
  border: 1px solid #ffffff1c;
  border-radius: 10px;
  box-shadow: 0 5px 30px #0004;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 30;
  max-width: 90vw;
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.sr-only,
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  clip: auto;
  width: auto;
  height: auto;
  top: 15px;
  left: 20px;
  z-index: 100;
  padding: 12px;
  background: #29263d;
  border-radius: 8px;
}
.reduce-motion *,
.reduce-motion *:before,
.reduce-motion *:after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
.image-unavailable {
  background: radial-gradient(circle at 70% 30%, #5d5488, #242638);
}
@media (min-width: 1500px) {
  .shell {
    margin: 28px 40px;
  }
  .game-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .game-grid .game-card:nth-child(n + 5) {
    display: block;
  }
  .hero {
    min-height: 420px;
  }
  .hero-content {
    padding: 45px;
  }
  .hero-orbits {
    right: 60px;
    transform: translateY(-50%) scale(1.12);
  }
}
@media (max-width: 1150px) {
  :root {
    --sidebar: 195px;
  }
  .topbar {
    gap: 16px;
    margin: 0 27px;
  }
  .top-label {
    display: none;
  }
  main {
    padding: 28px 27px;
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-tile {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 3px 13px;
    align-items: center;
    padding: 15px;
  }
  .category-symbol {
    grid-row: 1/3;
    margin: 0;
  }
  .category-tile > span:last-child {
    margin: 0;
  }
  .promise-strip {
    gap: 25px;
    font-size: 8px;
  }
  .closing-panel {
    gap: 14px;
  }
  .closing-panel h2 {
    font-size: 14px;
  }
  .closing-panel p {
    max-width: 250px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .collection-count {
    display: none;
  }
  .hero-content {
    padding-left: 28px;
  }
  .hero-pagination {
    left: 28px;
  }
  .hero-orbits {
    right: -130px;
  }
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .game-grid .game-card:nth-child(n + 5) {
    display: block;
  }
  footer {
    margin: 0 27px;
  }
  .sidebar-bottom {
    padding-left: 10px;
    padding-right: 5px;
  }
  .sidebar-bottom strong {
    font-size: 10px;
  }
}
@media (max-width: 820px) {
  .shell {
    margin: 0;
    border-radius: 0;
    border: 0;
    min-height: 100vh;
  }
  .sidebar {
    width: 210px;
    position: fixed;
    left: 0;
    top: 0;
    height: 100dvh;
    min-height: 0;
    transform: translateX(-100%);
    transition: transform 0.25s;
    z-index: 20;
    backdrop-filter: blur(30px);
    background: #151722f5;
    border-right: 1px solid #ffffff14;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 30px 0 100px #0009;
  }
  .sidebar.open .brand {
    padding-right: 25px;
  }
  .mobile-menu {
    display: grid !important;
  }
  .topbar {
    height: 76px;
    margin: 0 22px;
    gap: 12px;
  }
  .search-wrap {
    max-width: none;
  }
  .topbar .random span {
    display: none;
  }
  .random .icon {
    width: 18px;
    height: 18px;
  }
  .topbar .avatar {
    width: 34px;
    height: 34px;
  }
  .topbar .search-wrap input {
    font-size: 11px;
  }
  .page-intro h2 {
    font-size: 25px;
  }
  main {
    padding: 28px 22px 35px;
  }
  .hero-orbits {
    right: -35px;
  }
  .hero {
    min-height: 380px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-content {
    padding: 35px 28px;
  }
  .hero p {
    max-width: 300px;
  }
  .hero-image {
    left: 25%;
    width: 75%;
  }
  .hero.has-image:after {
    background:
      linear-gradient(90deg, #1a1b2cf5 0%, #1a1b2cbb 45%, #171a2a55 100%),
      linear-gradient(0deg, #141724dd, transparent 60%);
  }
  .promise-strip {
    gap: 30px;
  }
  .game-grid {
    gap: 20px 15px;
  }
  .closing-panel .closing-star {
    display: none;
  }
  .closing-panel {
    padding: 22px 19px;
  }
  .closing-panel button {
    font-size: 9px;
  }
  .game-details {
    gap: 25px;
  }
  .player-toolbar {
    flex-wrap: wrap;
  }
  .player-toolbar > div:last-child {
    margin-left: auto;
  }
  .focus-mode .topbar {
    display: flex;
  }
  .focus-mode .mobile-menu {
    display: none !important;
  }
  footer {
    margin: 0 22px;
  }
  .category-section {
    margin-top: 30px;
  }
}
@media (max-width: 520px) {
  .topbar {
    margin: 0 17px;
    gap: 10px;
    height: 71px;
  }
  .search-wrap {
    padding: 10px;
    gap: 7px;
  }
  .search-wrap input {
    font-size: 10px;
  }
  .search-wrap kbd {
    display: none;
  }
  .random {
    padding: 8px;
  }
  .avatar {
    display: none;
  }
  main {
    padding: 25px 17px 30px;
  }
  .page-intro {
    margin-bottom: 20px;
  }
  .page-intro .eyebrow {
    font-size: 8px;
  }
  .page-intro h2 {
    font-size: 24px;
  }
  .hero {
    min-height: 425px;
  }
  .hero-content {
    padding: 29px 24px;
  }
  .hero h1 {
    font-size: 41px;
    letter-spacing: -1.9px;
    margin-top: 21px;
  }
  .hero .eyebrow {
    font-size: 7px;
  }
  .hero p {
    font-size: 11px;
    max-width: 250px;
  }
  .hero-actions {
    gap: 14px;
    margin-top: 23px;
  }
  .primary {
    font-size: 10px;
    padding: 12px 15px;
  }
  .hero-note {
    font-size: 8px;
  }
  .hero-orbits {
    right: -135px;
    top: 65%;
    opacity: 0.7;
  }
  .featured-caption {
    bottom: 26px;
    right: 22px;
    max-width: 70%;
  }
  .featured-caption strong {
    font-size: 10px;
  }
  .featured-caption > span {
    font-size: 6px;
  }
  .hero-pagination {
    left: 22px;
    bottom: 24px;
  }
  .hero-pagination button {
    width: 15px;
  }
  .promise-strip {
    gap: 18px;
    justify-content: space-between;
    padding: 19px 2px;
  }
  .promise-strip span {
    font-size: 8px;
    gap: 6px;
  }
  .promise-strip span:nth-child(2) {
    display: none;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .section-heading p {
    font-size: 10px;
  }
  .section-heading {
    margin-bottom: 17px;
  }
  .text-link {
    font-size: 9px;
    white-space: nowrap;
    gap: 5px;
  }
  .game-section {
    margin-top: 28px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 13px;
  }
  .game-grid .game-card:nth-child(n + 5) {
    display: none;
  }
  .library-grid .game-card:nth-child(n + 5) {
    display: block;
  }
  .card-art {
    aspect-ratio: 1.4;
  }
  .card-info h3 {
    font-size: 11px;
  }
  .card-info > span {
    font-size: 8px;
  }
  .card-tag {
    font-size: 6px;
    padding: 4px;
    left: 7px;
    top: 7px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }
  .category-tile {
    gap: 3px 8px;
    padding: 15px 12px;
    grid-template-columns: 31px 1fr;
  }
  .category-symbol {
    width: 30px;
    height: 33px;
  }
  .category-symbol .icon {
    width: 17px;
  }
  .category-tile strong {
    font-size: 10px;
  }
  .category-tile > span:last-child {
    font-size: 7px;
  }
  .closing-panel {
    display: block;
    margin-top: 30px;
  }
  .closing-panel h2 {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 8px;
  }
  .closing-panel p {
    line-height: 1.7;
    font-size: 11px;
  }
  .closing-panel button {
    margin-top: 15px;
    margin-left: 0;
    font-size: 10px;
  }
  .closing-panel .eyebrow {
    font-size: 7px;
  }
  .empty {
    min-height: 220px;
    padding: 24px 18px;
  }
  .empty h3 {
    font-size: 15px;
  }
  .empty p {
    font-size: 10px;
  }
  .import-note {
    font-size: 8px;
  }
  footer {
    margin: 0 17px;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 0;
  }
  .footer-right {
    width: 100%;
    margin: 0;
    font-size: 8px;
  }
  .footer-brand {
    font-size: 18px;
  }
  .library-heading {
    margin: 9px 0 25px;
  }
  .library-heading h1 {
    font-size: 30px;
    line-height: 1.2;
  }
  .library-heading p {
    line-height: 1.8;
    font-size: 11px;
  }
  .filters {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .chips {
    gap: 2px;
  }
  .chip {
    padding: 9px 11px;
    font-size: 10px;
  }
  .sort select {
    font-size: 9px;
  }
  .player-navigation {
    gap: 12px;
    font-size: 8px;
    align-items: flex-start;
  }
  .player-navigation > span {
    line-height: 2;
    margin-top: 9px;
    overflow-wrap: anywhere;
  }
  .player-navigation .quiet {
    font-size: 10px;
    white-space: nowrap;
  }
  .player-stage {
    min-height: 230px;
  }
  .player-toolbar {
    padding: 13px 12px;
  }
  .player-toolbar > div {
    gap: 10px;
  }
  .player-toolbar > div:last-child {
    width: 100%;
    justify-content: space-between;
  }
  .player-toolbar .quiet {
    padding: 8px 5px;
    gap: 5px;
  }
  .game-details {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 26px 0 30px;
  }
  .game-details h1 {
    font-size: 24px;
  }
  .game-details p {
    font-size: 11px;
  }
  .player-loading h2 {
    font-size: 16px;
  }
  .player-loading p {
    font-size: 10px;
  }
  dialog {
    padding: 23px;
  }
  .modal-header h2 {
    font-size: 18px;
  }
  .preference {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
[hidden] {
  display: none !important;
}
#session-bar {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  background: #292b3aee;
  backdrop-filter: blur(24px);
  border: 1px solid #ffffff18;
  box-shadow: 0 6px 35px #0006;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 10px 8px 20px;
  max-width: 95vw;
  font-size: 11px;
}
#session-title {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#session-bar .quiet {
  color: #d7cfff;
  white-space: nowrap;
  font-size: 10px;
}
#session-bar .icon-button {
  width: 30px;
  height: 30px;
}
body:has(#session-bar:not([hidden])) footer {
  padding-bottom: 90px;
}
@media (max-width: 520px) {
  #session-bar {
    gap: 8px;
    padding-left: 12px;
    font-size: 9px;
  }
  #session-title {
    max-width: 100px;
  }
  #session-bar .quiet {
    font-size: 9px;
    padding: 6px;
  }
}
.exit-fullscreen {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  padding: 11px 15px;
  background: #242535d9;
  backdrop-filter: blur(15px);
  border: 1px solid #ffffff25;
  border-radius: 8px;
  font-size: 12px;
  color: #eee;
}
.player-stage:fullscreen .exit-fullscreen {
  display: block;
}
@media (max-width: 820px) {
  .sidebar {
    visibility: hidden;
  }
  .sidebar.open {
    visibility: visible;
  }
}
.sidebar {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #414454 transparent;
}
.sidebar > * {
  flex-shrink: 0;
}
@media (min-width: 821px) and (max-height: 850px) {
  .sidebar {
    padding-top: 25px;
  }
  .brand {
    margin-bottom: 28px;
  }
  .category-label {
    margin-top: 22px;
  }
  .side-categories a {
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: 38px;
  }
  .sidebar-bottom {
    padding-top: 20px;
  }
  .sidebar-bottom .mini-orbit {
    display: none;
  }
  .sidebar-bottom button {
    margin-top: 12px;
  }
}
body {
  min-width: 280px;
}
.load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  margin: 32px 0 15px;
}
.load-more button {
  background: #ffffff05;
  border: 1px solid #ffffff14;
  padding: 12px 24px;
}
.load-more > span {
  font-size: 10px;
  color: var(--muted);
}
.quiet,
.chip,
.sort select,
.search-wrap {
  min-height: 44px;
}
.icon-button,
.avatar {
  min-width: 44px;
  min-height: 44px;
}
.favorite {
  min-width: 44px;
  min-height: 44px;
  right: -6px;
  bottom: 0;
}
.card-info {
  padding-right: 36px;
}
.hero-pagination button {
  width: 44px;
  height: 44px;
}
.hero-pagination button:after {
  inset: 20px 6px;
}
.hero-pagination {
  bottom: 0;
}
.game-details h1 {
  overflow-wrap: anywhere;
}
.game-tips .text-link {
  display: flex;
  white-space: normal;
}
.footer-brand {
  min-height: 44px;
  display: flex;
  align-items: center;
}
@media (max-width: 520px) {
  .hero-pagination {
    bottom: 2px;
  }
  .featured-caption {
    bottom: 53px;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 36px;
  }
  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-note {
    font-size: 7px;
  }
  .topbar {
    margin-left: 12px;
    margin-right: 12px;
    gap: 5px;
  }
}
.close-menu,
.nav-scrim {
  display: none;
}
.close-menu{z-index:2}
.topbar .random [data-icon] {
  display: inline-flex;
}
@media (max-width: 820px) {
  .close-menu {
    display: grid;
    position: absolute;
    right: 10px;
    top: 26px;
    background: transparent;
  }
  .sidebar.open + .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 19;
    background: #05081288;
    backdrop-filter: blur(3px);
  }
  .sidebar .brand {
    padding-right: 20px;
  }
  .sidebar .brand > span {
    font-size: 26px;
  }
}

/* Full browser canvas; glass stays on bounded panels to limit GPU cost. */
:root { --sidebar: 216px; }
body { background: #10131c; }
.ambient { display: none; }
.shell { max-width: none; margin: 0; min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; overflow: clip; background: radial-gradient(ellipse at 80% 0, #26334966, transparent 45%), #11141c; }
.sidebar { height: 100dvh; background: #151925d9; backdrop-filter: none; }
.topbar { margin: 0; padding: 0 30px; height: 84px; background: linear-gradient(120deg, #ffffff08, #ffffff02); border-bottom: 1px solid #ffffff12; }
main { padding: 26px 30px 40px; }
.page-intro { margin-bottom: 22px; }
.hero { min-height: 360px; box-shadow: inset 0 1px #ffffff16, 0 12px 36px #0002; border: 1px solid #ffffff1c; }
.hero-content { padding: 36px; max-width: 620px; }
.hero h1 { font-size: clamp(36px, 4.2vw, 64px); line-height: 1.1; max-width: 560px; }
.hero-content p { font-size: 15px; line-height: 1.65; max-width: 390px; }
.hero-note, .hero-orbits, .featured-caption { display: none; }
.hero-image { filter: none; opacity: .85; }
.hero.has-image::after { background: linear-gradient(90deg,#191f30 5%,#191f30eb 33%,#11182730 80%),linear-gradient(0deg,#101522bb,transparent); }
.hero-pagination { bottom: 10px; left: 28px; }
.hero-actions { margin-top: 24px; }
.search-box, .primary, .quiet, .chip, .category-tile, .sort select { border: 1px solid #ffffff19; box-shadow: inset 0 1px 0 #ffffff14, 0 4px 12px #0001; background-image: linear-gradient(140deg,#ffffff10,#ffffff02); }
.search-box, .primary, .chip.selected { backdrop-filter: blur(10px); }
.game-card { border: 1px solid #ffffff10; border-radius: 16px; background: linear-gradient(145deg,#ffffff08,#ffffff02); overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.card-art { border-radius: 0; }
.card-info { padding: 14px; }
.card-info h3 { font-size: 15px; }
.card-info > span { font-size: 12px; }
.card-art img { transition: transform .35s ease; }
.game-card:focus-within { border-color: #b8b1ff88; }
.game-grid { gap: 20px; }
.category-tile { background-color: #1c2130; }
.section-heading p { font-size: 12px; }
.section-heading p a { text-decoration: underline; text-underline-offset: 3px; }
.game-section, .category-section { margin-top: 30px; }
#discovery-view > .hero, .library-heading, .game-details { animation: arrive .38s ease both; }
.play-overlay { transition: opacity .2s ease, transform .2s ease; transform: scale(.85); }
.game-card:hover .play-overlay, .game-card:focus-within .play-overlay { transform: scale(1); }
.primary:active, .quiet:active { transform: scale(.97); }
@keyframes arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (hover:hover) {
  .game-card:hover { transform: translateY(-4px); border-color: #b8b1ff55; }
  .game-card:hover .card-art img { transform: scale(1.035); }
}
@media (min-width:1500px) { .game-grid { grid-template-columns: repeat(5,minmax(0,1fr)); } }
@media (max-width:820px) {
  .sidebar { background: #171b27; }
  .topbar { padding: 0 18px; height: 74px; gap: 12px; }
  main { padding: 22px 18px 32px; }
  .hero { min-height: 330px; }
  .hero-content { padding: 28px 22px 60px; }
  .hero h1 { font-size: 38px; }
  .hero-content p { font-size: 14px; max-width: 260px; }
  .game-grid { gap: 14px; }
  .card-info { padding: 12px; }
  .card-info h3 { font-size: 14px; }
}
.performance-mode * { backdrop-filter: none !important; animation: none !important; transition: none !important; }
.performance-mode .game-card:hover, .performance-mode .game-card:hover img { transform: none; }
.performance-mode dialog { background: #202432; }
.performance-mode dialog::backdrop, .performance-mode .nav-scrim { backdrop-filter: none; }
.performance-mode .hero { box-shadow: inset 0 1px #ffffff16; }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion:reduce) { #discovery-view .hero, .library-heading, .game-details { animation: none; } }
.game-grid .game-card:nth-child(-n+8) { animation: arrive .32s ease both; }
.game-grid .game-card:nth-child(2) { animation-delay: 35ms; }
.game-grid .game-card:nth-child(3) { animation-delay: 70ms; }
.game-grid .game-card:nth-child(4) { animation-delay: 105ms; }
@media (prefers-reduced-motion:reduce) { .game-grid .game-card { animation: none; } }

/* Two-line wordmark keeps the full name within the compact sidebar. */
.sidebar .brand > span { font-size: 26px; line-height: 1; }
.brand-subtitle { display: block; margin-top: 5px; font-size: 14px; font-weight: 650; letter-spacing: .3px; }
