@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/inter-cyrillic.woff2) format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/inter-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;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(/fonts/inter-cyrillic.woff2) format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(/fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(/fonts/inter-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;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/fonts/inter-cyrillic.woff2) format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/fonts/inter-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;
}

/* ===================================================
   TOKENS / CSS VARIABLES
   =================================================== */
:root {
    --text: #1b2024;
    --text-2: #5a6068;
    --text-3: #9aa0a6;
    --color-1: #ec125c;
    --link-hover: #b40c47;
}

/* ===================================================
   RESET & BASE
   =================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    background: #f0f0f0;
    color: #222;
    min-height: 100vh;
}

/* ===================================================
   LAYOUT
   =================================================== */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: #f0f0f0;
}

.layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - 90px);
}

.main-content {
    background: #f0f0f0;
    padding-left: 12px;
}

/* ===================================================
   TOP BAR
   =================================================== */
.top-bar {
    background: #fff;
    padding: 0 16px;
    margin: 14px 0;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 62px;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    color: #222;
    flex-shrink: 0;
    white-space: nowrap;
    text-decoration: none;
}
.logo img {
    width: 220px;
    height: 33px;
}
.logo .net {
    color: #e8003c;
    font-size: 16px;
}
.btn-menu {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-1);
    color: #fff;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    margin-left: auto;
    cursor: pointer;
    transition:
        background 0.15s ease,
        transform 0.1s ease;
}
.btn-menu:hover {
    background: var(--link-hover);
}
.btn-menu:active {
    transform: scale(0.95);
}
.search-wrap {
    display: flex;
    flex: 1 1 0;
    width: 100%;
    position: relative;
}
.search-wrap form {
    width: 100%;
}
.search-wrap input {
    background: #f0f0f0;
    width: 100%;
    height: 35px;
    padding: 7px 36px 7px 12px;
    border: 0px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
    outline: none;
    color: #333;
    transition: border-color 0.2s;
}
.search-wrap input:focus {
    border-color: #e8003c;
}
.search-wrap button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 36px;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-wrap button:hover {
    color: #e8003c;
}

/* ===================================================
   SIDEBAR
   =================================================== */
.sidebar {
    background: #fff;
    border-radius: 3px;
}
.sidebar-section {
    margin-bottom: 10px;
}
.sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    padding: 8px 16px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition:
        background 0.15s,
        color 0.15s;
}
.sidebar-link:hover {
    background: #fef0f3;
    color: #e8003c;
}
.sidebar-link.active {
    color: #e8003c;
    border-left-color: #e8003c;
    font-weight: 600;
    background: #fef0f3;
}
.sidebar-link .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e8003c;
    flex-shrink: 0;
}

.dot {
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: var(--color-1);
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}

.sidebar-popular {
    padding: 0 14px;
}
.pop-item {
    color: var(--text);
    font-size: 13px;
    line-height: 2.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s;
    text-decoration: none;
    display: block;
}
.pop-item:hover {
    color: var(--color-1);
}
.pop-item span {
    color: #222;
    font-weight: 600;
}
.pop-item span:hover {
    color: var(--color-1);
}

/* ===================================================
   SUGGEST DROPDOWN
   =================================================== */
.suggest-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 200;
    display: none;
    max-height: 360px;
    overflow-y: auto;
}
.suggest-dropdown.show {
    display: block;
}
.suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.12s;
    text-decoration: none;
    color: inherit;
}
.suggest-item:hover {
    background: #fef9fa;
}
.suggest-thumb {
    width: 34px;
    height: 34px;
    border-radius: 3px;
    overflow: hidden;
    background: #ddd;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #aaa;
}
.suggest-thumb.round {
    border-radius: 50%;
}
.suggest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.suggest-info {
    flex: 1;
    min-width: 0;
}
.suggest-title {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.suggest-sub {
    font-size: 11px;
    color: #888;
}
.suggest-type {
    font-size: 10px;
    color: #fff;
    background: #b4b3b3;
    padding: 1px 6px;
    border-radius: 10px;
    flex-shrink: 0;
}
.suggest-type.artist-type {
    background: #b4b3b3;
}
.suggest-loading {
    padding: 12px;
    text-align: center;
    color: #888;
    font-size: 12px;
}
.suggest-empty {
    padding: 12px;
    text-align: center;
    color: #888;
    font-size: 12px;
}

/* ===================================================
   BREADCRUMB
   =================================================== */
.breadcrumb {
    background: #fff;
    padding: 7px 16px;
    font-size: 13px;
    color: var(--text);
    display: flex;
    border-radius: 3px;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}
.breadcrumb a {
    color: var(--text-2);
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===================================================
   PAGE TITLE
   =================================================== */
.page-title {
    background: #fff;
    border-radius: 3px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.page-title h1 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}
.page-title p {
    font-size: 13px;
    color: #888;
}

/* ===================================================
   BLOCK (generic)
   =================================================== */
.block {
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
}
.block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    background: #f9f9f9;
}
.block-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}
.block-header-right {
    font-size: 12px;
    color: #888;
}

/* homepage block header variant */
.block-header.home-variant {
    padding: 12px 14px;
    background: #fef9fa;
    justify-content: space-between;
}
.catalog-link {
    font-size: 12px;
    color: #888;
    text-decoration: none;
    transition: color 0.15s;
    min-height: 18px;
}
.catalog-link:hover {
    color: #e8003c;
}

/* ===================================================
   TOP BLOCKS (homepage grid)
   =================================================== */
.top-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

/* ===================================================
   SONG ROW
   =================================================== */
a.song-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: background 0.12s;
}
a.song-row:last-child {
    border-bottom: none;
}
a.song-row:hover {
    background: #fef9fa;
}
a.song-row:hover .song-dl {
    opacity: 1;
}

.song-thumb {
    width: 48px;
    height: 48px;
    border-radius: 3px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    background: #ddd;
}
.song-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-info {
    flex: 1;
    min-width: 0;
}
.song-info .artist {
    font-size: 14px;
    color: #555555;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.song-info .title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.song-duration {
    font-size: 14px;
    color: #999;
    flex-shrink: 0;
    min-width: 34px;
    text-align: right;
}
.song-dl {
    color: var(--color-1);
    flex-shrink: 0;
    padding: 4px;
    transition: opacity 0.15s;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.song-dl:hover {
    color: var(--text);
}
.song-dl svg {
    display: block;
}

/* ===================================================
   SONGS BLOCK
   =================================================== */
.songs-block {
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}
.songs-block-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fafafa;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

/* ===================================================
   PAGINATION
   =================================================== */
.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 12px;
    flex-wrap: wrap;
}
.pagination-wrap a,
.pagination-wrap span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 5px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: all 0.15s;
    background: #fff;
}
.pagination-wrap a:hover {
    background: var(--color-1);
    border-color: var(--color-1);
    color: #fff;
}
.pagination-wrap span.active {
    background: var(--color-1);
    border-color: var(--color-1);
    color: #fff;
    font-weight: 700;
}
.pagination-wrap span.dots {
    border: none;
    color: #bbb;
}

/* ===================================================
   TABS
   =================================================== */
.tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin: 0 12px;
}
.tab-link {
    padding: 12px 14px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.15s;
}
.tab-link:hover {
    color: var(--color-1);
}
.tab-link.active {
    color: var(--color-1);
    border-bottom-color: var(--color-1);
    font-weight: 600;
}

/* search page tabs */
.tabs.flat {
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
    margin: 0 0 12px;
    border-bottom: none;
}
.tab-btn {
    padding: 10px 18px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
    font-family: "Roboto", sans-serif;
}
.tab-btn:hover {
    color: var(--color-1);
}
.tab-btn.active {
    color: var(--color-1);
    border-bottom-color: var(--color-1);
    font-weight: 600;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn-listeen {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-1);
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}
.btn-listeen:hover {
    background: var(--link-hover);
}

.btn-share {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    cursor: pointer;
    background: #f0f0f0;
    transition: all 0.15s;
}
.btn-share:hover {
    color: #fff;
    background: var(--color-1);
}

/* ===================================================
   ARTIST PAGE
   =================================================== */
.artist-hero {
    background: #fff;
    border-radius: 3px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}
.artist-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #ccc;
}
.artist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.artist-hero-info {
    flex: 1;
}
.artist-hero-info h1 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}
.artist-hero-info .track-count {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}
.artist-genre {
    display: inline-block;
    color: #e8003c;
    font-size: 13px;
    margin-bottom: 12px;
}
.artist-actions {
    display: flex;
    gap: 8px;
}

/* Collaborators */
.collab-block {
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}
.collab-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fafafa;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}
.collab-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding: 16px;
}
a.collab-card {
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s;
}
a.collab-card img {
    transition: transform 0.3s ease;
}
a.collab-card:hover img {
    transform: scale(1.08);
}
a.collab-card:hover .collab-name {
    color: var(--color-1);
}
.collab-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 8px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ccc;
}
.collab-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.collab-name {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
}
.collab-count {
    font-size: 12px;
    color: #999;
}

/* ===================================================
   ARTISTS GRID (search / list page)
   =================================================== */
.artists-grid {
    background: #fff;
    border-radius: 3px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

a.artist-card {
    background: #fff;
    padding: 14px 10px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    display: block;
}

a.artist-card:hover .artist-photo-wrap img {
    transform: scale(1.08);
}
.artist-photo-wrap {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ccc;
    transition: border-color 0.2s;
}

.artist-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

a.artist-card img {
    transition: transform 0.3s ease;
}
a.artist-card:hover img {
    transform: scale(1.08);
}
a.artist-card:hover .artist-name {
    color: var(--color-1);
}
.artist-name {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
    transition: color 0.15s;
}
.artist-count {
    font-size: 12px;
    color: #999;
}

/* ===================================================
   CATEGORY PAGE
   =================================================== */
.category-hero {
    background: #fff;
    border-radius: 3px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.category-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fef0f3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.category-hero-icon svg {
    color: #e8003c;
}
.category-hero-info h1 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}
.category-hero-info p {
    font-size: 12px;
    color: #888;
}

.categories-grid {
    display: grid;
    background: #fff;
    border-radius: 3px;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}
a.category-card {
    background: #fff;
    padding: 16px 14px;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition:
        border-color 0.2s,
        background 0.2s;
}
a.category-card:hover {
    border-color: var(--color-1);
    background: #fef9fa;
}
a.category-card:hover .category-name {
    color: var(--color-1);
}
.category-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.category-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fef0f3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.category-icon svg {
    color: var(--color-1);
}
.category-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    transition: color 0.15s;
}
.category-count {
    font-size: 12px;
    color: #999;
    background: #f5f5f5;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ===================================================
   GENRE PAGE
   =================================================== */
.genre-hero {
    background: #fff;
    border-radius: 3px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.genre-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fef0f3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.genre-hero-icon svg {
    color: var(--color-1);
}
.genre-hero-info h1 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}
.genre-hero-info p {
    font-size: 12px;
    color: #888;
}

.genres-grid {
    display: grid;
    background: #fff;
    border-radius: 3px;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}
a.genre-card {
    background: #fff;
    padding: 16px 14px;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition:
        border-color 0.2s,
        background 0.2s;
}
a.genre-card:hover {
    border-color: var(--color-1);
    background: #fef9fa;
}
a.genre-card:hover .genre-name {
    color: var(--color-1);
}
.genre-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.genre-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fef0f3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.genre-icon svg {
    color: var(--color-1);
}
.genre-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    transition: color 0.15s;
}
.genre-count {
    font-size: 12px;
    color: #999;
    background: #f5f5f5;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ===================================================
   COLLECTION PAGE
   =================================================== */
.collection-hero {
    background: #fff;
    border-radius: 3px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}
.collection-cover {
    width: 120px;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #ccc;
}
.collection-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.collection-hero-info {
    flex: 1;
}
.collection-hero-info h1 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}
.collection-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.collection-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.collection-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}
.collection-actions {
    display: flex;
    gap: 8px;
}

/* Collections grid (list page) */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}
a.collection-card {
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: background 0.15s;
    padding-bottom: 14px;
}
a.collection-card:hover {
    background: #ffffff;
}
a.collection-card:hover .col-name {
    color: var(--color-1);
}
.col-cover {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #bbb;
    padding: 14px;
}
.col-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
a.collection-card:hover .col-cover img {
    transform: scale(1.03);
}
.col-info {
    padding: 0 12px;
}
.col-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}
.col-count {
    font-size: 12px;
    color: #888;
}

/* ===================================================
   SEARCH PAGE
   =================================================== */
.search-header {
    background: #fff;
    border-radius: 3px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.search-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}
.search-header h1 span {
    color: var(--color-1);
}
.search-header p {
    font-size: 13px;
    color: var(--text-2);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}
.empty-state svg {
    margin-bottom: 12px;
    color: #ddd;
}
.empty-state h3 {
    font-size: 16px;
    color: #555;
    margin-bottom: 6px;
}

/* ===================================================
   SONG DETAIL PAGE (style-12)
   =================================================== */
.song-card {
    background: #fff;
    border-radius: 3px;
    padding: 10px 20px 20px 20px;
    margin-bottom: 12px;
}
.song-title-row {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}
.song-title-row .song-name {
    color: var(--color-1);
}

.song-hero {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.song-cover {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #bbb;
}
.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.info-table tr:last-child {
    border-bottom: none;
}
.info-table td {
    padding: 7px 12px;
}
.info-table td:first-child {
    color: #797777;
    width: 140px;
}
.info-table td:last-child {
    color: #333;
}
.info-table tr:nth-child(odd) {
    background: #f7f7f7;
}
.info-table tr:nth-child(even) {
    background: #ffffff;
}

.action-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.btn-listen {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-1);
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}
.btn-listen:hover {
    background: var(--link-hover);
}
.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--color-1);
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--color-1);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
}
.btn-download:hover {
    background: var(--color-1);
    color: #fff;
}

.audio-wrap {
    margin-bottom: 16px;
    display: none;
}
.audio-wrap.show {
    display: block;
}
.audio-wrap audio {
    width: 100%;
    height: 40px;
    outline: none;
}

.song-desc {
    font-size: 13px;
    color: #666;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}
.song-desc strong {
    color: #222;
}

/* Related block */
.related-block {
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}
.related-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fafafa;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}
.related-header svg {
    color: #e8003c;
}

.related-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 16px;
    transition: background 0.12s;
}
.related-row:hover {
    background: #fef9fa;
}
.related-row:hover .rel-dl {
    opacity: 1;
}
.related-row:last-child {
    border-bottom: none;
}

.rel-thumb {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 3px;
    flex-shrink: 0;
    overflow: hidden;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #aaa;
    cursor: pointer;
}
.rel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rel-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.15s;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
}
.rel-thumb:hover .rel-play-btn {
    opacity: 1;
}
.rel-thumb.playing .rel-play-btn {
    opacity: 1;
}

.rel-info {
    flex: 1;
    min-width: 0;
}
.rel-info .rel-artist {
    display: block;
    font-size: 14px;
    color: #555555;
    margin-bottom: 5px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rel-info .rel-artist:hover {
    color: #e8003c;
}
.rel-info .rel-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rel-info .rel-title:hover {
    color: #e8003c;
}

.rel-duration {
    font-size: 13px;
    color: #999;
    flex-shrink: 0;
    min-width: 36px;
    text-align: right;
}
.rel-dl {
    color: var(--color-1);
    flex-shrink: 0;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: opacity 0.15s;
}
.rel-dl a {
    color: var(--color-1);
    text-decoration: none;
}

/* ===================================================
   BOTTOM AUDIO PLAYER
   =================================================== */
.fx-row {
    display: flex;
    flex-direction: row;
}
.fx-middle {
    align-items: center;
}
.fx-1 {
    flex: 1;
    min-width: 0;
}
.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-player {
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 997;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.item-player.active {
    transform: translateY(0);
}
.item-player:not(.active) .audioplayer-bar {
    display: none;
}
.item-player:not(.active) .audioplayer-time {
    display: none;
}
.zfix .item-player {
    z-index: 10;
    opacity: 0;
}

.audioplayer {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 30px;
    background-color: #fff;
    color: #000;
}
.audioplayer audio {
    display: none;
}

.audioplayer-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 15px;
    background-color: #d2d9e1;
    cursor: pointer;
}
.audioplayer-bar-loaded {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05);
}
.audioplayer-bar-played {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 10;
    background: linear-gradient(90deg, #e8003c, #ff4d75);
}

.audioplayer-time {
    position: absolute;
    z-index: 20;
    font-size: 12px;
    bottom: 100%;
    pointer-events: none;
}
.audioplayer-time-current {
    left: 10px;
    color: #fff;
    line-height: normal;
}
.audioplayer-time-duration {
    right: 10px;
    color: #333;
    line-height: normal;
}

.audioplayer-playpause,
.audioplayer-volume-button,
.audioplayer-volume-adjust {
    display: inline-block;
    vertical-align: middle;
}

.audioplayer-playpause a,
.audioplayer-volume-button a,
.ap-dl {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    background-color: var(--color-1);
    color: #fff;
    display: block;
    font-size: 16px;
    text-decoration: none;
}
.audioplayer-stopped .audioplayer-playpause a {
    padding-left: 2px;
}
.audioplayer-muted .fa-volume-up:before {
    content: "\f026";
}

.audioplayer-volume-adjust {
    margin-left: 10px;
}
.audioplayer-volume-adjust > div {
    width: 80px;
    height: 10px;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    background-color: #d2d9e1;
    overflow: hidden;
}
.audioplayer-volume-adjust > div > div {
    height: 100% !important;
    background-color: var(--color-1);
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 10;
}

.ap-desc {
    padding: 0 20px;
}
.ap-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.ap-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
.ap-artist {
    font-weight: 600;
    font-size: 14px;
}
.ap-title {
    margin-top: 3px;
    font-size: 14px;
}

.ap-dl {
    background-color: var(--color-1);
    margin-right: 10px;
    font-size: 14px;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.ap-prev,
.ap-next {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    color: #403a46;
    display: block;
    font-size: 16px;
    margin-right: 10px;
}
.ap-next {
    margin-right: 0;
    margin-left: 10px;
}

.ap-next,
.ap-prev,
.ap-dl,
.audioplayer-playpause a,
.audioplayer-volume-button a {
    transition:
        background-color 0.2s ease,
        transform 0.15s ease;
}
.ap-next:hover,
.ap-prev:hover,
.ap-dl:hover,
.audioplayer-playpause a:hover,
.audioplayer-volume-button a:hover {
    transform: scale(1.09);
}

/* ===================================================
   FOOTER
   =================================================== */
footer {
    background: #fff;
    padding: 14px 16px;
    margin: 14px 0;
    height: 62px;
    border-radius: 3px;
    font-size: 12px;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
footer a {
    color: var(--link-hover);
    font-weight: 600;
    text-decoration: none;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 0px 5px;
    }
    .layout {
        grid-template-columns: 1fr;
        display: block;
    }
    .sidebar {
        display: none;
    }
    .main-content {
        padding-left: 0;
    }

    .top-bar {
        flex-wrap: wrap;
        height: auto;
        padding: 10px;
        gap: 10px;
    }
    .logo {
        width: 100%;
        justify-content: left;
    }
    .search-wrap {
        width: 100%;
        flex: 0 0 100%;
    }

    .top-blocks {
        grid-template-columns: 1fr;
    }
    .collab-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .artist-hero {
        flex-direction: column;
        text-align: center;
    }
    .collection-hero {
        flex-direction: column;
    }

    .song-hero {
        grid-template-columns: 1fr;
    }
    .song-cover {
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }
    .action-btns {
        grid-template-columns: 1fr;
    }
    .song-info {
        max-width: calc(100vw - 160px);
    }
}

@media screen and (max-width: 590px) {
    .audioplayer {
        padding: 10px 15px;
    }
    .ap-img,
    .ap-info {
        display: none;
    }
    .ap-desc {
        min-width: 5px;
        padding: 0 5px;
    }
    .ap-dl {
        display: none;
    }
}

@font-face {
    font-family: "FontAwesome";
    src: url("/fonts/fontawesome-webfont.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.fa-angle-right:before {
    content: "\f105";
}
.fa-download:before {
    content: "\f019";
}
.fa-fast-backward:before {
    content: "\f049";
}
.fa-fast-forward:before {
    content: "\f050";
}
.fa-pause:before {
    content: "\f04c";
}
.fa-play:before {
    content: "\f04b";
}
.fa-volume-up:before {
    content: "\f028";
}
