/* PTG FAMILY — стилі «Каталогу пісень»: блок на головній, сторінка /pisni, плеєр
   Підключається ПІСЛЯ styles.css і користується його змінними (--accent, --surface, радіуси…). */

/* =========================================================
   1. ОБКЛАДИНКА-ЗАГЛУШКА (поки немає справжніх обкладинок)
   ========================================================= */
.song-art{position:relative;display:block;width:100%;height:100%;border-radius:inherit;overflow:hidden;background:#121018}
.song-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.song-art.is-ph{background:
  radial-gradient(90% 90% at 25% 15%,var(--c1),transparent 62%),
  radial-gradient(90% 90% at 85% 95%,var(--c2),transparent 62%),#121018}
/* «вініл»: кільця в куті */
.song-art.is-ph i{position:absolute;width:120%;aspect-ratio:1;right:-62%;bottom:-62%;border-radius:50%;
  background:repeating-radial-gradient(circle,rgba(255,255,255,.07) 0 1px,transparent 1px 7%);opacity:.9}
.song-art.is-ph b{position:absolute;left:9%;bottom:8%;font-family:var(--f-display);font-weight:800;font-size:clamp(8px,18cqw,26px);letter-spacing:.04em;color:rgba(255,255,255,.55)}
.song-art.is-ph{container-type:inline-size}

/* =========================================================
   2. ХВИЛЯ (waveform): сіра основа + кольорова частина до позначки прогресу
   ========================================================= */
.wave{position:relative;height:32px;width:100%;cursor:pointer;touch-action:none}
.wave svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.wave .w-base{fill:rgba(255,255,255,.18)}
.wave .w-fill{fill:var(--accent-soft);clip-path:inset(0 calc(100% - var(--p,0%)) 0 0)}
.wave:hover .w-base{fill:rgba(255,255,255,.28)}

/* =========================================================
   3. РЯДОК ПІСНІ (головна + каталог «Список»)
   ========================================================= */
.song-list{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);padding:8px}
.song-row{display:grid;grid-template-columns:28px 56px minmax(230px,1.3fr) minmax(120px,2fr) 44px 92px auto;align-items:center;gap:16px;
  padding:10px 14px 10px 10px;border-radius:var(--r-md);transition:background .2s}
.song-row + .song-row{box-shadow:0 -1px 0 var(--line)}
.song-row:hover,.song-row.is-current{background:rgba(255,255,255,.04)}
.song-row:hover + .song-row,.song-row.is-current + .song-row{box-shadow:none}
.sr-num{font-variant-numeric:tabular-nums;color:var(--muted);font-size:14px;text-align:center}
.song-row.is-playing .sr-num{color:var(--accent-soft)}
/* обкладинка з кнопкою «грати» поверх */
.sr-cover{position:relative;width:56px;height:56px;border-radius:12px;overflow:hidden;display:block;flex:none}
.sr-cover .pi{position:absolute;inset:0;display:grid;place-items:center;background:rgba(7,6,10,.32);opacity:1;transition:background .2s}   /* кнопка «грати» видна завжди — і на комп'ютері, і на телефоні */
.sr-cover .pi svg{width:22px;height:22px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.6))}
.sr-cover:hover .pi,.sr-cover:focus-visible .pi,.sr-cover.is-current .pi{background:rgba(7,6,10,.5)}
.sr-cover.is-current{box-shadow:0 0 0 2px var(--accent)}
.sr-main{display:flex;flex-direction:column;gap:3px;min-width:0}
.sr-title{font-weight:600;font-size:16px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;padding:0}
.sr-title:hover{color:var(--accent-soft)}
.song-row.is-current .sr-title{color:var(--accent-soft)}
.sr-meta{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:8px}
.sr-col{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sr-dur{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}
.sr-price{font-weight:600;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.sr-buy{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border-radius:999px;font-weight:600;font-size:14px;
  border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.04);transition:background .2s,border-color .2s}
.sr-buy:hover{background:var(--accent);border-color:var(--accent)}
.sr-buy svg{width:17px;height:17px}
.sr-buy-ph{width:1px}
/* статуси: «У резерві», «Продана» */
.st{font-style:normal;font-size:12px;font-weight:600;letter-spacing:.04em;padding:2px 8px;border-radius:999px;flex:none}
.st-reserved{background:rgba(239,180,60,.14);color:#f2c46b}
.st-sold{background:rgba(255,255,255,.06);color:var(--muted)}
.st-available{background:rgba(61,220,132,.12);color:#6fe3a2}
.song-row.is-sold{opacity:.5}
.song-row.is-sold .sr-price{font-weight:500;color:var(--muted)}

/* =========================================================
   4. БЛОК НА ГОЛОВНІЙ
   ========================================================= */
.songs-sub{font-family:var(--f-display);font-weight:700;font-size:clamp(18px,2vw,24px);color:#d8d2e4;margin-top:8px;letter-spacing:-.005em}
.songs-head-cta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.songs-head-cta .btn{height:48px}
.songs-count{font-size:13px;color:var(--muted)}
.songs-count b{color:var(--fg);font-variant-numeric:tabular-nums}
.song-perks{list-style:none;margin:var(--gap) 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}
.song-perks li{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-md);padding:18px 20px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}   /* заголовок зверху, пояснення завжди під ним */
.song-perks b{font-family:var(--f-display);font-size:18px}
.song-perks span{font-size:14px;color:var(--muted)}

/* =========================================================
   5. ПЛЕЄР УНИЗУ ЕКРАНА
   ========================================================= */
.pbar{position:fixed;z-index:57;left:50%;bottom:max(12px,env(safe-area-inset-bottom,0px));transform:translate(-50%,140%);
  width:min(1288px,calc(100% - 24px));display:grid;grid-template-columns:minmax(180px,250px) auto 1fr auto;align-items:center;gap:20px;
  padding:10px 12px 10px 10px;border-radius:22px;background:rgba(17,16,23,.82);backdrop-filter:blur(20px) saturate(1.3);-webkit-backdrop-filter:blur(20px) saturate(1.3);
  border:1px solid rgba(255,255,255,.1);box-shadow:0 24px 60px -20px rgba(0,0,0,.9),0 0 0 1px rgba(0,0,0,.4);
  transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s;opacity:0;pointer-events:none}
.pbar.show{transform:translate(-50%,0);opacity:1;pointer-events:auto}
body.has-player .wrap{padding-bottom:110px}
.pb-line{display:none}
.pb-info{display:flex;align-items:center;gap:12px;min-width:0}
.pb-art{width:48px;height:48px;border-radius:10px;overflow:hidden;flex:none}
.pb-text{display:flex;flex-direction:column;min-width:0}
.pb-title{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pb-meta{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pb-demo{color:#f2c46b}
.pb-ctrl{display:flex;align-items:center;gap:4px}
.pb-btn{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:var(--fg);transition:background .2s,transform .15s}
.pb-btn:hover{background:rgba(255,255,255,.08)}
.pb-btn svg{width:18px;height:18px}
.pb-toggle{width:46px;height:46px;background:#fff;color:#0b0a0f}
.pb-toggle:hover{background:#fff;transform:scale(1.06)}
.pb-toggle svg{width:20px;height:20px}
.pb-seek{display:flex;align-items:center;gap:12px;min-width:0}
.pb-seek span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;min-width:34px;text-align:center}
.pb-wave{flex:1;min-width:0}
.pb-wave .wave{height:30px}
.pb-side{display:flex;align-items:center;gap:6px}
.pb-vol{display:flex;align-items:center;gap:2px}
.pb-vol input{width:84px;accent-color:var(--accent-soft)}
.pb-buy{height:42px;padding:0 16px;font-size:14px}
.pb-buy svg{width:17px;height:17px}

/* =========================================================
   6. ПІДКАЗКА (toast)
   ========================================================= */
.toast{position:fixed;z-index:70;left:50%;top:calc(env(safe-area-inset-top,0px) + 92px);transform:translate(-50%,-12px);max-width:min(440px,calc(100% - 32px));
  padding:12px 18px;border-radius:14px;background:#f4f2f8;color:#0b0a0f;font-size:14px;font-weight:500;text-align:center;
  box-shadow:0 18px 40px -12px rgba(0,0,0,.7);opacity:0;pointer-events:none;transition:opacity .25s,transform .3s}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* =========================================================
   7. СТОРІНКА КАТАЛОГУ: шапка
   ========================================================= */
.menu a[aria-current="page"],.mobile-menu a[aria-current="page"]{color:var(--fg);background:rgba(140,52,248,.18)}
.crumbs{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:13px;color:var(--muted);margin-bottom:16px;list-style:none;padding:0}
.crumbs a:hover{color:var(--fg)}
.crumbs li + li::before{content:"/";margin-right:6px;opacity:.5}
.cat-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:clamp(24px,4vw,56px);align-items:end;
  background:radial-gradient(55% 90% at 100% 0%,rgba(140,52,248,.38),transparent 62%),radial-gradient(40% 70% at 0% 100%,rgba(80,60,255,.18),transparent 70%),var(--surface)}
.cat-hero h1{font-size:clamp(40px,6vw,76px)}
.cat-hero .songs-sub{margin-top:10px}
.cat-hero .lead{margin-top:16px}
.cat-steps{display:grid;gap:10px}
.cat-step{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start;padding:14px;border-radius:var(--r-md);background:rgba(255,255,255,.04);border:1px solid var(--line)}
.cat-step b{font-family:var(--f-display);font-size:22px;color:var(--accent-soft);line-height:1.1}
.cat-step strong{display:block;font-size:15px}
.cat-step span{font-size:13px;color:var(--muted)}

/* =========================================================
   8. ПАНЕЛЬ ІНСТРУМЕНТІВ: пошук, сортування, вигляд, валюта
   ========================================================= */
.cat-bar{position:sticky;top:calc(env(safe-area-inset-top,0px) + 94px);z-index:15;display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  padding:10px;border-radius:22px;background:rgba(17,16,23,.82);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--line)}
.cat-search{position:relative;flex:0 1 340px;min-width:0}
.cat-search svg{position:absolute;left:16px;top:50%;width:18px;height:18px;transform:translateY(-50%);color:var(--muted);pointer-events:none}
.cat-search input{width:100%;height:46px;padding:0 42px 0 46px;border-radius:999px;border:1px solid var(--line);background:var(--surface-2);color:var(--fg);font:inherit;font-size:15px}
.cat-search input:focus{outline:none;border-color:rgba(185,139,255,.6);box-shadow:0 0 0 3px rgba(140,52,248,.18)}
.cat-search input::placeholder{color:#6f697d}
.cat-search .clear{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;display:none;place-items:center;color:var(--muted)}
.cat-search .clear svg{position:static;transform:none;width:16px;height:16px}
.cat-search.has-q .clear{display:grid}
.cat-select{height:46px;padding:0 38px 0 16px;border-radius:999px;border:1px solid var(--line);color:var(--fg);font:inherit;font-size:14px;appearance:none;cursor:pointer;
  background:var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239d97ab' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat}
/* Сортування — власний список: кнопка-«таблетка» трохи більша за пошук, поруч напис «Сортувати» */
.dd-native{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;overflow:hidden}
.dd{position:relative;margin-left:auto}
.dd-btn{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 18px 0 22px;border-radius:999px;border:1px solid var(--line);background:var(--surface-2);color:var(--fg);
  font-size:15px;font-weight:600;min-width:210px;transition:border-color .2s,box-shadow .2s,background .2s}
.dd-btn:hover{border-color:rgba(185,139,255,.45)}
.dd.open .dd-btn,.dd-btn:focus-visible{border-color:rgba(185,139,255,.7);box-shadow:0 0 0 3px rgba(140,52,248,.18);outline:none}
.dd-cap{font-weight:400;font-size:13px;color:var(--muted)}
.dd-val{flex:1;text-align:left}
.dd-btn svg{width:18px;height:18px;color:var(--accent-soft);transition:transform .25s}
.dd.open .dd-btn svg{transform:rotate(180deg)}
.dd-list{position:absolute;z-index:30;top:calc(100% + 8px);left:0;min-width:100%;margin:0;padding:6px;list-style:none;border-radius:20px;
  background:rgba(20,18,27,.97);border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 60px -16px rgba(0,0,0,.85);
  opacity:0;transform:translateY(-6px) scale(.98);transform-origin:top left;visibility:hidden;pointer-events:none;transition:opacity .18s,transform .18s,visibility .18s}
.dd.to-left .dd-list{left:auto;right:0;transform-origin:top right}
.dd.open .dd-list{opacity:1;transform:none;visibility:visible;pointer-events:auto}
.dd-list li{display:flex;align-items:center;justify-content:space-between;gap:16px;height:44px;padding:0 14px 0 16px;border-radius:14px;font-size:15px;color:#d9d4e4;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
.dd-list li:hover,.dd-list li:focus-visible{background:rgba(255,255,255,.07);color:#fff;outline:none}
.dd-list li svg{width:18px;height:18px;color:var(--accent-soft);opacity:0}
.dd-list li.is-on{color:#fff;font-weight:600;background:rgba(140,52,248,.16)}
.dd-list li.is-on svg{opacity:1}
@media (max-width:560px){
  .dd{margin-left:0;flex:1 1 150px}
  .dd-btn{width:100%;min-width:0;height:48px}
  .dd-cap{display:none}
  .dd-list{left:0;right:0;min-width:0}
}
.seg{display:inline-flex;padding:4px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line)}
.seg button{height:38px;min-width:40px;padding:0 12px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--muted);font-weight:600;font-size:14px;transition:.2s}
.seg button svg{width:18px;height:18px}
.seg button[aria-pressed="true"]{background:var(--accent);color:#fff}
.cat-bar .cur{padding:4px}
.cat-bar .cur button{height:38px;min-width:46px;padding:0 10px}
.filters-btn{display:none;height:46px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:var(--surface-2);font-weight:600;font-size:14px;align-items:center;gap:8px}
.filters-btn svg{width:18px;height:18px}
.filters-btn i{font-style:normal;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--accent);font-size:12px;display:grid;place-items:center}
.filters-btn i:empty{display:none}

/* =========================================================
   9. ФІЛЬТРИ (збоку на комп'ютері, знизу «шторкою» на телефоні)
   ========================================================= */
.cat-body{display:grid;grid-template-columns:260px 1fr;gap:var(--gap);align-items:start;margin-top:var(--gap)}
.filters{position:sticky;top:calc(env(safe-area-inset-top,0px) + 168px);max-height:calc(100svh - 190px);overflow:auto;scrollbar-width:thin;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:18px}
body.has-player .filters{max-height:calc(100svh - 290px)}
.f-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.f-head h2{font-size:20px}
.f-reset{font-size:13px;color:var(--accent-soft);font-weight:600;padding:4px 0}
.f-reset:disabled{opacity:.35;cursor:default}
.f-group{border:0;padding:14px 0 0;margin:14px 0 0;border-top:1px solid var(--line);min-width:0}
.f-group legend{float:left;width:100%;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:10px;padding:0}
.f-chips{display:flex;flex-wrap:wrap;gap:6px;clear:both}
.chipf{position:relative}
.chipf input{position:absolute;opacity:0;pointer-events:none}
.chipf span{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.03);font-size:13px;color:#d6d0e2;cursor:pointer;transition:.18s;user-select:none}
.chipf span small{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
.chipf:hover span{border-color:rgba(255,255,255,.28)}
.chipf input:checked + span{background:rgba(140,52,248,.22);border-color:rgba(185,139,255,.7);color:#fff}
.chipf input:checked + span small{color:#d9c6ff}
.chipf input:focus-visible + span{outline:2px solid var(--accent-soft);outline-offset:2px}
.chipf input:disabled + span{opacity:.35;cursor:default}
/* перемикач «Показати продані» */
.f-switch{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;cursor:pointer;clear:both}
.f-switch input{appearance:none;width:42px;height:24px;border-radius:999px;background:rgba(255,255,255,.12);position:relative;cursor:pointer;transition:.2s;flex:none}
.f-switch input::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:.2s}
.f-switch input:checked{background:var(--accent)}
.f-switch input:checked::after{transform:translateX(18px)}
.sheet-foot{display:none}
.sheet-grab{display:none}

/* =========================================================
   10. РЕЗУЛЬТАТИ
   ========================================================= */
.results{min-width:0}
.res-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:4px 4px 12px}
.res-count{font-size:14px;color:var(--muted)}
.res-count b{color:var(--fg)}
.active-chips{display:flex;flex-wrap:wrap;gap:6px}
.active-chips button{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px 0 12px;border-radius:999px;background:rgba(140,52,248,.18);border:1px solid rgba(185,139,255,.45);font-size:13px}
.active-chips button svg{width:14px;height:14px;opacity:.8}
.active-chips button:hover{background:rgba(140,52,248,.32)}
/* «Список»: шапка колонок */
.list-head{display:grid;grid-template-columns:var(--cols);gap:16px;padding:6px 14px 10px 10px;
  font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#6f697d;border-bottom:1px solid var(--line);margin-bottom:4px}
.list-head span:nth-child(1){text-align:center}
.list-head .r{text-align:right}
/* Колонки каталогу: # · обкладинка · назва · хвиля · референс/стиль · тон. · час · ціна · «Хочу».
   Остання колонка фіксована, інакше шапка (без кнопки) і рядки (з кнопкою) мають різну ширину й колонки роз'їжджаються.
   Колонки «Тон.» і «Ціна» зникають, якщо в жодному треку цього каталогу немає такого поля (клас no-key / no-price). */
.song-list.is-catalog{--cols:28px 56px minmax(220px,1.5fr) minmax(100px,1.2fr) minmax(140px,1fr) 44px 52px 92px 104px}
.song-list.is-catalog.no-key{--cols:28px 56px minmax(220px,1.5fr) minmax(100px,1.2fr) minmax(140px,1fr) 52px 92px 104px}
.song-list.is-catalog.no-price{--cols:28px 56px minmax(220px,1.5fr) minmax(100px,1.2fr) minmax(140px,1fr) 44px 52px 104px}
.song-list.is-catalog.no-key.no-price{--cols:28px 56px minmax(220px,1.5fr) minmax(100px,1.2fr) minmax(140px,1fr) 52px 104px}
.song-list.is-catalog .song-row{grid-template-columns:var(--cols)}
.song-list.is-catalog.no-key .sr-key,.song-list.is-catalog.no-key .h-key,
.song-list.is-catalog.no-price .sr-price,.song-list.is-catalog.no-price .h-price{display:none}
.sr-buy-ph{width:104px}
.song-list.is-catalog .sr-key{text-align:center}

/* «Плитка» */
.song-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:var(--gap)}
.song-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:12px;display:flex;flex-direction:column;gap:12px;transition:border-color .25s,transform .25s,background .25s;min-width:0}
.song-card:hover{border-color:rgba(140,52,248,.5);transform:translateY(-3px);background:#141219}
.song-card.is-current{border-color:rgba(185,139,255,.7)}
.song-card.is-sold{opacity:.55}
.sc-cover{position:relative;aspect-ratio:1;border-radius:var(--r-md);overflow:hidden}
.sc-cover .song-art b{font-size:30px}
.sc-cover .st{position:absolute;top:10px;left:10px;backdrop-filter:blur(8px);background:rgba(7,6,10,.6)}
.sc-play{position:absolute;right:12px;bottom:12px;width:52px;height:52px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;
  box-shadow:0 12px 28px -8px var(--glow);opacity:0;transform:translateY(8px);transition:opacity .25s,transform .25s}
.sc-play .pi{display:grid}
.sc-play svg{width:22px;height:22px}
.sc-play{opacity:1;transform:none;width:46px;height:46px}   /* як на телефоні: кнопка грати видна завжди */
.song-card:hover .sc-play,.sc-play:focus-visible,.sc-play.is-current{transform:scale(1.08)}
.sc-body{display:flex;flex-direction:column;gap:4px;padding:0 4px;min-width:0}
.sc-title{font-weight:600;font-size:17px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0}
.sc-title:hover{color:var(--accent-soft)}
.song-card.is-current .sc-title{color:var(--accent-soft)}
.sc-meta{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.sc-tags span{font-size:12px;padding:3px 8px;border-radius:999px;background:rgba(255,255,255,.05);color:#cfc9da}
.sc-wave .wave{height:26px}
.sc-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 4px 0;border-top:1px solid var(--line);margin-top:auto}
.sc-foot .sr-price{text-align:left}
.sc-foot .sr-buy{height:36px;padding:0 14px}

/* Нічого не знайдено */
.empty{background:var(--surface);border:1px dashed rgba(255,255,255,.14);border-radius:var(--r-lg);padding:48px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}
.empty svg{width:44px;height:44px;color:var(--accent-soft);opacity:.8}
.empty h3{font-size:24px}
.empty p{color:var(--muted);max-width:42ch}
.empty .btn{margin-top:8px;height:46px}

/* Повідомлення «такої пісні / жанру немає» над результатами */
.notice{margin:0 0 12px;padding:12px 16px;border-radius:var(--r-md);background:rgba(239,180,60,.1);border:1px solid rgba(239,180,60,.3);color:#f2d79b;font-size:14px}

/* =========================================================
   11. КАРТКА ПІСНІ (бокова панель / шторка на телефоні)
   ========================================================= */
.drawer-veil{position:fixed;inset:0;z-index:50;background:rgba(4,3,8,.6);backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:opacity .3s}
.drawer-veil.show{opacity:1;pointer-events:auto}
.drawer{position:fixed;z-index:55;top:10px;right:10px;bottom:10px;width:min(460px,calc(100% - 20px));overflow:auto;overscroll-behavior:contain;
  background:var(--surface);border:1px solid rgba(255,255,255,.1);border-radius:var(--r-xl);box-shadow:-30px 0 80px -30px rgba(0,0,0,.9);
  transform:translateX(calc(100% + 20px));transition:transform .45s cubic-bezier(.2,.8,.2,1);visibility:hidden}
.drawer.show{transform:none;visibility:visible}
body.has-player .drawer{bottom:96px}
.dr-top{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:14px 14px 10px;background:var(--surface)}
.dr-top .pb-btn{background:rgba(255,255,255,.06)}
.dr-share{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.06);font-size:13px;font-weight:600}
.dr-share:hover{background:rgba(255,255,255,.12)}
.dr-share svg{width:16px;height:16px}
.dr-body{padding:4px 22px 24px;display:flex;flex-direction:column;gap:18px}
.dr-head{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:end}
.dr-cover{position:relative;aspect-ratio:1;border-radius:var(--r-md);overflow:hidden}
.dr-cover .song-art b{font-size:22px}
.dr-cover .sc-play{opacity:1;transform:none;width:48px;height:48px;right:10px;bottom:10px}
.dr-cover .sc-play svg{width:20px;height:20px}
.dr-title{display:flex;flex-direction:column;gap:8px}
.dr-title h2{font-size:clamp(26px,3.2vw,34px);overflow-wrap:anywhere}
.dr-title .row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.dr-wave{display:flex;align-items:center;gap:10px}
.dr-wave span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.dr-wave .wave{height:40px;flex:1}
.dr-desc{color:#cfc9da;font-size:15px}
.dr-specs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
.dr-specs div{padding:12px 14px;border-radius:var(--r-sm);background:var(--surface-2);border:1px solid var(--line)}
.dr-specs dt{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.dr-specs dd{margin:2px 0 0;font-weight:600}
.dr-specs a:hover{color:var(--accent-soft)}
.dr-inc h3{font-size:18px;margin-bottom:10px}
.dr-inc ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.dr-inc li{display:flex;gap:10px;font-size:14px;color:#d6d0e2}
.dr-inc li::before{content:"";width:18px;height:18px;flex:none;margin-top:2px;border-radius:50%;background:rgba(140,52,248,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b98bff' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat}
.dr-buy{position:sticky;bottom:0;margin:0 -22px -24px;padding:16px 22px calc(16px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;justify-content:space-between;gap:14px;
  background:linear-gradient(to top,var(--surface) 70%,rgba(17,16,23,0));border-top:1px solid var(--line)}
.dr-price{display:flex;flex-direction:column}
.dr-price small{font-size:12px;color:var(--muted)}
.dr-price b{font-family:var(--f-display);font-size:30px;line-height:1.1;font-variant-numeric:tabular-nums}
.dr-buy .btn{flex:1;justify-content:center;max-width:260px}
.dr-buy .btn[disabled]{opacity:.5;pointer-events:none}

/* =========================================================
   12. НИЗ СТОРІНКИ: «Напишемо під вас» + «Про каталог»
   ========================================================= */
/* «Потрібен інструментал під себе?»: ліворуч текст, праворуч кнопка по центру висоти, одні й ті самі відступи з усіх боків */
.cat-custom{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;justify-content:stretch;gap:24px clamp(24px,5vw,72px);
  text-align:left;flex-direction:row;padding:clamp(28px,4vw,52px) clamp(24px,4.4vw,60px)}
.cat-custom > div{display:flex;flex-direction:column;align-items:flex-start;gap:12px;max-width:780px}
.cat-custom h2{font-size:clamp(28px,3.4vw,44px);line-height:1.05}
.cat-custom .lead{margin:0;max-width:52ch}
.cat-custom .price-from{font-size:14px;color:var(--muted);margin:2px 0 0;padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid var(--line)}
.cat-custom .price-from b{color:var(--fg)}
.cat-custom > .btn{margin:0;justify-self:end;white-space:nowrap;height:56px;padding:0 30px;font-size:16px}
.cat-custom > .btn svg{width:18px;height:18px}
@media (max-width:820px){
  .cat-custom{grid-template-columns:1fr}
  .cat-custom > .btn{justify-self:stretch;justify-content:center}
}
.cat-about{display:grid;grid-template-columns:1fr 1.6fr;gap:clamp(20px,4vw,56px)}
.cat-about h2{font-size:clamp(26px,3vw,36px)}
.cat-about div{display:flex;flex-direction:column;gap:14px;color:#cfc9da}
.cat-about .genre-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.cat-about .genre-links a{padding:6px 12px;border-radius:999px;border:1px solid var(--line);font-size:13px;color:var(--fg)}
.cat-about .genre-links a:hover{border-color:rgba(185,139,255,.6);color:var(--accent-soft)}

/* =========================================================
   13. АДАПТИВ
   ========================================================= */
@media (max-width:1240px){
  .song-list.is-catalog,.song-list.is-catalog.no-key{--cols:28px 56px minmax(220px,1.5fr) minmax(100px,1.4fr) 52px 92px 104px}
  .song-list.is-catalog.no-price,.song-list.is-catalog.no-key.no-price{--cols:28px 56px minmax(220px,1.5fr) minmax(100px,1.4fr) 52px 104px}
  .song-list.is-catalog .sr-mood,.song-list.is-catalog .sr-key,.list-head .h-mood,.list-head .h-key{display:none}
}
@media (max-width:1080px){
  .cat-body{grid-template-columns:1fr}
  .filters-btn{display:inline-flex}
  /* фільтри → «шторка» знизу */
  .filters{position:fixed;z-index:56;left:0;right:0;bottom:0;top:auto;max-height:86svh;border-radius:26px 26px 0 0;padding:8px 18px 0;
    transform:translateY(105%);transition:transform .4s cubic-bezier(.2,.8,.2,1);visibility:hidden}
  .filters.show{transform:none;visibility:visible}
  body.has-player .filters{max-height:86svh}
  .sheet-grab{display:block;width:44px;height:5px;border-radius:9px;background:rgba(255,255,255,.2);margin:4px auto 10px}
  .sheet-foot{display:flex;position:sticky;bottom:0;margin:16px -18px 0;padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px));background:var(--surface);border-top:1px solid var(--line)}
  .sheet-foot .btn{flex:1;justify-content:center}
  .cat-hero{grid-template-columns:1fr;align-items:start}
  .pb-vol{display:none}
}
@media (max-width:900px){
  .pbar{grid-template-columns:1fr auto;gap:10px;padding:10px;border-radius:18px}
  .pb-seek{display:none}
  .pb-line{display:block;position:absolute;left:14px;right:14px;top:-1px;height:14px;cursor:pointer;touch-action:none}
  .pb-line::before,.pb-line::after{content:"";position:absolute;left:0;top:0;height:3px;border-radius:3px}
  .pb-line::before{right:0;background:rgba(255,255,255,.12)}
  .pb-line::after{width:var(--p,0%);background:var(--accent-soft)}
  .pb-ctrl{grid-column:2;grid-row:1}
  .pb-side{display:none}
  .pb-prev{display:none}
  .pb-info{grid-column:1;grid-row:1}
  .pb-art{width:42px;height:42px}
}
@media (max-width:820px){
  .song-row,.song-list.is-catalog .song-row{grid-template-columns:52px minmax(0,1fr) auto;gap:4px 12px;padding:10px 8px}
  .list-head{display:none}
  .sr-num,.sr-dur,.sr-buy-ph,.sr-col{display:none}
  .sr-cover{width:52px;height:52px;grid-row:1/3}
  .song-row .sr-cover,.song-row > span.sr-cover{grid-row:1/3}
  .sr-main{grid-column:2;grid-row:1}
  .sr-price{grid-column:2;grid-row:2;text-align:left;font-size:14px}
  .song-row .sr-buy{grid-column:3;grid-row:1/3;height:40px;width:40px;padding:0;justify-content:center}
  .song-row .sr-buy span{display:none}
  /* хвиля на телефоні — лише в треку, що грає */
  .sr-wave{grid-column:1/-1;grid-row:3;display:none}
  .song-row.is-current .sr-wave{display:block;padding:4px 2px 0}
  .song-row.is-current .sr-wave .wave{height:28px}
  .song-perks{grid-template-columns:1fr}
  .song-list{border-radius:var(--r-lg);padding:4px}
  .cat-about{grid-template-columns:1fr}
  .cat-bar{top:calc(env(safe-area-inset-top,0px) + 90px);border-radius:18px}
  .songs-head-cta{width:100%}
}
@media (max-width:560px){
  .cat-bar .cat-search{flex-basis:100%}
  .cat-bar .cat-select{flex:1;min-width:0}
  .cat-bar .cur{display:none}
  .filters-btn{padding:0 14px}
  .cat-bar .seg button{min-width:36px;padding:0 8px}
  .cat-select{padding:0 30px 0 12px;font-size:13px;background-position:right 10px center}
  .song-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .song-card{padding:8px;gap:8px;border-radius:var(--r-md)}
  .sc-wave,.sc-tags{display:none}
  .sc-title{font-size:15px}
  .sc-meta{font-size:12px}
  .sc-foot .sr-buy{height:36px;width:36px;padding:0;justify-content:center}
  .sc-foot .sr-buy span{display:none}
  .sc-foot .sr-price{font-size:14px}
  .drawer{top:auto;left:0;right:0;bottom:0;width:100%;max-height:92svh;border-radius:26px 26px 0 0;transform:translateY(105%)}
  body.has-player .drawer{bottom:0}
  .dr-head{grid-template-columns:112px minmax(0,1fr);gap:14px}
  .dr-body{padding:2px 18px 22px}
  .dr-buy{margin:0 -18px -22px;padding-inline:18px}
  .songs-head-cta .btn{flex:1;justify-content:center}
}
@media (prefers-reduced-motion:reduce){.pbar,.drawer,.filters{transition:none}}

/* =========================================================
   14. ДРІБНИЦІ СТОРІНКИ КАТАЛОГУ
   ========================================================= */
/* текст лише для екранних читалок */
.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}
/* панель каталогу стоїть ближче до шапки, ніж звичайні секції */
.catalog{margin-top:calc(var(--gap) + 4px - var(--section))}

/* Коли відкрита картка пісні (телефон) або шторка фільтрів — плеєр ховаємо, щоб не перекривав кнопки */
@media (max-width:1080px){body.sheet-open .pbar{opacity:0;pointer-events:none}}
@media (max-width:560px){body.drawer-open .pbar{opacity:0;pointer-events:none}}

/* =========================================================
   КАРТКА БІТА: ліцензії з цінами (двійник «Що входить» у пісень)
   Кожна ліцензія — рядок: назва + що дає | ціна | кнопка «Хочу»
   ========================================================= */
.dr-lic .lic-list{gap:8px}
.dr-lic .lic{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:12px 14px;
  border-radius:var(--r-sm);background:var(--surface-2);border:1px solid var(--line);font-size:14px}
.dr-lic .lic::before{display:none}
.lic-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.lic-main b{font-weight:600;color:var(--fg)}
.lic-main span{color:#d6d0e2}
.lic-main small{font-size:12px;color:var(--muted)}
.lic-price{font-family:var(--f-display);font-weight:700;font-size:18px;font-variant-numeric:tabular-nums;white-space:nowrap}
.dr-lic .lic .sr-buy{height:36px;padding:0 14px}
@media (max-width:560px){
  .dr-lic .lic{grid-template-columns:1fr auto;row-gap:8px}
  .dr-lic .lic .sr-buy{grid-column:1/-1;justify-content:center}
}

/* =========================================================
   ВІКНО «ОБЕРІТЬ ЛІЦЕНЗІЮ» (кнопка «Хочу» біта)
   Комп'ютер — вікно по центру; телефон — «шторка» знизу.
   Шар 58: над карткою біта (55) і плеєром (57), під підказкою-тостом (60).
   ========================================================= */
.lic-modal{position:fixed;inset:0;z-index:58;display:grid;place-items:center;padding:16px;visibility:hidden;pointer-events:none}
.lic-modal.show{visibility:visible;pointer-events:auto}
.lm-veil{position:absolute;inset:0;background:rgba(4,3,8,.66);backdrop-filter:blur(4px);opacity:0;transition:opacity .25s}
.lic-modal.show .lm-veil{opacity:1}
.lm-box{position:relative;width:min(520px,100%);max-height:calc(100svh - 32px);overflow:auto;overscroll-behavior:contain;
  background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:0 30px 80px rgba(0,0,0,.5);
  opacity:0;transform:translateY(12px) scale(.98);transition:opacity .25s,transform .25s}
.lic-modal.show .lm-box{opacity:1;transform:none}

/* Шапка: обкладинка, код, назва, стиль */
.lm-head{display:grid;grid-template-columns:56px 1fr auto;gap:14px;align-items:center}
.lm-cover .song-art{width:56px;height:56px;border-radius:12px}
.lm-title{display:flex;flex-direction:column;min-width:0}
.lm-title small{font-size:12px;color:var(--muted)}
.lm-title b{font-family:var(--f-display);font-size:22px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lm-title span{font-size:13px;color:var(--muted)}
.lm-h{font-size:18px;margin:18px 0 10px}

/* Варіанти ліцензій — великі «радіокнопки»-картки */
.lm-opts{display:flex;flex-direction:column;gap:8px}
.lm-opt{position:relative;display:grid;grid-template-columns:20px 1fr auto;gap:12px;align-items:center;padding:12px 14px;cursor:pointer;
  border-radius:var(--r-sm);background:var(--surface-2);border:1px solid var(--line);transition:border-color .15s,background .15s}
.lm-opt:hover{border-color:rgba(140,52,248,.45)}
.lm-opt input{position:absolute;opacity:0;pointer-events:none}
.lm-dot{width:20px;height:20px;border-radius:50%;border:2px solid rgba(255,255,255,.28);transition:.15s}
.lm-opt:has(input:checked){border-color:var(--accent);background:rgba(140,52,248,.12)}
.lm-opt:has(input:checked) .lm-dot{border-color:var(--accent);box-shadow:inset 0 0 0 4px var(--surface-2);background:var(--accent)}
.lm-opt:has(input:focus-visible){outline:2px solid var(--accent-soft);outline-offset:2px}
.lm-main{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:14px}
.lm-main b{font-weight:600;color:var(--fg)}
.lm-main span{color:#d6d0e2}
.lm-main small{font-size:12px;color:var(--muted)}
.lm-price{font-family:var(--f-display);font-weight:700;font-size:18px;font-variant-numeric:tabular-nums;white-space:nowrap}

/* Низ: сума + «Продовжити» */
.lm-foot{position:sticky;bottom:-20px;margin:16px -20px 0;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px;
  background:var(--surface);border-top:1px solid var(--line)}
.lm-total{display:flex;flex-direction:column}
.lm-total small{font-size:12px;color:var(--muted)}
.lm-total b{font-family:var(--f-display);font-size:28px;line-height:1.1;font-variant-numeric:tabular-nums}
.lm-go{flex:1;max-width:260px;justify-content:center}
.lm-go svg{width:18px;height:18px}
.lm-note{font-size:12px;color:var(--muted);margin:10px 0 0;text-align:center}

/* Телефон: шторка знизу на всю ширину */
@media (max-width:560px){
  .lic-modal{place-items:end stretch;padding:0}
  .lm-box{width:100%;max-height:92svh;border-radius:24px 24px 0 0;padding:18px 16px calc(14px + env(safe-area-inset-bottom,0px));transform:translateY(40px)}
  .lm-foot{margin-inline:-16px;padding-inline:16px}
  .lm-title b{font-size:20px}
}
/* Поки відкрите вікно — плеєр унизу ховаємо, щоб не перекривав «Продовжити» */
body.lm-open .pbar{opacity:0;pointer-events:none}
@media (prefers-reduced-motion:reduce){.lm-box,.lm-veil{transition:none}}

/* Пісня без ціни: ціну не показуємо */
.sr-price.is-ask{visibility:hidden}

/* =========================================================
   17. ПЛЕЄР НА ТЕЛЕФОНІ: кнопка «закрити» в міні-панелі + велика шторка знизу
   ========================================================= */
.pb-x{display:none}
.pb-grab{display:none}
.pfull{display:none}
@media (max-width:900px){
  .pb-x{display:grid;color:var(--muted)}
  .pb-ctrl{gap:2px}
  .pb-info{cursor:pointer}
  /* Міні-плеєр на телефоні — «шторка» знизу на всю ширину екрана (як розгорнутий плеєр, тільки згорнута):
     суцільний фон, заокруглення лише зверху, нижній край притиснутий до краю екрана (з урахуванням «чубчика» iPhone). */
  .pbar{left:0;right:0;bottom:0;width:auto;transform:translateY(110%);
    padding:24px max(14px,env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px));
    border-radius:24px 24px 0 0;border:1px solid var(--line);border-bottom:0;
    background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none;
    box-shadow:0 -18px 50px -18px rgba(0,0,0,.85)}
  .pbar.show{transform:none}
  body.has-player .wrap{padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}

  /* «Ручка» зверху — справжня кнопка: тап розгортає плеєр, свайп вгору теж.
     Видима смужка 48×5 px, а зона натискання — 120×26 px, щоб легко влучити пальцем. */
  .pb-grab{display:grid;place-items:center;position:absolute;z-index:2;top:0;left:50%;width:120px;height:26px;margin-left:-60px;
    padding:0;background:none;border:0;cursor:grab;touch-action:none;-webkit-tap-highlight-color:transparent}
  .pb-grab i{display:block;width:48px;height:5px;border-radius:9px;background:rgba(255,255,255,.34);transition:background .2s,width .2s}
  .pb-grab:active i,.pb-grab:focus-visible i{background:var(--accent-soft);width:56px}
  .pb-grab:focus-visible{outline:none}

  /* Прогрес треку — тонка лінія по верхньому краю шторки (обабіч «ручки» нею можна перемотувати) */
  .pb-line{left:26px;right:26px;top:0;height:12px}
  .pb-line::before,.pb-line::after{top:0;height:3px}

  html.pf-lock{overflow:hidden}
  .pfull{display:block;position:fixed;inset:0;z-index:62}
  .pfull[hidden]{display:none}
  .pf-veil{position:absolute;inset:0;background:rgba(4,3,8,.66);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);opacity:0;transition:opacity .3s}
  .pfull.show .pf-veil{opacity:1}
  .pf-panel{position:absolute;left:0;right:0;bottom:0;max-height:94svh;display:flex;flex-direction:column;border-radius:26px 26px 0 0;
    background:var(--surface);border:1px solid var(--line);border-bottom:0;box-shadow:0 -24px 70px -20px rgba(0,0,0,.9);
    transform:translateY(105%);transition:transform .38s cubic-bezier(.2,.8,.2,1);max-width:640px;margin-inline:auto}
  .pfull.show .pf-panel{transform:none}
  .pf-head{touch-action:none;flex:none;cursor:grab}
  .pf-grab{width:44px;height:5px;margin:8px auto 4px;border-radius:9px;background:rgba(255,255,255,.22)}
  .pf-top{display:flex;align-items:center;justify-content:space-between;padding:2px 10px 6px}
  .pf-now{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600}
  .pf-top .pb-btn{background:rgba(255,255,255,.06)}
  .pf-scroll{overflow:auto;overscroll-behavior:contain;padding:6px 20px calc(24px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:18px;scrollbar-width:none}
  .pf-scroll::-webkit-scrollbar{display:none}
  .pf-scroll > *{flex:none}
  .pf-cover{width:min(72vw,300px);aspect-ratio:1;align-self:center;border-radius:22px;overflow:hidden;box-shadow:0 30px 70px -26px rgba(140,52,248,.55)}
  .pf-cover .song-art{display:block;width:100%;height:100%}
  .pf-cover .song-art img{width:100%;height:100%;object-fit:cover;display:block}
  .pf-title{display:flex;flex-direction:column;gap:4px;text-align:center}
  .pf-title b{font-family:var(--f-display);font-size:26px;line-height:1.1;font-weight:800}
  .pf-title span{font-size:14px;color:var(--muted)}
  .pf-seek{display:flex;align-items:center;gap:12px}
  .pf-seek > span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;min-width:34px;text-align:center}
  .pf-wave{flex:1;min-width:0}
  .pf-wave .wave{height:42px}
  .pf-ctrl{display:flex;align-items:center;justify-content:center;gap:22px}
  .pf-ctrl .pb-btn{width:52px;height:52px}
  .pf-ctrl .pb-btn svg{width:22px;height:22px}
  .pf-toggle{width:68px!important;height:68px!important;background:#fff;color:#0b0a0f}
  .pf-toggle svg{width:26px!important;height:26px!important}
  .pf-buy{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-radius:20px;background:var(--surface-2);border:1px solid var(--line)}
  .pf-price{display:flex;flex-direction:column;min-width:0}
  .pf-price small{font-size:12px;color:var(--muted)}
  .pf-price b{font-family:var(--f-display);font-size:24px;line-height:1.15}
  .pf-want{height:50px;padding:0 24px;flex:none}
  .pf-desc{color:#cfc9da;font-size:15px;line-height:1.55;margin:0}
  .pf-h{font-size:18px;margin:2px 0 -6px}
  .pf-specs{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .pf-specs div{padding:12px 14px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line);min-width:0}
  .pf-specs dt{font-size:12px;color:var(--muted);margin-bottom:2px}
  .pf-specs dd{margin:0;font-size:14px;word-break:break-word}
  .pf-more{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:999px;border:1px solid var(--line);font-weight:600;font-size:14px;color:var(--accent-soft)}
  .pf-more svg{width:16px;height:16px}
  body.lm-open .pfull{z-index:50}
}
@media (max-width:900px) and (prefers-reduced-motion:reduce){.pf-panel,.pf-veil{transition:none}}

.pf-buy.no-price,.dr-buy:not(:has(.dr-price)){justify-content:center}
.pf-buy.no-price .pf-want,.dr-buy:not(:has(.dr-price)) .btn{flex:1;justify-content:center}
.pf-buy.no-price{padding:0;background:none;border:0}

/* =========================================================
   «ПОКАЗАТИ ЩЕ» І «ЯК КУПИТИ» ПІД КАТАЛОГОМ (17.11.2026)
   ========================================================= */
/* Кнопка під списком: наступна порція треків + скільки ще лишилось */
.more-wrap{display:flex;justify-content:center;margin-top:20px}
.more-btn{min-height:48px;gap:10px}
.more-btn small{font-size:13px;font-weight:500;color:var(--muted)}

/* Блок «Як купити» під каталогом — лише на телефоні/планшеті (кроки туди переносить catalog.js) */
.cat-how[hidden]{display:none}
.cat-how .h2{margin-bottom:16px}

/* =========================================================
   ЗРУЧНІСТЬ НА СЕНСОРНИХ ЕКРАНАХ (телефон, планшет)
   Ціль — зона натискання не менше ~40–44 px, при цьому вигляд не змінюється:
   додаємо внутрішній відступ і «з'їдаємо» його від'ємним margin.
   ========================================================= */
@media (pointer:coarse){
  .sr-title{padding:9px 0;margin:-9px 0}              /* назва треку (відкриває картку): було 25 px заввишки */
  .chipf span{height:40px}                             /* фільтри-«чіпси» */
  .f-reset{padding:12px 4px;margin:-8px -4px}          /* «Скинути» у фільтрах */
}
