/* Раздел «Песни и музыка»: альбом, список песен, закреплённый плеер, тексты песен */
.dzm{margin:22px 0 8px}
.dzm-btn-main,.dzm-btn-ghost{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 20px;border-radius:14px;font:800 14px/1 inherit;font-family:inherit;text-decoration:none;cursor:pointer;white-space:nowrap;transition:transform .2s,box-shadow .2s,background .2s,color .2s}
.dzm-btn-main{color:#fff;background:linear-gradient(135deg,#0560e9,#2790ff);border:1px solid transparent;box-shadow:0 13px 30px rgba(6,101,237,.22)}
.dzm-btn-ghost{color:var(--blue2);background:#fff;border:1px solid var(--border)}
.dzm-btn-main:hover,.dzm-btn-ghost:hover{transform:translateY(-1px)}
.dzm-btn-main svg{width:18px;height:18px;fill:currentColor}
.dzm-btn-ghost svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dzm-btn-ghost[aria-pressed="true"]{background:var(--blue);color:#fff;border-color:var(--blue)}

.dzm-album{display:grid;grid-template-columns:auto 1fr;gap:26px;align-items:center;padding:22px;border-radius:26px;color:#fff;background:radial-gradient(120% 140% at 100% 0,#2a86ff 0,rgba(42,134,255,0) 55%),linear-gradient(135deg,#061536,#0a2f78 70%,#0b48b8);box-shadow:0 24px 60px rgba(7,26,69,.28)}
.dzm-album-art{width:176px;height:176px;border-radius:18px;object-fit:cover;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.dzm-kicker{display:block;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#9cc8ff}
.dzm-album h3{margin:6px 0 6px;font-size:clamp(24px,2.6vw,34px);line-height:1.12;letter-spacing:-.02em;color:#fff}
.dzm-album p{margin:0;color:rgba(255,255,255,.78);font-size:14.5px}
.dzm-album-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.dzm-album .dzm-btn-main{background:#fff;color:#0a2f78;box-shadow:0 12px 26px rgba(0,0,0,.25)}
.dzm-album .dzm-btn-ghost{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.28)}
.dzm-album .dzm-btn-ghost[aria-pressed="true"]{background:#fff;color:#0a2f78;border-color:#fff}

.dzm-filter{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 12px}
.dzm-filter button{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 14px;border-radius:999px;border:1px solid var(--border);background:#fff;color:var(--text);font:700 13.5px/1 inherit;font-family:inherit;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.dzm-filter button span{color:var(--muted);font-weight:600}
.dzm-filter button:hover{border-color:var(--blue)}
.dzm-filter button[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
.dzm-filter button[aria-pressed="true"] span{color:rgba(255,255,255,.75)}

.dzm-list{list-style:none;margin:0;padding:0;background:#fff;border:1px solid var(--border);border-radius:22px;overflow:hidden;box-shadow:var(--shadow2)}
.dzm-item{display:flex;align-items:center;gap:4px;padding-right:8px;border-top:1px solid var(--border);transition:background .15s}
.dzm-item:first-child{border-top:0}
.dzm-item[hidden]{display:none}
.dzm-item:hover{background:#f6faff}
.dzm-item.is-cur{background:#eaf3ff}
.dzm-row{flex:1;min-width:0;display:grid;grid-template-columns:30px 44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:9px 8px 9px 16px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.dzm-row:focus-visible{outline:2px solid var(--blue);outline-offset:-2px;border-radius:14px}
.dzm-num{font-size:13.5px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums;text-align:center}
.dzm-row img{width:44px;height:44px;border-radius:10px;object-fit:cover;background:var(--soft)}
.dzm-title{min-width:0;font-size:15px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.dzm-title small{display:block;margin-top:2px;font-size:12.5px;font-weight:600;color:var(--muted)}
.dzm-item.is-cur .dzm-title{color:var(--blue2)}
.dzm-dur{font-size:13.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.dzm-eq{display:none;height:16px;align-items:flex-end;justify-content:center;gap:3px}
.dzm-eq i{display:block;width:3px;height:6px;border-radius:2px;background:var(--blue)}
.dzm-item.is-cur .dzm-num{display:none}
.dzm-item.is-cur .dzm-eq{display:flex}
.dzm-item.is-playing .dzm-eq i{animation:dzm-eq .9s ease-in-out infinite}
.dzm-item.is-playing .dzm-eq i:nth-child(2){animation-delay:-.3s}
.dzm-item.is-playing .dzm-eq i:nth-child(3){animation-delay:-.6s}
@keyframes dzm-eq{0%,100%{height:4px}50%{height:16px}}
.dzm-lyr{flex:none;padding:6px 11px;border-radius:999px;background:var(--soft);color:var(--blue2);font-size:12.5px;font-weight:800;text-decoration:none}
.dzm-lyr{min-width:58px;text-align:center}
.dzm-lyr:hover{background:var(--blue);color:#fff}
.dzm-lyr-none{visibility:hidden}
.dzm-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.dzm-shortcuts svg{width:18px;height:18px;fill:currentColor}
.dzm-dl{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:var(--muted)}
.dzm-dl svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dzm-dl:hover{color:var(--blue2);background:var(--soft)}

/* закреплённая панель */
.dzm-bar{position:fixed;left:50%;bottom:14px;z-index:950;width:min(1100px,calc(100% - 24px));display:grid;grid-template-columns:52px minmax(120px,1.1fr) auto minmax(180px,2fr) auto auto;gap:14px;align-items:center;padding:10px 12px;border-radius:22px;background:rgba(6,18,48,.95);color:#fff;box-shadow:0 22px 60px rgba(4,14,40,.38);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transform:translate(-50%,160%);transition:transform .35s cubic-bezier(.2,.8,.2,1);font-family:inherit}
.dzm-bar.is-on{transform:translate(-50%,0)}
.dzm-bar-art{width:52px;height:52px;border-radius:12px;object-fit:cover;background:#0d2a66}
.dzm-bar-info{min-width:0}
.dzm-bar-title{display:block;color:#fff;font-weight:800;font-size:14px;line-height:1.3;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dzm-bar-title:hover{text-decoration:underline}
.dzm-bar-sub{display:block;font-size:12px;color:rgba(255,255,255,.62);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dzm-bar-ctrl{display:flex;align-items:center;gap:4px}
.dzm-ic{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer;transition:background .15s,transform .15s}
.dzm-ic:hover{background:rgba(255,255,255,.1)}
.dzm-ic:focus-visible{outline:2px solid #7cb8ff;outline-offset:1px}
.dzm-ic svg{width:22px;height:22px;fill:currentColor}
.dzm-ic-main{width:46px;height:46px;background:#fff;color:#061230}
.dzm-ic-main:hover{background:#fff;transform:scale(1.05)}
.dzm-bar-vol svg,.dzm-bar-close svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dzm-bar-vol svg .f{fill:currentColor;stroke:none}
.dzm-bar-close svg{width:18px;height:18px}
.dzm-bar-close{color:rgba(255,255,255,.6)}
.dzm-bar-seek{display:flex;align-items:center;gap:10px;font-size:12px;color:rgba(255,255,255,.7);font-variant-numeric:tabular-nums}
.dzm-bar-seek input{flex:1;min-width:0}
.dzm-bar-vol{display:flex;align-items:center;gap:2px}
.dzm-bar-vol input{width:88px}
.dzm-bar input[type=range]{-webkit-appearance:none;appearance:none;height:4px;margin:0;border-radius:99px;background:linear-gradient(to right,#5aabff var(--p,0%),rgba(255,255,255,.22) var(--p,0%));cursor:pointer}
.dzm-bar input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:#fff;border:0;box-shadow:0 2px 6px rgba(0,0,0,.35)}
.dzm-bar input[type=range]::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#fff;border:0}
.dzm-bar input[type=range]:focus-visible{outline:2px solid #7cb8ff;outline-offset:4px}
.dzm-bar-err{grid-column:1/-1;margin:0;font-size:13px;color:#ffb3c1}
body.dzm-on{padding-bottom:100px}

/* страница песни */
.dzm-song-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.dzm-song-btns .is-playing{background:linear-gradient(135deg,#0a2f78,#0560e9)}
.dzm-song-cover img{aspect-ratio:1;object-fit:cover;border-radius:24px}
.kb-head.has-cover .dzm-song-cover{max-width:420px;justify-self:end}
.dzm-lyrics{column-width:300px;column-gap:44px;margin-top:8px}
.dzm-stanza{break-inside:avoid;margin:0 0 20px}
.dzm-part{display:block;font-size:11.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--blue)}
.dzm-stanza p{margin:4px 0 0;font-size:16.5px;line-height:1.7}
.dzm-stanza.is-chorus{padding:10px 14px 12px;border-left:3px solid var(--blue);border-radius:0 14px 14px 0;background:#f1f7ff}
.dzm-about{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.dzm-about li{padding:16px 18px;background:#fff;border:1px solid var(--border);border-radius:18px}
.dzm-about p{margin:0 0 8px}
.dzm-about a{font-weight:800;text-decoration:none}

/* карточки песен и темы */
.dzm-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;margin-top:14px}
.dzm-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:20px;overflow:hidden;color:var(--text);text-decoration:none;transition:transform .2s,box-shadow .2s}
.dzm-card:hover{transform:translateY(-3px);box-shadow:var(--shadow2)}
.dzm-card img{width:100%;aspect-ratio:16/10;object-fit:cover}
.dzm-card-txt{display:flex;flex-direction:column;gap:4px;padding:12px 14px 16px}
.dzm-card b{font-size:15.5px;line-height:1.3}
.dzm-card small{font-size:13.5px;color:var(--muted);line-height:1.4}
.dzm-card em{margin-top:4px;font-style:normal;font-size:12.5px;font-weight:800;color:var(--blue2)}
.dzm-themes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dzm-theme{padding:18px 20px;background:#fff;border:1px solid var(--border);border-radius:20px}
.dzm-theme h3{margin:0 0 6px;font-size:18px}
.dzm-theme p{margin:0;font-size:15px}
.dzm-theme ul{margin:10px 0;padding-left:18px;font-size:14.5px}
.dzm-theme li{margin:2px 0}
.dzm-theme .dzm-theme-more{font-size:13.5px;color:var(--muted)}

@media (max-width:900px){
  .dzm-bar{grid-template-columns:48px minmax(0,1fr) auto auto;gap:6px 10px;bottom:8px;width:calc(100% - 16px);padding:10px}
  .dzm-bar-art{width:48px;height:48px}
  .dzm-bar-seek{grid-column:1/-1;order:5}
  .dzm-bar-vol{display:none}
  .dzm-bar-ctrl .dzm-ic{width:36px;height:36px}
  .dzm-bar-ctrl .dzm-ic-main{width:42px;height:42px}
  body.dzm-on{padding-bottom:140px}
}
@media (max-width:760px){
  .dzm-album{grid-template-columns:1fr;gap:16px;padding:18px;text-align:left}
  .dzm-album-art{width:120px;height:120px}
  .dzm-row{grid-template-columns:24px 40px minmax(0,1fr) auto;gap:10px;padding:9px 4px 9px 10px}
  .dzm-row img{width:40px;height:40px}
  .dzm-themes{grid-template-columns:1fr}
  .dzm-lyrics{column-width:auto;columns:1}
  .kb-head.has-cover .dzm-song-cover{max-width:none;justify-self:stretch}
}
@media (max-width:420px){
  .dzm-bar-ctrl [data-a="prev"]{display:none}
  .dzm-dl{width:32px}
}
@media (prefers-reduced-motion:reduce){
  .dzm-bar{transition:none}
  .dzm-item.is-playing .dzm-eq i{animation:none;height:12px}
}
