@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/roboto-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/roboto-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/roboto-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/roboto-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --text: #282d5b;
  --muted: #7a7f9e;
  --faint: #a5a9c2;
  --panel: #f6f6fa;
  --line: #ececf4;
  --accent: #4f5abc;
  --accent-dark: #3743a3;
  --link: #007eff;
  --navy: #1e204e;
  --radius: 6px;
  --player-h: 80px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font: 15px/1.45 'Roboto', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: #fff repeating-linear-gradient(135deg, #fbfbfb, #fff 5px, rgba(0, 0, 0, 0) 5px, rgba(0, 0, 0, 0) 10px);
  -webkit-font-smoothing: antialiased;
}
body.has-player { padding-bottom: var(--player-h); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--link); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
svg { width: 18px; height: 18px; flex: none; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 700; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.wrap { max-width: 1100px; width: calc(100% - 30px); margin: 0 auto; }

/* ---------- Header ---------- */
.header { display: flex; align-items: center; height: 90px; }
.logo { width: 280px; margin-right: 20px; flex: none; display: flex; align-items: center; }
.logo img { width: 142px; height: 31px; }
.search { position: relative; flex: 1; min-width: 0; }
.search__input { width: 100%; height: 40px; padding: 0 48px 0 20px; border: 0; border-radius: 20px; background: var(--panel); font: inherit; font-size: 14px; color: var(--text); outline: none; }
.search__input:focus { box-shadow: 0 0 0 2px #dfe1f3; }
.search__input::placeholder { color: var(--muted); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__btn { position: absolute; right: 6px; top: 4px; width: 32px; height: 32px; display: grid; place-items: center; color: var(--text); }
.search__btn:hover { color: var(--accent); }

.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(40, 45, 91, .15); z-index: 60; overflow: hidden; }
.suggest__group + .suggest__group { border-top: 1px solid var(--line); }
.suggest__label { padding: 10px 16px 2px; font-size: 12px; color: var(--muted); }
.suggest__item { display: flex; align-items: center; gap: 10px; padding: 7px 16px; }
.suggest__item:hover, .suggest__item.is-active { background: var(--panel); color: var(--text); }
.suggest__item img { width: 32px; height: 32px; border-radius: 4px; object-fit: cover; }
.suggest__item--artist img { border-radius: 50%; }
.suggest__text { min-width: 0; flex: 1; }
.suggest__title { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest__sub { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest__all { display: block; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--accent); }

.mnav { display: none; }

/* ---------- Columns ---------- */
.cols { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 0 20px; padding: 30px 0 60px; }
.col-main { grid-column: 2; grid-row: 1; min-width: 0; }
.col-left { grid-column: 1; grid-row: 1; min-width: 0; }
.col-main.is-loading { opacity: .5; transition: opacity .15s; }

.sect { margin-bottom: 40px; }
.sect:last-child { margin-bottom: 0; }
.sect-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sect-title { font-size: 24px; font-weight: 700; }
h1.sect-title { font-size: 26px; }
.sect-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; white-space: nowrap; padding-bottom: 3px; }
.sect-link svg { width: 14px; height: 14px; }
.panel { background: var(--panel); border-radius: var(--radius); padding: 20px; }
.sect-sub { margin: -8px 0 14px; color: var(--muted); font-size: 14px; }

/* sidebar */
.nav-box { border-radius: var(--radius); padding: 30px 20px; background: linear-gradient(137deg, #5560c2 0%, #3743a3 100%); }
.nav-box ul { list-style: none; margin: 0; padding: 0; }
.nav-box li + li { margin-top: 20px; }
.nav-box a { position: relative; color: #fff; font-weight: 700; font-size: 17px; }
.nav-box a::before { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: #fff; transition: right .25s; }
.nav-box a:hover::before, .nav-box a.is-active::before { right: 0; }
.nav-box a:hover { color: #fff; }

.side-top { list-style: none; margin: 0; padding: 0; }
.side-track { display: flex; align-items: center; gap: 12px; padding: 14px 10px; background: #fff; border-bottom: 1px solid var(--panel); }
.side-track__num { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-size: 14px; font-weight: 700; color: var(--accent); position: relative; }
.side-track__num svg { display: none; width: 16px; height: 16px; color: var(--accent); }
.side-track:hover .side-track__num span, .side-track.is-current .side-track__num span { display: none; }
.side-track:hover .side-track__num .ic-play, .side-track.is-current:not(.is-playing) .side-track__num .ic-play, .side-track.is-playing .side-track__num .ic-pause { display: block; }
.side-track.is-playing:hover .side-track__num .ic-play { display: none; }
.side-track__info { min-width: 0; flex: 1; }
.side-track__title { display: block; font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-track__artist { display: block; margin-top: 2px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-track.is-current .side-track__title { color: var(--accent); }

.side-genres { list-style: none; margin: 0; padding: 6px 20px; background: #fff; }
.side-genres a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--panel); font-weight: 600; }
.side-genres li:last-child a { border-bottom: 0; }
.side-genres small { color: var(--faint); font-weight: 500; }

/* ---------- Track cards ---------- */
.tracklist { display: flex; flex-direction: column; gap: 10px; }
.track { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 10px -10px var(--text); }
.track__num { width: 34px; flex: none; text-align: center; font-size: 14px; font-weight: 700; color: var(--accent); }
.track__play { width: 56px; height: 56px; flex: none; border-radius: 2px; background: var(--panel); color: var(--text); display: grid; place-items: center; }
.track__play svg { width: 18px; height: 18px; grid-area: 1 / 1; }
.track__play .ic-play { margin-left: 2px; }
.track:hover .track__play, .track.is-current .track__play { background: var(--accent); color: #fff; }
.ic-pause { display: none; }
.is-playing .ic-play { display: none; }
.is-playing .ic-pause { display: block; }
.track__desc { flex: 1; min-width: 0; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track__desc b { font-weight: 700; }
.track__desc:hover { color: var(--link); }
.track.is-current .track__desc { color: var(--accent); }
.track__cols { flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; }
.track__cols .track__name { width: 46%; font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track__cols .track__by { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track__cols .track__by a:hover, .track__cols .track__name:hover { color: var(--link); }
.hit { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 2px; }
.track__time { width: 55px; flex: none; text-align: right; padding-right: 5px; font-size: 14px; opacity: .8; font-variant-numeric: tabular-nums; }
.track__dl { width: 32px; height: 32px; flex: none; display: grid; place-items: center; color: var(--faint); border-radius: 50%; }
.track__dl:hover { color: #fff; background: var(--accent); }

.empty { padding: 20px; background: #fff; border-radius: var(--radius); color: var(--muted); }

/* ---------- Track page ---------- */
.full { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
.ftable { margin: 0; }
.ftable div { display: flex; padding: 9px 10px; }
.ftable div:nth-child(odd) { background: #fff; }
.ftable dt { width: 170px; flex: none; color: var(--muted); }
.ftable dd { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ftable a { color: var(--accent); font-weight: 600; }
.ftable a:hover { color: var(--link); }
.fdl-box { background: #fff; border-radius: var(--radius); padding: 22px 16px; text-align: center; font-size: 12.5px; line-height: 1.5; }
.fdl-box img { width: 120px; height: 120px; border-radius: var(--radius); object-fit: cover; margin: 0 auto 14px; }
.fdl-box p { margin: 12px 0 0; }
.fdl-box b { font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 30px; border-radius: 21px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 12px rgba(79, 90, 188, .3); }
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn svg { width: 16px; height: 16px; }
.btn--light { background: var(--panel); color: var(--text); box-shadow: none; }
.btn--light:hover { background: #e9eaf4; color: var(--text); }
.btn--sm { height: 36px; padding: 0 18px; font-size: 14px; }
.btn.is-liked svg { color: #e5484d; }
.fav-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.fav-link svg { width: 15px; height: 15px; }
.fav-link.is-liked svg { color: #e5484d; }
.fav-link:hover { color: var(--accent); }

.listen { margin-top: 30px; }
.listen .track { flex-wrap: wrap; }
.listen__bar { position: absolute; left: 76px; right: 15px; bottom: 9px; height: 4px; border-radius: 2px; background: var(--panel); cursor: pointer; }
.listen__bar::after { content: ""; position: absolute; left: 0; right: 0; top: -8px; bottom: -8px; }
.listen__fill { height: 100%; width: 0; border-radius: 2px; background: var(--accent); }
.listen .track__desc { font-size: 15px; }

.text-panel { line-height: 1.6; font-size: 16px; }
.text-panel a { color: var(--link); }
.collapsible.is-collapsed { max-height: 300px; overflow: hidden; position: relative; }
.collapsible.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(rgba(246, 246, 250, 0), var(--panel)); }
.collapse-btn { margin-top: 14px; }
.seo-text { margin-top: 24px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.seo-text p { margin: 0 0 8px; }
.seo-text a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin: -16px 0 10px; }
.breadcrumbs a:hover { color: var(--link); }
.breadcrumbs svg { width: 12px; height: 12px; color: var(--faint); }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tabs__item { padding: 7px 16px; border-radius: 18px; background: var(--panel); font-size: 14px; font-weight: 600; }
.tabs__item.is-active { background: var(--accent); color: #fff; }
.tabs__item.is-active:hover { color: #fff; }

/* profile (artist / collection) */
.profile { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.profile__img { width: 120px; height: 120px; flex: none; border-radius: var(--radius); overflow: hidden; background: #fff; }
.profile__img img { width: 100%; height: 100%; object-fit: cover; }
.profile__img--round { border-radius: 50%; }
.profile__body { min-width: 0; }
.profile__stats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 14px; font-size: 14px; color: var(--muted); }
.profile__stats a { color: var(--accent); font-weight: 600; }
.profile__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.profile__desc { margin: 0 0 14px; font-size: 14px; color: var(--muted); }

/* grids */
.grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tile { display: flex; align-items: center; gap: 12px; padding: 10px; background: #fff; border-radius: var(--radius); min-width: 0; }
.tile img { width: 48px; height: 48px; flex: none; object-fit: cover; border-radius: 2px; background: var(--panel); }
.tile--round img { border-radius: 50%; }
.tile span { min-width: 0; display: flex; flex-direction: column; }
.tile b { font-size: 15px; font-weight: 700; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; }
.tile small { font-size: 13px; color: var(--muted); }
.tile:hover b { color: var(--link); }
.tile--text { justify-content: space-between; padding: 14px 16px; }
.tile--text b { font-size: 16px; }

.letters { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.letters:last-of-type { margin-bottom: 16px; }
.letters__item { min-width: 32px; height: 32px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 16px; background: #fff; font-size: 14px; font-weight: 600; }
.letters__item.is-active { background: var(--accent); color: #fff; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 20px; }
.pagination__item { min-width: 38px; height: 38px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 19px; background: #fff; font-weight: 600; font-size: 14px; }
.pagination__item.is-active { background: var(--accent); color: #fff; }
.pagination__gap { align-self: center; color: var(--muted); }

.notfound p { margin: 0 0 16px; }
.notfound .search { margin-bottom: 16px; }

/* ---------- Footer ---------- */
.footer { margin-bottom: 30px; padding: 30px 20px; border-radius: var(--radius); background: var(--panel); font-size: 15px; line-height: 1.5; }
.footer b, .footer a.mail { font-weight: 700; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; font-size: 14px; }
.footer__links a { color: var(--accent); }
.footer__links a:hover { color: var(--link); }

/* ---------- Player ---------- */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: var(--player-h); background: var(--navy); color: #fff; }
.player__progress { position: absolute; left: 0; right: 0; bottom: 100%; height: 10px; background: #8296a8; cursor: pointer; }
.player__buffer { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: #a3b4c3; }
.player__bar { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--accent); }
.player__thumb { display: none; }
.player__inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.player__track { display: flex; align-items: center; gap: 10px; min-width: 0; }
.player__cover { width: 40px; height: 40px; border-radius: 2px; object-fit: cover; flex: none; }
.player__meta { min-width: 0; display: flex; flex-direction: column-reverse; }
.player__title { font-weight: 700; margin-top: 3px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__title:hover { color: #fff; text-decoration: underline; }
.player__artist { font-size: 12px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__controls { display: flex; align-items: center; gap: 6px; }
.player__play { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin: 0 8px; }
.player__play:hover { background: #5f6ad0; }
.player__play svg { width: 18px; height: 18px; grid-area: 1 / 1; }
.player__right { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.player__time { font-size: 14px; opacity: .8; font-variant-numeric: tabular-nums; margin-right: 8px; white-space: nowrap; }
.player__volume { width: 80px; accent-color: #fff; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; color: inherit; opacity: .8; }
.icon-btn:hover { opacity: 1; color: #fff; background: rgba(255, 255, 255, .08); }
.icon-btn.is-on, .icon-btn.is-liked { opacity: 1; color: #8f98ff; }
.player [data-repeat] { position: relative; }
.player [data-repeat][data-mode="one"]::after { content: "1"; position: absolute; top: 4px; right: 3px; font-size: 9px; font-weight: 700; }

.toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 24px); transform: translateX(-50%); background: var(--text); color: #fff; padding: 9px 16px; border-radius: 20px; font-size: 14px; z-index: 90; }
.lbl-pause { display: none; }
.is-playing > .lbl-play { display: none; }
.is-playing > .lbl-pause { display: inline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .full { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header { flex-direction: column; align-items: stretch; height: auto; padding: 22px 0 6px; gap: 18px; }
  .logo { width: auto; margin: 0; }
  .logo img { width: 128px; height: auto; }
  .cols { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .col-main, .col-left { grid-column: 1; }
  .col-left { grid-row: 2; margin-top: 50px; }
  .sect-title, h1.sect-title { font-size: 18px; }
  .panel { padding: 10px; }
  .track { padding: 8px; }
  .track__play { width: 48px; height: 48px; }
  .track__desc, .track__cols .track__name { font-size: 15px; }
  .track__time, .track__dl { display: none; }
  .track__cols { flex-direction: column; align-items: flex-start; gap: 0; }
  .track__cols .track__name { width: 100%; }
  .track__cols .track__by { font-size: 14px; color: var(--muted); width: 100%; }
  .listen__bar { left: 66px; right: 10px; bottom: 7px; }
  .ftable dt { width: 140px; }
  .ftable div { font-size: 14px; }
  .profile { align-items: flex-start; gap: 14px; }
  .profile__img { width: 72px; height: 72px; }
  .profile__actions .btn--sm { padding: 0 14px; }
  .profile__actions .btn__txt { display: none; }
  .profile__actions .btn--light { width: 36px; padding: 0; }
  .mnav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 4px -15px 0; padding: 0 15px 4px; }
  .mnav::-webkit-scrollbar { display: none; }
  .mnav a { flex: none; padding: 7px 14px; border-radius: 18px; background: var(--panel); font-size: 14px; font-weight: 600; white-space: nowrap; }
  .mnav a.is-active { background: var(--accent); color: #fff; }
  .player__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .player__right, .player__controls [data-shuffle], .player__controls [data-repeat], .player .player__like { display: none; }
}
