.launcher-library {
  overflow: hidden;
  border-radius: var(--corner);
  background: var(--field);
  box-shadow: 0 16px 40px #0005;
}
.launcher-library-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 9px;
  row-gap: 3px;
  min-height: 53px;
  padding: 10px 16px;
  background: var(--silver-bar);
  border-block-end: 2px solid var(--accent);
}
.launcher-library-bar img { display: block; object-fit: contain; }
.launcher-library-bar h3 {
  margin: 0;
  padding-inline-start: 14px;
  color: var(--accent);
  font-size: .93rem;
  font-weight: 700;
}
.launcher-library-body {
  display: grid;
  grid-template-columns: min(31%, 320px) minmax(0, 1fr);
  height: clamp(360px, 42vw, 490px);
}
.launcher-library-sidebar {
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-inline-end: 1px solid var(--line);
}
.launcher-library-sidebar input {
  min-width: 0;
  margin: 12px;
  padding: 6px 10px;
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--corner);
  font-size: 1rem;
}
.launcher-library-scroll {
  min-height: 0;
  flex: 1;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.launcher-library-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.launcher-library-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  color: var(--text);
  background: var(--card-head);
  font-size: .87rem;
  font-weight: 700;
}
.launcher-library-group span { font-variant-numeric: tabular-nums; color: var(--muted); }
.launcher-library-game {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 9px;
  border-inline-start: 3px solid transparent;
  color: var(--text);
  font-size: .94rem;
  cursor: pointer;
}
.launcher-library-game span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.launcher-library-game:hover { background: var(--silver); }
.launcher-library-game[aria-selected="true"] {
  background: var(--silver-sel);
  border-inline-start-color: var(--accent);
  color: #fff;
}
.launcher-library-detail { min-width: 0; display: flex; flex-direction: column; }
.launcher-library-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  flex: 1;
  min-height: 0;
  background: radial-gradient(ellipse at 84% 15%, #4b4135, transparent 70%), var(--field);
}
.launcher-library-detail[data-channel="beta"] .launcher-library-hero {
  background: radial-gradient(ellipse at 84% 15%, #344953, transparent 70%), var(--field);
}
.launcher-library-detail[data-channel="alpha"] .launcher-library-hero {
  background: radial-gradient(ellipse at 84% 15%, #404247, transparent 70%), var(--field);
}
.launcher-library-hero img, .launcher-library-hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.launcher-library-hero img { object-fit: cover; object-position: center; z-index: -2; }
.launcher-library-hero::before { content: ""; background: linear-gradient(0deg, #141416, #14141626 85%); z-index: -1; }
.launcher-library-title { padding: clamp(16px, 3.5vw, 36px); min-width: 0; }
.launcher-library-title h4 {
  margin: 4px 0;
  color: #fff;
  font-size: clamp(24px, 3.8vw, 46px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.launcher-library-channel { color: var(--accent-hover); font-weight: 700; font-size: .9rem; }
.launcher-library-title code { color: var(--muted); font-size: .87rem; }
.launcher-library-actions { padding: 16px clamp(16px, 3.5vw, 36px); background: var(--silver); }
.launcher-library-status { margin: 4px 12px 12px; color: var(--muted); overflow-wrap: anywhere; }
.launcher-library-retry { align-self: flex-start; margin: 0 12px 12px; }
@media (max-width: 680px) {
  .launcher-library-bar h3 { padding-inline-start: 0; margin-inline-start: 5px; }
  .launcher-library-body { grid-template-columns: minmax(0, 1fr); height: auto; }
  .launcher-library-sidebar { min-height: 110px; border-inline-end: 0; }
  .launcher-library-scroll { height: 224px; flex: none; }
  .launcher-library-game { min-height: 42px; }
  .launcher-library-hero { min-height: 160px; }
  .launcher-library-hero img { object-position: 58% center; }
}
