/* Экран «Плеер»: библиотека (Понравилось / Плейлисты / Мои песни). «Тёплая сцена».
   Шторки (добавить в плейлист и т.п.) живут вне .stage — поэтому у токенов есть запасные значения. */
.lib-screen { padding-bottom: 96px; }
.lib-head { display: flex; align-items: center; gap: 8px; }
.lib-head .brand { flex: 1; min-width: 0; }
.lib-back, .lib-head-menu { flex: none; width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--s-line, rgba(242,196,109,.3)); background: transparent; color: var(--s-gold, #f2c46d); font-size: 28px; line-height: 1; cursor: pointer; }
.lib-head-menu { font-size: 24px; }

.lib-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 20px; }
.lib-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; min-height: 116px; padding: 16px; border-radius: 20px; cursor: pointer;
  border: 1.5px solid var(--s-line, rgba(242,196,109,.3)); color: var(--s-ink, #fbf1de); font: inherit;
  background: linear-gradient(160deg, rgba(242,196,109,.2), rgba(40,19,21,.92) 70%); }
.lib-tile-lists { background: linear-gradient(160deg, rgba(194,139,47,.26), rgba(40,19,21,.92) 70%); }
.lib-tile:active { transform: scale(.98); }
.lib-tile-ic { font-size: 34px; line-height: 1; }
.lib-tile b { display: block; font-family: var(--s-serif, Georgia, serif); font-size: 20px; line-height: 1.15; }
.lib-tile small { display: block; margin-top: 4px; font-size: 15px; color: var(--s-mute, #cbb89c); }

.lib-h2 { margin: 6px 2px 10px; font-family: var(--s-serif, Georgia, serif); font-size: 22px; color: var(--s-ink, #fbf1de); }
.lib-empty { margin: 18px 4px; font-size: 16px; line-height: 1.5; color: var(--s-mute, #cbb89c); text-align: center; }

.lib-rows { display: flex; flex-direction: column; gap: 8px; }
.lib-row { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 8px 6px 8px 8px; border-radius: 16px; background: var(--s-card, rgba(40,19,21,.92)); border: 1px solid var(--s-line, rgba(242,196,109,.2)); color: var(--s-ink, #fbf1de); }
.lib-row-pick { cursor: pointer; margin-bottom: 8px; }
.lib-cov { flex: none; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 24px; background: rgba(242,196,109,.14); }
.lib-cov img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-meta { flex: 1; min-width: 0; cursor: pointer; padding: 4px 0; }
.lib-ttl { font-size: 17px; font-weight: 700; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-sub { margin-top: 2px; font-size: 14px; color: var(--s-mute, #cbb89c); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-ic { flex: none; min-width: 44px; height: 48px; border: 0; background: transparent; color: var(--s-ink, #fbf1de); font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lib-ic-like { background: rgba(242,196,109,.18); border-radius: 12px; }

.lib-top { display: flex; flex-direction: column; align-items: center; margin: 4px 0 16px; text-align: center; }
.lib-bigcov { width: 180px; height: 180px; border-radius: 22px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 72px; background: linear-gradient(160deg, rgba(242,196,109,.3), rgba(40,19,21,.9)); box-shadow: 0 14px 34px rgba(0,0,0,.5); }
.lib-bigcov img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-big-t { margin-top: 14px; font-family: var(--s-serif, Georgia, serif); font-size: 26px; font-weight: 700; line-height: 1.15; color: var(--s-ink, #fbf1de); overflow-wrap: anywhere; }
.lib-big-s { margin-top: 4px; font-size: 15px; color: var(--s-mute, #cbb89c); }

.lib-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.lib-go, .lib-sec { min-height: 52px; padding: 10px 12px; border-radius: 16px; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.lib-go { border: 0; background: linear-gradient(160deg, #f7d58c, #e2a94a); color: #2a1408; box-shadow: 0 6px 16px rgba(226,169,74,.35); }
.lib-sec { border: 1.5px solid var(--s-line, rgba(242,196,109,.3)); background: transparent; color: var(--s-ink, #fbf1de); }
.lib-go:disabled, .lib-sec:disabled { opacity: .45; cursor: default; box-shadow: none; }
.lib-new { width: 100%; margin: 0 0 14px; }

.lib-menu-item { display: block; width: 100%; min-height: 52px; padding: 12px 14px; margin-bottom: 8px; text-align: left; border-radius: 14px; border: 1.5px solid var(--s-line, rgba(242,196,109,.25)); background: transparent; color: var(--s-ink, #fbf1de); font: inherit; font-size: 17px; cursor: pointer; }
