.library-home-section {
  --library-ground: #181818;
  padding-block: var(--section-space-before, 106px) var(--section-space-after, 90px);
  background: var(--library-ground);
  overflow: hidden;
}
.library-home-heading { text-align: center; }
.library-home-heading p { margin-top: 24px; color: var(--text-secondary); }
.library-home {
  position: relative;
  isolation: isolate;
  width: min(100%, 940px);
  aspect-ratio: 940 / 468;
  margin: 52px auto 0;
}
.library-home__composition {
  position: absolute;
  top: 0;
  left: 0;
  width: 940px;
  height: 468px;
  transform: scale(var(--scene-scale, 1));
  transform-origin: top left;
}
.library-home__collection { width: 720px; position: relative; }
.collection-count {
  display: inline-flex;
  align-items: baseline;
  flex: none;
  gap: 4px;
  color: #a095a0;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}
.collection-count strong { color: #c9bec8; font-size: inherit; font-weight: 500; font-variant-numeric: tabular-nums; }
.collection-toolbar { display: flex; align-items: center; gap: 26px; padding: 0 24px; margin-bottom: 23px; }
.collection-search { display: flex; align-items: center; flex: 1; min-width: 0; gap: 12px; height: 40px; padding: 0 16px; background: #222122; border: 1px solid #373337; border-radius: 999px; color: #8e858e; font-size: 15px; }
.collection-search .icon { width: 18px; height: 18px; }
.collection-source,.collection-sort { display: flex; align-items: center; gap: 13px; flex: none; color: #a095a0; font-size: 14px; white-space: nowrap; }
.collection-source .icon,.collection-sort .icon { width: 15px; height: 15px; }
.collection-rows { padding-bottom: 12px; -webkit-mask-image: linear-gradient(#000 0 48%, #000a 72%, #0000 100%); mask-image: linear-gradient(#000 0 48%, #000a 72%, #0000 100%); }
.library-entry { display: flex; align-items: center; min-width: 0; gap: 13px; height: 77px; padding: 15px 24px; color: #8e858f; }
.library-entry .scene-cover { --cover-size: 44px; opacity: .85; }
.library-entry__play { width: 20px; height: 20px; flex: none; color: #b4aab4; }
.library-entry__identity { flex: 1; min-width: 0; }
.library-entry__identity strong { display: block; overflow: hidden; color: #bfb4bf; font-size: 17px; font-weight: 500; line-height: 1.45; white-space: nowrap; text-overflow: ellipsis; }
.library-entry__identity > span { display: block; overflow: hidden; margin-top: 4px; color: #7f747f; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.library-entry__duration { flex: none; margin-left: 12px; color: #7e737f; font-size: 14px; font-variant-numeric: tabular-nums; }
.library-entry__actions { display: flex; align-items: center; gap: 17px; flex: none; margin-left: 14px; }
.library-entry__actions .icon { width: 19px; height: 19px; }
.library-entry__more { display: block; width: 6px; height: 19px; background: radial-gradient(circle at 50% 3px, currentColor 1.1px, transparent 1.4px), radial-gradient(circle at 50% 9px, currentColor 1.1px, transparent 1.4px), radial-gradient(circle at 50% 15px, currentColor 1.1px, transparent 1.4px); }
.library-entry--selected { background: linear-gradient(90deg, #34283170, #34283120); }
.library-entry--selected .library-entry__identity strong { color: #e1ceda; }
.library-entry--selected .library-entry__play { color: #d7adbf; }
.library-entry--selected .library-entry__actions .icon:first-child { color: #eda3bd; }
.library-home__prepared {
  position: absolute;
  z-index: 2;
  top: 176px;
  right: 0;
  width: 480px;
  overflow: hidden;
  border: 1px solid #5d4c5860;
  border-radius: 10px;
  background: #1a191b;
  box-shadow: 0 16px 30px -12px #0009;
}
.prepared-title { display: flex; align-items: center; min-height: 126px; gap: 18px; padding: 22px 24px; background: #131213; }
.prepared-title .scene-cover { --cover-size: 66px; }
.prepared-identity { flex: 1; min-width: 0; }
.prepared-identity strong { display: block; color: #e7e0e6; font-size: 21px; font-weight: 500; }
.prepared-identity > span { display: block; margin-top: 4px; color: #a096a0; font-size: 14px; line-height: 1.6; white-space: nowrap; }
.prepared-identity > .prepared-saved { color: #baa6b4; }
.prepared-sing { display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 9px; min-height: 35px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: #291b23; font-size: 15px; font-weight: 500; }
.prepared-sing .icon { width: 18px; height: 18px; }
.prepared-toolbar { display: flex; align-items: center; gap: 23px; height: 40px; padding: 0 20px; background: #282529; }
.prepared-panel-label { display: flex; align-items: center; gap: 10px; flex: 1; color: #cbbbc6; font-size: 14px; font-weight: 500; }
.prepared-panel-label .icon { width: 18px; height: 18px; color: #c38ca4; }
.prepared-undo,.prepared-redo { width: 16px; height: 16px; color: #9b8b99; }
.prepared-redo { opacity: .45; }
.prepared-presets { display: flex; align-items: center; min-height: 63px; gap: 13px; padding: 12px 20px; color: #aea1ab; font-size: 15px; }
.prepared-choice { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: 1; height: 34px; padding: 0 12px; background: #37323c; color: #dfd3dc; font-size: 15px; white-space: nowrap; }
.prepared-choice .icon { width: 15px; height: 15px; flex: none; }
.prepared-save-as { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: #302c32; color: #bdb0ba; font-size: 14px; white-space: nowrap; }
@media (max-width: 800px) {
  .library-home-heading { text-align: left; }
  .library-home-heading p br { display: none; }
  .library-home { margin-top: 38px; }
}
