/* The lobby owns its palette; game surfaces keep their own themes. */
:root {
  background: #111216;
}
body:not(.in-game) {
  background: #111216;
}
.lobby {
  color-scheme: dark;
  --lobby-text: #f1f2f5;
  --lobby-muted: #a0a5b0;
  --lobby-accent: #dcf59b;
  --lobby-line: #2b2e36;
  max-width: 1488px;
  padding: 0 48px;
  color: var(--lobby-text);
  -webkit-font-smoothing: antialiased;
}
.lobby button:focus-visible,
.lobby a:focus-visible,
.lobby summary:focus-visible {
  outline: 2px solid var(--lobby-accent);
  outline-offset: 4px;
}
.lobby-skip {
  position: fixed;
  top: 8px;
  left: 16px;
  padding: 12px 20px;
  border-radius: 6px;
  background: var(--lobby-accent);
  color: #1b2418;
  transform: translateY(-160%);
  z-index: 100;
}
.lobby-skip:focus {
  transform: none;
}
.lobby-header {
  height: 88px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--lobby-line);
}
@media (max-width: 360px) {
  .lobby-brand > span { display: none; }
}
.lobby-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.lobby-brand > svg {
  width: 34px;
  height: 34px;
  color: var(--lobby-accent);
  stroke-width: 3;
}
.lobby-brand > span {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.7px;
}
.lobby-brand > small {
  margin-left: 5px;
  max-width: 38px;
  white-space: normal;
  font: 650 9px/1.4 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 1.7px;
  color: #a5abb4;
}
.lobby-nav {
  display: flex;
  align-self: stretch;
  gap: 30px;
  margin-left: 58px;
}
.lobby-nav > button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 550;
  color: var(--lobby-muted);
}
.lobby-nav > button.current {
  color: var(--lobby-text);
}
.lobby-nav > .current::after {
  position: absolute;
  content: "";
  height: 2px;
  background: var(--lobby-accent);
  bottom: -1px;
  left: 0;
  right: 0;
}
.lobby-nav svg {
  width: 16px;
  height: 16px;
}
.lobby-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.lobby-save-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 20px;
  color: #9097a1;
  font-size: 11px;
}
.lobby-save-note svg {
  width: 13px;
  height: 13px;
  color: #b4c998;
}
.lobby-tool {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 7px;
  color: #afb5c0;
}
.lobby-tool svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.7;
}
.lobby-tool.muted {
  color: #818895;
}
.lobby-continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-right: 16px;
  color: var(--lobby-accent);
  font-size: 12px;
}
.lobby-continue:not([hidden]) + .lobby-save-note {
  display: none;
}
.lobby-continue svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.lobby-content {
  padding-top: 28px;
}
.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 224px;
  gap: 20px;
}
.spotlight-stage {
  position: relative;
  min-width: 0;
  min-height: 426px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #32383b;
  border-radius: 13px;
  background: #151c22;
}
.spotlight-art {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(90deg, transparent, #000 16%);
  z-index: -2;
}
.spotlight-stage::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(90deg, #151c22 0%, #151c22f5 25%, #151c22b5 43%, #151c222b 65%, transparent 85%);
  z-index: -1;
}
.spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  width: min(59%, 474px);
  padding: 40px;
}
.spotlight-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: #e0eacc;
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 2px;
}
.spotlight-label > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lobby-accent);
}
.spotlight-copy h1 {
  font-size: clamp(34px, 3.45vw, 50px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -1px;
  color: #fff;
}
.spotlight-copy p {
  margin-top: 17px;
  font-size: 14px;
  line-height: 1.85;
  color: #c0c7cd;
  text-wrap: pretty;
}
.spotlight-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}
.lobby-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 11px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 7px;
  background: var(--lobby-accent);
  color: #202a16;
  font-size: 14px;
  font-weight: 650;
}
.lobby-primary svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke-width: 1.5;
}
.spotlight-actions > span {
  font-size: 11px;
  color: #b6c0c4;
  white-space: nowrap;
}
.spotlight-index {
  position: absolute;
  right: 24px;
  bottom: 23px;
  font: 500 11px/1 ui-monospace, monospace;
  color: #ffffff8f;
  text-shadow: 0 1px 6px #000;
}
.spotlight-index b {
  margin-right: 4px;
  color: #fff;
  font-weight: 600;
}
.spotlight-rail {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  gap: 5px;
  min-width: 0;
}
.spotlight-pick {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  text-align: left;
  transition: background 160ms ease;
}
.spotlight-pick[aria-pressed="true"] {
  background: #25282f;
}
.spotlight-pick[aria-pressed="true"]::before {
  position: absolute;
  content: "";
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--lobby-accent);
  border-radius: 2px;
}
.spotlight-pick > img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  object-position: center top;
  border-radius: 5px;
}
.spotlight-pick strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}
.spotlight-pick small {
  display: block;
  margin-bottom: 7px;
  color: #a5abb6;
  font-size: 9px;
  font-weight: 450;
}
.spotlight-pick > svg {
  width: 14px;
  height: 14px;
  color: #757d89;
}
.spotlight-pick[aria-pressed="true"] > svg {
  color: var(--lobby-accent);
}
.lobby .library {
  margin-top: 42px;
  scroll-margin-top: 24px;
  outline: none;
}
.library-heading,
.library-heading > div {
  display: flex;
  align-items: center;
}
.library-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}
.library-heading > div {
  gap: 16px;
}
.library-heading h2 {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
#library-count {
  font-size: 12px;
  color: var(--lobby-muted);
}
.difficulty-picker {
  position: relative;
  z-index: 3;
}
.difficulty-picker summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-size: 11px;
  color: var(--lobby-muted);
}
.difficulty-picker summary::-webkit-details-marker {
  display: none;
}
.difficulty-picker summary svg {
  width: 14px;
  height: 14px;
}
.difficulty-picker summary b {
  color: #e1e4e9;
  font-weight: 500;
}
.difficulty-popover {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: 256px;
  padding: 16px;
  border: 1px solid #3a3f47;
  border-radius: 10px;
  background: #1f232b;
  box-shadow: 0 16px 40px #0006;
}
.difficulty-popover p {
  margin-bottom: 12px;
  font-size: 12px;
  color: #bec4cd;
}
.lobby .difficulty-tabs {
  margin: 0;
  padding: 3px;
  background: #14171c;
  border: 0;
  border-radius: 6px;
}
.lobby .difficulty-tabs button {
  min-height: 44px;
  padding: 6px 12px;
  color: #aeb5c0;
  font-size: 12px;
  border-radius: 4px;
}
.lobby .difficulty-tabs button[aria-pressed="true"] {
  background: var(--lobby-accent);
  color: #202a16;
  box-shadow: none;
}
.collection-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 24px;
  padding: 4px 0 18px;
  border-bottom: 1px solid var(--lobby-line);
  scrollbar-width: none;
}
.collection-tabs::-webkit-scrollbar {
  display: none;
}
.collection-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #a7adb7;
  font-size: 13px;
  font-weight: 500;
}
.collection-tabs button[aria-pressed="true"] {
  background: #272e29;
  border-color: #3c4937;
  color: #e1f3c2;
}
.collection-tabs svg {
  width: 15px;
  height: 15px;
}
.collection-tabs small {
  font: 500 10px ui-monospace, monospace;
  opacity: 0.75;
}
.lobby .games-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 24px;
}
.lobby .game-card {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transition: transform 180ms ease;
}
.lobby .game-cover {
  aspect-ratio: 1.6;
  border: 1px solid #ffffff12;
  border-radius: 9px;
  background: #20272a;
}
.lobby .game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 220ms ease;
}
.lobby .cover-play {
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff75;
  border-radius: 50%;
  background: #111820d9;
  color: #fff;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 160ms ease, transform 160ms ease;
}
.lobby .cover-play svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.cover-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border: 1px solid #ffffff33;
  border-radius: 4px;
  background: #151c22d9;
  color: #edf3e4;
  font-size: 10px;
  font-weight: 500;
}
.lobby .card-details {
  padding: 13px 1px 0;
}
.lobby .card-details h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 0 0 8px;
  color: var(--lobby-text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.lobby .card-details h3 svg {
  width: 16px;
  height: 16px;
  color: #9aa1ac;
  stroke-width: 1.5;
}
.lobby .card-bottom {
  gap: 6px;
  flex-wrap: wrap;
}
.lobby .card-bottom > span {
  color: #a5acb6;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}
.lobby .card-bottom > strong {
  color: #969eab;
  font-size: 10px;
  font-weight: 400;
}
.lobby .resume-banner {
  margin-top: 24px;
  padding: 14px 20px;
  border: 1px solid #344139;
  border-radius: 9px;
  background: #1b231f;
}
.lobby .resume-banner > div {
  gap: 14px;
  min-width: 0;
}
.resume-banner img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 5px;
}
.lobby .resume-banner small {
  margin: 0 0 4px;
  color: #b5c89e;
  font-size: 10px;
}
.lobby .resume-banner strong {
  color: #eff3e9;
  font-size: 14px;
  font-weight: 550;
}
.resume-banner strong > span {
  margin-left: 15px;
  font-size: 11px;
  font-weight: 400;
  color: #a7b2a4;
}
.lobby-resume-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-shrink: 0;
  min-height: 44px;
  color: var(--lobby-accent);
  font-size: 12px;
}
.lobby-resume-button svg {
  width: 17px;
  height: 17px;
}
.lobby-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 48px;
  padding: 28px 0;
  border-top: 1px solid var(--lobby-line);
  color: #9299a5;
}
.lobby-signoff {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 650 10px/1.5 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 1.5px;
}
.lobby-signoff svg {
  width: 27px;
  height: 27px;
  color: #b7bfc9;
}
.lobby-signoff small {
  display: block;
  margin-top: 4px;
  font: 10px/1.5 "Arcade Sans", sans-serif;
  letter-spacing: 0;
}
.lobby-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
}
.lobby-progress > strong {
  color: #c1c7d0;
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.lobby-progress > strong > span {
  margin-left: 3px;
  color: #9299a5;
  font-size: 10px;
}
.lobby .overall-track {
  width: 40px;
  height: 2px;
  margin: 0;
  background: #3b414a;
}
.lobby .overall-track i {
  background: var(--lobby-accent);
}
.lobby .star-total {
  gap: 4px;
  font-size: 10px;
  color: #9299a5;
}
.lobby .star-total b {
  color: #bcc5ae;
  font-weight: 500;
}
.lobby .star-total svg {
  width: 12px;
  height: 12px;
  fill: none;
  color: #c4d5a6;
}
.lobby-version {
  display: flex;
  gap: 14px;
  font-size: 10px;
}
.boot-screen {
  color: #f1f2f5;
  background: #111216;
}
.boot-mark {
  background: none;
  color: #dcf59b;
  box-shadow: none;
  font: 700 72px/1 ui-sans-serif, sans-serif;
}
.boot-screen h1 {
  font-size: 23px;
  font-weight: 650;
}
.boot-screen p {
  color: #a0a5b0;
  font-size: 12px;
}
.boot-screen progress {
  height: 3px;
  margin-top: 10px;
  accent-color: #dcf59b;
}
.lobby-dialog {
  color-scheme: dark;
  background: #1d2027;
  color: #eceef2;
  border: 1px solid #3a3e49;
  border-radius: 14px;
  box-shadow: 0 24px 100px #0009;
  -webkit-font-smoothing: antialiased;
}
.lobby-dialog::backdrop {
  background: #06080bd4;
  backdrop-filter: blur(8px);
}
.lobby-dialog :is(.dialog-heading h2, .level-name strong, .setting-row > span, .empty-state h3, .history-list strong, .level-explanation strong) {
  color: #f1f2f5;
}
.lobby-dialog :is(.dialog-description, .difficulty-description, .quick-controls, .level-name small, .dialog-footnote, .setting-row small, .empty-state p, .history-list p, .level-explanation p) {
  color: #adb5c2;
}
.lobby-dialog .eyebrow {
  color: #b4c599;
}
.lobby-dialog .icon-button {
  background: #292d36;
  border-color: #3c424d;
  color: #b7c1cd;
  border-radius: 7px;
}
.lobby-dialog .solid-button {
  background: #dcf59b;
  border-color: #dcf59b;
  color: #202a16;
  border-radius: 7px;
  box-shadow: none;
}
.lobby-dialog .outline-button {
  background: #292e38;
  border-color: #454c58;
  color: #d3d9e3;
  border-radius: 7px;
}
.lobby-dialog .dialog-actions {
  background: #1d2027;
  border-color: #3a424d;
  box-shadow: 0 -10px 16px #1d2027;
}
.lobby-dialog .field-guide summary {
  color: #c9d9b5;
}
.lobby-dialog :is(.level-row, .field-guide, .level-explanation) {
  background: #242932;
  border-color: #3a424e;
  color: #bac5d2;
}
.lobby-dialog .level-row.selected {
  background: #2f392b;
  border-color: #99af7c;
}
.lobby-dialog :is(.level-number, .level-rating, .history-stars) {
  color: #c6dba3;
}
.lobby-dialog .level-row.locked .level-name strong {
  color: #a6aeb9;
}
.lobby-dialog .difficulty-tabs {
  background: #14171d;
}
.lobby-dialog .difficulty-tabs button {
  color: #afb8c7;
}
.lobby-dialog .difficulty-tabs button[aria-pressed="true"] {
  background: #dcf59b;
  color: #202a16;
}
.lobby-dialog :is(.mode-tabs button, .loadout-tabs button) {
  background: #252b34;
  border-color: #434b58;
  color: #e1e6ef;
}
.lobby-dialog :is(.mode-tabs button, .loadout-tabs button)[aria-pressed="true"] {
  background: #2f392b;
  border-color: #99af7c;
  box-shadow: none;
}
.lobby-dialog :is(.mode-tabs small, .loadout-tabs small, .guide-controls small, .guide-stars span) {
  color: #b7c1cf;
}
.lobby-dialog .guide-controls strong {
  color: #e1e6ef;
}
.lobby-dialog .guide-controls > div > svg {
  color: #c4dba5;
  background: #303b38;
}
.lobby-dialog .guide-stars {
  border-color: #414a54;
}
.lobby-dialog .guide-stars b {
  color: #c4dba5;
}
.lobby-dialog :is(button, summary, input):focus-visible {
  outline: 2px solid #dcf59b;
  outline-offset: 3px;
}
.lobby-dialog .setting-row,
.lobby-dialog .history-list article {
  border-color: #353d48;
}
.lobby-dialog input {
  accent-color: #dcf59b;
}
.lobby-dialog #setting-volume {
  accent-color: #dcf59b;
}
.lobby-dialog #volume-value {
  color: #ceddac;
}
.lobby-dialog .setting-row input[type="checkbox"] {
  appearance: none;
  position: relative;
  width: 38px;
  height: 23px;
  flex-shrink: 0;
  border: 1px solid #59616d;
  border-radius: 20px;
  background: #363e49;
  cursor: pointer;
}
.lobby-dialog .setting-row input[type="checkbox"]::before {
  position: absolute;
  content: "";
  width: 15px;
  height: 15px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #dce2eb;
}
.lobby-dialog .setting-row input[type="checkbox"]:checked {
  background: #dcf59b;
  border-color: #dcf59b;
}
.lobby-dialog .setting-row input[type="checkbox"]:checked::before {
  left: 18px;
  background: #202a16;
}
@media (hover: hover) {
  .lobby-tool:hover,
  .spotlight-pick:hover,
  .collection-tabs button:hover {
    background-color: #252930;
    color: #eef2e9;
  }
  .lobby-nav > button:hover {
    color: #fff;
  }
  .lobby-primary:hover {
    background: #e7ffac;
  }
  .lobby .game-card:hover {
    transform: translateY(-3px);
    box-shadow: none;
  }
  .lobby .game-card:hover .game-cover {
    border-color: #98a08c;
  }
  .lobby .game-card:hover h3 {
    color: var(--lobby-accent);
  }
  .lobby .game-card:hover img {
    transform: scale(1.025);
  }
  .lobby .game-card:hover .cover-play,
  .lobby .game-card:focus-visible .cover-play {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1100px) {
  .lobby {
    padding: 0 32px;
  }
  .lobby-brand > small,
  .lobby-save-note {
    display: none;
  }
  .spotlight {
    grid-template-columns: minmax(0, 1fr) 196px;
    gap: 16px;
  }
  .spotlight-stage {
    min-height: 400px;
  }
  .spotlight-copy {
    padding: 30px;
    width: 63%;
  }
  .spotlight-copy h1 {
    font-size: 38px;
  }
  .spotlight-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .spotlight-pick {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 10px;
  }
  .spotlight-pick > img {
    width: 60px;
    height: 48px;
  }
  .spotlight-pick > svg {
    display: none;
  }
  .lobby .games-grid {
    gap: 28px 20px;
  }
  .lobby-progress .overall-track {
    display: none;
  }
}
@media (max-width: 900px) {
  .lobby {
    padding: 0 24px;
  }
  .lobby-header {
    height: 76px;
  }
  .lobby-nav {
    margin-left: 36px;
  }
  .spotlight {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .spotlight-stage {
    min-height: 380px;
  }
  .spotlight-copy {
    width: 62%;
    padding: 32px;
  }
  .spotlight-actions {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .spotlight-rail {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 5px;
  }
  .spotlight-pick {
    display: block;
    padding: 8px;
    text-align: center;
  }
  .spotlight-pick > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.9;
  }
  .spotlight-pick small {
    display: none;
  }
  .spotlight-pick strong {
    margin-top: 8px;
    font-size: 12px;
  }
  .spotlight-pick[aria-pressed="true"]::before {
    top: auto;
    bottom: 0;
    left: calc(50% - 14px);
    width: 28px;
    height: 2px;
  }
  .lobby .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lobby-bottom {
    flex-wrap: wrap;
    gap: 24px;
  }
  .lobby-progress {
    order: 3;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .lobby {
    padding: 0 16px;
  }
  .lobby-header {
    height: 68px;
  }
  .lobby-brand {
    gap: 6px;
  }
  .lobby-brand > svg {
    width: 28px;
    height: 28px;
  }
  .lobby-brand > span {
    font-size: 20px;
  }
  .lobby-nav {
    margin-left: auto;
    gap: 2px;
  }
  .lobby-nav > button {
    justify-content: center;
    width: 44px;
    padding: 0;
    font-size: 12px;
  }
  .lobby-nav > .current::after {
    left: 10px;
    right: 10px;
  }
  .lobby-nav #history > span,
  .lobby-continue {
    display: none;
  }
  .lobby-nav svg {
    width: 18px;
    height: 18px;
  }
  .lobby-tools {
    margin-left: 3px;
    gap: 0;
  }
  .lobby-content {
    padding-top: 16px;
  }
  .spotlight-stage {
    min-height: 0;
    border-radius: 10px;
  }
  .spotlight-art {
    width: 100%;
    height: auto;
    aspect-ratio: 1.5;
    mask-image: linear-gradient(0deg, transparent, #000 30%);
  }
  .spotlight-stage::after {
    background: linear-gradient(0deg, #151c22 0%, #151c22 34%, #151c2299 53%, #151c2200 74%);
  }
  .spotlight-copy {
    width: 100%;
    padding: clamp(160px, 48vw, 228px) 22px 24px;
  }
  .spotlight-label {
    margin-bottom: 13px;
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .spotlight-copy h1 {
    font-size: 34px;
    letter-spacing: -0.6px;
  }
  .spotlight-copy p {
    margin-top: 11px;
    font-size: 13px;
    line-height: 1.8;
  }
  .spotlight-actions {
    margin-top: 24px;
    gap: 16px;
  }
  .lobby-primary {
    min-height: 46px;
    padding: 11px 22px;
    font-size: 13px;
  }
  .spotlight-actions > span {
    font-size: 10px;
  }
  .spotlight-index {
    top: 18px;
    right: 17px;
    bottom: auto;
    padding: 7px 8px;
    border-radius: 4px;
    background: #141c2580;
    font-size: 10px;
  }
  .spotlight-rail {
    gap: 4px;
  }
  .spotlight-pick {
    padding: 6px 5px 10px;
    border-radius: 5px;
  }
  .spotlight-pick > img {
    aspect-ratio: 1.45;
    border-radius: 3px;
  }
  .spotlight-pick strong {
    margin-top: 6px;
    font-size: 10px;
    font-weight: 500;
  }
  .lobby .library {
    margin-top: 28px;
  }
  .library-heading {
    margin-bottom: 12px;
    gap: 10px;
  }
  .library-heading > div {
    gap: 10px;
  }
  .library-heading h2 {
    font-size: 20px;
  }
  #library-count {
    font-size: 10px;
  }
  .difficulty-picker summary {
    gap: 6px;
    font-size: 10px;
  }
  .difficulty-picker summary > svg:first-child {
    display: none;
  }
  .collection-tabs {
    gap: 3px;
    padding: 4px 0 15px;
    margin-bottom: 20px;
  }
  .collection-tabs button {
    gap: 5px;
    padding: 9px 8px;
    font-size: 11px;
  }
  .collection-tabs svg {
    width: 13px;
    height: 13px;
  }
  .collection-tabs small {
    font-size: 9px;
  }
  .lobby .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }
  .lobby .game-cover {
    aspect-ratio: 1.45;
    border-radius: 7px;
  }
  .lobby .card-details {
    padding: 10px 0 0;
  }
  .lobby .card-details h3 {
    margin-bottom: 6px;
    font-size: 15px;
  }
  .lobby .card-details h3 svg {
    width: 14px;
    height: 14px;
  }
  .lobby .card-bottom > span {
    font-size: 10px;
  }
  .lobby .card-bottom > strong {
    display: none;
  }
  .cover-badge {
    top: 7px;
    left: 7px;
    font-size: 9px;
    padding: 3px 6px;
  }
  .lobby .resume-banner {
    padding: 12px;
    gap: 10px;
    margin-top: 18px;
  }
  .lobby .resume-banner > div {
    gap: 10px;
  }
  .resume-banner img {
    width: 44px;
    height: 44px;
  }
  .lobby .resume-banner small {
    font-size: 9px;
  }
  .lobby .resume-banner strong {
    font-size: 12px;
  }
  .resume-banner strong > span {
    display: block;
    margin: 4px 0 0;
    font-size: 9px;
  }
  .lobby-resume-button {
    gap: 6px;
    font-size: 11px;
  }
  .lobby-bottom {
    margin-top: 36px;
    padding: 24px 0;
    gap: 20px;
  }
  .lobby-progress {
    gap: 9px;
    padding-top: 16px;
    border-top: 1px solid var(--lobby-line);
    font-size: 9px;
  }
  .lobby-version {
    font-size: 9px;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lobby *,
  .lobby *::before,
  .lobby *::after {
    animation: none !important;
    transition: none !important;
  }
}
.lobby[data-motion="reduced"] *,
.lobby[data-motion="reduced"] *::before,
.lobby[data-motion="reduced"] *::after {
  animation: none !important;
  transition: none !important;
}
