/* ---------- тейпы: стопка обложек (каталог, топ, страница тейпа, студия) ---------- */
/* стопка тейпа: вся стопка влезает в тот же квадрат, что обложка бита.
   --p: шаг стопки в процентах ширины квадрата, --k: тот же шаг в процентах размера самой карточки (для translate) */
.tp{--p:6;--k:calc(var(--p) / (100 - var(--p) * 2) * 100%);position:relative;isolation:isolate}
.tp-l{position:absolute;left:0;bottom:0;z-index:-1;width:calc((100 - var(--p) * 2) * 1%);height:auto;aspect-ratio:1;border-radius:12px;overflow:hidden;pointer-events:none;transform-origin:0 100%;transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.tp .tp-l img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border-radius:0;box-shadow:none}
.tp-l::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(245,242,242,.22)}
.tp-l1{transform:translate(var(--k),calc(var(--k) * -1))}
.tp-l1 img{filter:brightness(.6) saturate(.9)}
.tp-l2{z-index:-2;transform:translate(calc(var(--k) * 2),calc(var(--k) * -2))}
.tp-l2 img{filter:brightness(.38) saturate(.75)}
.tp:not(.xl)>:not(.tp-l){margin-top:calc(var(--p) * 2%);width:calc((100 - var(--p) * 2) * 1%)}
.cv-chips{position:absolute;left:8px;top:8px;z-index:1;display:flex;gap:4px;pointer-events:none}
.cv-chip{height:22px;padding:0 7px;display:inline-flex;align-items:center;gap:5px;border-radius:4px;background:rgba(11,7,8,.62);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#F5F2F2;font-family:var(--fd);font-weight:700;font-size:10px;line-height:1;letter-spacing:.06em;white-space:nowrap}
.cv-chip.free{background:rgba(245,242,242,.92);color:#0B0708;-webkit-backdrop-filter:none;backdrop-filter:none}
.feat-free{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 14px 0 12px;border-radius:12px;background:rgba(0,0,0,.22);border:1px solid rgba(245,242,242,.16);font-size:13px;line-height:16px;color:rgba(245,242,242,.72);white-space:nowrap}
.feat-free b{display:block;font-size:13px;font-weight:700;color:#F5F2F2}
.feat-more{font-size:14px;font-weight:600;color:rgba(245,242,242,.8);text-decoration:underline;text-decoration-color:rgba(245,242,242,.3);text-underline-offset:3px;white-space:nowrap}
.feat-more:hover{color:#fff}
.h-buy .i{margin-right:8px}
.free-dl{margin-top:14px;padding:12px 12px 12px 14px;display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px}
.free-dl>.i{flex:none;color:var(--muted)}
.free-dl div{flex:1;min-width:0;font-size:13px;line-height:18px;color:var(--muted)}
.free-dl b{display:block;font-size:15px;line-height:20px;color:var(--text)}
.free-dl .btn{flex:none;height:40px}
.lic-free .lic-price{margin-top:12px}
.bcard.tape{position:relative;z-index:0}
.bcard.tape:hover{z-index:2}
/* наведение: задние карточки расходятся веером вверх, передняя ведёт себя как обложка обычного бита */
.bcard.tape:hover .tp-l1,.tp.lg:hover .tp-l1{transform:translate(calc(var(--k) * 1.5),calc(var(--k) * -1.35)) rotate(-2deg)}
.bcard.tape:hover .tp-l2,.tp.lg:hover .tp-l2{transform:translate(calc(var(--k) * 2.7),calc(var(--k) * -2.35)) rotate(-4deg)}
.tp.lg{align-self:start}
.tp.lg>.feat-cv{align-self:auto}
/* студия и страница тейпа: передняя обложка не двигается и не меняет размер, стопка выходит в поля */
.tp.xl{--p:0;align-self:start}
.tp.xl .tp-l1{transform:translate(13px,-13px)}
.tp.xl .tp-l2{transform:translate(26px,-26px)}
.tp.xl:hover .tp-l1{transform:translate(14px,-17px) rotate(-.6deg)}
.tp.xl:hover .tp-l2{transform:translate(28px,-30px) rotate(-1.2deg)}
.tp.sm{--p:8;width:52px;flex:none}
.tp.sm .tp-l{border-radius:6px}
.tp.sm>img{display:block;height:auto;aspect-ratio:1;border-radius:6px;object-fit:cover}
.feat-now{min-width:0;font-family:var(--fd);font-weight:800;font-size:14px;line-height:18px;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:rgba(245,242,242,.88)}
.lseg.nums button{min-width:40px;flex:none}
.feat-buy:has(.lseg.nums){flex-wrap:nowrap}
.lseg.nums{min-width:0;flex:0 1 auto;overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 16px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 16px),transparent)}
.lseg.nums::-webkit-scrollbar{display:none}
.lseg.nums:not(.ovf){-webkit-mask-image:none;mask-image:none}
.hrow-more{padding:10px 12px 4px;font-size:13px;line-height:18px;color:var(--muted)}
.all-head .seg2{flex:none}
.all-head .seg2 button{height:32px;padding:0 12px}

/* ---------- страница тейпа ---------- */
.tp-now{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;font-size:14px;line-height:20px;color:rgba(245,242,242,.7)}
.tp-now b{margin-right:4px;font-family:var(--fd);font-weight:800;font-size:15px;line-height:20px;text-transform:uppercase;color:#F5F2F2}
.tp-now .tp-eq{color:#F5F2F2}
.tp-eq{display:inline-flex;align-items:flex-end;gap:2px;width:14px;height:14px;flex:none}
.tp-eq i{flex:1;height:100%;background:currentColor;border-radius:1px;transform-origin:50% 100%;animation:eq 1.1s ease-in-out infinite}
.tp-eq i:nth-child(2){animation-delay:-.45s}
.tp-eq i:nth-child(3){animation-delay:-.8s}
.tp-eq.paused i{animation-play-state:paused}
@keyframes eq{0%,100%{transform:scaleY(.35)}50%{transform:scaleY(1)}}
.tl-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.tl-head .muted{font-size:15px}
.tl-hint{display:inline-flex;align-items:center;gap:6px;font-size:14px;line-height:20px;color:var(--muted)}
.tl-all{margin-left:auto;height:40px;padding:0 12px;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600}
.tl-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:2px}
.tl-row{position:relative;display:grid;grid-template-columns:32px 40px minmax(0,1fr) 200px 52px 148px 40px;align-items:center;column-gap:14px;min-height:64px;padding:0 10px 0 8px;border-radius:12px}
.tl-row:hover{background:var(--surface)}
.tl-row.on{background:var(--raised)}
.tl-n{justify-self:center;display:grid;place-items:center;font-weight:600;font-size:15px;color:var(--muted)}
.tl-row.on .tl-n{color:var(--text)}
.tl-play{width:40px;height:40px;flex:none;border-radius:50%;border:1px solid var(--line-strong);display:grid;place-items:center}
.tl-play:hover{border-color:var(--text)}
.tl-row.on .tl-play,.mtl-row.on .tl-play{background:var(--text);border-color:var(--text);color:var(--bg)}
.tl-t{display:block;min-width:0;text-align:left;font-family:var(--fd);font-weight:900;font-size:16px;line-height:22px;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl-t:hover{text-decoration:underline}
.tl-tags{display:flex;gap:4px;min-width:0;overflow:hidden}
.tl-dur{text-align:right;font-size:14px;color:var(--muted)}
.tl-price{text-align:right;font-family:var(--fd);font-weight:700;font-size:14px;white-space:nowrap}
.tl-like{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;color:var(--muted)}
.tl-like:hover{color:var(--text);background:var(--raised-2)}
.tl-like.on{color:var(--text)}
.tl-prog{position:absolute;left:12px;right:12px;bottom:0;height:2px;border-radius:2px;background:var(--line);overflow:hidden}
.tl-prog i{display:block;height:100%;background:var(--text);width:0}
.tl-row.sold .tl-t,.tl-row.sold .tl-tags,.tl-row.sold .tl-dur{opacity:.45}
.tl-sold{justify-self:end;height:24px;padding:0 8px;display:inline-flex;align-items:center;border:1px solid var(--line-strong);border-radius:4px;font-family:var(--fd);font-weight:700;font-size:9px;letter-spacing:.06em;color:var(--muted);white-space:nowrap}
.c-beat{font-family:var(--fd);font-weight:800;font-size:12px;letter-spacing:.02em;text-transform:uppercase}
.lic-for{margin-top:14px;display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;background:var(--bg);border:1px solid var(--line)}
.lic-for .tp-eq{color:var(--text)}
.lic-for .t{min-width:0;flex:1}
.lic-for small{display:block;font-size:13px;line-height:18px;color:var(--muted)}
.lic-for b{display:block;font-family:var(--fd);font-weight:800;font-size:14px;line-height:18px;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lic-for button{flex:none;height:36px;padding:0 6px;font-size:14px;font-weight:600;color:var(--muted)}
.lic-for button:hover{color:var(--text)}
.lic-sum{min-height:44px}
.lic.is-sold .seg4 button{color:var(--muted);opacity:.5;cursor:not-allowed}
.lic.is-sold .lic-price{display:flex;align-items:center;gap:10px;color:var(--muted)}
.lic-sold{margin:16px 0 0;display:flex;gap:10px;font-size:15px;line-height:22px;color:var(--muted)}
.bundle{padding:20px;display:flex;flex-direction:column;gap:14px}
.bundle-top{display:flex;align-items:center;gap:14px}
.bundle-price{margin:0;display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px}
.bundle-price b{font-family:var(--fd);font-weight:900;font-size:28px;line-height:34px;white-space:nowrap}
.bundle-price s{font-size:16px;color:var(--muted);white-space:nowrap}
@container (max-width:1240px){.tl-row{grid-template-columns:32px 40px minmax(0,1fr) 120px 52px 132px 40px}.tl-tags .g{display:none}}
@container (max-width:1020px){.tl-row{grid-template-columns:28px 40px minmax(0,1fr) 48px 120px 40px}.tl-tags{display:none}}
@container (max-width:1020px){.tp.xl .tp-l1,.tp.xl:hover .tp-l1{transform:translate(10px,-10px)}.tp.xl .tp-l2,.tp.xl:hover .tp-l2{transform:translate(20px,-20px)}}
@container (max-width:860px){.tp.lg{display:none}}
@container (max-width:720px){.page:not(.st-page) .tp.xl{display:none}}

/* тейп на телефоне */
.tp.mt{width:150px;flex:none}
.tp.mt .tp-l{border-radius:10px}
.tp.mt .mp-cover img{width:100%;height:auto;aspect-ratio:1}
.ms-cv .tp .tp-l{border-radius:10px}
.ms-cv .tp.xl .tp-l1{transform:translate(6px,-6px)}
.ms-cv .tp.xl .tp-l2{transform:translate(12px,-12px)}
.m-allh{display:flex;align-items:center;gap:12px;padding:0 16px 12px}
.m-allh .sec-h{flex:1;min-width:0}
.m-allh .seg2 button{height:34px;padding:0 10px;font-size:13px}
.m-more{height:34px;padding:0 10px;font-size:14px;font-weight:600;color:var(--muted)}
.m-tbadge{display:inline-flex;align-items:center;gap:8px;margin-bottom:4px;font-family:var(--fd);font-weight:700;font-size:11px;line-height:16px;letter-spacing:.06em;color:var(--muted)}
.m-tbadge b{height:20px;padding:0 6px;display:inline-flex;align-items:center;border:1px solid var(--line-strong);border-radius:4px;color:var(--text)}
.mtl{padding:26px 16px 0}
.mtl-list{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:2px}
.mtl-row{position:relative;display:flex;align-items:center;gap:12px;min-height:66px;padding:8px 8px 8px 6px;border-radius:12px}
.mtl-row.on{background:var(--raised)}
.mtl-row .tl-play{width:44px;height:44px}
.mtl-main{flex:1;min-width:0;text-align:left}
.mtl-main b{display:block;font-family:var(--fd);font-weight:900;font-size:15px;line-height:20px;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mtl-main span{display:block;margin-top:2px;font-size:14px;line-height:18px;color:var(--muted)}
.mtl-row.sold .mtl-main{opacity:.5}
.mtl-p{flex:none;font-family:var(--fd);font-weight:700;font-size:13px;white-space:nowrap}
.mtl-row .tl-sold{font-size:8px;height:22px;padding:0 6px}
.mtl-row .tl-prog{left:8px;right:8px}
.m .bundle{padding:16px}
