/* DESIGN V2 (3/4): чипы + секции + карточки */
@media (min-width: 901px) {
  /* ── Чипы жанров ── */
  .dv2-chips-row { display: flex; gap: 9px; overflow-x: auto; padding: 26px 0 0; scrollbar-width: none; }
  .dv2-chips-row::-webkit-scrollbar { display: none; }
  .dv2-chip { flex: 0 0 auto; padding: 8px 15px; border-radius: 20px; background: #121219; border: 1px solid rgba(255,255,255,.08); color: #a6a6b2; font-size: 13px; text-decoration: none; }
  .dv2-chip:hover { color: #e8e8ee; border-color: rgba(255,255,255,.16); }
  .dv2-chip.active { border-color: rgba(124,108,245,.45); background: rgba(124,108,245,.14); color: #e7e4ff; font-weight: 600; }

  /* Цветные чипы главной (поэты/жанры/настроения) — стиль плиток мини-аппа ВК (владелец 07-18) */
  /* Градиентная подложка-панель (владелец 07-18): в стиле верхних рамок (hero/В тренде) — тот же
     диагональный градиент 120° с фиолетовым тоном, полупрозрачный над DJ-фоном + лёгкий блюр.
     Общий класс для секций-списков поверх фона: чипы, Популярное, Набирающие. */
  .dv2-cchip-sec, .dv2-panel-sec { background: linear-gradient(120deg, rgba(26,21,42,.95) 0%, rgba(16,15,23,.94) 55%, rgba(28,20,44,.95) 100%); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 18px 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 48px rgba(0,0,0,.42); }
  .dv2-cchip-sec { margin-top: 30px; }
  .dv2-panel-sec { margin-top: 30px; }
  .dv2-cchips { display: flex; flex-wrap: wrap; gap: 10px; }
  .dv2-cchip { flex: 0 0 auto; padding: 9px 16px; border-radius: 20px; font-size: 13.5px; font-weight: 600; line-height: 1.2; color: #fff; text-decoration: none; text-shadow: 0 1px 2px rgba(0,0,0,.32); box-shadow: 0 4px 14px rgba(0,0,0,.22); transition: filter .12s, transform .12s; }
  .dv2-cchip:hover { filter: brightness(1.09); transform: translateY(-1px); }
  .dv2-cchip-grad { background: linear-gradient(135deg, var(--ca), var(--cb)); }
  .dv2-cchip-poet { background: linear-gradient(135deg, var(--cc), rgba(10,10,14,.35)); }

  /* ── Секции ── */
  .dv2-section { margin-top: 44px; }
  .dv2-sechead { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
  .dv2-sechead h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: #f3f3f6; }
  .dv2-sechead span { font-size: 13px; color: #82828f; }
  .dv2-sechead > a { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 500; color: #a99cff; text-decoration: none; white-space: nowrap; }
  .dv2-sechead > a:hover { color: #c4baff; }
  .dv2-hscroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: #26262f transparent; }

  /* Рельс с полупрозрачными кнопками прокрутки ←/→ (владелец 07-18). Правая всегда при overflow,
     левая появляется после сдвига; у краёв кнопка скрыта. Кнопки поверх карточек по краям. */
  .dv2-rail { position: relative; }
  /* Вертикально стрелки центрируем по ОБЛОЖКЕ карточки (≈75px сверху), а не по центру карточки —
     иначе правая стрелка перекрывает кнопку play (она у нижнего края обложки). Владелец 07-18. */
  .dv2-rail-nav { position: absolute; top: 75px; z-index: 4; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: rgba(13,13,19,.6); color: #fff; border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 10px 24px rgba(0,0,0,.44); cursor: pointer; transition: background .14s, transform .14s, opacity .14s; }
  /* Рельс стихов выше (карточки текстовые) — стрелки чуть ниже, по центру их высоты. */
  .dv2-rail-poems .dv2-rail-nav { top: calc(50% - 23px); }
  .dv2-rail-nav:hover { background: rgba(26,26,36,.92); transform: scale(1.07); }
  .dv2-rail-nav:active { transform: scale(.98); }
  .dv2-rail-nav[hidden] { display: none; }
  .dv2-rail-prev { left: -10px; }
  .dv2-rail-next { right: -10px; }
  /* Карточки стихов в рельсе — фиксированная ширина (в отличие от прежней сетки). */
  .dv2-rail-poems .dv2-hscroll .dv2-poem-card { flex: 0 0 300px; width: 300px; box-sizing: border-box; }
  /* H: карточка-заглушка с прелоудером во время фоновой подгрузки следующей порции. */
  .dv2-card-skel { flex: 0 0 196px; width: 196px; padding: 12px; box-sizing: border-box; background: #121219; border: 1px solid rgba(255,255,255,.06); border-radius: 16px; }
  .dv2-skel-cover { position: relative; aspect-ratio: 1; border-radius: 12px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; background: linear-gradient(100deg, #17171f 30%, #20202a 50%, #17171f 70%); background-size: 200% 100%; animation: dv2SkelShimmer 1.1s linear infinite; }
  .dv2-skel-spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255,255,255,.16); border-top-color: rgba(255,255,255,.7); animation: dv2SkelSpin .8s linear infinite; }
  .dv2-skel-line { height: 12px; border-radius: 6px; margin-top: 8px; background: linear-gradient(100deg, #17171f 30%, #20202a 50%, #17171f 70%); background-size: 200% 100%; animation: dv2SkelShimmer 1.1s linear infinite; }
  .dv2-skel-line.short { width: 60%; }
  /* скелет карточки-стиха (рельс Стихи) */
  .dv2-poem-skel { justify-content: flex-start; }
  .dv2-skel-quote { flex: 1; margin-top: 14px; border-radius: 10px; min-height: 90px; display: flex; align-items: center; justify-content: center; background: linear-gradient(100deg, #17171f 30%, #20202a 50%, #17171f 70%); background-size: 200% 100%; animation: dv2SkelShimmer 1.1s linear infinite; }
  @keyframes dv2SkelShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
  @keyframes dv2SkelSpin { to { transform: rotate(360deg); } }

  /* карточка поэта */
  .dv2-poet-card { flex: 0 0 auto; width: 212px; display: flex; align-items: center; gap: 12px; padding: 12px; background: #121219; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; text-decoration: none; box-sizing: border-box; }
  .dv2-poet-card:hover { background: #181820; border-color: rgba(255,255,255,.14); }
  .dv2-poet-mono { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
  .dv2-poet-main { display: flex; flex-direction: column; min-width: 0; }
  .dv2-poet-main b { color: #f2f2f6; font-size: 14.5px; font-weight: 600; }
  .dv2-poet-main i { font-style: normal; font-size: 12px; color: #82828f; }

  /* карточка песни */
  .dv2-song-card { flex: 0 0 auto; width: 196px; padding: 12px; background: #121219; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; cursor: pointer; box-sizing: border-box; }
  .dv2-song-card:hover { background: #181820; border-color: rgba(255,255,255,.14); }
  .dv2-song-cover { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
  .dv2-song-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .dv2-song-year { position: absolute; top: 8px; right: 8px; padding: 2px 7px; border-radius: 8px; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); font-size: 11px; font-weight: 600; line-height: 1.35; color: rgba(255,255,255,.92); }
  .dv2-song-play { position: absolute; right: 9px; bottom: 9px; width: 38px; height: 38px; border-radius: 50%; background: #7c6cf5; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(0,0,0,.45); opacity: .92; }
  .dv2-song-card:hover .dv2-song-play { opacity: 1; transform: scale(1.05); }
  .dv2-song-chip { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: #9a9aa8; margin-bottom: 6px; }
  .dv2-song-chip i { width: 7px; height: 7px; border-radius: 50%; }
  .dv2-song-title { font-size: 14.5px; font-weight: 600; color: #f2f2f6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv2-song-author { font-size: 12.5px; color: #82828f; margin-top: 2px; }
  .dv2-song-foot { display: flex; gap: 14px; margin-top: 9px; }
  .dv2-song-foot span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #6f6f7b; }

  /* популярное — 2 колонки */
  .dv2-pop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 26px; }
  .dv2-pop-row { display: flex; align-items: center; gap: 13px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
  .dv2-pop-row:hover { background: #15151d; }
  .dv2-pop-num { width: 20px; text-align: center; color: #6a6a77; font-size: 14px; }
  .dv2-pop-cover { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 9px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); }
  .dv2-pop-cover img { width: 100%; height: 100%; object-fit: cover; }
  .dv2-pop-main { min-width: 0; flex: 1; display: flex; flex-direction: column; }
  .dv2-pop-main b { font-size: 14px; font-weight: 600; color: #f2f2f6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv2-pop-main i { font-style: normal; font-size: 12px; color: #82828f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv2-pop-plays { width: 60px; display: inline-flex; align-items: center; gap: 4px; justify-content: flex-end; font-size: 12px; color: #6f6f7b; }
  .dv2-pop-dur { width: 34px; text-align: right; font-size: 12px; color: #6a6a77; font-variant-numeric: tabular-nums; }

  /* свежие стихи */
  .dv2-poems-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 16px; }
  .dv2-poem-card { padding: 18px; background: #121219; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; display: flex; flex-direction: column; }
  .dv2-poem-card:hover { border-color: rgba(255,255,255,.14); }
  .dv2-poem-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .dv2-poem-head b { font-size: 15.5px; font-weight: 600; color: #f2f2f6; }
  .dv2-poem-head span { font-size: 12px; color: #63636f; }
  .dv2-poem-author { font-size: 12.5px; font-weight: 500; color: #a99cff; margin-top: 3px; }
  .dv2-poem-quote { font-family: "Spectral", Georgia, serif; font-style: italic; font-size: 15.5px; line-height: 1.5; color: #c4c4d0; margin: 14px 0 16px; flex: 1; }
  .dv2-poem-foot { display: flex; gap: 10px; }
  .dv2-poem-make { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 10px; background: rgba(124,108,245,.16); color: #c9c1ff; font-weight: 600; font-size: 13px; text-decoration: none; }
  .dv2-poem-make:hover { background: rgba(124,108,245,.24); }
  /* Карточка стиха ГЛАВНОЙ: заголовок+поэт стопкой, год справа; ряд «Читать полностью»+язык и подвал
     переиспользуют классы экранной карточки — размер не раздуваем. */
  .dv2-hpoem .dv2-poem-head { align-items: flex-start; }
  .dv2-hpoem-titlewrap { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
  .dv2-hpoem-titlewrap i { font-style: normal; font-size: 12px; color: #82828f; }
  .dv2-hpoem .dv2-poem-quote { margin: 12px 0 12px; }

}

