/* Spotish editorial redesign inspired by high-contrast music criticism sites. */
:root {
    --pf-paper: #f4f4f4;
    --pf-ink: #050505;
    --pf-muted: #5d5d5d;
    --pf-line: #111111;
    --pf-soft-line: #d2d2d2;
    --pf-red: #d71920;
    --pf-yellow: #f2c94c;
    --pf-green: #168447;
    --pf-white: #ffffff;
}

/* Final home layout pass: compact, chart-first, less crowded. */
.home-page {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    max-width: 1180px !important;
}

.home-page .carousel-section {
    order: 1 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin-bottom: 24px !important;
    padding-top: 8px !important;
    border-top: 4px solid #000 !important;
}

.home-page .home-chart-section {
    order: 2 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin-bottom: 28px !important;
    padding-top: 22px !important;
    border-top: 4px solid #000 !important;
}

.home-page .pulse-section {
    order: 3 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin: 0 auto 28px !important;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    gap: 14px !important;
}

.home-page .editorial-section {
    order: 4 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin-bottom: 28px !important;
    padding-top: 22px !important;
}

.home-page .commercial-slot {
    order: 5 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin: 0 auto 28px !important;
}

.home-page .newsletter-section {
    order: 6 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin: 10px auto 0 !important;
}

.home-page .carousel {
    height: 380px !important;
    min-height: 380px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.home-page .carousel-content-wrapper,
.home-page .carousel-content-wrapper.text-right,
.home-page .carousel-content-wrapper.text-center {
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 34px !important;
    padding: 34px 74px !important;
    min-height: 0 !important;
    background: #fff !important;
}

.home-page .carousel-content-wrapper.text-right {
    grid-template-columns: minmax(0, 1fr) 280px !important;
}

.home-page .carousel-content-wrapper.text-right .carousel-cover-wrapper,
.home-page .carousel-content-wrapper.text-right .carousel-content {
    grid-column: auto !important;
    grid-row: auto !important;
}

.home-page .carousel-cover-wrapper {
    max-width: 280px !important;
    box-shadow: 8px 8px 0 #000 !important;
}

.home-page .carousel-title {
    max-width: 720px !important;
    font-size: clamp(38px, 5vw, 58px) !important;
    line-height: .98 !important;
}

.home-page .carousel-description {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.home-page .carousel-arrow {
    width: 38px !important;
    height: 56px !important;
    border-radius: 8px !important;
}

.home-page .carousel-arrow.prev {
    left: 14px !important;
}

.home-page .carousel-arrow.next {
    right: 14px !important;
}

.home-page .pulse-panel {
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    padding: 18px !important;
}

.home-page .pulse-panel.dark {
    background: #000 !important;
}

.home-page .pulse-title {
    font-size: clamp(28px, 3vw, 40px) !important;
}

.home-page .review-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.home-page .review-tile {
    grid-template-columns: 72px minmax(0, 1fr) 50px !important;
    padding: 12px !important;
}

.home-page .review-tile-cover {
    width: 72px !important;
    height: 72px !important;
}

.home-page .review-tile-title {
    font-size: 17px !important;
}

.home-page .charts-table td {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

@media (max-width: 900px) {
    .home-page .carousel {
        height: auto !important;
        min-height: 0 !important;
    }

    .home-page .carousel-content-wrapper,
    .home-page .carousel-content-wrapper.text-right,
    .home-page .carousel-content-wrapper.text-center {
        grid-template-columns: 1fr !important;
        padding: 28px 24px 72px !important;
    }

    .home-page .carousel-cover-wrapper {
        max-width: 240px !important;
    }

    .home-page .pulse-section,
    .home-page .review-strip {
        grid-template-columns: 1fr !important;
    }
}

/* Home page cleanup: keep the first screen focused on the live chart. */
.home-page {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    max-width: 1180px !important;
}

.home-page .carousel-section {
    order: 1 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin-bottom: 24px !important;
    padding-top: 8px !important;
    border-top: 4px solid #000 !important;
}

.home-page .home-chart-section {
    order: 2 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin-bottom: 28px !important;
    padding-top: 22px !important;
    border-top: 4px solid #000 !important;
}

.home-page .pulse-section {
    order: 3 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin: 0 auto 28px !important;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    gap: 14px !important;
}

.home-page .editorial-section {
    order: 4 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin-bottom: 28px !important;
    padding-top: 22px !important;
}

.home-page .commercial-slot {
    order: 5 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin: 0 auto 28px !important;
}

.home-page .newsletter-section {
    order: 6 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin: 10px auto 0 !important;
}

.home-page .carousel {
    height: 380px !important;
    min-height: 380px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.home-page .carousel-content-wrapper,
.home-page .carousel-content-wrapper.text-right,
.home-page .carousel-content-wrapper.text-center {
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 34px !important;
    padding: 34px 74px !important;
    min-height: 0 !important;
    background: #fff !important;
}

.home-page .carousel-content-wrapper.text-right .carousel-cover-wrapper,
.home-page .carousel-content-wrapper.text-right .carousel-content {
    grid-column: auto !important;
    grid-row: auto !important;
}

.home-page .carousel-content-wrapper.text-right {
    grid-template-columns: minmax(0, 1fr) 280px !important;
}

.home-page .carousel-cover-wrapper {
    max-width: 280px !important;
    box-shadow: 8px 8px 0 #000 !important;
}

.home-page .carousel-title {
    max-width: 720px !important;
    font-size: clamp(38px, 5vw, 58px) !important;
    line-height: .98 !important;
}

.home-page .carousel-description {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.home-page .carousel-arrow {
    width: 38px !important;
    height: 56px !important;
    border-radius: 8px !important;
}

.home-page .carousel-arrow.prev {
    left: 14px !important;
}

.home-page .carousel-arrow.next {
    right: 14px !important;
}

.home-page .pulse-panel {
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    padding: 18px !important;
}

.home-page .pulse-panel.dark {
    background: #000 !important;
}

.home-page .pulse-title {
    font-size: clamp(28px, 3vw, 40px) !important;
}

.home-page .review-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.home-page .review-tile {
    grid-template-columns: 72px minmax(0, 1fr) 50px !important;
    padding: 12px !important;
}

.home-page .review-tile-cover {
    width: 72px !important;
    height: 72px !important;
}

.home-page .review-tile-title {
    font-size: 17px !important;
}

.home-page .charts-table td {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

@media (max-width: 900px) {
    .home-page .carousel {
        height: auto !important;
        min-height: 0 !important;
    }

    .home-page .carousel-content-wrapper,
    .home-page .carousel-content-wrapper.text-right,
    .home-page .carousel-content-wrapper.text-center {
        grid-template-columns: 1fr !important;
        padding: 28px 24px 72px !important;
    }

    .home-page .carousel-cover-wrapper {
        max-width: 240px !important;
    }

    .home-page .pulse-section,
    .home-page .review-strip {
        grid-template-columns: 1fr !important;
    }
}

html,
body {
    background: var(--pf-paper) !important;
    color: var(--pf-ink) !important;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    -webkit-font-smoothing: antialiased;
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px);
    background-size: 100% 12px;
    opacity: 0.45;
    z-index: -1;
}

.app {
    max-width: 1560px !important;
    padding: 0 28px !important;
}

.header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    grid-template-areas: "nav logo tools" !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 0 34px !important;
    padding: 16px 0 18px !important;
    border-top: 5px solid var(--pf-ink) !important;
    border-bottom: 1px solid var(--pf-ink) !important;
    background: var(--pf-paper) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 900 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.logo {
    grid-area: logo !important;
    justify-self: center !important;
    color: var(--pf-ink) !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    font-weight: 900 !important;
    font-size: 34px !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    gap: 10px !important;
}

.logo-icon {
    display: none !important;
}

.logo span,
.logo-text {
    color: var(--pf-ink) !important;
    font-size: inherit !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
}

.nav-links {
    grid-area: nav !important;
    justify-self: start !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nav-link,
.footer-link,
.header-link,
.tab,
.filter-btn,
.btn,
.btn-primary,
.btn-secondary,
.login-btn,
button {
    border-radius: 0 !important;
    letter-spacing: 0 !important;
}

.nav-link,
.header-link {
    color: var(--pf-ink) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    padding: 7px 9px !important;
    border-right: 1px solid var(--pf-soft-line) !important;
    background: transparent !important;
}

.nav-link:hover,
.nav-link.active,
.header-link:hover,
.header-link.active {
    color: var(--pf-red) !important;
    background: transparent !important;
}

.header-right {
    grid-area: tools !important;
    justify-self: end !important;
    gap: 10px !important;
}

.search-input,
input,
select,
textarea {
    border-radius: 0 !important;
    border: 1px solid var(--pf-ink) !important;
    background: var(--pf-white) !important;
    color: var(--pf-ink) !important;
    box-shadow: none !important;
}

.search-input {
    height: 34px !important;
    width: 178px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.login-btn,
.btn,
.btn-primary,
.btn-secondary,
.action-btn,
.error-button {
    border: 1px solid var(--pf-ink) !important;
    background: var(--pf-ink) !important;
    color: var(--pf-red) !important;
    box-shadow: none !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
}

.login-btn:hover,
.btn:hover,
.btn-primary:hover,
.action-btn:hover,
.error-button:hover {
    background: var(--pf-red) !important;
    border-color: var(--pf-red) !important;
    color: var(--pf-white) !important;
    transform: none !important;
}

.btn-secondary {
    background: var(--pf-white) !important;
    color: var(--pf-ink) !important;
}

.page-header,
.reviews-head,
.releases-head,
.trend-head,
.album-header,
.artist-header,
.song-header,
.awards-hero,
.error-container {
    border-top: 5px solid var(--pf-ink) !important;
    border-bottom: 1px solid var(--pf-ink) !important;
    padding: 28px 0 !important;
    margin-bottom: 30px !important;
    background: transparent !important;
}

.page-title,
.artist-title,
.album-title,
.song-title,
.featured-title,
.error-code,
.hero-title,
.title,
h1 {
    color: var(--pf-ink) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 0.9 !important;
    text-transform: none !important;
}

.page-title,
h1 {
    font-size: 64px !important;
}

.featured-title {
    font-size: 48px !important;
}

.page-subtitle,
.page-date,
.album-meta,
.artist-stats,
.song-album,
.deck,
.subtitle,
.meta,
.review-tile-meta,
.card-excerpt,
.footer-tagline,
.footer-copyright {
    color: var(--pf-muted) !important;
}

.kicker,
.album-type,
.artist-type,
.song-type,
.section-title,
.section-heading .section-title,
.review-tile-kicker,
.carousel-tag,
.badge,
.type,
.stat-label {
    color: var(--pf-red) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.review-mark {
    width: 42px;
    height: 42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 14px;
    background: var(--pf-ink);
    padding: 6px;
}

.review-mark span {
    display: block;
    background: var(--pf-white);
}

.review-mark span:nth-child(2) {
    background: var(--pf-red);
}

.bnm-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0;
    background: transparent;
    color: var(--pf-white) !important;
    border: 0;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

.carousel,
.featured,
.review-card,
.review-tile,
.release-card,
.album-card,
.artist-card,
.panel,
.card,
.stat-card,
.quick-action-card,
.tool-card,
.poster-preview,
.nominee-card,
.category-card,
.winner-card,
.login-container {
    border-radius: 0 !important;
    border: 1px solid var(--pf-ink) !important;
    background: var(--pf-white) !important;
    box-shadow: none !important;
}

.review-card,
.release-card,
.album-card,
.artist-card,
.nominee-card,
.category-card,
.winner-card,
.quick-action-card {
    transition: background 0.14s, color 0.14s, border-color 0.14s !important;
}

.review-card:hover,
.review-tile:hover,
.release-card:hover,
.album-card:hover,
.artist-card:hover,
.nominee-card:hover,
.quick-action-card:hover {
    transform: none !important;
    background: #eeeeee !important;
    box-shadow: none !important;
}

.carousel {
    height: min(560px, 68vh) !important;
}

.carousel-content {
    max-width: 740px !important;
}

.carousel-title {
    font-size: 68px !important;
    line-height: 0.88 !important;
    letter-spacing: 0 !important;
    font-weight: 900 !important;
}

.review-grid,
.albums-grid,
.artists-grid,
.releases-grid,
.trending-grid,
.nominees-grid,
.categories-grid,
.winners-grid {
    gap: 0 !important;
}

.review-grid {
    border-top: 1px solid var(--pf-ink) !important;
    border-left: 1px solid var(--pf-ink) !important;
}

.review-card {
    border: 0 !important;
    border-right: 1px solid var(--pf-ink) !important;
    border-bottom: 1px solid var(--pf-ink) !important;
}

.albums-grid,
.artists-grid {
    border-top: 1px solid var(--pf-ink) !important;
    border-left: 1px solid var(--pf-ink) !important;
}

.album-card,
.artist-card {
    border: 0 !important;
    border-right: 1px solid var(--pf-ink) !important;
    border-bottom: 1px solid var(--pf-ink) !important;
    padding: 0 !important;
}

.album-info,
.artist-info {
    padding: 16px !important;
}

.album-name,
.artist-name,
.track-title,
.song-name,
.card-title {
    font-weight: 900 !important;
    color: var(--pf-ink) !important;
}

.album-cover,
.artist-image,
.track-cover,
.song-cover,
.featured-cover,
.card-cover,
.review-tile-cover,
.cover,
img[class*="cover"] {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.artist-image {
    border-radius: 0 !important;
}

.score,
.review-score {
    width: 96px !important;
    height: 96px !important;
    min-height: 0 !important;
    border-radius: 50% !important;
    border: 4px solid var(--pf-ink) !important;
    background: transparent !important;
    color: var(--pf-ink) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 0 !important;
    position: relative !important;
    font-size: 34px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.score:after,
.review-score:after {
    content: none;
}

.score.score-bnm,
.review-score.score-bnm {
    border-color: var(--pf-red) !important;
    color: var(--pf-red) !important;
    border-width: 6px !important;
}

.score.score-bnm:before,
.review-score.score-bnm:before {
    content: "";
    position: absolute;
    top: -31px;
    left: 50%;
    width: 68px;
    height: 32px;
    transform: translateX(-50%);
    background:
        linear-gradient(var(--pf-red), var(--pf-red)) center 12px / 8px 20px no-repeat,
        linear-gradient(45deg, transparent 0 49%, var(--pf-red) 50%) 10px 18px / 15px 15px no-repeat,
        linear-gradient(-45deg, transparent 0 49%, var(--pf-red) 50%) 43px 18px / 15px 15px no-repeat,
        linear-gradient(135deg, transparent 0 49%, var(--pf-red) 50%) center top / 18px 18px no-repeat;
    clip-path: none;
}

.small-score,
.review-tile-score {
    width: 52px !important;
    height: 52px !important;
    min-height: 0 !important;
    border-radius: 50% !important;
    border: 3px solid var(--pf-ink) !important;
    background: transparent !important;
    color: var(--pf-ink) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 0 !important;
    position: relative !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.small-score:after,
.review-tile-score:after {
    content: none;
}

.small-score.score-bnm,
.review-tile-score.score-bnm {
    border-color: var(--pf-red) !important;
    color: var(--pf-red) !important;
    border-width: 4px !important;
}

.small-score.score-bnm:before,
.review-tile-score.score-bnm:before {
    content: "";
    position: absolute;
    top: -22px;
    left: 50%;
    width: 44px;
    height: 22px;
    transform: translateX(-50%);
    background:
        linear-gradient(var(--pf-red), var(--pf-red)) center 8px / 5px 14px no-repeat,
        linear-gradient(45deg, transparent 0 49%, var(--pf-red) 50%) 6px 12px / 11px 11px no-repeat,
        linear-gradient(-45deg, transparent 0 49%, var(--pf-red) 50%) 27px 12px / 11px 11px no-repeat,
        linear-gradient(135deg, transparent 0 49%, var(--pf-red) 50%) center top / 13px 13px no-repeat;
    clip-path: none;
}

.charts-table,
.data-table,
table {
    border-collapse: collapse !important;
    border: 1px solid var(--pf-ink) !important;
    background: var(--pf-white) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.charts-table th,
.data-table th,
table th {
    background: var(--pf-ink) !important;
    color: var(--pf-white) !important;
    border-bottom: 1px solid var(--pf-ink) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

.charts-table td,
.data-table td,
table td {
    border-bottom: 1px solid var(--pf-soft-line) !important;
}

.charts-table tbody tr:hover,
.data-table tbody tr:hover,
table tbody tr:hover {
    background: #eeeeee !important;
}

.rank-cell,
.rank-number {
    color: var(--pf-red) !important;
    font-weight: 900 !important;
}

.filters,
.tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    margin-bottom: 24px !important;
}

.filter-btn,
.tab {
    border: 1px solid var(--pf-ink) !important;
    margin-right: -1px !important;
    background: var(--pf-paper) !important;
    color: var(--pf-ink) !important;
    padding: 10px 14px !important;
}

.filter-btn.active,
.filter-btn:hover,
.tab.active,
.tab:hover {
    background: var(--pf-ink) !important;
    color: var(--pf-white) !important;
}

.footer {
    border-top: 5px solid var(--pf-ink) !important;
    background: var(--pf-paper) !important;
    margin-top: 80px !important;
}

.footer-content {
    border-bottom: 1px solid var(--pf-ink);
    padding-bottom: 28px;
}

.footer-logo {
    display: none !important;
}

.footer-name {
    font-size: 36px !important;
    letter-spacing: 0 !important;
    color: var(--pf-ink) !important;
}

.footer-link {
    border: 1px solid var(--pf-ink) !important;
    background: transparent !important;
    color: var(--pf-ink) !important;
    margin-right: -1px;
}

.footer-link:hover {
    background: var(--pf-ink) !important;
    color: var(--pf-white) !important;
}

.login-header,
.sidebar {
    background: var(--pf-ink) !important;
    border-radius: 0 !important;
}

.sidebar-item,
.sidebar-logout {
    border-radius: 0 !important;
}

.sidebar-item.active,
.sidebar-item:hover {
    background: var(--pf-white) !important;
    color: var(--pf-ink) !important;
}

.modal,
.toast {
    border-radius: 0 !important;
}

@media (max-width: 980px) {
    .header {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "logo"
            "nav"
            "tools" !important;
        justify-items: start !important;
        position: relative !important;
    }

    .logo {
        justify-self: start !important;
        font-size: 30px !important;
    }

    .header-right {
        justify-self: start !important;
        width: 100% !important;
    }

    .nav-links {
        width: 100% !important;
        overflow-x: auto !important;
    }

    .page-title,
    h1 {
        font-size: 42px !important;
    }

    .featured-title,
    .carousel-title {
        font-size: 38px !important;
    }
}

@media (max-width: 640px) {
    .app {
        padding: 0 16px !important;
    }

    .header {
        margin-bottom: 22px !important;
    }

    .search-input {
        width: 100% !important;
    }

    .carousel {
        height: 430px !important;
    }
}

/* Shared editorial surface for newer utility pages. */
.charts-page .charts-hero,
.discover-page .discover-hero,
.profile-page .profile-hero {
    border-top: 5px solid var(--pf-ink) !important;
    border-bottom: 1px solid var(--pf-ink) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.charts-page .kicker,
.discover-page .kicker,
.profile-page .profile-kicker {
    color: var(--pf-red) !important;
    font-weight: 900 !important;
    letter-spacing: .12em !important;
}

.charts-page .chart-card,
.discover-page .discover-section,
.profile-page .profile-section {
    border-top: 4px solid var(--pf-ink) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.charts-page .chart-card,
.discover-page .mini-card,
.discover-page .hero-row,
.profile-page .library-card,
.profile-page .profile-stat {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.profile-page .library-card,
.profile-page .profile-stat {
    border-color: var(--pf-ink) !important;
    background: var(--pf-white) !important;
}

.profile-page .library-card:hover,
.discover-page .mini-card:hover,
.discover-page .hero-row:hover,
.charts-page .chart-row:hover {
    background: #fff !important;
    color: var(--pf-red) !important;
    transform: none !important;
}

.profile-page .library-badge,
.charts-page .chart-label,
.discover-page .mini-copy span,
.charts-page .row-metric,
.discover-page .score strong {
    color: var(--pf-red) !important;
}

/* 2026 polish pass: balanced editorial layout across public and admin views. */
:root {
    --pf-paper: #f7f6f2;
    --pf-paper-2: #efeee8;
    --pf-ink: #101010;
    --pf-muted: #62615b;
    --pf-line: #151515;
    --pf-soft-line: #d8d5ca;
    --pf-red: #c91f2c;
    --pf-blue: #1f5f8b;
    --pf-green: #1d7a48;
    --pf-yellow: #e6b83f;
    --pf-white: #fffdf8;
    --pf-shadow: 0 18px 48px rgba(16, 16, 16, 0.09);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.86), rgba(247, 246, 242, 0.94) 420px),
        var(--pf-paper) !important;
}

body:before {
    opacity: 0.22;
}

a {
    text-underline-offset: 0.18em;
}

img {
    max-width: 100%;
}

.app {
    width: min(100%, 1520px) !important;
    margin: 0 auto !important;
    padding: 0 clamp(18px, 3vw, 44px) !important;
}

.header {
    display: grid !important;
    grid-template-columns: minmax(280px, 1fr) auto minmax(260px, 1fr) !important;
    grid-template-areas: "nav logo tools" !important;
    gap: 18px !important;
    align-items: center !important;
    margin: 0 0 clamp(28px, 4vw, 56px) !important;
    padding: 18px 0 !important;
    border-top: 0 !important;
    border-bottom: 2px solid var(--pf-ink) !important;
    background: rgba(247, 246, 242, 0.94) !important;
    backdrop-filter: blur(18px) !important;
}

.logo {
    grid-area: logo !important;
    justify-self: center !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: var(--pf-ink) !important;
    text-decoration: none !important;
    font-size: clamp(26px, 3vw, 40px) !important;
    font-weight: 900 !important;
    line-height: 0.95 !important;
    text-transform: uppercase !important;
}

.logo-icon {
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
    border: 2px solid var(--pf-ink) !important;
    background: var(--pf-red) !important;
    color: var(--pf-white) !important;
    border-radius: 8px !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

.nav-links {
    grid-area: nav !important;
    justify-self: start !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.nav-link,
.header-link,
.footer-link {
    border-radius: 8px !important;
    border: 1px solid transparent !important;
    padding: 8px 10px !important;
    color: var(--pf-ink) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
}

.nav-link:hover,
.nav-link.active,
.header-link:hover,
.header-link.active {
    border-color: var(--pf-ink) !important;
    background: var(--pf-ink) !important;
    color: var(--pf-white) !important;
}

.header-right {
    grid-area: tools !important;
    justify-self: end !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.search-form {
    flex: 1 1 180px !important;
}

.search-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.search-icon {
    position: absolute !important;
    left: 12px !important;
    color: var(--pf-muted) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.search-input {
    width: min(230px, 24vw) !important;
    height: 40px !important;
    padding: 0 12px 0 38px !important;
    border: 2px solid var(--pf-ink) !important;
    border-radius: 8px !important;
    background: var(--pf-white) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    transition: box-shadow 0.18s, background 0.18s !important;
}

.search-input:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 0 !important;
    box-shadow: 0 0 0 4px rgba(31, 95, 139, 0.18) !important;
}

.login-btn,
.btn,
.btn-primary,
.btn-secondary,
.action-btn,
.error-button {
    border-radius: 8px !important;
    border: 2px solid var(--pf-ink) !important;
    box-shadow: none !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.login-btn,
.btn,
.btn-primary,
.action-btn,
.error-button {
    background: var(--pf-ink) !important;
    color: var(--pf-white) !important;
}

.btn-secondary {
    background: var(--pf-white) !important;
    color: var(--pf-ink) !important;
}

.login-btn:hover,
.btn:hover,
.btn-primary:hover,
.action-btn:hover,
.error-button:hover {
    background: var(--pf-red) !important;
    border-color: var(--pf-red) !important;
    color: var(--pf-white) !important;
}

.user-menu {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.user-name {
    max-width: 140px !important;
    overflow: hidden !important;
    color: var(--pf-muted) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.user-name:hover {
    color: var(--pf-red) !important;
}

.hamburger {
    display: none;
    width: 42px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border: 2px solid var(--pf-ink);
    border-radius: 8px;
    background: var(--pf-white);
    cursor: pointer;
}

.hamburger span {
    width: 20px;
    height: 2px;
    display: block;
    background: var(--pf-ink);
    transition: transform 0.18s, opacity 0.18s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.page-header,
.reviews-head,
.releases-head,
.trend-head,
.album-header,
.artist-header,
.song-header,
.awards-hero,
.error-container {
    display: grid !important;
    gap: 14px !important;
    border-top: 0 !important;
    border-bottom: 2px solid var(--pf-ink) !important;
    padding: 0 0 clamp(22px, 3vw, 34px) !important;
    margin-bottom: clamp(24px, 4vw, 44px) !important;
}

.page-title,
.artist-title,
.album-title,
.song-title,
.featured-title,
.error-code,
.hero-title,
.title,
h1 {
    max-width: 14ch;
    font-size: clamp(40px, 7vw, 88px) !important;
    line-height: 0.92 !important;
}

.featured-title,
.carousel-title {
    font-size: clamp(36px, 6vw, 76px) !important;
}

.page-subtitle,
.deck,
.subtitle,
.carousel-description,
.card-excerpt {
    max-width: 760px;
    color: var(--pf-muted) !important;
    font-size: clamp(15px, 1.35vw, 18px) !important;
    line-height: 1.65 !important;
}

.section-heading,
.reviews-head,
.releases-head,
.trend-head {
    gap: 18px !important;
}

.section-title {
    color: var(--pf-red) !important;
    font-size: clamp(14px, 1.4vw, 18px) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.editorial-section,
.featured,
.review-layout,
.reviews-shell {
    border-top: 2px solid var(--pf-ink) !important;
    padding-top: clamp(20px, 3vw, 34px) !important;
}

.carousel {
    min-height: 440px !important;
    height: min(620px, 70vh) !important;
    border: 2px solid var(--pf-ink) !important;
    border-radius: 8px !important;
    background: var(--pf-white) !important;
    box-shadow: var(--pf-shadow) !important;
}

.carousel-content-wrapper {
    display: grid !important;
    grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(24px, 5vw, 72px) !important;
    padding: clamp(28px, 5vw, 76px) !important;
}

.carousel-content-wrapper.text-right {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr) !important;
}

.carousel-content-wrapper.text-right .carousel-cover-wrapper {
    order: 2 !important;
}

.carousel-content-wrapper.text-center {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
}

.carousel-content {
    max-width: 780px !important;
}

.carousel-cover {
    width: min(32vw, 360px) !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    border: 2px solid var(--pf-ink) !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    box-shadow: 12px 12px 0 var(--pf-yellow) !important;
}

.carousel-tag,
.kicker,
.album-type,
.artist-type,
.song-type,
.review-tile-kicker,
.badge,
.type,
.stat-label {
    color: var(--pf-red) !important;
}

.carousel-btn,
.section-link {
    display: inline-flex !important;
    width: fit-content !important;
    align-items: center !important;
    gap: 8px !important;
    border-radius: 8px !important;
}

.carousel-arrow {
    border: 2px solid var(--pf-ink) !important;
    border-radius: 8px !important;
    background: var(--pf-white) !important;
    box-shadow: 6px 6px 0 rgba(16, 16, 16, 0.14) !important;
}

.carousel-dot {
    border: 1px solid var(--pf-ink) !important;
    background: var(--pf-white) !important;
}

.carousel-dot.active {
    background: var(--pf-red) !important;
}

.review-grid,
.review-strip,
.albums-grid,
.artists-grid,
.releases-grid,
.trending-grid,
.nominees-grid,
.categories-grid,
.winners-grid {
    gap: clamp(16px, 2vw, 26px) !important;
    border: 0 !important;
}

.review-card,
.review-tile,
.release-card,
.album-card,
.artist-card,
.panel,
.card,
.stat-card,
.quick-action-card,
.tool-card,
.poster-preview,
.nominee-card,
.category-card,
.winner-card,
.login-container,
.trend-row {
    border: 2px solid var(--pf-ink) !important;
    border-radius: 8px !important;
    background: var(--pf-white) !important;
    box-shadow: 8px 8px 0 rgba(16, 16, 16, 0.08) !important;
}

.review-card,
.review-tile,
.album-card,
.artist-card {
    overflow: hidden !important;
}

.review-card:hover,
.review-tile:hover,
.release-card:hover,
.album-card:hover,
.artist-card:hover,
.nominee-card:hover,
.quick-action-card:hover {
    transform: translateY(-3px) !important;
    background: var(--pf-white) !important;
    box-shadow: 10px 12px 0 rgba(201, 31, 44, 0.16) !important;
}

.album-card,
.artist-card {
    padding: 0 !important;
}

.album-info,
.artist-info,
.card-body,
.review-card-content,
.release-info {
    padding: clamp(14px, 2vw, 22px) !important;
}

.album-cover,
.artist-image,
.track-cover,
.song-cover,
.featured-cover,
.card-cover,
.review-tile-cover,
.cover,
img[class*="cover"] {
    border-radius: 8px !important;
    object-fit: cover !important;
    background: var(--pf-paper-2) !important;
}

.album-card .album-cover,
.artist-card .artist-image,
.review-card .card-cover {
    border-radius: 0 !important;
    border-bottom: 2px solid var(--pf-ink) !important;
}

.track-cell {
    gap: 14px !important;
    min-width: 260px !important;
}

.track-info,
.album-info,
.artist-info,
.card-body {
    min-width: 0 !important;
}

.track-title,
.track-artist,
.track-album,
.album-name,
.artist-name,
.song-name,
.card-title {
    overflow-wrap: anywhere !important;
}

.score,
.review-score,
.small-score,
.review-tile-score {
    border-color: var(--pf-ink) !important;
    background: var(--pf-white) !important;
    color: var(--pf-ink) !important;
}

.score.score-bnm,
.review-score.score-bnm,
.small-score.score-bnm,
.review-tile-score.score-bnm {
    border-color: var(--pf-red) !important;
    color: var(--pf-red) !important;
}

.charts-table,
.data-table,
table {
    width: 100% !important;
    overflow: hidden !important;
    border: 2px solid var(--pf-ink) !important;
    border-radius: 8px !important;
    background: var(--pf-white) !important;
    box-shadow: var(--pf-shadow) !important;
}

.charts-table th,
.data-table th,
table th {
    padding: 14px 16px !important;
    background: var(--pf-ink) !important;
    color: var(--pf-white) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

.charts-table td,
.data-table td,
table td {
    padding: 14px 16px !important;
    border-bottom: 1px solid var(--pf-soft-line) !important;
}

.charts-table tbody tr:hover,
.data-table tbody tr:hover,
table tbody tr:hover {
    background: #f2efe6 !important;
}

.rank-cell,
.rank-number {
    color: var(--pf-red) !important;
}

.new-badge,
.reenter-badge,
.out-badge {
    border-radius: 6px !important;
    font-weight: 900 !important;
}

.new-badge {
    background: var(--pf-green) !important;
}

.reenter-badge {
    background: var(--pf-blue) !important;
}

.out-badge {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #9b9b9b !important;
}

.filters,
.tabs {
    gap: 8px !important;
}

.filter-btn,
.tab {
    margin-right: 0 !important;
    border: 2px solid var(--pf-ink) !important;
    border-radius: 8px !important;
    background: var(--pf-white) !important;
    color: var(--pf-ink) !important;
}

.filter-btn.active,
.filter-btn:hover,
.tab.active,
.tab:hover {
    background: var(--pf-ink) !important;
    color: var(--pf-white) !important;
}

input,
select,
textarea {
    width: 100%;
    border: 2px solid var(--pf-ink) !important;
    border-radius: 8px !important;
    background: var(--pf-white) !important;
    color: var(--pf-ink) !important;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group,
.form-row {
    gap: 10px !important;
}

label {
    color: var(--pf-ink);
    font-weight: 900;
}

.sidebar,
.login-header {
    border-radius: 8px !important;
    background: var(--pf-ink) !important;
}

.sidebar-item,
.sidebar-logout {
    border-radius: 8px !important;
}

.modal,
.toast {
    border: 2px solid var(--pf-ink) !important;
    border-radius: 8px !important;
}

.footer {
    margin-top: clamp(58px, 8vw, 110px) !important;
    padding: 34px 0 44px !important;
    border-top: 2px solid var(--pf-ink) !important;
    background: transparent !important;
}

.footer-content {
    display: grid !important;
    grid-template-columns: minmax(220px, 1fr) minmax(280px, auto) minmax(150px, 0.5fr) !important;
    gap: 28px !important;
    align-items: start !important;
    padding: 26px !important;
    border: 2px solid var(--pf-ink) !important;
    border-radius: 8px !important;
    background: var(--pf-white) !important;
    box-shadow: 8px 8px 0 rgba(16, 16, 16, 0.08) !important;
}

.footer-brand {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
}

.footer-logo {
    display: grid !important;
    place-items: center !important;
    width: 36px !important;
    height: 36px !important;
    border: 2px solid var(--pf-ink) !important;
    border-radius: 8px !important;
    background: var(--pf-red) !important;
    color: var(--pf-white) !important;
    font-weight: 900 !important;
}

.footer-name {
    display: block !important;
    color: var(--pf-ink) !important;
    font-size: clamp(24px, 3vw, 38px) !important;
    font-weight: 900 !important;
    line-height: 0.95 !important;
    text-transform: uppercase !important;
}

.footer-tagline,
.footer-copyright {
    color: var(--pf-muted) !important;
}

.footer-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
}

.footer-link {
    border: 2px solid var(--pf-ink) !important;
    background: var(--pf-white) !important;
}

.footer-link:hover {
    background: var(--pf-ink) !important;
    color: var(--pf-white) !important;
}

.footer-copyright {
    text-align: right !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

@media (max-width: 1180px) {
    .header {
        grid-template-columns: 1fr auto !important;
        grid-template-areas:
            "logo tools"
            "nav nav" !important;
    }

    .logo {
        justify-self: start !important;
    }

    .nav-links {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .search-input {
        width: min(260px, 36vw) !important;
    }
}

@media (max-width: 760px) {
    .header {
        grid-template-columns: 1fr auto !important;
        grid-template-areas:
            "logo tools"
            "nav nav" !important;
        position: sticky !important;
    }

    .header-right {
        justify-self: end !important;
    }

    .hamburger {
        display: flex !important;
    }

    .nav-links {
        display: none !important;
        padding: 12px !important;
        border: 2px solid var(--pf-ink) !important;
        border-radius: 8px !important;
        background: var(--pf-white) !important;
        box-shadow: 8px 8px 0 rgba(16, 16, 16, 0.08) !important;
    }

    .nav-links.open {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .nav-link {
        width: 100% !important;
        text-align: center !important;
    }

    .search-form {
        display: none !important;
    }

    .user-name {
        display: none !important;
    }

    .carousel {
        min-height: 520px !important;
        height: auto !important;
    }

    .carousel-content-wrapper,
    .carousel-content-wrapper.text-right {
        grid-template-columns: 1fr !important;
        align-content: center !important;
        padding: 28px !important;
    }

    .carousel-content-wrapper.text-right .carousel-cover-wrapper {
        order: 0 !important;
    }

    .carousel-cover {
        width: min(76vw, 260px) !important;
    }

    .review-strip,
    .review-grid,
    .albums-grid,
    .artists-grid,
    .releases-grid {
        grid-template-columns: 1fr !important;
    }

    .charts-table,
    .data-table,
    table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
    }

    .footer-links {
        justify-content: flex-start !important;
    }

    .footer-copyright {
        text-align: left !important;
    }
}

@media (max-width: 520px) {
    .app {
        padding: 0 14px !important;
    }

    .logo span:not(.logo-icon) {
        font-size: 24px !important;
    }

    .login-btn {
        padding: 9px 12px !important;
        font-size: 11px !important;
    }

    .nav-links.open {
        grid-template-columns: 1fr !important;
    }

    .page-title,
    .artist-title,
    .album-title,
    .song-title,
    .featured-title,
    .error-code,
    .hero-title,
    .title,
    h1 {
        max-width: 100%;
        font-size: clamp(34px, 14vw, 54px) !important;
    }

    .review-tile {
        grid-template-columns: 72px minmax(0, 1fr) !important;
    }

    .review-tile-score {
        grid-column: 2 !important;
        justify-self: start !important;
    }
}

/* Pitchfork-like editorial pass: structure and typography, not a pixel clone. */
:root {
    --pf-paper: #ffffff;
    --pf-paper-2: #f2f2f2;
    --pf-ink: #000000;
    --pf-muted: #666666;
    --pf-soft: #828282;
    --pf-line: #000000;
    --pf-soft-line: #cccccc;
    --pf-red: #e21b23;
    --pf-blue: #2454ff;
    --pf-green: #0a7a3a;
    --pf-yellow: #ffd400;
    --pf-white: #ffffff;
    --pf-sans: Walfork, Helvetica, Arial, sans-serif;
    --pf-display: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --pf-serif: PTSerif, "PT Serif", Georgia, "Times New Roman", serif;
}

html,
body {
    background: #fff !important;
    color: #000 !important;
}

body {
    font-family: var(--pf-sans) !important;
    line-height: 1.42 !important;
}

body:before {
    content: none !important;
}

.app {
    width: 100% !important;
    max-width: 1600px !important;
    padding: 0 24px !important;
}

.header {
    display: grid !important;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr) !important;
    grid-template-areas:
        "menu logo tools"
        "nav nav nav" !important;
    row-gap: 18px !important;
    column-gap: 24px !important;
    align-items: center !important;
    margin: 0 0 32px !important;
    padding: 18px 0 14px !important;
    border-top: 0 !important;
    border-bottom: 1px solid #000 !important;
    background: #fff !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 900 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.logo {
    grid-area: logo !important;
    justify-self: center !important;
    display: block !important;
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: 72px !important;
    font-weight: 900 !important;
    line-height: 0.82 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
}

.logo-icon {
    display: none !important;
}

.logo span {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.hamburger {
    grid-area: menu !important;
    justify-self: start !important;
    display: inline-flex !important;
    width: 44px !important;
    height: 44px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.hamburger span {
    width: 24px !important;
    height: 2px !important;
    background: #000 !important;
}

.nav-links {
    grid-area: nav !important;
    justify-self: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 22px !important;
    width: 100% !important;
    padding: 12px 0 0 !important;
    border-top: 1px solid #000 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nav-link,
.header-link {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.nav-link:hover,
.nav-link.active,
.header-link:hover,
.header-link.active {
    background: transparent !important;
    color: var(--pf-red) !important;
    text-decoration: underline !important;
}

.header-right {
    grid-area: tools !important;
    justify-self: end !important;
}

.search-input {
    width: 210px !important;
    height: 36px !important;
    padding: 0 10px 0 36px !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

.search-input:focus,
input:focus,
select:focus,
textarea:focus {
    box-shadow: inset 0 0 0 1px #000 !important;
}

.login-btn,
.btn,
.btn-primary,
.btn-secondary,
.action-btn,
.error-button,
button:not(.hamburger):not(.carousel-dot) {
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    background: #000 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

.btn-secondary {
    background: #fff !important;
    color: #000 !important;
}

.login-btn:hover,
.btn:hover,
.btn-primary:hover,
.action-btn:hover,
.error-button:hover {
    background: #fff !important;
    color: #000 !important;
}

.page-header,
.reviews-head,
.releases-head,
.trend-head,
.album-header,
.artist-header,
.song-header,
.awards-hero,
.error-container,
.editorial-section,
.featured,
.review-layout,
.reviews-shell {
    border-top: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    padding: 24px 0 !important;
    margin-bottom: 32px !important;
    background: #fff !important;
}

.page-title,
.artist-title,
.album-title,
.song-title,
.featured-title,
.carousel-title,
.error-code,
.hero-title,
.title,
h1,
h2,
h3,
.album-name,
.artist-name,
.track-title,
.song-name,
.card-title,
.review-tile-title {
    font-family: var(--pf-display) !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.page-title,
.artist-title,
.album-title,
.song-title,
.error-code,
.hero-title,
.title,
h1 {
    max-width: 940px !important;
    font-size: 64px !important;
    line-height: 0.95 !important;
}

.featured-title,
.carousel-title {
    font-size: 58px !important;
    line-height: 0.96 !important;
}

.page-subtitle,
.deck,
.subtitle,
.carousel-description,
.card-excerpt,
.review-body,
.review-content,
article p {
    color: #1a1a1a !important;
    font-family: var(--pf-serif) !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
}

.page-date,
.album-meta,
.artist-stats,
.song-album,
.meta,
.review-tile-meta,
.footer-tagline,
.footer-copyright {
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

.section-title,
.kicker,
.album-type,
.artist-type,
.song-type,
.review-tile-kicker,
.carousel-tag,
.badge,
.type,
.stat-label {
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.section-heading {
    align-items: center !important;
    border-bottom: 1px solid #000 !important;
    margin-bottom: 24px !important;
    padding-bottom: 12px !important;
}

.section-title:before {
    content: none !important;
}

.carousel {
    height: 560px !important;
    min-height: 0 !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.carousel-content-wrapper,
.carousel-content-wrapper.text-right {
    display: grid !important;
    grid-template-columns: minmax(260px, 38%) minmax(0, 1fr) !important;
    gap: 42px !important;
    align-items: center !important;
    padding: 42px !important;
}

.carousel-content-wrapper.text-right .carousel-cover-wrapper {
    order: 2 !important;
}

.carousel-cover {
    width: 100% !important;
    max-width: 420px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: cover !important;
}

.carousel-tag {
    display: inline-block !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
    background: transparent !important;
    color: #000 !important;
}

.carousel-btn,
.section-link {
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    background: #000 !important;
    color: #fff !important;
    padding: 12px 16px !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
}

.carousel-btn:hover,
.section-link:hover {
    background: #fff !important;
    color: #000 !important;
}

.carousel-arrow {
    width: 42px !important;
    height: 42px !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.carousel-dot {
    width: 8px !important;
    height: 8px !important;
    border: 1px solid #000 !important;
    border-radius: 50% !important;
    background: #fff !important;
}

.carousel-dot.active {
    width: 8px !important;
    background: #000 !important;
}

.review-grid,
.review-strip,
.albums-grid,
.artists-grid,
.releases-grid,
.trending-grid,
.nominees-grid,
.categories-grid,
.winners-grid {
    gap: 0 !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
}

.review-card,
.review-tile,
.release-card,
.album-card,
.artist-card,
.panel,
.card,
.stat-card,
.quick-action-card,
.tool-card,
.poster-preview,
.nominee-card,
.category-card,
.winner-card,
.login-container,
.trend-row {
    border: 0 !important;
    border-right: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.review-card:hover,
.review-tile:hover,
.release-card:hover,
.album-card:hover,
.artist-card:hover,
.nominee-card:hover,
.quick-action-card:hover {
    transform: none !important;
    background: #f5f5f5 !important;
    box-shadow: none !important;
}

.album-info,
.artist-info,
.card-body,
.review-card-content,
.release-info {
    padding: 18px !important;
}

.album-cover,
.artist-image,
.track-cover,
.song-cover,
.featured-cover,
.card-cover,
.review-tile-cover,
.cover,
img[class*="cover"] {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.album-card .album-cover,
.artist-card .artist-image,
.review-card .card-cover {
    border-bottom: 1px solid #000 !important;
}

.review-tile {
    grid-template-columns: 108px minmax(0, 1fr) auto !important;
    gap: 16px !important;
    padding: 16px !important;
}

.charts-table,
.data-table,
table {
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    border-collapse: collapse !important;
    background: #fff !important;
    box-shadow: none !important;
}

.charts-table th,
.data-table th,
table th {
    padding: 12px 14px !important;
    border-bottom: 1px solid #000 !important;
    background: #fff !important;
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.charts-table td,
.data-table td,
table td {
    padding: 14px !important;
    border-bottom: 1px solid #ccc !important;
}

.charts-table tbody tr:hover,
.data-table tbody tr:hover,
table tbody tr:hover {
    background: #f5f5f5 !important;
}

.rank-cell,
.rank-number {
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: 22px !important;
}

.score,
.review-score,
.small-score,
.review-tile-score {
    border: 2px solid #000 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #000 !important;
    font-family: var(--pf-display) !important;
    box-shadow: none !important;
}

.filters,
.tabs {
    gap: 0 !important;
}

.filter-btn,
.tab {
    margin-right: -1px !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.filter-btn.active,
.filter-btn:hover,
.tab.active,
.tab:hover {
    background: #000 !important;
    color: #fff !important;
}

input,
select,
textarea {
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #000 !important;
    font-family: var(--pf-sans) !important;
}

.sidebar,
.login-header,
.modal,
.toast {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.footer {
    margin-top: 72px !important;
    padding: 0 0 40px !important;
    border-top: 1px solid #000 !important;
    background: #fff !important;
}

.footer-content {
    display: grid !important;
    grid-template-columns: minmax(240px, 1fr) minmax(300px, auto) minmax(160px, 0.5fr) !important;
    gap: 24px !important;
    align-items: start !important;
    padding: 28px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.footer-logo {
    display: none !important;
}

.footer-name {
    font-family: var(--pf-display) !important;
    font-size: 42px !important;
    font-weight: 900 !important;
    line-height: 0.9 !important;
}

.footer-links {
    justify-content: center !important;
    gap: 18px !important;
}

.footer-link {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

.footer-link:hover {
    background: transparent !important;
    color: var(--pf-red) !important;
    text-decoration: underline !important;
}

.footer-copyright {
    text-align: right !important;
}

@media (max-width: 980px) {
    .app {
        padding: 0 18px !important;
    }

    .header {
        grid-template-columns: 48px 1fr auto !important;
        grid-template-areas:
            "menu logo tools"
            "nav nav nav" !important;
        column-gap: 12px !important;
    }

    .logo {
        font-size: 46px !important;
    }

    .nav-links {
        display: none !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        justify-items: start !important;
        gap: 14px 22px !important;
        padding: 16px 0 4px !important;
    }

    .nav-links.open {
        display: grid !important;
    }

    .search-form {
        display: none !important;
    }

    .carousel {
        height: auto !important;
        min-height: 0 !important;
    }

    .carousel-content-wrapper,
    .carousel-content-wrapper.text-right {
        grid-template-columns: 1fr !important;
        padding: 24px !important;
    }

    .carousel-content-wrapper.text-right .carousel-cover-wrapper {
        order: 0 !important;
    }

    .carousel-cover {
        max-width: 100% !important;
    }

    .page-title,
    .artist-title,
    .album-title,
    .song-title,
    .error-code,
    .hero-title,
    .title,
    h1 {
        font-size: 44px !important;
    }

    .featured-title,
    .carousel-title {
        font-size: 40px !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
    }

    .footer-links {
        justify-content: flex-start !important;
    }

    .footer-copyright {
        text-align: left !important;
    }
}

@media (max-width: 560px) {
    .app {
        padding: 0 14px !important;
    }

    .header {
        grid-template-columns: 40px 1fr auto !important;
    }

    .logo {
        font-size: 34px !important;
        justify-self: center !important;
    }

    .login-btn {
        padding: 8px 10px !important;
        font-size: 11px !important;
    }

    .nav-links.open {
        grid-template-columns: 1fr !important;
    }

    .review-tile {
        grid-template-columns: 82px minmax(0, 1fr) !important;
    }

    .review-tile-score {
        grid-column: 2 !important;
        justify-self: start !important;
    }

    .page-title,
    .artist-title,
    .album-title,
    .song-title,
    .error-code,
    .hero-title,
    .title,
    h1 {
        font-size: 36px !important;
    }
}

/* Chart state and review-score marks. */
.reenter-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 6px !important;
    padding: 4px 7px !important;
    border: 1px solid #000 !important;
    border-left: 5px solid var(--pf-red) !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.reenter-badge:before {
    content: "" !important;
    width: 8px !important;
    height: 8px !important;
    border-top: 2px solid var(--pf-red) !important;
    border-left: 2px solid var(--pf-red) !important;
    transform: rotate(-45deg) !important;
}

.pf-score-stamp,
.score,
.review-score,
.small-score,
.review-tile-score {
    --score-size: 96px;
    --score-ring: calc(var(--score-size) * 0.8);
    --score-ring-stroke: calc(var(--score-size) * 0.05);
    width: var(--score-size) !important;
    height: var(--score-size) !important;
    min-width: var(--score-size) !important;
    min-height: var(--score-size) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #000 !important;
    display: grid !important;
    place-items: center !important;
    position: relative !important;
    z-index: 0 !important;
    padding-top: calc(var(--score-size) * 0.2) !important;
    box-sizing: border-box !important;
    font-family: var(--pf-sans) !important;
    font-size: calc((var(--score-ring) - (var(--score-ring-stroke) * 2)) * 0.45) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transform: none !important;
}

.pf-score-stamp {
    --score-size: 132px;
}

.small-score,
.review-tile-score {
    --score-size: 58px;
}

.pf-score-stamp:after,
.score:after,
.review-score:after,
.small-score:after,
.review-tile-score:after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 60% !important;
    width: var(--score-ring) !important;
    height: var(--score-ring) !important;
    border: var(--score-ring-stroke) solid currentColor !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    transform: translate(-50%, -50%) !important;
    z-index: -1 !important;
}

.pf-score-stamp:before,
.score:before,
.review-score:before,
.small-score:before,
.review-tile-score:before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: calc(20% - (var(--score-size) * 0.18)) !important;
    width: calc(var(--score-size) * 0.54) !important;
    height: calc(var(--score-size) * 0.18) !important;
    transform: translateX(-50%) !important;
    background: currentColor !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 18'%3E%3Cpath d='M27 0 20 7h4v11h6V7h4zM12 6l-6 10h12zM42 6l-6 10h12z' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 18'%3E%3Cpath d='M27 0 20 7h4v11h6V7h4zM12 6l-6 10h12zM42 6l-6 10h12z' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat !important;
    display: none !important;
    z-index: -1 !important;
}

.pf-score-stamp.is-bnm,
.score.score-bnm,
.review-score.score-bnm,
.small-score.score-bnm,
.review-tile-score.score-bnm {
    color: var(--pf-red) !important;
}

.pf-score-stamp.is-bnm:before,
.score.score-bnm:before,
.review-score.score-bnm:before,
.small-score.score-bnm:before,
.review-tile-score.score-bnm:before {
    display: block !important;
}

@media (max-width: 560px) {
    .pf-score-stamp {
        --score-size: 104px;
    }
}

/* Song detail page refinement. */
.song-page {
    --song-rule: #000;
    --song-muted: #6f6f6f;
    --song-paper: #fff;
    max-width: 1240px !important;
    padding-inline: clamp(18px, 3vw, 32px) !important;
}

.song-page .song-header {
    display: grid !important;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr) !important;
    gap: clamp(26px, 3vw, 38px) !important;
    align-items: center !important;
    justify-content: start !important;
    max-width: 1040px !important;
    margin: 0 auto 34px !important;
    padding: 28px 0 42px !important;
    border-bottom: 1px solid var(--song-rule) !important;
}

.song-page .song-cover {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    border: 1px solid var(--song-rule) !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    box-shadow: none !important;
}

.song-page .song-info {
    display: grid !important;
    align-content: center !important;
    justify-items: start !important;
    gap: 10px !important;
    min-width: 0 !important;
}

.song-page .song-type {
    margin: 0 !important;
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
}

.song-page .song-title {
    max-width: 760px !important;
    margin: 0 !important;
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(40px, 5vw, 76px) !important;
    font-weight: 800 !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
}

.song-page .song-artist {
    margin: 2px 0 0 !important;
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(21px, 2vw, 30px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.song-page .song-artist a,
.song-page .song-album a {
    color: inherit !important;
    text-decoration: none !important;
}

.song-page .song-artist a:hover,
.song-page .song-album a:hover {
    color: var(--pf-red) !important;
    text-decoration: underline !important;
}

.song-page .song-album {
    max-width: 760px !important;
    color: var(--song-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

.song-page .song-hero-metrics {
    display: none !important;
    grid-template-columns: repeat(2, minmax(120px, 180px)) !important;
    gap: 0 !important;
    width: fit-content !important;
    margin-top: 10px !important;
    border-top: 1px solid var(--song-rule) !important;
    border-left: 1px solid var(--song-rule) !important;
}

.song-page .song-hero-metrics > div {
    min-height: 72px !important;
    padding: 12px 14px !important;
    border-right: 1px solid var(--song-rule) !important;
    border-bottom: 1px solid var(--song-rule) !important;
    background: #fff !important;
}

.song-page .song-hero-metrics span {
    display: block !important;
    margin-bottom: 10px !important;
    color: var(--song-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.song-page .song-hero-metrics strong {
    display: block !important;
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(22px, 2.2vw, 32px) !important;
    line-height: 1 !important;
}

.song-page .song-watch-link {
    width: fit-content !important;
    margin-top: 4px !important;
    padding: 11px 14px !important;
    border: 2px solid #000 !important;
    background: #000 !important;
    color: #fff !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
}

.song-page .song-watch-link:hover {
    background: #fff !important;
    color: #000 !important;
}

.song-page .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    max-width: 1040px !important;
    margin: 0 auto clamp(28px, 4vw, 52px) !important;
    border-top: 1px solid var(--song-rule) !important;
    border-left: 1px solid var(--song-rule) !important;
}

.song-page .stat-card {
    min-width: 0 !important;
    min-height: 92px !important;
    padding: 14px !important;
    border: 0 !important;
    border-right: 1px solid var(--song-rule) !important;
    border-bottom: 1px solid var(--song-rule) !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.song-page .stat-label {
    margin: 0 0 14px !important;
    color: var(--song-muted) !important;
}

.song-page .stat-value {
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(25px, 2.8vw, 36px) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.song-page .song-analytics-section {
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: clamp(28px, 4vw, 52px) !important;
    padding-top: 18px !important;
    border-top: 1px solid var(--song-rule) !important;
}

.song-page .song-section-heading {
    display: grid !important;
    grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: end !important;
    margin-bottom: 18px !important;
}

.song-page .song-section-heading .section-title {
    margin: 0 !important;
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
}

.song-page .song-section-heading p {
    margin: 0 !important;
    color: var(--song-muted) !important;
    font-family: var(--pf-serif) !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
}

.song-page .info-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border-top: 1px solid var(--song-rule) !important;
    border-left: 1px solid var(--song-rule) !important;
}

.song-page .info-item {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-content: space-between !important;
    gap: 18px !important;
    min-height: 94px !important;
    padding: 16px !important;
    border-right: 1px solid var(--song-rule) !important;
    border-bottom: 1px solid var(--song-rule) !important;
    border-radius: 0 !important;
    background: #fff !important;
}

.song-page .info-label {
    color: var(--song-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.song-page .info-value {
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
}

.song-page .song-chart-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.song-page .chart-section {
    margin: 0 !important;
}

.song-page .realtime-rank-card {
    grid-column: 1 / -1 !important;
}

.song-page .chart-container {
    min-width: 0 !important;
    min-height: 300px !important;
    padding: 16px !important;
    border: 1px solid var(--song-rule) !important;
    border-radius: 0 !important;
    background: #fff !important;
}

.song-page .chart-header {
    margin-bottom: 22px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--song-rule) !important;
}

.song-page .chart-title {
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.song-page .chart-legend {
    color: var(--song-muted) !important;
    font-size: 12px !important;
}

.song-page .chart-wrapper {
    height: 230px !important;
}

.song-page .chart-tooltip {
    border-radius: 0 !important;
    background: #000 !important;
    color: #fff !important;
    font-family: var(--pf-sans) !important;
}

.song-page .no-data-message {
    display: grid !important;
    min-height: 230px !important;
    place-items: center !important;
    padding: 24px !important;
    color: var(--song-muted) !important;
    font-family: var(--pf-serif) !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

@media (max-width: 980px) {
    .song-page .song-header,
    .song-page .song-section-heading {
        grid-template-columns: 1fr !important;
    }

    .song-page .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 820px) {
    .song-page .song-chart-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 560px) {
    .song-page .song-header {
        gap: 22px !important;
        text-align: left !important;
    }

    .song-page .song-cover {
        max-width: 260px !important;
    }

    .song-page .song-hero-metrics,
    .song-page .stats-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
}

/* Album detail page refinement. */
.album-detail-page {
    max-width: 1240px !important;
    padding-inline: clamp(18px, 3vw, 32px) !important;
}

.album-detail-page .album-pf-hero,
.album-detail-page .album-pf-details {
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.album-detail-page .album-pf-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 340px) !important;
    gap: clamp(28px, 4vw, 48px) !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 28px 0 42px !important;
    border-bottom: 1px solid #000 !important;
    margin-bottom: 34px !important;
}

.album-detail-page .album-pf-hero > div:first-child {
    min-width: 0 !important;
}

.album-detail-page .pf-kicker {
    margin: 0 0 14px !important;
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
}

.album-detail-page .album-pf-title {
    max-width: 720px !important;
    margin: 0 0 18px !important;
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(40px, 5vw, 76px) !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
}

.album-detail-page .album-pf-artist {
    display: inline-block !important;
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(21px, 2vw, 30px) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
}

.album-detail-page .album-pf-artist:hover {
    color: var(--pf-red) !important;
    text-decoration: underline !important;
}

.album-detail-page .album-pf-year {
    margin-top: 18px !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.album-detail-page .album-cover-stage {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    border: 1px solid #000 !important;
    background: #fff !important;
    display: block !important;
    overflow: hidden !important;
}

.album-detail-page .album-cover-stage img,
.album-detail-page .pf-cover-fallback {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: none !important;
}

.album-detail-page .album-pf-details {
    margin-top: 0 !important;
}

.album-detail-page .album-pf-meta {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 0 24px !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
}

.album-detail-page .album-pf-meta > div {
    min-height: 76px !important;
    padding: 14px !important;
    border-right: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.album-detail-page .album-pf-meta span {
    display: block !important;
    margin: 14px 0 0 !important;
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
    text-transform: none !important;
    overflow-wrap: anywhere !important;
}

.album-detail-page .album-pf-stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 0 34px !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
}

.album-detail-page .album-pf-stats > div {
    min-width: 0 !important;
    min-height: 92px !important;
    padding: 14px !important;
    border-right: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
}

.album-detail-page .album-pf-stat-value {
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(25px, 2.8vw, 36px) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.album-detail-page .album-pf-stat-label {
    margin-top: 12px !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.album-detail-page .album-pf-review {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) auto !important;
    gap: 18px !important;
    align-items: center !important;
    margin: 0 0 34px !important;
    padding: 20px 0 !important;
    border-top: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    color: inherit !important;
    text-decoration: none !important;
}

.album-detail-page .review-title {
    margin: 0 0 8px !important;
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(24px, 3vw, 36px) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
}

.album-detail-page .review-deck {
    margin: 0 !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-serif) !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
}

.album-detail-page .review-link {
    white-space: nowrap !important;
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.album-detail-page .album-pf-tracks {
    max-width: none !important;
    margin: 0 !important;
}

.album-detail-page .charts-table {
    width: 100% !important;
    border: 1px solid #000 !important;
    border-collapse: collapse !important;
    box-shadow: none !important;
}

.album-detail-page .track-cell {
    min-width: 0 !important;
}

.album-detail-page .track-title,
.album-detail-page .track-artist {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.album-detail-page .copyright-section {
    margin-top: 28px !important;
    padding-top: 16px !important;
    border-top: 1px solid #000 !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    line-height: 1.7 !important;
}

@media (max-width: 980px) {
    .album-detail-page .album-pf-hero,
    .album-detail-page .album-pf-review {
        grid-template-columns: 1fr !important;
    }

    .album-detail-page .album-cover-stage {
        max-width: 360px !important;
    }

    .album-detail-page .album-pf-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    .album-detail-page .album-pf-meta,
    .album-detail-page .album-pf-stats {
        grid-template-columns: 1fr !important;
    }
}

/* Critic profile page. */
.critic-page {
    max-width: 1240px !important;
    padding-inline: clamp(18px, 3vw, 32px) !important;
}

.critic-page .critic-hero,
.critic-page .critic-review-list {
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.critic-hero {
    display: grid !important;
    grid-template-columns: 160px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: center !important;
    padding: 28px 0 42px !important;
    border-bottom: 1px solid #000 !important;
    margin-bottom: 34px !important;
}

.critic-hero-avatar {
    width: 160px !important;
    height: 160px !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    background: #fff !important;
}

.critic-hero-name {
    margin: 0 0 14px !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(42px, 5vw, 76px) !important;
    line-height: 0.98 !important;
}

.critic-hero-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 16px !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.critic-hero-bio {
    max-width: 720px !important;
    margin: 18px 0 0 !important;
    font-family: var(--pf-serif) !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
}

.critic-website {
    display: inline-flex !important;
    margin-top: 18px !important;
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.critic-section-title {
    padding: 0 0 14px !important;
    border-bottom: 1px solid #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.critic-review-row {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) 72px !important;
    gap: 18px !important;
    align-items: center !important;
    padding: 18px 0 !important;
    border-bottom: 1px solid #000 !important;
    color: inherit !important;
    text-decoration: none !important;
}

.critic-review-row img,
.critic-review-row > div:first-child {
    width: 112px !important;
    aspect-ratio: 1 !important;
    object-fit: cover !important;
    background: #fff !important;
    border: 1px solid #000 !important;
}

.critic-review-row h2 {
    margin: 4px 0 8px !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(24px, 3vw, 36px) !important;
    line-height: 1.05 !important;
}

.critic-review-row p {
    margin: 0 !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-serif) !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.critic-review-kicker {
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.critic-empty {
    padding: 32px 0 !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-serif) !important;
}

@media (max-width: 760px) {
    .critic-hero,
    .critic-review-row {
        grid-template-columns: 1fr !important;
    }
}

/* Reviews index refinement. */
.reviews-page {
    max-width: 1240px !important;
    padding-inline: clamp(18px, 3vw, 32px) !important;
}

.reviews-page .reviews-shell {
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 0 !important;
    border-top: 1px solid #000 !important;
    border-bottom: 0 !important;
}

.reviews-page .reviews-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(220px, auto) !important;
    gap: 28px !important;
    align-items: end !important;
    margin-bottom: 0 !important;
    padding: 32px 0 28px !important;
    border-top: 0 !important;
    border-bottom: 1px solid #000 !important;
}

.reviews-page .page-title {
    max-width: 860px !important;
    margin: 0 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(42px, 6vw, 82px) !important;
    font-weight: 800 !important;
    line-height: 0.94 !important;
    letter-spacing: 0 !important;
}

.reviews-page .page-subtitle,
.reviews-page .deck,
.reviews-page .card-excerpt {
    font-family: var(--pf-serif) !important;
    color: var(--pf-muted) !important;
}

.reviews-page .tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}

.reviews-page .tab {
    border-radius: 0 !important;
    padding: 9px 12px !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    background: #fff !important;
    font-family: var(--pf-sans) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
}

.reviews-page .tab.active,
.reviews-page .tab:hover {
    background: #000 !important;
    color: #fff !important;
}

.reviews-page .reviews-featured {
    display: grid !important;
    grid-template-columns: minmax(220px, 360px) minmax(0, 1fr) 112px !important;
    gap: clamp(22px, 3vw, 36px) !important;
    align-items: center !important;
    padding: 34px 0 !important;
    border-bottom: 1px solid #000 !important;
    color: #000 !important;
}

.reviews-page .reviews-featured-cover,
.reviews-page .card-cover {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 !important;
    border: 1px solid #000 !important;
    background: #fff !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

.reviews-page .reviews-featured-cover img,
.reviews-page .reviews-featured-cover span,
.reviews-page .card-cover img,
.reviews-page .card-cover span {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    background: #fff !important;
}

.reviews-page .reviews-featured-copy {
    min-width: 0 !important;
}

.reviews-page .featured-title {
    margin: 12px 0 !important;
    max-width: 760px !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(34px, 4.2vw, 58px) !important;
    font-weight: 800 !important;
    line-height: 0.98 !important;
}

.reviews-page .featured-title a,
.reviews-page .card-title a,
.reviews-page .meta a,
.reviews-page .score,
.reviews-page .small-score {
    color: inherit !important;
    text-decoration: none !important;
}

.reviews-page .featured-title a:hover,
.reviews-page .card-title a:hover,
.reviews-page .meta a:hover {
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.reviews-page .album-name,
.reviews-page .artist-name {
    overflow-wrap: anywhere !important;
}

.reviews-page .album-name {
    font-size: 15px !important;
    font-weight: 800 !important;
}

.reviews-page .artist-name {
    margin-top: 5px !important;
    color: var(--pf-muted) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.reviews-page .meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 14px !important;
    align-items: center !important;
    margin-top: 18px !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
}

.reviews-page .bnm-badge {
    color: var(--pf-red) !important;
    background: transparent !important;
}

.reviews-page .score,
.reviews-page .small-score {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 auto !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #fff !important;
    font-family: var(--pf-display) !important;
    font-weight: 800 !important;
}

.reviews-page .score {
    width: 96px !important;
    height: 96px !important;
    justify-self: end !important;
    font-size: 32px !important;
}

.reviews-page .small-score {
    width: 52px !important;
    height: 52px !important;
    font-size: 16px !important;
}

.reviews-page .score.score-bnm,
.reviews-page .small-score.score-bnm {
    color: var(--pf-red) !important;
    border-color: var(--pf-red) !important;
    border-width: 0 !important;
}

.reviews-page .score.score-bnm:before,
.reviews-page .small-score.score-bnm:before {
    content: "" !important;
    display: block !important;
}

.reviews-page .review-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border-top: 0 !important;
    border-left: 1px solid #000 !important;
}

.reviews-page .reviews-card {
    min-width: 0 !important;
    min-height: 340px !important;
    display: grid !important;
    grid-template-rows: auto auto 1fr auto !important;
    gap: 14px !important;
    padding: 20px !important;
    border-right: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    background: #fff !important;
}

.reviews-page .reviews-card:hover {
    background: #f7f7f7 !important;
}

.reviews-page .card-top {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) 52px !important;
    gap: 14px !important;
    align-items: start !important;
}

.reviews-page .card-title {
    margin: 0 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(22px, 2.3vw, 30px) !important;
    font-weight: 800 !important;
    line-height: 1.04 !important;
}

.reviews-page .card-excerpt {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

@media (max-width: 980px) {
    .reviews-page .reviews-head,
    .reviews-page .reviews-featured {
        grid-template-columns: 1fr !important;
    }

    .reviews-page .tabs {
        justify-content: flex-start !important;
    }

    .reviews-page .score {
        justify-self: start !important;
    }

    .reviews-page .review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .reviews-page .review-grid {
        grid-template-columns: 1fr !important;
    }

    .reviews-page .reviews-card {
        min-height: 0 !important;
        padding: 18px 0 !important;
        border-right: 0 !important;
    }

    .reviews-page .card-top {
        grid-template-columns: 76px minmax(0, 1fr) 48px !important;
    }
}

/* Artist detail page refinement. */
.artist-detail-page {
    max-width: 1240px !important;
    padding-inline: clamp(18px, 3vw, 32px) !important;
}

.artist-detail-page .artist-header,
.artist-detail-page .artist-section {
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.artist-detail-page .artist-header {
    display: grid !important;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr) !important;
    gap: clamp(26px, 4vw, 54px) !important;
    align-items: end !important;
    margin-bottom: 0 !important;
    padding: 34px 0 42px !important;
    border-top: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    text-align: left !important;
}

.artist-detail-page .artist-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
    background: #fff !important;
}

.artist-detail-page .artist-image img,
.artist-detail-page .artist-image-fallback {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    object-fit: cover !important;
    background: #fff !important;
}

.artist-detail-page .artist-image-fallback {
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(70px, 12vw, 160px) !important;
    font-weight: 800 !important;
}

.artist-detail-page .artist-info {
    min-width: 0 !important;
    display: block !important;
    padding: 0 !important;
}

.artist-detail-page .artist-type {
    margin: 0 0 14px !important;
    color: var(--pf-red) !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.artist-detail-page .artist-title {
    max-width: 900px !important;
    margin: 0 0 28px !important;
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(46px, 7vw, 96px) !important;
    font-weight: 800 !important;
    line-height: 0.92 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
}

.artist-detail-page .artist-stats {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
}

.artist-detail-page .stat-item {
    min-width: 0 !important;
    min-height: 118px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 16px !important;
    border-right: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
}

.artist-detail-page .stat-value {
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums !important;
    line-height: 0.98 !important;
    text-align: right !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    white-space: nowrap !important;
}

.artist-detail-page .stat-label {
    margin-top: 0 !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    text-align: right !important;
    text-transform: uppercase !important;
}

.artist-detail-page .artist-section {
    padding: 34px 0 0 !important;
}

.artist-detail-page .section-title {
    margin: 0 0 16px !important;
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.artist-detail-page .albums-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
}

.artist-detail-page .album-item {
    min-width: 0 !important;
    padding: 16px !important;
    color: #000 !important;
    border-right: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    text-decoration: none !important;
}

.artist-detail-page .album-item:hover {
    background: #f7f7f7 !important;
}

.artist-detail-page .album-cover-grid {
    width: 100% !important;
    aspect-ratio: 1 !important;
    margin: 0 0 12px !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
    background: #fff !important;
}

.artist-detail-page .album-cover-grid img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.artist-detail-page .album-name-grid {
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
}

.artist-detail-page .artist-table-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
}

.artist-detail-page .charts-table {
    min-width: 760px !important;
    width: 100% !important;
    border-collapse: collapse !important;
}

.artist-detail-page .charts-table thead {
    position: static !important;
}

.artist-detail-page .charts-table th,
.artist-detail-page .charts-table td {
    border-right: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    background: #fff !important;
}

.artist-detail-page .charts-table th {
    padding: 13px 14px !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.artist-detail-page .charts-table td {
    padding: 12px 14px !important;
}

.artist-detail-page .charts-table tbody tr:hover td {
    background: #f7f7f7 !important;
}

.artist-detail-page .rank-cell,
.artist-detail-page .streak-cell,
.artist-detail-page .streams-cell {
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-weight: 800 !important;
}

.artist-detail-page .track-cell {
    min-width: 320px !important;
}

.artist-detail-page .track-cover {
    width: 58px !important;
    height: 58px !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
}

.artist-detail-page .track-title {
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
}

.artist-detail-page .track-title:hover {
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.artist-detail-page .track-artist,
.artist-detail-page .streams-label {
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
}

@media (max-width: 980px) {
    .artist-detail-page .artist-header {
        grid-template-columns: 1fr !important;
        align-items: start !important;
    }

    .artist-detail-page .artist-image {
        max-width: 360px !important;
    }

    .artist-detail-page .albums-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .artist-detail-page .artist-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .artist-detail-page .stat-value {
        font-size: clamp(23px, 5.8vw, 38px) !important;
    }
}

@media (max-width: 560px) {
    .artist-detail-page .artist-stats,
    .artist-detail-page .albums-grid {
        grid-template-columns: 1fr !important;
    }

    .artist-detail-page .artist-section {
        padding-top: 28px !important;
    }
}

/* Global table stability. */
.table-scroll,
.artist-table-wrap,
.album-pf-tracks,
.card-body:has(> table) {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
}

.table-scroll {
    border-left: 1px solid #000 !important;
    border-top: 1px solid #000 !important;
}

.charts-table,
.data-table,
.songs-table {
    width: 100% !important;
    table-layout: auto !important;
    border-collapse: collapse !important;
}

.chart-table-main,
.chart-table-history,
.chart-table-album,
.chart-table-artist,
.chart-table-search {
    table-layout: fixed !important;
}

.table-scroll > .charts-table,
.table-scroll > .songs-table,
.artist-table-wrap > .charts-table,
.album-pf-tracks > .charts-table {
    min-width: 760px !important;
    width: 100% !important;
    border-left: 0 !important;
    border-top: 0 !important;
}

.data-table {
    min-width: 760px !important;
}

.chart-table-main th:nth-child(1),
.chart-table-main td:nth-child(1) {
    width: 96px !important;
}

.chart-table-main th:nth-child(2),
.chart-table-main td:nth-child(2) {
    width: auto !important;
}

.chart-table-main th:nth-child(3),
.chart-table-main td:nth-child(3),
.chart-table-main th:nth-child(4),
.chart-table-main td:nth-child(4) {
    width: 112px !important;
}

.chart-table-main th:nth-child(5),
.chart-table-main td:nth-child(5) {
    width: 150px !important;
}

.chart-table-history th:nth-child(1),
.chart-table-history td:nth-child(1) {
    width: 96px !important;
}

.chart-table-history th:nth-child(2),
.chart-table-history td:nth-child(2) {
    width: auto !important;
}

.chart-table-history th:nth-child(3),
.chart-table-history td:nth-child(3),
.chart-table-history th:nth-child(4),
.chart-table-history td:nth-child(4),
.chart-table-history th:nth-child(5),
.chart-table-history td:nth-child(5) {
    width: 108px !important;
}

.chart-table-history th:nth-child(6),
.chart-table-history td:nth-child(6) {
    width: 150px !important;
}

.chart-table-album th:nth-child(1),
.chart-table-album td:nth-child(1),
.chart-table-search th:nth-child(1),
.chart-table-search td:nth-child(1) {
    width: 84px !important;
}

.chart-table-album th:nth-child(2),
.chart-table-album td:nth-child(2),
.chart-table-search th:nth-child(2),
.chart-table-search td:nth-child(2) {
    width: auto !important;
}

.chart-table-album th:nth-child(3),
.chart-table-album td:nth-child(3),
.chart-table-album th:nth-child(4),
.chart-table-album td:nth-child(4),
.chart-table-search th:nth-child(3),
.chart-table-search td:nth-child(3),
.chart-table-search th:nth-child(4),
.chart-table-search td:nth-child(4) {
    width: 148px !important;
}

.chart-table-artist th:nth-child(1),
.chart-table-artist td:nth-child(1) {
    width: 84px !important;
}

.chart-table-artist th:nth-child(2),
.chart-table-artist td:nth-child(2) {
    width: auto !important;
}

.chart-table-artist th:nth-child(3),
.chart-table-artist td:nth-child(3) {
    width: 108px !important;
}

.chart-table-artist th:nth-child(4),
.chart-table-artist td:nth-child(4),
.chart-table-artist th:nth-child(5),
.chart-table-artist td:nth-child(5) {
    width: 150px !important;
}

.charts-table th,
.charts-table td,
.data-table th,
.data-table td,
.songs-table th,
.songs-table td {
    vertical-align: middle !important;
    overflow: hidden !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.track-cell,
.cell-with-img {
    min-width: 0 !important;
    max-width: none !important;
}

.charts-table td.track-cell {
    display: table-cell !important;
}

.charts-table .track-cell-inner,
.songs-table .track-cell {
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: center !important;
}

.data-table .cell-with-img {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
}

.track-info,
.track-cell > div,
.cell-with-img > div {
    min-width: 0 !important;
}

.track-title,
.track-artist,
.track-album,
.track-name,
.cell-title,
.cell-subtitle {
    display: block !important;
    max-width: min(42vw, 520px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.track-cover,
.img-thumb,
.charts-table img,
.data-table img,
.songs-table img {
    max-width: 64px !important;
    flex: 0 0 auto !important;
    object-fit: cover !important;
}

.charts-table .track-cover,
.songs-table .track-cover {
    width: 56px !important;
    height: 56px !important;
}

.data-table .img-thumb {
    width: 44px !important;
    height: 44px !important;
}

.charts-table .peak-cell,
.charts-table .prev-cell,
.charts-table .streak-cell,
.charts-table .streams-cell,
.songs-table .streams-val {
    text-align: right !important;
}

.charts-table .rank-cell,
.songs-table .rank-num {
    text-align: center !important;
}

@media (max-width: 760px) {
    .table-scroll > .charts-table,
    .table-scroll > .data-table,
    .table-scroll > .songs-table,
    .artist-table-wrap > .charts-table,
    .album-pf-tracks > .charts-table {
        min-width: 680px !important;
    }
}

/* Trending and release calendar refinement. */
.trending-page,
.releases-page {
    max-width: 1240px !important;
    padding-inline: clamp(18px, 3vw, 32px) !important;
}

.trending-page main,
.releases-page main {
    max-width: 1040px !important;
    margin-inline: auto !important;
}

.trending-page .hero,
.releases-page .hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 26px !important;
    align-items: end !important;
    padding: 32px 0 30px !important;
    border-top: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
}

.releases-page .hero {
    grid-template-columns: 1fr !important;
}

.trending-page .kicker,
.releases-page .kicker {
    margin: 0 0 14px !important;
    color: var(--pf-red) !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.trending-page .title,
.releases-page .title {
    max-width: 880px !important;
    margin: 0 !important;
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(44px, 6vw, 86px) !important;
    font-weight: 800 !important;
    line-height: 0.94 !important;
    letter-spacing: 0 !important;
}

.trending-page .subtitle,
.releases-page .subtitle {
    max-width: 720px !important;
    margin: 16px 0 0 !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-serif) !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
}

.trending-page .date-chip {
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    padding: 12px 14px !important;
    color: #000 !important;
    background: #fff !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.trending-page .trend-list {
    margin-top: 0 !important;
    border-top: 0 !important;
    border-left: 1px solid #000 !important;
}

.trending-page .trend-row {
    display: grid !important;
    grid-template-columns: 84px 74px minmax(0, 1fr) 150px 150px !important;
    gap: 16px !important;
    align-items: center !important;
    min-height: 108px !important;
    padding: 16px !important;
    border: 0 !important;
    border-right: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    color: #000 !important;
    background: #fff !important;
    text-decoration: none !important;
}

.trending-page .trend-row:hover {
    background: #f7f7f7 !important;
}

.trending-page .rank {
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums !important;
    text-align: center !important;
}

.trending-page .trend-cover {
    width: 74px !important;
    height: 74px !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    background: #fff !important;
}

.trending-page .trend-title {
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.trending-page .trend-artist,
.trending-page .trend-album {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.trending-page .trend-artist {
    margin-top: 7px !important;
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.trending-page .trend-album {
    margin-top: 4px !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
}

.trending-page .metric {
    text-align: right !important;
}

.trending-page .metric-value {
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums !important;
    white-space: nowrap !important;
}

.trending-page .metric:first-of-type .metric-value {
    color: var(--pf-red) !important;
}

.trending-page .metric-label {
    margin-top: 6px !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.releases-page .timeline {
    margin-top: 0 !important;
}

.releases-page .release-day {
    display: grid !important;
    grid-template-columns: 180px minmax(0, 1fr) !important;
    gap: 28px !important;
    padding: 28px 0 !important;
    border-top: 0 !important;
    border-bottom: 1px solid #000 !important;
}

.releases-page .date-block {
    position: sticky !important;
    top: 18px !important;
    align-self: start !important;
}

.releases-page .date-main {
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    line-height: 0.95 !important;
}

.releases-page .date-main.today {
    color: var(--pf-red) !important;
}

.releases-page .date-sub {
    margin-top: 10px !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.releases-page .release-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
}

.releases-page .release-card {
    min-width: 0 !important;
    display: grid !important;
    grid-template-rows: auto auto auto 1fr auto !important;
    gap: 9px !important;
    padding: 14px !important;
    border: 0 !important;
    border-right: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    border-radius: 0 !important;
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transform: none !important;
}

.releases-page .release-card:hover {
    background: #f7f7f7 !important;
    transform: none !important;
    box-shadow: none !important;
}

.releases-page .release-cover {
    width: 100% !important;
    aspect-ratio: 1 !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    background: #fff !important;
}

.releases-page .type {
    margin: 2px 0 0 !important;
    color: var(--pf-red) !important;
    font-family: var(--pf-sans) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.releases-page .item-title {
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere !important;
}

.releases-page .artist,
.releases-page .meta {
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

.releases-page .artist {
    color: #000 !important;
    font-weight: 800 !important;
}

.trending-page .empty,
.releases-page .empty {
    padding: 70px 0 !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-serif) !important;
    text-align: center !important;
}

@media (max-width: 980px) {
    .trending-page .hero,
    .releases-page .release-day {
        grid-template-columns: 1fr !important;
    }

    .trending-page .trend-row {
        grid-template-columns: 64px 64px minmax(0, 1fr) !important;
    }

    .trending-page .trend-cover {
        width: 64px !important;
        height: 64px !important;
    }

    .trending-page .metric {
        grid-column: 3 !important;
        display: flex !important;
        gap: 10px !important;
        align-items: baseline !important;
        text-align: left !important;
    }

    .releases-page .date-block {
        position: static !important;
    }

    .releases-page .release-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 620px) {
    .trending-page .trend-row {
        grid-template-columns: 48px 58px minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 14px 10px !important;
    }

    .trending-page .rank {
        font-size: 22px !important;
    }

    .trending-page .trend-cover {
        width: 58px !important;
        height: 58px !important;
    }

    .trending-page .metric-value {
        font-size: 18px !important;
    }

    .releases-page .release-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Home page refinement. */
.home-page {
    max-width: 1240px !important;
    padding-inline: clamp(18px, 3vw, 32px) !important;
}

.home-page .carousel-section,
.home-page .editorial-section,
.home-page .home-chart-section {
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.home-page .carousel-section {
    max-width: 1180px !important;
    margin-bottom: 34px !important;
    padding-top: 10px !important;
    border-top: 2px solid #000 !important;
}

.home-page .carousel {
    height: 520px !important;
    min-height: 460px !important;
    border: 1px solid #000 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08) !important;
}

.home-page .carousel-content-wrapper {
    display: grid !important;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr) !important;
    gap: 54px !important;
    align-items: center !important;
    padding: 44px 82px !important;
    background: linear-gradient(90deg, rgba(255,255,255,0.98), rgba(247,247,247,0.92)) !important;
}

.home-page .carousel-bg {
    opacity: 0.1 !important;
    filter: blur(70px) saturate(1.1) !important;
    transform: scale(1.18) !important;
}

.home-page .carousel-content-wrapper.text-right {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr) !important;
}

.home-page .carousel-content-wrapper.text-right .carousel-cover-wrapper {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

.home-page .carousel-content-wrapper.text-right .carousel-content {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.home-page .carousel-content-wrapper.text-center {
    grid-template-columns: minmax(280px, 420px) minmax(0, 620px) !important;
    justify-content: center !important;
}

.home-page .carousel-content-wrapper.text-center .carousel-content {
    text-align: left !important;
}

.home-page .carousel-cover-wrapper {
    width: 100% !important;
    max-width: 430px !important;
    aspect-ratio: 1 !important;
    border: 1px solid #000 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 10px 10px 0 #000 !important;
}

.home-page .carousel-cover {
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px !important;
    object-fit: cover !important;
}

.home-page .carousel-content {
    max-width: 680px !important;
    padding: 0 !important;
}

.home-page .carousel-tag {
    color: var(--pf-red) !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

.home-page .carousel-title {
    max-width: 760px !important;
    margin: 12px 0 !important;
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: 68px !important;
    font-weight: 800 !important;
    line-height: 0.96 !important;
    letter-spacing: 0 !important;
}

.home-page .carousel-subtitle,
.home-page .carousel-description {
    max-width: 640px !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-serif) !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
}

.home-page .carousel-btn {
    border: 1px solid #000 !important;
    border-radius: 8px !important;
    background: #000 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.home-page .carousel-btn:hover {
    background: #e63946 !important;
    border-color: #e63946 !important;
    color: #fff !important;
}

.home-page .carousel-arrow {
    width: 46px !important;
    height: 76px !important;
    border: 1px solid #000 !important;
    border-radius: 8px !important;
    background: #000 !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18) !important;
    opacity: 0.88 !important;
}

.home-page .carousel-arrow svg path {
    stroke: currentColor !important;
}

.home-page .carousel-arrow:hover {
    background: #e63946 !important;
    border-color: #e63946 !important;
    color: #fff !important;
    opacity: 1 !important;
}

.home-page .carousel-arrow.prev {
    left: 18px !important;
}

.home-page .carousel-arrow.next {
    right: 18px !important;
}

.home-page .carousel-nav {
    bottom: 22px !important;
}

.home-page .carousel-dot {
    width: 24px !important;
    height: 4px !important;
    border: 1px solid #000 !important;
    border-radius: 8px !important;
    background: transparent !important;
}

.home-page .carousel-dot.active {
    width: 42px !important;
    background: #000 !important;
}

.home-page .editorial-section,
.home-page .home-chart-section {
    margin-bottom: 34px !important;
    padding: 30px 0 0 !important;
    border-top: 1px solid #000 !important;
    border-bottom: 0 !important;
    background: #fff !important;
}

.home-page .section-heading {
    display: flex !important;
    align-items: end !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin-bottom: 16px !important;
}

.home-page .section-title {
    margin: 0 !important;
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: clamp(28px, 3.2vw, 44px) !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

.home-page .section-link {
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    white-space: nowrap !important;
}

.home-page .review-strip {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
}

.home-page .review-tile {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 90px minmax(0, 1fr) 62px !important;
    gap: 14px !important;
    align-items: center !important;
    padding: 16px !important;
    border: 0 !important;
    border-right: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #000 !important;
    text-decoration: none !important;
    transform: none !important;
}

.home-page .review-tile:hover {
    background: #f7f7f7 !important;
    transform: none !important;
    box-shadow: none !important;
}

.home-page .review-tile-cover {
    width: 90px !important;
    height: 90px !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    background: #fff !important;
}

.home-page .review-tile-kicker {
    color: var(--pf-red) !important;
    font-family: var(--pf-sans) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

.home-page .review-tile-title {
    color: #000 !important;
    font-family: var(--pf-display) !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.06 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.home-page .review-tile-meta {
    margin-top: 7px !important;
    color: var(--pf-muted) !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.home-page .review-tile-score {
    justify-self: end !important;
}

.home-page .filters {
    display: flex !important;
    gap: 8px !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}

.home-page .filter-btn {
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    padding: 10px 12px !important;
    background: #fff !important;
    color: #000 !important;
    font-family: var(--pf-sans) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

.home-page .filter-btn.active,
.home-page .filter-btn:hover {
    background: #000 !important;
    color: #fff !important;
}

.home-page .home-chart-section .table-scroll {
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
}

@media (max-width: 980px) {
    .home-page .carousel-section {
        max-width: 720px !important;
    }

    .home-page .carousel {
        height: auto !important;
        min-height: 0 !important;
    }

    .home-page .carousel-content-wrapper,
    .home-page .carousel-content-wrapper.text-right,
    .home-page .carousel-content-wrapper.text-center {
        grid-template-columns: 1fr !important;
        align-items: end !important;
        gap: 26px !important;
        min-height: 620px !important;
        padding: 40px 54px 70px !important;
    }

    .home-page .carousel-content-wrapper.text-right .carousel-cover-wrapper,
    .home-page .carousel-content-wrapper.text-right .carousel-content {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .home-page .carousel-cover-wrapper {
        max-width: 320px !important;
    }

    .home-page .carousel-title {
        font-size: 52px !important;
    }

    .home-page .review-strip {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .home-page .carousel {
        height: auto !important;
        min-height: 0 !important;
    }

    .home-page .carousel-content-wrapper {
        min-height: 560px !important;
        padding: 28px 24px 76px !important;
    }

    .home-page .carousel-cover-wrapper {
        max-width: 240px !important;
        box-shadow: 7px 7px 0 #000 !important;
    }

    .home-page .carousel-title {
        font-size: 38px !important;
        line-height: 1 !important;
    }

    .home-page .carousel-subtitle,
    .home-page .carousel-description {
        font-size: 16px !important;
    }

    .home-page .carousel-arrow {
        width: 38px !important;
        height: 50px !important;
    }

    .home-page .carousel-arrow.prev {
        left: 10px !important;
    }

    .home-page .carousel-arrow.next {
        right: 10px !important;
    }

    .home-page .review-tile {
        grid-template-columns: 72px minmax(0, 1fr) 56px !important;
    }

    .home-page .review-tile-cover {
        width: 72px !important;
        height: 72px !important;
    }

    .home-page .section-heading {
        align-items: start !important;
        flex-direction: column !important;
    }
}

/* Final home layout pass: compact, chart-first, less crowded. */
.home-page {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    max-width: 1180px !important;
}

.home-page .carousel-section {
    order: 1 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin-bottom: 24px !important;
    padding-top: 8px !important;
    border-top: 4px solid #000 !important;
}

.home-page .home-chart-section {
    order: 2 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin-bottom: 28px !important;
    padding-top: 22px !important;
    border-top: 4px solid #000 !important;
}

.home-page .pulse-section {
    order: 3 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin: 0 auto 28px !important;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    gap: 14px !important;
}

.home-page .editorial-section {
    order: 4 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin-bottom: 28px !important;
    padding-top: 22px !important;
}

.home-page .commercial-slot {
    order: 5 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin: 0 auto 28px !important;
}

.home-page .newsletter-section {
    order: 6 !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin: 10px auto 0 !important;
}

.home-page .carousel {
    height: 380px !important;
    min-height: 380px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.home-page .carousel-content-wrapper,
.home-page .carousel-content-wrapper.text-right,
.home-page .carousel-content-wrapper.text-center {
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 34px !important;
    padding: 34px 74px !important;
    min-height: 0 !important;
    background: #fff !important;
}

.home-page .carousel-content-wrapper.text-right {
    grid-template-columns: minmax(0, 1fr) 280px !important;
}

.home-page .carousel-content-wrapper.text-right .carousel-cover-wrapper,
.home-page .carousel-content-wrapper.text-right .carousel-content {
    grid-column: auto !important;
    grid-row: auto !important;
}

.home-page .carousel-cover-wrapper {
    max-width: 280px !important;
    box-shadow: 8px 8px 0 #000 !important;
}

.home-page .carousel-title {
    max-width: 720px !important;
    font-size: clamp(38px, 5vw, 58px) !important;
    line-height: .98 !important;
}

.home-page .carousel-description {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.home-page .carousel-arrow {
    width: 38px !important;
    height: 56px !important;
    border-radius: 8px !important;
}

.home-page .carousel-arrow.prev {
    left: 14px !important;
}

.home-page .carousel-arrow.next {
    right: 14px !important;
}

.home-page .pulse-panel {
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    padding: 18px !important;
}

.home-page .pulse-panel.dark {
    background: #000 !important;
}

.home-page .pulse-title {
    font-size: clamp(28px, 3vw, 40px) !important;
}

.home-page .review-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.home-page .review-tile {
    grid-template-columns: 72px minmax(0, 1fr) 50px !important;
    padding: 12px !important;
}

.home-page .review-tile-cover {
    width: 72px !important;
    height: 72px !important;
}

.home-page .review-tile-title {
    font-size: 17px !important;
}

.home-page .charts-table td {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

@media (max-width: 900px) {
    .home-page .carousel {
        height: auto !important;
        min-height: 0 !important;
    }

    .home-page .carousel-content-wrapper,
    .home-page .carousel-content-wrapper.text-right,
    .home-page .carousel-content-wrapper.text-center {
        grid-template-columns: 1fr !important;
        padding: 28px 24px 72px !important;
    }

    .home-page .carousel-cover-wrapper {
        max-width: 240px !important;
    }

    .home-page .pulse-section,
    .home-page .review-strip {
        grid-template-columns: 1fr !important;
    }
}
