/* ============================================================================
 * site-v2.css — Bản đồ thanh âm v2 (theo Figma "Main content", node 6:27)
 * Phạm vi: mọi selector nằm trong .mapv2 để không ảnh hưởng header/footer.
 * ========================================================================== */

.mapv2 {
    --bg: #d8f0f0;
    --card: #fdfbf6;
    --line: #d8ddd2;
    --ink: #193d3b;
    --mut: #6e7c74;
    --deep: #164f4b;
    --accent: #b84d36;
    --map-bg: #e9efe9;
    --grid: #dce5dc;
    --row: #e7eee5;
    --player: #193d3b;
    --player-mut: #c1d5c9;
    --font-ui: "Inter", system-ui, "Segoe UI", sans-serif;
    --font-serif: "Lora", Georgia, serif;

    background: var(--bg);
    font-family: var(--font-ui);
    color: var(--ink);
    padding: 24px 0 32px;
    margin-top: 0;
}

.mapv2 *,
.mapv2 *::before,
.mapv2 *::after {
    box-sizing: border-box;
}

.mapv2 button {
    font-family: inherit;
    cursor: pointer;
}

.mapv2 [hidden] {
    display: none !important;
}

.mapv2__layout {
    display: grid;
    grid-template-columns: 552px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
    max-width: 1512px;
    margin: 0 auto;
    padding: 0 20px 0 26px;
}

/* ── Card bản đồ (cột trái) ───────────────────────────────────────────── */
.mapv2__card {
    position: sticky;
    top: 116px;
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid #c8d8c8;
    border-radius: 16px;
    overflow: hidden;
}

.mapv2__search-wrap {
    position: relative;
    padding: 18px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mapv2__card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.mapv2__card-title img {
    width: 17px;
    height: 17px;
}

.mapv2__search {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 12px;
    background: #f7f4ed;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.mapv2__search:focus-within {
    border-color: var(--deep);
    box-shadow: 0 0 0 2px rgba(22, 79, 75, .15);
}

.mapv2__search img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.mapv2__search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: 400 14px var(--font-ui);
    color: var(--ink);
}

.mapv2__search input::placeholder {
    color: var(--mut);
}

.mapv2__search-clear {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.mapv2__search-clear:hover {
    background: rgba(25, 61, 59, .08);
}

.mapv2__search-clear img {
    width: 16px;
    height: 16px;
}

.mapv2__picker {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% - 14px);
    z-index: 1200;
    margin: 0;
    padding: 4px;
    list-style: none;
    max-height: 280px;
    overflow-y: auto;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(25, 61, 59, .14);
}

.mapv2__picker li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.mapv2__picker li:hover,
.mapv2__picker li.is-active {
    background: var(--row);
}

.mapv2__picker li.is-selected {
    color: var(--accent);
    font-weight: 600;
}

.mapv2__picker .count {
    min-width: 24px;
    padding: 0 6px;
    border-radius: 10px;
    background: #f1eee5;
    color: var(--mut);
    font-size: 11px;
    text-align: center;
}

.mapv2__picker-empty {
    padding: 10px;
    color: var(--mut);
    font-size: 12px;
    text-align: center;
}

/* Khung bản đồ */
.mapv2__map-box {
    position: relative;
    height: 550px;
    background: var(--map-bg);
    overflow: hidden;
}

#map-v2 {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--map-bg);
    background-image:
        linear-gradient(to right, var(--grid) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
    background-size: 82px 82px;
    background-position: 28px 10px;
    font-family: var(--font-ui);
}

#map-v2.leaflet-container:focus,
#map-v2 .leaflet-interactive:focus {
    outline: none;
}

.mapv2-geo-country.leaflet-tooltip {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #869f95;
    font: 400 10px var(--font-ui);
    letter-spacing: .05em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.mapv2-geo-country.leaflet-tooltip::before {
    display: none;
}

.mapv2-geo-sea.leaflet-tooltip {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #869f95;
    font: italic 400 17px var(--font-serif);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.mapv2-geo-sea.leaflet-tooltip::before {
    display: none;
}

.mapv2-city.leaflet-tooltip {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #6e7c74;
    font: 500 11px var(--font-ui);
    pointer-events: none;
    user-select: none;
}

.mapv2-city.leaflet-tooltip::before {
    display: none;
}

.mapv2__compass {
    position: absolute;
    z-index: 500;
    right: 33px;
    top: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    color: #164f4b;
    pointer-events: none;
}

.mapv2__compass img {
    width: 15px;
    height: 28px;
}

.mapv2__tools {
    position: absolute;
    z-index: 500;
    right: 23px;
    bottom: 27px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}

.mapv2__tool {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: var(--card);
}

.mapv2__tool:hover {
    background: #f1eee5;
}

.mapv2__tool img {
    width: 17px;
    height: 17px;
}

/* Thước tỉ lệ (Leaflet scale) */
#map-v2 .leaflet-control-scale {
    margin: 0 0 22px 22px;
}

#map-v2 .leaflet-control-scale-line {
    background: transparent;
    border: 1px solid #869f95;
    border-top: 0;
    color: var(--mut);
    font: 400 9px var(--font-ui);
    line-height: 1.2;
    padding: 0 4px 2px;
    text-shadow: none;
}

/* Nhãn tỉnh đang chọn */
.mapv2-label.leaflet-tooltip {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    padding: 0 13px;
    border: 0;
    border-radius: 6px;
    background: var(--card);
    box-shadow: 0 3px 10px rgba(25, 61, 59, .08);
    white-space: nowrap;
}

.mapv2-label.leaflet-tooltip::before {
    display: none;
}

.mapv2-label strong {
    color: var(--accent);
    font: 600 13px var(--font-ui);
}

.mapv2-label span {
    color: var(--mut);
    font: 400 11px var(--font-ui);
}

.mapv2-hover.leaflet-tooltip {
    padding: 4px 8px;
    border: 0;
    border-radius: 4px;
    background: var(--ink);
    color: #fff;
    font: 500 11px var(--font-ui);
    box-shadow: none;
    pointer-events: none !important;
    transition: opacity .1s ease;
}

.mapv2-hover.leaflet-tooltip::before {
    display: none;
}

.mapv2-island.leaflet-tooltip {
    padding: 2px 6px;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #47645d;
    font: 600 11px var(--font-ui);
    letter-spacing: 0.3px;
    cursor: pointer;
    pointer-events: auto !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9), 0 0 5px rgba(255, 255, 255, 0.8);
    transition: color 0.15s ease, transform 0.15s ease;
}

.mapv2-island.leaflet-tooltip:hover {
    color: #b84d36;
    transform: scale(1.05);
}

.mapv2-island.leaflet-tooltip::before {
    display: none;
}

.mapv2-island-marker {
    cursor: pointer;
    transition: r 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), fill 0.2s ease;
}

.mapv2-island-tooltip.leaflet-tooltip {
    background: rgba(27, 50, 42, 0.94);
    color: #fdfbf6;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 4px 8px;
    font: 500 11px var(--font-ui);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    pointer-events: none !important;
    white-space: nowrap;
}

.mapv2-island-tooltip.leaflet-tooltip::before {
    border-top-color: rgba(27, 50, 42, 0.94);
}

.mapv2__legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 54px;
    padding: 0 20px;
    font-size: 11px;
}

.mapv2__legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.mapv2__legend-item img {
    width: 7px;
    height: 7px;
}

.mapv2__legend-hint {
    color: var(--mut);
}

/* Ripple khi chọn tỉnh */
.mapv2 .ripple-circle {
    fill: none;
    stroke: var(--accent);
    animation: mapv2-ripple 1.6s ease-out forwards;
}

.mapv2 .ripple-circle:nth-child(2) {
    animation-delay: .35s;
}

.mapv2 .ripple-circle:nth-child(3) {
    animation-delay: .7s;
}

@keyframes mapv2-ripple {
    0% {
        stroke-opacity: .8;
        stroke-width: 4px;
        r: 0;
    }

    100% {
        stroke-opacity: 0;
        stroke-width: 1px;
        r: var(--ripple-r, 60px);
    }
}

/* ── Nội dung (cột phải) ──────────────────────────────────────────────── */
.mapv2__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: 0;
}

.mapv2__profile {
    display: flex;
    gap: 24px;
    min-height: 174px;
    align-items: flex-start;
}

.mapv2__profile-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mapv2__region {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--mut);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.mapv2__region img {
    width: 14px;
    height: 14px;
}

.mapv2__name {
    margin: 0;
    font: 400 48px/1.1 var(--font-serif);
    color: var(--ink);
}

.mapv2__tagline {
    margin: 0;
    color: var(--mut);
    font-size: 13px;
    line-height: 1.65;
}

.mapv2__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--mut);
    font-size: 12px;
}

.mapv2__stats b {
    color: #164f4b;
    font-weight: 600;
}

.mapv2__stats i {
    font-style: normal;
    font-size: 11px;
}

/* Tạm thời ẩn ảnh đại diện danh lam thắng cảnh tỉnh thành (mở lại sau chỉ cần xóa/comment dòng display: none) */
.mapv2__hero {
    display: none;
    position: relative;
    flex-shrink: 0;
    width: 244px;
    height: 174px;
    border-radius: 12px;
    overflow: hidden;
    background: #c6d3c7;
}

.mapv2__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease-in-out;
}

.mapv2__coord {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 5px 8px;
    border-radius: 3px;
    background: var(--card);
    color: #164f4b;
    font-size: 9px;
    white-space: nowrap;
}

/* Thanh thao tác + bộ lọc */
.mapv2__toolbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 0 14px;
}

.mapv2__toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 32px;
}

.mapv2__list-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mapv2__list-title h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.mapv2__play-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 11px;
    border: 0;
    border-radius: 100px;
    background: var(--deep);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
}

.mapv2__play-all:hover {
    background: #0f3d3a;
}

.mapv2__play-all img {
    width: 13px;
    height: 13px;
}

.mapv2__dd {
    position: relative;
}

.mapv2__dd-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mut);
    font-size: 12px;
}

.mapv2__dd-btn img {
    width: 14px;
    height: 14px;
}

.mapv2__dd-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    right: 0;
    min-width: 150px;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(25, 61, 59, .14);
}

.mapv2__dd-menu--left {
    right: auto;
    left: 0;
}

.mapv2__dd-menu li {
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.mapv2__dd-menu li:hover {
    background: var(--row);
}

.mapv2__dd-menu li.is-selected {
    color: var(--deep);
    font-weight: 600;
}

.mapv2__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.mapv2__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--card);
    color: var(--ink);
    font-size: 12px;
    white-space: nowrap;
}

.mapv2__chip:hover {
    border-color: var(--deep);
}

.mapv2__chip.is-active {
    background: var(--deep);
    border-color: var(--deep);
    color: #fff;
    font-weight: 600;
}

.mapv2__chip img {
    width: 13px;
    height: 13px;
}

.mapv2__sep {
    width: 1px;
    height: 20px;
    background: var(--line);
}

/* Danh sách tác phẩm */
.mapv2__tracks {
    display: flex;
    flex-direction: column;
}

.mapv2__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px 12px;
    color: var(--mut);
    font-size: 13px;
}

.mapv2__spinner {
    width: 22px;
    height: 22px;
    border: 2px solid var(--line);
    border-top-color: var(--deep);
    border-radius: 50%;
    animation: mapv2-spin .6s linear infinite;
}

@keyframes mapv2-spin {
    to { transform: rotate(360deg); }
}

.mapv2__empty {
    padding: 36px 12px;
    color: var(--mut);
    font-size: 13px;
    text-align: center;
}

.mv2-track {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
    transition: background-color .15s ease;
}

.mv2-track:hover {
    background: rgba(231, 238, 229, .55);
}

.mv2-track.is-current {
    background: var(--row);
    border-radius: 12px;
    border-bottom-color: transparent;
}

.mv2-track__cover {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 6px;
    object-fit: cover;
    background: #c6d3c7;
}

.mv2-track__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mv2-track__head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.mv2-track__title {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.mv2-track__title a {
    color: inherit;
    text-decoration: none;
}

.mv2-track__title a:hover {
    color: var(--accent);
}

.mv2-wave {
    display: none;
    align-items: center;
    gap: 2px;
    height: 13px;
    flex-shrink: 0;
}

.mv2-track.is-current .mv2-wave {
    display: inline-flex;
}

.mv2-wave i {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: #c6d3c7;
}

.mv2-wave i:nth-child(1) {
    height: 4px;
    background: var(--deep);
}

.mv2-wave i:nth-child(2) {
    height: 12px;
    background: var(--deep);
}

.mv2-wave i:nth-child(3) {
    height: 6px;
}

.mv2-wave i:nth-child(4) {
    height: 5px;
}

.mv2-wave i:nth-child(5) {
    height: 6px;
}

.mv2-track.is-playing .mv2-wave i {
    animation: mv2-bar .9s ease-in-out infinite;
    background: var(--deep);
}

.mv2-track.is-playing .mv2-wave i:nth-child(2) {
    animation-delay: .15s;
}

.mv2-track.is-playing .mv2-wave i:nth-child(3) {
    animation-delay: .3s;
}

.mv2-track.is-playing .mv2-wave i:nth-child(4) {
    animation-delay: .45s;
}

.mv2-track.is-playing .mv2-wave i:nth-child(5) {
    animation-delay: .6s;
}

@keyframes mv2-bar {

    0%,
    100% {
        transform: scaleY(.5);
    }

    50% {
        transform: scaleY(1.5);
    }
}

.mv2-track__meta {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: var(--mut);
    font-size: 11px;
    white-space: nowrap;
}

.mv2-track__meta b {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv2-track.is-current .mv2-track__meta b {
    color: var(--deep);
}

.mv2-track__meta em {
    font-style: normal;
    font-size: 10px;
}

.mv2-track__desc {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mut);
    font-size: 12px;
}

.mv2-track__dur {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 42px;
    flex-shrink: 0;
    color: var(--mut);
    font-size: 12px;
    white-space: nowrap;
}

.mv2-track {
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mv2-track__dur small {
    display: none;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mv2-track.is-playing .mv2-track__dur small {
    display: block;
    color: var(--accent);
}

.mv2-track.is-paused .mv2-track__dur small {
    display: block;
    color: var(--mut);
}

.mv2-btn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--card);
}

.mv2-btn:hover {
    border-color: var(--deep);
}

.mv2-btn img {
    width: 18px;
    height: 18px;
}

.mv2-btn .i-pause {
    display: none;
}

.mv2-track.is-playing .mv2-btn {
    background: var(--deep);
    border-color: var(--deep);
}

.mv2-track.is-playing .mv2-btn .i-play {
    display: none;
}

.mv2-track.is-playing .mv2-btn .i-pause {
    display: block;
}

.mv2-save,
.mv2-heart {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.mv2-heart:hover {
    opacity: 1;
    background: rgba(25, 61, 59, .08);
    transform: scale(1.1);
}

.mv2-heart:active {
    transform: scale(0.92);
}

.mapv2__foot {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 12px;
    min-height: 44px;
    padding: 0 12px 1px;
}

.mapv2__note {
    color: var(--mut);
    font-size: 10px;
}

.mapv2__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--deep);
    font-size: 12px;
    font-weight: 600;
}

.mapv2__more:hover {
    color: var(--accent);
}

.mapv2__more img {
    width: 15px;
    height: 15px;
}

/* ── Trình phát đáy ───────────────────────────────────────────────────── */
.mv2-player {
    position: sticky;
    bottom: 12px;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 80px;
    margin-top: 12px;
    padding: 0 12px;
    border-radius: 12px;
    background: var(--player);
    color: #fff;
    box-shadow: 0 10px 28px rgba(25, 61, 59, .28);
}

.mv2-player__now {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 280px;
    flex-shrink: 0;
    min-width: 0;
}

.mv2-player__cover {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 6px;
    object-fit: cover;
    background: #638476;
}

.mv2-player__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mv2-player__state {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--player-mut);
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
}

.mv2-player__state img {
    width: 4px;
    height: 4px;
}

.mv2-player__title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
}

.mv2-player__sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--player-mut);
    font-size: 11px;
}

.mv2-player__ctrl {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.mv2-player__ctrl button {
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
}

.mv2-player__ctrl .skip img {
    width: 16px;
    height: 16px;
}

.mv2-player__ctrl .main {
    width: 38px;
    height: 38px;
    border-radius: 100px;
    background: #fff;
}

.mv2-player__ctrl .main img {
    width: 19px;
    height: 19px;
}

.mv2-player__ctrl .main .i-play {
    display: none;
}

.mv2-player.is-paused .main .i-play {
    display: block;
}

.mv2-player.is-paused .main .i-pause {
    display: none;
}

.mv2-player__ctrl button:disabled {
    opacity: .4;
    cursor: default;
}

.mv2-player__progress {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
}

.mv2-player__progress .total {
    color: var(--player-mut);
}

.mv2-player__bar {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mv2-player__bar canvas {
    width: 100%;
    height: 20px;
    display: block;
}

.mv2-player__line {
    height: 2px;
    background: #47645d;
}

.mv2-player__line i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--player-mut);
}

.mv2-player__opts {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    font-size: 12px;
}

.mv2-player__speed {
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 12px;
}

.mv2-player__vol {
    display: flex;
    align-items: center;
    gap: 7px;
}

.mv2-player__vol img {
    width: 16px;
    height: 16px;
}

.mv2-player__vol-bar {
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: #47645d;
    cursor: pointer;
}

.mv2-player__vol-bar i {
    display: block;
    height: 100%;
    width: 66%;
    border-radius: 2px;
    background: var(--player-mut);
}

.mapv2 :focus-visible {
    outline: 2px solid var(--deep);
    outline-offset: 2px;
}

.mv2-player :focus-visible {
    outline-color: #fff;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1279px) {
    .mapv2__layout {
        grid-template-columns: 440px minmax(0, 1fr);
        gap: 24px;
    }

    .mapv2__map-box {
        height: 480px;
    }

    .mapv2__hero {
        width: 190px;
    }

    .mapv2__name {
        font-size: 40px;
    }

    .mv2-player__opts {
        display: none;
    }
}

@media (max-width: 1023px) {
    .mapv2__layout {
        grid-template-columns: minmax(0, 1fr);
        padding: 0 16px;
    }

    .mapv2__card {
        position: relative;
        top: 0;
    }

    .mapv2__map-box {
        height: 460px;
    }
}

@media (max-width: 639px) {
    .mapv2 {
        padding-top: 16px;
        padding-bottom: 88px;
    }

    .mapv2__layout {
        padding: 0 12px;
    }

    .mapv2__map-box {
        height: 380px;
    }

    .mapv2__profile {
        flex-direction: column-reverse;
        gap: 16px;
    }

    .mapv2__hero {
        width: 100%;
        height: 180px;
    }

    .mapv2__name {
        font-size: 36px;
    }

    .mapv2__toolbar-row {
        flex-wrap: wrap;
    }

    .mv2-track {
        flex-wrap: wrap;
        padding: 12px;
        gap: 10px 12px;
    }

    .mv2-track__body {
        flex-basis: calc(100% - 140px);
    }

    .mv2-track__desc {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .mv2-player {
        height: auto;
        flex-wrap: wrap;
        gap: 10px 14px;
        padding: 10px 12px;
        bottom: 64px;
    }

    .mv2-player__now {
        width: auto;
        flex: 1 1 100%;
    }

    .mv2-player__progress {
        flex: 1 1 100%;
        order: 3;
    }

    .mv2-player__ctrl {
        order: 2;
    }

    .mapv2__foot {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .mapv2 .ripple-circle,
    .mv2-track.is-playing .mv2-wave i {
        animation: none;
    }
}
