/* Экраны: «Моя волна», полки, списки треков, страницы артистов и плейлистов, поиск, коллекция. */

/* ---------- «Моя волна» ----------
   Сцена: призма над морем звёзд. Слои снизу вверх — буквы, вода (она заходит на буквы,
   как на берег), призма, кнопки. */
.wave {
  position: relative;
  height: clamp(430px, calc(100vh - 236px), 720px);
  margin-top: calc(-1 * (var(--top-h) + var(--gap) * 2 + 10px));
  margin-bottom: 8px;
}
.wave-title {
  position: absolute; z-index: 1; left: 0; right: 0; top: 55%;
  margin: 0; text-align: center; white-space: nowrap;
  font: 900 clamp(46px, calc((100vw - var(--side-w) - 120px) / 9.6), 132px)/.88 var(--font-display);
  letter-spacing: -.035em; text-transform: uppercase;
  /* буквы белые, как свет до призмы, и уходят в воду: книзу тают */
  color: #fff;
  -webkit-mask-image: linear-gradient(#000 30%, rgba(0, 0, 0, .16) 92%);
  mask-image: linear-gradient(#000 30%, rgba(0, 0, 0, .16) 92%);
  pointer-events: none;
}
/* зарево на горизонте — свет призмы на воде */
.wave-glow { position: absolute; z-index: 0; left: 50%; top: calc(55% + clamp(46px, calc((100vw - var(--side-w) - 120px) / 9.6), 132px) * .46); width: min(1500px, 150%); height: 300px; transform: translateX(-50%); pointer-events: none; opacity: var(--glow, 0); background: radial-gradient(50% 100% at 50% 0%, rgba(var(--w1, 198, 137, 255), .30), rgba(var(--w0, 125, 249, 255), .10) 45%, transparent 72%); }
body.queue-open .wave-title { font-size: clamp(40px, calc((100vw - var(--side-w) - var(--queue-w) - 130px) / 9.6), 132px); }
.wave-sea { position: absolute; z-index: 2; top: 30%; height: 72%; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.wave-sea.on { opacity: 1; }
.wave-prism { position: absolute; z-index: 3; left: 50%; top: 2.5%; width: min(520px, 70%); height: 64%; transform: translateX(-50%); }
.wave-hit { position: absolute; z-index: 4; left: 50%; top: 11%; width: 24%; min-width: 190px; height: 47%; transform: translateX(-50%); border-radius: 50%; cursor: pointer; }
.wave-ui { position: absolute; z-index: 5; left: 0; right: 0; top: calc(55% + clamp(46px, calc((100vw - var(--side-w) - 120px) / 9.6), 132px) * .88 + 22px); display: grid; justify-items: center; gap: 14px; }
.wave-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.wave-play { height: 50px; padding: 0 26px 0 20px; font-size: 15px; }
.wave-play .ico { width: 20px; height: 20px; }
.wave-play.loading .ico { animation: spin 1s linear infinite; }
.wave-sub { min-height: 20px; max-width: min(640px, 86%); color: var(--ink-2); font-size: 14px; text-align: center; }
.wave-sub b { color: var(--ink); font-weight: 600; }
/* кнопки сцены стоят прямо на воде — стекло у них темнее, чтобы надписи читались */
.wave-ui .chip { background: linear-gradient(180deg, rgba(34, 34, 44, .62), rgba(14, 14, 20, .66)); }
.wave-ui .chip:hover { background: linear-gradient(180deg, rgba(52, 52, 64, .7), rgba(22, 22, 30, .72)); }
.wave-ui .chip.on { background: #fff; }
.wave-sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.wave-moods { display: contents; }      /* на компьютере настроения стоят в одной строке с кнопкой */

/* ---------- полки на главной ---------- */
.shelf { position: relative; z-index: 3; margin-top: 30px; }
.shelf-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; min-height: 36px; }
.shelf-nav { display: flex; gap: 2px; }
.shelf-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 164px; gap: 18px;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-behavior: smooth;
  padding: 8px 4px 16px; margin: -8px -4px 0;
  scrollbar-width: none;
}
.shelf-row::-webkit-scrollbar { display: none; }
.shelf-row > * { scroll-snap-align: start; }
.shelf-row.mixes { grid-auto-columns: 196px; gap: 14px; }
.shelf-row.artists { grid-auto-columns: 136px; gap: 20px; }

.card { display: block; width: 100%; min-width: 0; text-align: left; border-radius: 20px; }
.card-art { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--fill-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 14px 30px -18px #000; transition: transform .35s var(--ease), box-shadow .35s; }
.card-art::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .09); pointer-events: none; }
.card:hover .card-art { transform: translateY(-4px); box-shadow: 0 22px 44px -18px rgba(255, 255, 255, .22), 0 18px 30px -18px #000; }
.card-play { position: absolute; right: 10px; bottom: 10px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #000; background: #fff; box-shadow: 0 8px 22px -6px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .2s, transform .3s var(--spring); }
.card-play .ico { width: 18px; height: 18px; }
.card:hover .card-play, .card:focus-visible .card-play, .card.playing .card-play { opacity: 1; transform: none; }
.card-title { margin-top: 11px; font-weight: 600; font-size: 14px; }
.card-sub { margin-top: 1px; color: var(--ink-2); font-size: 13px; }
.card.playing .card-title { color: #fff; }
.card.playing .card-art { box-shadow: 0 0 0 2px #fff, 0 16px 40px -14px rgba(var(--tint), .9); }

/* миксы: тёмное стекло, в которое с двух углов входит свет жанра */
.mix {
  position: relative; display: block; width: 100%; height: 118px; border-radius: 26px; overflow: hidden; text-align: left; isolation: isolate;
  background:
    radial-gradient(120% 150% at 0% 0%, var(--c1) 0%, transparent 58%),
    radial-gradient(110% 150% at 100% 100%, var(--c2) 0%, transparent 56%),
    #0a0a10;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 16px 30px -20px #000;
  transition: transform .35s var(--ease), filter .35s;
  filter: saturate(.92) brightness(.9);
}
.mix::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(200deg, transparent 30%, rgba(0, 0, 0, .5) 100%); }
.mix::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255, 255, 255, .26), transparent 30%, transparent 72%, rgba(255, 255, 255, .08)); pointer-events: none; }
.mix:hover { transform: translateY(-3px); filter: saturate(1.1) brightness(1.08); }
.mix-name { position: absolute; left: 18px; right: 56px; bottom: 15px; font: 700 15px/1.15 var(--font-display); letter-spacing: -.01em; text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.mix-play { position: absolute; right: 14px; bottom: 13px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); transition: background .2s, color .2s, transform .3s var(--spring); }
.mix-play .ico { width: 15px; height: 15px; }
.mix:hover .mix-play { background: #fff; color: #000; transform: scale(1.08); }
.mix.playing { box-shadow: 0 0 0 2px #fff, 0 16px 34px -16px var(--c1); filter: none; }

.artist { display: grid; justify-items: center; gap: 11px; width: 100%; min-width: 0; text-align: center; border-radius: 20px; }
.artist-pic { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--fill-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 14px 30px -18px #000; transition: transform .35s var(--ease), box-shadow .35s; }
.artist-pic::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.artist:hover .artist-pic { transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 40px -18px rgba(255, 255, 255, .25); }
.artist-name { font-weight: 600; font-size: 13.5px; max-width: 100%; }

/* ---------- список треков ---------- */
.rows { display: grid; }
.row {
  display: grid; grid-template-columns: 30px 46px minmax(0, 1.3fr) minmax(0, 1fr) 34px 48px 32px;
  align-items: center; gap: 12px;
  height: 60px; padding: 0 10px 0 6px;
  border-radius: 16px;
  cursor: pointer;
  transition: background .14s;
}
.row:hover, .row:focus-visible, .row.menu-open { background: var(--fill-1); }
.row.playing { background: linear-gradient(90deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .03)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.row-n { text-align: center; color: var(--ink-3); font-size: 13px; position: relative; height: 20px; }
.row-n > i { font-style: normal; }
.row-n .ico { position: absolute; inset: 1px 6px; width: 18px; height: 18px; color: #fff; opacity: 0; }
.row:hover .row-n > i, .row:focus-visible .row-n > i, .row.playing .row-n > i { opacity: 0; }
.row:hover .row-n .ico, .row:focus-visible .row-n .ico { opacity: 1; }
.row.playing:not(:hover) .row-n .ico { opacity: 0; }
.row-art { position: relative; width: 46px; height: 46px; border-radius: 11px; overflow: hidden; background: var(--fill-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.row-main { min-width: 0; }
.row-title { font-weight: 550; font-size: 14.5px; }
.row-sub { color: var(--ink-2); font-size: 13px; margin-top: 1px; display: flex; min-width: 0; }
.row-sub button { color: inherit; min-width: 0; }
.row-sub button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.row-note { color: var(--ink-3); font-size: 13px; }
.row-dur { color: var(--ink-3); font-size: 13px; text-align: right; }
.row .like, .row .row-more { opacity: 0; }
.row:hover .like, .row:hover .row-more, .row:focus-within .like, .row:focus-within .row-more, .row .like.on, .row.menu-open .row-more { opacity: 1; }
.row.playing .row-title { color: #fff; font-weight: 650; }
.row.gone { opacity: .4; }

/* столбики у играющего трека */
.eq { position: absolute; inset: 0; display: none; align-items: flex-end; justify-content: center; gap: 2.5px; padding-bottom: 3px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: #fff; transform-origin: 50% 100%; transform: scaleY(.3); }
.row.playing .row-n .eq { display: flex; }
.row.playing:hover .row-n .eq { display: none; }
body.is-playing .playing .eq i { animation: eq .9s ease-in-out infinite; }
body.is-playing .playing .eq i:nth-child(2) { animation-delay: -.3s; animation-duration: .7s; }
body.is-playing .playing .eq i:nth-child(3) { animation-delay: -.55s; animation-duration: 1.05s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

.rows.compact .row { grid-template-columns: 42px minmax(0, 1fr) 40px; height: 54px; gap: 11px; padding: 0 8px 0 6px; border-radius: 14px; }
.rows.compact .row-art { width: 42px; height: 42px; border-radius: 10px; }
.rows.compact .row-title { font-size: 13.5px; }
.rows.compact .row-sub { font-size: 12.5px; }
.rows.compact .row-dur { font-size: 12px; }
.row-tail { position: relative; display: grid; align-items: center; height: 30px; }
.row-tail .row-x { position: absolute; right: -2px; top: 0; opacity: 0; }
.row:hover .row-tail.has-x .row-x, .row:focus-within .row-tail.has-x .row-x { opacity: 1; }
.row:hover .row-tail.has-x .row-dur, .row:focus-within .row-tail.has-x .row-dur { opacity: 0; }
.rows.compact .row-art .eq { background: rgba(0, 0, 0, .5); padding: 13px 0; }
.rows.compact .row.playing .row-art .eq { display: flex; }

.sk-row { cursor: default; pointer-events: none; }
.sk-row .row-art { box-shadow: none; }

/* ---------- шапка страницы: жанр, артист, плейлист ---------- */
.hero { position: relative; display: flex; align-items: flex-end; gap: 28px; padding: 26px 0 26px; min-height: 236px; }
.hero::before { content: ''; position: absolute; z-index: -1; left: -12%; top: -130px; width: 78%; height: 440px; background: radial-gradient(closest-side at 30% 50%, var(--c1, rgba(var(--tint), .9)), transparent 72%), radial-gradient(closest-side at 72% 40%, var(--c2, transparent), transparent 70%); opacity: .24; filter: blur(30px); pointer-events: none; }
.hero-pic { position: relative; width: 200px; height: 200px; flex: none; border-radius: 28px; overflow: hidden; background: var(--fill-2); display: grid; place-items: center; color: var(--ink-3); box-shadow: 0 30px 60px -26px #000, inset 0 0 0 1px rgba(255, 255, 255, .1); }
.hero-pic::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .1); pointer-events: none; }
.hero-pic.round { border-radius: 50%; }
.hero-pic .ico { width: 64px; height: 64px; }
.hero-pic.collage { display: grid; grid-template-columns: 1fr 1fr; }
.hero-pic.collage img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.hero-pic.orb { background: radial-gradient(120% 130% at 0% 0%, var(--c1) 0%, transparent 60%), radial-gradient(110% 130% at 100% 100%, var(--c2) 0%, transparent 58%), #0a0a10; color: #fff; }
.hero-pic.orb .ico { filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .45)); }
.hero-text { min-width: 0; flex: 1; display: grid; gap: 10px; padding-bottom: 2px; }
.hero-kind { color: var(--ink-2); font-size: 13px; font-weight: 500; }
.hero-title { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; padding-bottom: .08em; overflow-wrap: anywhere; }
.hero-sub { color: var(--ink-2); font-size: 14px; min-height: 20px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; min-height: 44px; }
.hero-actions .like.on { color: #000; background: #fff; }
.hero-actions .like.on .ico svg { fill: #000; filter: none; }

.section { margin-top: 34px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; min-height: 36px; }

.empty { display: grid; justify-items: center; gap: 8px; padding: 64px 24px; text-align: center; color: var(--ink-2); }
.empty b { font: 700 18px/1.25 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.empty p { max-width: 420px; line-height: 1.55; }
.empty .btn { margin-top: 12px; }

/* ---------- поиск ---------- */
.genres { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 20px; }
.grid.artists { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 26px 22px; }

/* ---------- коллекция ---------- */
.lib { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@container view (min-width: 880px) { .lib { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lib-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 148px; padding: 18px; border-radius: 26px; text-align: left; overflow: hidden; transition: transform .35s var(--ease); }
.lib-tile:hover { transform: translateY(-3px); }
.lib-tile b { font: 700 16px/1.2 var(--font-display); letter-spacing: -.01em; }
.lib-tile small { color: var(--ink-2); font-size: 13px; }
.lib-tile > .ico { position: absolute; left: 18px; top: 18px; width: 26px; height: 26px; color: var(--ink); }
.lib-tile .collage { position: absolute; right: -14px; top: -14px; width: 132px; height: 132px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border-radius: 22px; overflow: hidden; transform: rotate(9deg); opacity: .9; -webkit-mask-image: linear-gradient(215deg, #000 40%, transparent 88%); mask-image: linear-gradient(215deg, #000 40%, transparent 88%); }
.lib-tile .collage img { width: 100%; height: 100%; object-fit: cover; }
.pl-card .card-art { display: grid; place-items: center; color: var(--ink-3); }
.pl-card .card-art .ico { width: 44px; height: 44px; }

/* ---------- «Кого вы слушаете?» ---------- */
.ob { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; align-items: center; padding: 56px 32px 28px; background: radial-gradient(120% 90% at 50% 0%, rgba(0, 0, 0, .35), rgba(0, 0, 0, .7)); opacity: 0; transition: opacity .5s var(--ease); }
body.ob-open #app { opacity: 0; pointer-events: none; }
.ob.in { opacity: 1; }
.ob-title { font: 900 clamp(30px, 4.4vw, 58px)/1 var(--font-display); letter-spacing: -.03em; text-align: center; text-transform: uppercase; }
.ob-sub { margin-top: 14px; max-width: 560px; text-align: center; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.ob-search { position: relative; width: min(440px, 100%); margin-top: 24px; }
.ob-search .ico { position: absolute; left: 16px; top: 13px; width: 18px; height: 18px; color: var(--ink-3); }
.ob-search .field { padding-left: 44px; border-radius: 999px; }
.ob-scroll { flex: 1; min-height: 0; width: min(1080px, 100%); margin-top: 22px; overflow-y: auto; padding: 8px 12px 24px; -webkit-mask-image: linear-gradient(transparent, #000 18px, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(transparent, #000 18px, #000 calc(100% - 34px), transparent); }
.ar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 22px 16px; }
.ar { display: grid; justify-items: center; gap: 9px; text-align: center; min-width: 0; animation: ar-in .45s var(--ease) both; border-radius: 18px; }
@keyframes ar-in { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
.ar-pic { position: relative; width: 104px; height: 104px; border-radius: 50%; background: var(--fill-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .3s var(--spring), box-shadow .3s; }
.ar-pic img { border-radius: 50%; }
.ar:hover .ar-pic { transform: scale(1.05); }
.ar.on .ar-pic { box-shadow: 0 0 0 3px #000, 0 0 0 5px #fff, 0 0 34px rgba(255, 255, 255, .45); }
.ar-check { position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; transform: scale(0); transition: transform .3s var(--spring); }
.ar-check .ico { width: 16px; height: 16px; }
.ar.on .ar-check { transform: none; }
.ar-name { font-size: 13px; font-weight: 550; max-width: 100%; color: var(--ink-2); }
.ar.on .ar-name { color: var(--ink); }
.ob-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.ob-foot .btn { min-width: 240px; height: 50px; font-size: 15px; }

/* ---------- настройки и подсказка по клавишам ---------- */
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.set-row:first-child { border-top: 0; padding-top: 0; }
.set-row b { font-weight: 600; display: block; }
.set-row small { color: var(--ink-3); font-size: 12.5px; line-height: 1.45; display: block; margin-top: 2px; }
.switch { position: relative; width: 46px; height: 28px; flex: none; border-radius: 999px; background: var(--fill-3); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5); transition: background .25s; }
.switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transition: transform .3s var(--spring); }
.switch.on { background: #fff; }
.switch.on::after { background: #000; transform: translateX(18px); }
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 28px; }
.keys div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--ink-2); }
kbd.k { font: 500 12px var(--font-text); color: var(--ink); padding: 3px 8px; border-radius: 7px; background: var(--fill-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); white-space: nowrap; }

/* ---------- сцена во всё окно ---------- */
#stage { position: absolute; inset: 0; z-index: 6; background: radial-gradient(60% 70% at 32% 46%, rgba(var(--tint), .16), transparent 70%); display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 40px 40px calc(var(--dock-h) + 44px); opacity: 0; transition: opacity .45s var(--ease); }
#stage.in { opacity: 1; }
.st-bar { position: absolute; right: 22px; top: 20px; display: flex; flex-direction: row-reverse; gap: 4px; }
.st-close .ico + .ico, .st-bar-ctx, .st-like-box, .st-more { display: none; }      /* это — для большого плеера на телефоне */
.st-box { display: flex; align-items: center; gap: clamp(28px, 5vw, 72px); max-width: 1100px; width: 100%; }
.st-art { position: relative; width: min(42vh, 36vw, 440px); aspect-ratio: 1; flex: none; border-radius: 34px; overflow: hidden; background: var(--fill-2); box-shadow: 0 50px 120px -30px rgba(var(--tint), .7), 0 30px 60px -30px #000; }
.st-art::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.st-art img { width: 100%; height: 100%; object-fit: cover; }
.st-text { min-width: 0; display: grid; gap: 12px; }
.st-ctx { color: var(--ink-2); font-size: 14px; }
.st-title { font: 800 clamp(28px, 4.2vw, 60px)/1.02 var(--font-display); letter-spacing: -.03em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; padding-bottom: .1em; overflow-wrap: anywhere; }
.st-artist { font-size: clamp(16px, 1.7vw, 22px); color: var(--ink-2); justify-self: start; }
.st-artist:hover { color: var(--ink); }
.st-reason { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 6px; }
.st-reason .ico { width: 14px; height: 14px; }

@media (max-width: 1080px) {
  .row { grid-template-columns: 30px 46px minmax(0, 1fr) 34px 48px 32px; }
  .row-note { display: none; }
  .hero-pic { width: 150px; height: 150px; }
  .st-box { flex-direction: column; text-align: center; }
  .st-text { justify-items: center; }
  .st-artist, .st-reason { justify-self: center; }
}

/* любимые артисты в настройке волны */
.fav-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 12px; border-radius: 16px; background: var(--fill-1); box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: background .16s; }
.fav-row:hover { background: var(--fill-2); }
.fav-row > .ico { color: var(--ink-3); width: 18px; height: 18px; }
.fav-pics { display: flex; flex: none; }
.fav-pics span { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--fill-3); box-shadow: 0 0 0 2px #15151b; margin-left: -10px; }
.fav-pics span:first-child { margin-left: 0; }
.fav-pics:empty { display: none; }
.fav-row small { display: block; font-size: 12.5px; margin-top: 2px; }

/* ---------- профиль ---------- */
.prof-head { display: flex; align-items: center; gap: 22px; padding: 18px 0 26px; }
.prof-pic { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: linear-gradient(140deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .06)); font: 800 38px var(--font-display); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 50px -24px #000; }
.prof-pic img { width: 100%; height: 100%; object-fit: cover; }
.prof-id { min-width: 0; flex: 1; display: grid; gap: 6px; }
.prof-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-bottom: .08em; }
.prof-sub { color: var(--ink-2); font-size: 14px; overflow-wrap: anywhere; }
.prof-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.prof-stat { display: grid; gap: 2px; padding: 16px 18px; border-radius: 22px; text-align: left; transition: transform .35s var(--ease); }
.prof-stat:hover { transform: translateY(-3px); }
.prof-stat .ico { width: 20px; height: 20px; color: var(--ink-2); margin-bottom: 10px; }
.prof-stat b { font: 800 26px/1.05 var(--font-display); letter-spacing: -.02em; }
.prof-stat small { color: var(--ink-2); font-size: 13px; }
.prof-pls { display: grid; gap: 2px; }
.prof-pl { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 7px 12px 7px 7px; border-radius: 18px; text-align: left; transition: background .14s; }
.prof-pl:hover { background: var(--fill-1); }
.prof-pl > .ico { width: 18px; height: 18px; color: var(--ink-3); }
.prof-pl-art { width: 52px; height: 52px; border-radius: 13px; overflow: hidden; display: grid; place-items: center; background: var(--fill-2); color: var(--ink-3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.prof-pl-art .ico { width: 22px; height: 22px; }
.prof-add .prof-pl-art { background: none; color: var(--ink); box-shadow: none; border: 1.5px dashed rgba(255, 255, 255, .34); }
.prof-add .row-title { font-weight: 600; }

/* приложение на телефон: блок в профиле, строка на главной, шаги в подсказке */
.app-box { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding: 16px 18px; border-radius: 24px; }
.app-ico { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--fill-2); }
.app-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.app-text b { font-weight: 600; }
.app-text small { color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.app-hint { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; margin: 10px 0 -8px; padding: 12px 10px 12px 14px; border-radius: 22px; }
.app-hint > .ico { width: 22px; height: 22px; color: var(--ink-2); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.5; padding-top: 1px; }
.steps li::before { content: counter(step); width: 30px; height: 30px; margin-top: -3px; border-radius: 50%; display: grid; place-items: center; background: var(--fill-3); font: 700 12.5px var(--font-display); }
