:root {
  --midnight: #070b17;
  --dock: #0d1427;
  --deck: #131e35;
  --deck-lift: #192641;
  --snow: #f5f7ff;
  --haze: #96a5c3;
  --signal: #5968f2;
  --signal-bright: #7180ff;
  --pulse: #16c8f4;
  --reward: #ff9f43;
  --success: #45d69f;
  --danger: #ff7182;
  --line: rgba(166, 181, 218, .14);
  --display: "DIN Alternate", "Arial Narrow", "Avenir Next Condensed", "PingFang SC", sans-serif;
  --body: "Avenir Next", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; background: var(--midnight); }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--snow);
  background:
    radial-gradient(circle at 55% -20%, rgba(89, 104, 242, .14), transparent 32rem),
    var(--midnight);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:focus-visible {
  outline: 3px solid rgba(22, 200, 244, .76);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Launcher frame */
.launcher-shell { min-height: 100vh; }
.launcher-rail {
  position: fixed;
  z-index: 50;
  inset: 0 auto 0 0;
  width: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--line);
  background: rgba(10, 16, 31, .96);
  box-shadow: 15px 0 45px rgba(0, 0, 0, .16);
}
.rail-brand {
  width: 100%;
  height: 84px;
  display: grid;
  place-items: center;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--snow);
  text-decoration: none;
  font-family: var(--display);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}
.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  display: inline-block;
  transform: rotate(-7deg);
  border-radius: 9px 14px 9px 14px;
  background: linear-gradient(145deg, var(--signal-bright), #3541b7);
  box-shadow: 0 10px 24px rgba(89, 104, 242, .3);
}
.brand-mark i {
  position: absolute;
  top: 8px;
  left: 11px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid white;
}
.brand-mark b {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--pulse);
  border-radius: 50%;
  background: var(--dock);
  box-shadow: 0 0 12px rgba(22, 200, 244, .8);
}
.rail-nav {
  width: 100%;
  display: grid;
  gap: 7px;
  padding: 28px 10px;
}
.rail-nav a,
.rail-unlock {
  position: relative;
  width: 68px;
  min-height: 62px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 0;
  border-radius: 13px;
  color: #71809f;
  background: transparent;
  text-decoration: none;
  font-size: 10px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.rail-nav a::before {
  content: "";
  position: absolute;
  left: -10px;
  width: 3px;
  height: 0;
  border-radius: 0 4px 4px 0;
  background: var(--pulse);
  box-shadow: 0 0 15px var(--pulse);
  transition: height .2s ease;
}
.rail-nav a svg,
.rail-unlock svg { width: 21px; height: 21px; }
.rail-nav a:hover,
.rail-nav a.active,
.rail-unlock:hover {
  color: var(--snow);
  background: rgba(89, 104, 242, .13);
}
.rail-nav a.active::before { height: 30px; }
.rail-foot {
  width: 100%;
  display: grid;
  place-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 20px 10px;
  border-top: 1px solid var(--line);
}
.rail-status {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--haze);
  font-size: 9px;
}
.rail-status i,
.is-online i,
.account-state i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 11px rgba(69, 214, 159, .75);
}
.launcher-main { min-height: 100vh; margin-left: 88px; }
.launcher-topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(280px, 1.1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 12px clamp(22px, 3.1vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 23, .82);
  backdrop-filter: blur(20px);
}
.mobile-brand { display: none; }
.topbar-title p {
  margin: 0 0 3px;
  color: #697795;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}
.topbar-title h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.topbar-discovery {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 148px;
  gap: 9px;
}
.topbar-search {
  height: 44px;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid rgba(156, 174, 218, .16);
  border-radius: 11px;
  background: rgba(20, 31, 53, .72);
  transition: border-color .2s ease, background .2s ease;
}
.topbar-search:focus-within {
  border-color: rgba(22, 200, 244, .5);
  background: var(--deck);
}
.topbar-search svg { width: 18px; color: #6d7b98; }
.topbar-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--snow);
  background: transparent;
  font-size: 13px;
}
.topbar-search input::placeholder { color: #66738e; }
.topbar-search kbd {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #75829d;
  background: rgba(255,255,255,.035);
  font-family: var(--body);
  font-size: 9px;
}
.topbar-filter {
  position: relative;
  height: 44px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(113, 128, 255, .28);
  border-radius: 11px;
  background:
    linear-gradient(135deg, rgba(113,128,255,.09), transparent 58%),
    rgba(20, 31, 53, .72);
  transition: border-color .2s ease, background .2s ease;
}
.topbar-filter:focus-within {
  border-color: rgba(22, 200, 244, .55);
  background: var(--deck);
}
.topbar-filter svg {
  width: 18px;
  fill: none;
  stroke: var(--pulse);
  stroke-width: 1.8;
  stroke-linecap: round;
}
.topbar-filter select {
  min-width: 0;
  width: 100%;
  appearance: none;
  border: 0;
  outline: 0;
  color: #dce6f7;
  background: transparent;
  font: 750 11px var(--body);
  cursor: pointer;
}
.topbar-filter > span {
  color: #7382a1;
  font-size: 12px;
  pointer-events: none;
}
.topbar-account { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.topbar-account form { margin: 0; }
.account-state {
  display: grid;
  justify-items: end;
  color: #bdc7dc;
  font-size: 11px;
}
.account-state span { display: flex; align-items: center; gap: 6px; }
.account-state small { margin-top: 2px; color: #6f7d99; font-size: 9px; }
.account-button {
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid rgba(113, 128, 255, .56);
  border-radius: 9px;
  color: white;
  background: linear-gradient(135deg, #5362ea, #6d7af8);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 9px 24px rgba(60, 74, 190, .2);
}
.account-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.account-button-quiet {
  border-color: var(--line);
  color: #a6b1c9;
  background: rgba(255,255,255,.04);
  box-shadow: none;
}
.launcher-content {
  width: 100%;
  max-width: 1780px;
  margin: 0 auto;
  padding: 28px clamp(20px, 3.1vw, 48px) 48px;
}

/* Spotlight */
.spotlight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(280px, .66fr);
  gap: 18px;
}
.spotlight-layout > * { min-width: 0; }
.spotlight-layout.is-solo { grid-template-columns: minmax(0, 1fr); }
.spotlight-stage {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  border: 1px solid rgba(164, 181, 225, .14);
  border-radius: 18px;
  background: #111b30;
  isolation: isolate;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}
.spotlight-art,
.spotlight-art img,
.spotlight-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }
.spotlight-art img { object-fit: cover; }
.spotlight-placeholder {
  overflow: hidden;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.72);
  background:
    radial-gradient(circle at 70% 25%, rgba(22, 200, 244, .25), transparent 24%),
    linear-gradient(135deg, #202f59, #11182c 62%);
}
.spotlight-placeholder b {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-size: clamp(120px, 18vw, 280px);
  line-height: 1;
  opacity: .36;
}
.spotlight-placeholder i {
  position: absolute;
  width: 40vw;
  height: 40vw;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
.spotlight-placeholder i:last-child { width: 28vw; height: 28vw; }
.spotlight-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 23, .94) 0%, rgba(7, 11, 23, .68) 40%, rgba(7,11,23,.05) 78%),
    linear-gradient(0deg, rgba(7,11,23,.86), transparent 54%);
}
.signal-scan {
  position: absolute;
  z-index: 2;
  top: -40%;
  bottom: -40%;
  left: -24%;
  width: 12%;
  transform: rotate(13deg);
  background: linear-gradient(90deg, transparent, rgba(142, 230, 255, .12), transparent);
  filter: blur(4px);
  animation: signal-scan 7s ease-in-out infinite 1.2s;
}
@keyframes signal-scan {
  0%, 18% { left: -24%; opacity: 0; }
  28% { opacity: 1; }
  58%, 100% { left: 112%; opacity: 0; }
}
.spotlight-copy {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 4vw, 62px);
  bottom: clamp(30px, 4.5vw, 60px);
  max-width: min(580px, 68%);
}
.spotlight-flags { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; }
.spotlight-flags span {
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  color: #c3cde0;
  background: rgba(6,10,21,.38);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}
.spotlight-flags .live-flag {
  display: flex;
  align-items: center;
  gap: 6px;
  border-color: rgba(22, 200, 244, .28);
  color: #dffaff;
  background: rgba(22, 200, 244, .13);
}
.spotlight-flags .access-flag.is-public,
.spotlight-flags .access-flag.is-unlocked {
  border-color: rgba(69,214,159,.32);
  color: #c5f8e4;
  background: rgba(24,90,70,.48);
}
.live-flag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pulse);
  box-shadow: 0 0 9px var(--pulse);
}
.spotlight-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.5vw, 70px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.045em;
  text-shadow: 0 12px 38px rgba(0,0,0,.32);
}
.spotlight-copy > p {
  max-width: 520px;
  margin: 17px 0 0;
  color: #b5c0d5;
  font-size: 14px;
  line-height: 1.75;
}
.spotlight-actions { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.primary-launch,
.secondary-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.primary-launch {
  border: 1px solid rgba(255,255,255,.24);
  color: white;
  background: linear-gradient(135deg, var(--signal), #6d7cff);
  box-shadow: 0 14px 32px rgba(56, 71, 193, .3);
}
.primary-launch:hover { filter: brightness(1.1); transform: translateY(-1px); }
.play-triangle {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid white;
}
.secondary-action {
  border: 1px solid rgba(255,255,255,.16);
  color: #d4dbeb;
  background: rgba(8,13,26,.34);
  text-decoration: none;
  backdrop-filter: blur(10px);
}
.spotlight-index {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 24px;
  color: rgba(255,255,255,.56);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
}
.spotlight-queue {
  min-height: 450px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(89, 104, 242, .08), transparent 36%),
    rgba(13, 20, 39, .78);
}
.queue-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 2px 2px 16px;
  border-bottom: 1px solid var(--line);
}
.queue-heading span,
.section-heading p {
  display: block;
  margin: 0 0 5px;
  color: #65738f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
}
.queue-heading h2,
.section-heading h2 { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 900; }
.queue-heading > b {
  color: rgba(255,255,255,.12);
  font-family: var(--display);
  font-size: 34px;
  line-height: .8;
}
.queue-list { display: grid; gap: 7px; padding-top: 13px; }
.queue-item {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--snow);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.queue-item:hover,
.queue-item.is-current {
  border-color: rgba(113, 128, 255, .2);
  background: rgba(89, 104, 242, .1);
}
.queue-item:hover { transform: translateX(2px); }
.queue-cover {
  width: 72px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, #31437a, #17213d);
}
.queue-cover img { width: 100%; height: 100%; object-fit: cover; }
.queue-cover b { font-family: var(--display); font-size: 25px; color: rgba(255,255,255,.66); }
.queue-copy { min-width: 0; display: grid; gap: 3px; }
.queue-copy small {
  overflow: hidden;
  color: #6e7d9a;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.queue-copy strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.queue-item > i { color: #5d6b87; font-style: normal; font-size: 13px; }

/* Content sections */
.content-section { margin-top: 42px; scroll-margin-top: 100px; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.section-heading > a {
  color: #7f8ca7;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}
.section-heading > a span { margin-left: 5px; color: var(--pulse); }
.course-shelf {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 22%);
  gap: 14px;
  overflow-x: auto;
  padding: 1px 1px 12px;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #34415c transparent;
}
.shelf-card { min-width: 0; }
.shelf-launch,
.game-card > .game-launch {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.shelf-cover,
.game-cover {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(164, 181, 225, .13);
  border-radius: 12px;
  background: #121c31;
}
.shelf-cover img,
.game-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.shelf-overlay,
.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,11,23,.65), transparent 58%);
  transition: background .25s ease;
}
.shelf-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -43%) scale(.86);
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 50%;
  opacity: 0;
  background: rgba(16, 24, 44, .62);
  backdrop-filter: blur(7px);
  transition: opacity .22s ease, transform .22s ease;
}
.shelf-play i {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid white;
}
.shelf-card:hover .shelf-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.shelf-card:hover img,
.game-card:hover .game-cover img { transform: scale(1.045); }
.card-state {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 4px 7px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 5px;
  color: #d2dbeb;
  background: rgba(7,11,23,.66);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 800;
}
.card-state.is-unlocked,
.card-state.is-public {
  border-color: rgba(69,214,159,.32);
  color: #baf6de;
  background: rgba(24,90,70,.56);
}
.shelf-info { padding: 10px 2px 0; }
.shelf-info h3 {
  overflow: hidden;
  margin: 0;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shelf-info p { margin: 4px 0 0; color: #6e7c97; font-size: 9px; }
.catalog-section {
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.catalog-heading { margin-bottom: 22px; }
.result-count {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #7d8ba6;
  font-size: 9px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 16px;
}
.game-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(16, 25, 45, .72);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(113,128,255,.32);
  box-shadow: 0 18px 42px rgba(0,0,0,.2);
}
.game-cover { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.game-cover-placeholder,
.shelf-placeholder {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 22%, rgba(22,200,244,.18), transparent 26%),
    linear-gradient(135deg, #293866, #121a30);
}
.game-cover-placeholder b,
.shelf-placeholder b {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-size: 72px;
  color: rgba(255,255,255,.46);
}
.game-cover-placeholder i,
.shelf-placeholder i {
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.game-cover-placeholder i:nth-of-type(2) { width: 44%; }
.game-cover-placeholder i:nth-of-type(3) { width: 82%; }
.play-control {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  transform: translate(-50%, -42%);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  opacity: 0;
  color: white;
  background: rgba(8,13,26,.72);
  backdrop-filter: blur(9px);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  transition: opacity .2s ease, transform .2s ease;
}
.play-control i {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid var(--pulse);
}
.game-card:hover .play-control { opacity: 1; transform: translate(-50%, -50%); }
.unlock-badge,
.lock-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 4px 7px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 5px;
  color: #d3dbea;
  background: rgba(7,11,23,.68);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 800;
}
.unlock-badge,
.unlock-badge.is-public {
  border-color: rgba(69,214,159,.3);
  color: #baf6de;
  background: rgba(23,87,68,.62);
}
.game-info { padding: 14px 15px 15px; }
.game-meta { min-height: 16px; display: flex; gap: 5px; }
.game-meta span {
  color: var(--pulse);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .04em;
}
.game-info h3 {
  overflow: hidden;
  margin: 5px 0 0;
  font-size: 14px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.game-info > p {
  height: 34px;
  overflow: hidden;
  margin: 8px 0 0;
  color: #7e8ca7;
  font-size: 10px;
  line-height: 1.7;
}
.game-footer {
  min-height: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.tag-list { display: flex; gap: 6px; overflow: hidden; }
.tag-list span { flex: 0 0 auto; color: #64728e; font-size: 8px; }
.card-arrow {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #8d9ab4;
  background: rgba(255,255,255,.025);
  cursor: pointer;
}
.card-arrow:hover { border-color: rgba(22,200,244,.35); color: var(--pulse); }
.empty-state {
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 48px 20px;
  border: 1px dashed rgba(160,177,218,.2);
  border-radius: 16px;
  text-align: center;
  background: rgba(15,23,42,.46);
}
.empty-state > span {
  color: rgba(113,128,255,.42);
  font-family: var(--display);
  font-size: clamp(42px, 8vw, 100px);
  font-weight: 950;
  line-height: .8;
}
.empty-state h3 { margin: 22px 0 0; font-size: 18px; }
.empty-state p { margin: 7px 0 0; color: var(--haze); font-size: 12px; }
.empty-state a {
  margin-top: 18px;
  padding: 9px 14px;
  border-radius: 7px;
  color: white;
  background: var(--signal);
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 52px;
  padding: 22px 2px 0;
  border-top: 1px solid var(--line);
  color: #52607b;
  font-size: 9px;
  letter-spacing: .08em;
}
.mobile-dock { display: none; }

/* Unlock dialog */
.unlock-dialog {
  width: min(92vw, 430px);
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(113,128,255,.32);
  border-radius: 18px;
  color: var(--snow);
  background:
    radial-gradient(circle at 50% 0, rgba(89,104,242,.17), transparent 42%),
    #10192c;
  box-shadow: 0 32px 100px rgba(0,0,0,.58);
}
.unlock-dialog::backdrop { background: rgba(2,5,12,.77); backdrop-filter: blur(8px); }
.unlock-dialog[open] { animation: dialog-in .2s ease-out; }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(9px) scale(.985); }
}
.dialog-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #8c99b2;
  background: rgba(255,255,255,.03);
  font-size: 19px;
  cursor: pointer;
}
.dialog-icon {
  position: relative;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(22,200,244,.22);
  border-radius: 14px;
  background: rgba(22,200,244,.08);
}
.dialog-icon::before {
  content: "";
  width: 17px;
  height: 14px;
  border: 2px solid var(--pulse);
  border-radius: 4px;
}
.dialog-icon::after {
  content: "";
  position: absolute;
  top: 11px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--pulse);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}
.dialog-kicker {
  margin: 0 0 7px;
  color: var(--pulse);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .17em;
}
.unlock-dialog h2 { margin: 0; font-family: var(--display); font-size: 30px; font-weight: 950; }
.dialog-note { margin: 11px 0 22px; color: #8997b2; font-size: 11px; line-height: 1.7; }
.dialog-note strong { color: #d8dfed; }
.unlock-form { display: grid; }
.unlock-form label { margin-bottom: 7px; color: #7d8aa5; font-size: 9px; font-weight: 800; }
.unlock-form input[name="access_code"] {
  width: 100%;
  height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(163,180,222,.22);
  border-radius: 10px;
  outline: 0;
  color: white;
  background: rgba(6,10,21,.46);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .3em;
  text-align: center;
  text-transform: uppercase;
}
.unlock-form input[name="access_code"]:focus { border-color: var(--pulse); box-shadow: 0 0 0 3px rgba(22,200,244,.09); }
.unlock-form input[name="access_code"]::placeholder {
  color: #66728a;
  font-size: 17px;
  letter-spacing: .12em;
}
.unlock-error { min-height: 18px; margin: 7px 0 0; color: var(--danger); font-size: 10px; }
.unlock-submit {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border: 0;
  border-radius: 9px;
  color: white;
  background: linear-gradient(135deg, var(--signal), #7280ff);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.unlock-submit:disabled { opacity: .62; cursor: wait; }
.unlock-submit b { font-size: 17px; }
.dialog-footnote { margin: 15px 0 0; color: #5f6c87; font-size: 8px; text-align: center; }

@media (max-width: 1120px) {
  .launcher-topbar { grid-template-columns: minmax(150px, .6fr) minmax(240px, 1fr) auto; gap: 18px; }
  .spotlight-layout { grid-template-columns: 1fr; }
  .spotlight-queue { min-height: auto; }
  .queue-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .queue-item { grid-template-columns: 64px minmax(0,1fr); }
  .queue-item > i { display: none; }
  .course-shelf { grid-auto-columns: minmax(220px, 30%); }
}

@media (max-width: 800px) {
  body { padding-bottom: 66px; }
  .launcher-rail { display: none; }
  .launcher-main { margin-left: 0; }
  .launcher-topbar {
    min-height: 70px;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 16px;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
  }
  .mobile-brand .brand-mark { width: 30px; height: 30px; }
  .mobile-brand strong { font-family: var(--display); font-size: 14px; letter-spacing: .04em; }
  .mobile-brand small { display: block; margin-top: 1px; color: #6f7d99; font-family: var(--body); font-size: 7px; letter-spacing: .08em; }
  .topbar-title { display: none; }
  .topbar-discovery {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr) 138px;
  }
  .topbar-search kbd { display: none; }
  .account-state { display: none; }
  .account-button { min-height: 36px; padding: 0 12px; font-size: 10px; }
  .launcher-content { padding: 16px 16px 34px; }
  .spotlight-stage { min-height: 480px; }
  .spotlight-shade {
    background:
      linear-gradient(0deg, rgba(7,11,23,.97) 0%, rgba(7,11,23,.72) 45%, rgba(7,11,23,.08) 78%),
      linear-gradient(90deg, rgba(7,11,23,.28), transparent);
  }
  .spotlight-copy { left: 22px; right: 22px; bottom: 28px; max-width: none; }
  .spotlight-copy h2 { font-size: clamp(34px, 10vw, 50px); }
  .spotlight-copy > p { font-size: 12px; line-height: 1.65; }
  .spotlight-index { top: 16px; right: 17px; }
  .spotlight-queue { padding: 15px; }
  .queue-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 76%);
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .queue-list::-webkit-scrollbar { display: none; }
  .queue-item { background: rgba(255,255,255,.025); }
  .content-section { margin-top: 34px; }
  .course-shelf { grid-auto-columns: minmax(205px, 69%); }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .game-info { padding: 11px 12px 12px; }
  .game-info > p { display: none; }
  .game-footer { margin-top: 7px; padding-top: 8px; }
  .tag-list { display: none; }
  .mobile-dock {
    position: fixed;
    z-index: 60;
    left: 10px;
    right: 10px;
    bottom: 8px;
    min-height: 56px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    align-items: center;
    padding: 5px;
    border: 1px solid rgba(157,174,216,.17);
    border-radius: 15px;
    background: rgba(12, 19, 36, .92);
    backdrop-filter: blur(18px);
    box-shadow: 0 15px 35px rgba(0,0,0,.4);
  }
  .mobile-dock a,
  .mobile-dock button,
  .mobile-dock > span {
    min-height: 44px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    border: 0;
    border-radius: 10px;
    color: #75829d;
    background: transparent;
    text-decoration: none;
    font-size: 8px;
  }
  .mobile-dock a.active { color: white; background: rgba(89,104,242,.15); }
  .mobile-dock a span,
  .mobile-dock button span { font-size: 16px; line-height: 1; }
  .mobile-dock > span.is-online { color: #9edad0; }
  .site-footer { margin-top: 38px; }
}

@media (max-width: 500px) {
  .topbar-discovery { grid-template-columns: minmax(0, 1fr) 122px; }
  .topbar-filter { padding: 0 9px; }
  .spotlight-stage { min-height: 430px; border-radius: 14px; }
  .spotlight-art img { object-position: center top; }
  .spotlight-copy { left: 18px; right: 18px; bottom: 22px; }
  .spotlight-copy > p { max-height: 42px; overflow: hidden; }
  .spotlight-actions { margin-top: 18px; }
  .primary-launch, .secondary-action { min-height: 42px; padding: 0 15px; }
  .spotlight-queue { border-radius: 14px; }
  .queue-heading > b { display: none; }
  .section-heading h2, .queue-heading h2 { font-size: 19px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-info > p { display: block; }
  .tag-list { display: flex; }
  .unlock-dialog { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .signal-scan { display: none; }
}

.player-page {
  margin: 0;
  overflow: hidden;
  background: #05070d;
}

.player-shell {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100vh;
  background: #000;
}

.player-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.player-back {
  position: fixed;
  z-index: 20;
  top: max(14px, env(safe-area-inset-top));
  left: max(14px, env(safe-area-inset-left));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px 0 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(7, 11, 23, .78);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.player-back:first-letter { font-size: 24px; line-height: 1; }
.player-back:hover,
.player-back:focus-visible {
  border-color: rgba(255, 255, 255, .45);
  background: rgba(30, 41, 73, .94);
  transform: translateY(-1px);
}
