/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base */
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: "Barlow", sans-serif;
    min-height: 100vh;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    cursor: pointer;
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    text-align: inherit;
}
svg {
    display: inline-block;
    vertical-align: middle;
}

/* ── Display ── */
.block {
    display: block;
}
.flex {
    display: flex;
}
.hidden {
    display: none;
}
.inline-block {
    display: inline-block;
}

/* ── Flexbox ── */
.flex-1 {
    flex: 1 1 0%;
}
.flex-col {
    flex-direction: column;
}
.items-center {
    align-items: center;
}
.items-start {
    align-items: flex-start;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.shrink-0 {
    flex-shrink: 0;
}
.ml-auto {
    margin-left: auto;
}
.mr-auto {
    margin-right: auto;
}

/* ── Gap ── */
.gap-1 {
    gap: 0.25rem;
}
.gap-1\.5 {
    gap: 0.375rem;
}
.gap-2 {
    gap: 0.5rem;
}
.gap-3 {
    gap: 0.75rem;
}
.gap-4 {
    gap: 1rem;
}
.gap-5 {
    gap: 1.25rem;
}
.gap-7 {
    gap: 1.75rem;
}
.gap-\[5px\] {
    gap: 5px;
}

/* ── Position ── */
.absolute {
    position: absolute;
}
.fixed {
    position: fixed;
}
.relative {
    position: relative;
}
.static {
    position: static;
}
.inset-0 {
    inset: 0;
}
.top-0 {
    top: 0;
}
.bottom-0 {
    bottom: 0;
}
.left-0 {
    left: 0;
}
.right-0 {
    right: 0;
}
.left-1\/2 {
    left: 50%;
}
.-translate-x-1\/2 {
    transform: translateX(-50%);
}
.translate-x-0 {
    transform: translateX(0);
}
.z-10 {
    z-index: 10;
}
.z-40 {
    z-index: 40;
}
.z-50 {
    z-index: 50;
}

/* ── Sizing ── */
.w-auto {
    width: auto;
}
.w-fit {
    width: fit-content;
}
.object-cover {
    object-fit: cover;
}
.aspect-video {
    aspect-ratio: 16 / 9;
}
.opacity-60 {
    opacity: 0.6;
}
.w-full {
    width: 100%;
}
.w-8 {
    width: 2rem;
}
.w-9 {
    width: 2.25rem;
}
.w-10 {
    width: 2.5rem;
}
.w-12 {
    width: 3rem;
}
.w-14 {
    width: 3.5rem;
}
.w-16 {
    width: 4rem;
}
.w-24 {
    width: 6rem;
}
.w-64 {
    width: 16rem;
}
.w-\[72px\] {
    width: 72px;
}
.max-w-3xl {
    max-width: 48rem;
}
.max-w-sm {
    max-width: 24rem;
}
.min-w-0 {
    min-width: 0;
}
.min-w-\[110px\] {
    min-width: 110px;
}

.h-px {
    height: 1px;
}
.h-8 {
    height: 2rem;
}
.h-9 {
    height: 2.25rem;
}
.h-10 {
    height: 2.5rem;
}
.h-14 {
    height: 3.5rem;
}
.h-16 {
    height: 4rem;
}
.h-20 {
    height: 5rem;
}
.h-28 {
    height: 7rem;
}
.h-full {
    height: 100%;
}
.h-\[2px\] {
    height: 2px;
}
.h-\[72px\] {
    height: 72px;
}
.min-h-screen {
    min-height: 100vh;
}
.min-h-\[80px\] {
    min-height: 80px;
}
.min-h-\[200px\] {
    min-height: 200px;
}

/* ── Spacing ── */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.mb-6 {
    margin-bottom: 1.5rem;
}
.mt-0\.5 {
    margin-top: 0.125rem;
}
.mt-1 {
    margin-top: 0.25rem;
}
.mt-2 {
    margin-top: 0.5rem;
}

.p-2 {
    padding: 0.5rem;
}
.p-3 {
    padding: 0.75rem;
}
.p-4 {
    padding: 1rem;
}
.pb-0\.5 {
    padding-bottom: 0.125rem;
}
.pb-3 {
    padding-bottom: 0.75rem;
}
.pb-44 {
    padding-bottom: 11rem;
}
.pl-3 {
    padding-left: 0.75rem;
}
.px-1 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}
.px-1\.5 {
    padding-left: 0.375rem;
    padding-right: 0.375rem;
}
.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
.py-0\.5 {
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
}
.py-1\.5 {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}
.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

/* ── Typography ── */
.font-barlow {
    font-family: "Barlow", sans-serif;
}
.font-condensed {
    font-family: "Barlow Condensed", sans-serif;
}
.font-black {
    font-weight: 900;
}
.font-bold {
    font-weight: 700;
}
.font-medium {
    font-weight: 500;
}
.font-semibold {
    font-weight: 600;
}
.italic {
    font-style: italic;
}

.text-center {
    text-align: center;
}
.tracking-wide {
    letter-spacing: 0.025em;
}
.tracking-widest {
    letter-spacing: 0.1em;
}
.leading-relaxed {
    line-height: 1.625;
}
.leading-tight {
    line-height: 1.25;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}
.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}
.text-\[9px\] {
    font-size: 9px;
}
.text-\[10px\] {
    font-size: 10px;
}
.text-\[11px\] {
    font-size: 11px;
}
.text-\[12px\] {
    font-size: 12px;
}
.text-\[13px\] {
    font-size: 13px;
}
.text-\[14px\] {
    font-size: 14px;
}
.text-\[15px\] {
    font-size: 15px;
}

/* ── Colors ── */
.text-white {
    color: #ffffff;
}
.text-brand {
    color: #e8540a;
}
.text-amber-500 {
    color: #f59e0b;
}
.text-gray-200 {
    color: #e5e7eb;
}
.text-gray-300 {
    color: #d1d5db;
}
.text-gray-400 {
    color: #9ca3af;
}
.text-gray-500 {
    color: #6b7280;
}
.text-gray-600 {
    color: #4b5563;
}
.text-gray-700 {
    color: #374151;
}
.text-gray-800 {
    color: #1f2937;
}
.text-gray-900 {
    color: #111827;
}
.text-green-400 {
    color: #4ade80;
}
.text-red-400 {
    color: #f87171;
}
.text-red-600 {
    color: #dc2626;
}

.bg-white {
    background-color: #ffffff;
}
.bg-transparent {
    background-color: transparent;
}
.bg-black {
    background-color: #000000;
}
.bg-black\/40 {
    background-color: rgba(0, 0, 0, 0.4);
}
.bg-black\/60 {
    background-color: rgba(0, 0, 0, 0.6);
}
.bg-black\/70 {
    background-color: rgba(0, 0, 0, 0.7);
}
.bg-white\/15 {
    background-color: rgba(255, 255, 255, 0.15);
}
.bg-\[\#1db954\] {
    background-color: #1db954;
}
.bg-\[\#fc3c44\] {
    background-color: #fc3c44;
}
.bg-gray-100 {
    background-color: #f3f4f6;
}
.bg-gray-300 {
    background-color: #d1d5db;
}
.bg-gray-400 {
    background-color: #9ca3af;
}
.bg-gray-700 {
    background-color: #374151;
}
.bg-red-600 {
    background-color: #dc2626;
}
.bg-brand\/10 {
    background-color: rgba(232, 84, 10, 0.1);
}

/* ── Border ── */
.border {
    border-width: 1px;
    border-style: solid;
}
.border-0 {
    border-width: 0;
}
.border-2 {
    border-width: 2px;
    border-style: solid;
}
.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}
.border-b-2 {
    border-bottom-width: 2px;
    border-bottom-style: solid;
}
.border-t {
    border-top-width: 1px;
    border-top-style: solid;
}
.border-\[3px\] {
    border-width: 3px;
    border-style: solid;
}
.border-amber-400 {
    border-color: #fbbf24;
}
.border-amber-500 {
    border-color: #f59e0b;
}
.border-brand {
    border-color: #e8540a;
}
.border-gray-100 {
    border-color: #f3f4f6;
}
.border-gray-300 {
    border-color: #d1d5db;
}
.border-white\/80 {
    border-color: rgba(255, 255, 255, 0.8);
}

/* ── Border radius ── */
.rounded {
    border-radius: 0.25rem;
}
.rounded-lg {
    border-radius: 0.5rem;
}
.rounded-xl {
    border-radius: 0.75rem;
}
.rounded-2xl {
    border-radius: 1rem;
}
.rounded-full {
    border-radius: 9999px;
}

/* ── Shadow ── */
.shadow-md {
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ── Overflow ── */
.overflow-hidden {
    overflow: hidden;
}

/* ── Object fit ── */
.object-contain {
    object-fit: contain;
}

/* ── Cursor ── */
.cursor-pointer {
    cursor: pointer;
}

/* ── Transition ── */
.transition-all {
    transition: all 0.15s ease;
}
.transition-colors {
    transition:
        color 0.15s ease,
        background-color 0.15s ease,
        border-color 0.15s ease;
}
.transition-transform {
    transition: transform 0.15s ease;
}

/* ── Hover states ── */
.hover\:bg-amber-50:hover {
    background-color: #fffbeb;
}
.hover\:bg-gray-50:hover {
    background-color: #f9fafb;
}
.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}
.hover\:bg-gray-200:hover {
    background-color: #e5e7eb;
}
.hover\:bg-white\/30:hover {
    background-color: rgba(255, 255, 255, 0.3);
}
.hover\:border-brand:hover {
    border-color: #e8540a;
}
.hover\:scale-110:hover {
    transform: scale(1.1);
}
.hover\:scale-125:hover {
    transform: scale(1.25);
}
.hover\:text-brand:hover {
    color: #e8540a;
}

/* ── Responsive: tablet (>=640px) ── */
@media (min-width: 640px) {
    .tablet\:flex {
        display: flex;
    }
    .tablet\:min-w-\[110px\] {
        min-width: 110px;
    }
}

/* ── Responsive: laptop (>=1024px) ── */
@media (min-width: 1024px) {
    .laptop\:flex {
        display: flex;
    }
    .laptop\:hidden {
        display: none;
    }
    .laptop\:static {
        position: static;
    }
    .laptop\:translate-x-0 {
        transform: translateX(0);
    }
    .laptop\:mr-auto {
        margin-right: auto;
    }
    .laptop\:gap-3 {
        gap: 0.75rem;
    }
    .laptop\:gap-5 {
        gap: 1.25rem;
    }
    .laptop\:p-4 {
        padding: 1rem;
    }
    .laptop\:p-5 {
        padding: 1.25rem;
    }
    .laptop\:pb-44 {
        padding-bottom: 11rem;
    }
    .laptop\:pl-4 {
        padding-left: 1rem;
    }
    .laptop\:px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .laptop\:w-9 {
        width: 2.25rem;
    }
    .laptop\:w-10 {
        width: 2.5rem;
    }
    .laptop\:w-11 {
        width: 2.75rem;
    }
    .laptop\:w-14 {
        width: 3.5rem;
    }
    .laptop\:w-16 {
        width: 4rem;
    }
    .laptop\:w-32 {
        width: 8rem;
    }
    .laptop\:w-\[72px\] {
        width: 72px;
    }
    .laptop\:h-9 {
        height: 2.25rem;
    }
    .laptop\:h-10 {
        height: 2.5rem;
    }
    .laptop\:h-11 {
        height: 2.75rem;
    }
    .laptop\:h-32 {
        height: 8rem;
    }
    .laptop\:h-36 {
        height: 9rem;
    }
    .laptop\:h-\[72px\] {
        height: 72px;
    }
    .laptop\:min-h-\[88px\] {
        min-height: 88px;
    }
    .laptop\:min-w-\[130px\] {
        min-width: 130px;
    }
    .laptop\:text-sm {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
    .laptop\:text-base {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    .laptop\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    .laptop\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
    .laptop\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .laptop\:text-\[11px\] {
        font-size: 11px;
    }
    .laptop\:text-\[13px\] {
        font-size: 13px;
    }
    .laptop\:text-\[15px\] {
        font-size: 15px;
    }
}
body {
    background-color: rgba(232, 232, 232, 1);
}
.album-collage-overlay {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='150'%3E%3Crect width='65' height='75' fill='%23a855f7' opacity='0.5'/%3E%3Crect x='65' width='65' height='75' fill='%23ec4899' opacity='0.5'/%3E%3Crect y='75' width='65' height='75' fill='%23f97316' opacity='0.5'/%3E%3Crect x='65' y='75' width='65' height='75' fill='%236366f1' opacity='0.5'/%3E%3C/svg%3E");
}
.star-btn.active {
    color: #f59e0b;
}
.star-btn.inactive {
    color: #d1d5db;
}


.bg-brand {
    background-color: #e8540a;
}
.from-pink {
    --tw-gradient-from: #f0308a;
}
.to-brand {
    --tw-gradient-to: #e8540a;
}
.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-from), var(--tw-gradient-to));
}
@media (min-width: 1024px) {
    .laptop\:pl-4 {
        padding-left: 1rem;
    }
}
.gap-\[5px\] { gap: 5px; }
.h-\[2px\]   { height: 2px; }

/* ── Missing / new classes ── */
.bg-brand\/10 {
    background-color: rgba(232, 84, 10, 0.1);
}
.hover\:bg-brand\/10:hover {
    background-color: rgba(232, 84, 10, 0.1);
}
.w-11 {
    width: 2.75rem;
}
.h-11 {
    height: 2.75rem;
}
.leading-snug {
    line-height: 1.375;
}
:focus-visible {
    outline: 2px solid #e8540a;
    outline-offset: 2px;
}
.mb-5 {
    margin-bottom: 1.25rem;
}
.bg-gray-50 {
    background-color: #f9fafb;
}
.border-gray-200 {
    border-color: #e5e7eb;
}
.ml-1 { margin-left: 0.25rem; }
.uppercase { text-transform: uppercase; }

/* ── Home page ── */
.mb-2 {
    margin-bottom: 0.5rem;
}
.mb-4 {
    margin-bottom: 1rem;
}
.mb-10 {
    margin-bottom: 2.5rem;
}
.mt-3 {
    margin-top: 0.75rem;
}
.pt-6 {
    padding-top: 1.5rem;
}
.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}
.hover\:shadow-lg:hover {
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* ── Accessibility helpers ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 60;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    background: #111827;
    color: #fff;
    font-weight: 600;
    transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.skip-link:focus {
    top: 1rem;
}
main:focus {
    outline: none;
}
::selection {
    background: rgba(232, 84, 10, 0.22);
}

/* ── Chart page ──
   Positions shown here are HitsRadar's own Angolan-only ranking. */
.chart-head {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.chart-title {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    line-height: 1;
    letter-spacing: -0.01em;
    color: #111827;
    text-wrap: balance;
}
.chart-title__platform {
    color: #e8540a;
}
.chart-meta {
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    color: #4b5563;
}
.platform-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4px;
    border-radius: 9999px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.08);
}
.platform-switch a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.25rem;
    border-radius: 9999px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: #374151;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.platform-switch a:hover {
    color: #111827;
    background: #f3f4f6;
}
.platform-switch a[aria-current="page"] {
    color: #fff;
    background: linear-gradient(180deg, #f0308a 0%, #e8540a 100%);
}
@media (min-width: 640px) {
    .chart-head {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
    .chart-title {
        font-size: 3rem;
    }
    .platform-switch {
        flex-shrink: 0;
    }
}
.chart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 1rem;
    text-align: center;
    color: #4b5563;
}

.chart-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 0.75rem;
}
.chart-about summary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #111827;
    cursor: pointer;
    list-style: none;
}
.chart-about summary::-webkit-details-marker {
    display: none;
}
.chart-about summary::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid #e8540a;
    border-bottom: 2px solid #e8540a;
    transform: rotate(-45deg);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.chart-about[open] summary::before {
    transform: rotate(45deg);
}
.chart-about__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 65ch;
    margin-top: 0.5rem;
    padding: 1rem 1.25rem;
    text-align: left;
    border-radius: 1rem;
    background: #fff;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #374151;
}
.chart-about__body a,
.site-footer a {
    color: #c2410c;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.chart-about dl {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.chart-about dt,
.chart-about dd {
    display: inline;
}
.chart-about dt {
    font-weight: 700;
    color: #111827;
}
.chart-about dt::after {
    content: ": ";
}

.chart-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.chart-item {
    position: relative;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.chart-full,
.chart-item.is-open .chart-compact {
    display: none;
}
.chart-item.is-open .chart-full {
    display: block;
}
.chart-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 88px;
    padding: 0.75rem;
    cursor: pointer;
}
.rank-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 3rem;
    flex-shrink: 0;
}
.rank-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #fff;
    background: #1f2937;
}
.rank-badge--top {
    background: linear-gradient(180deg, #f0308a 0%, #e8540a 100%);
}
.rank-badge--light {
    color: #111827;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
@media (min-width: 1024px) {
    .rank-badge--light {
        width: 2.5rem;
        height: 2.5rem;
    }
}
.move {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.move svg {
    width: 10px;
    height: 10px;
}
.move--up {
    color: #15803d;
}
.move--down {
    color: #b91c1c;
}
.move--same {
    color: #6b7280;
}
.move--label {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #c2410c;
}
.detail-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 3.5rem;
    padding-top: 1.25rem;
    flex-shrink: 0;
    background: #f3f4f6;
}
.chart-item--top .detail-rail {
    background: linear-gradient(180deg, #f0308a 0%, #e8540a 100%);
}
.chart-item:not(.chart-item--top) .rank-badge--light {
    color: #fff;
    background: #1f2937;
    box-shadow: none;
}
@media (min-width: 1024px) {
    .detail-rail {
        width: 4rem;
    }
}
.move-pill {
    display: inline-flex;
    padding: 4px 6px;
    border-radius: 9999px;
    background: #fff;
}
.chart-stats {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.875rem;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #4b5563;
    font-variant-numeric: tabular-nums;
}
.chart-facts {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
}
.chart-facts dt,
.chart-facts dd {
    display: inline;
}
.chart-facts dt::after {
    content: ":\00a0";
}
.chart-facts dd {
    font-weight: 700;
    color: #111827;
    font-variant-numeric: tabular-nums;
}
/* Artwork: the official cover, or a designed fallback in the artist's
   colours with HitsRadar's radar rings behind the name. */
.album-box {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.75rem;
}
.album-box--sm {
    width: 4rem;
    height: 4rem;
}
.album-box--lg {
    width: 6rem;
    height: 7rem;
}
@media (min-width: 640px) {
    .chart-item--top .album-box--lg {
        width: 8rem;
        height: 9rem;
    }
}
@media (min-width: 1024px) {
    .album-box--lg {
        width: 8rem;
        height: 9rem;
    }
    .chart-item--top .album-box--lg {
        width: 10rem;
        height: 11rem;
    }
}
.chart-item--top .chart-full h2 {
    font-size: 1.5rem;
    line-height: 1.05;
    overflow-wrap: anywhere;
}
@media (min-width: 1024px) {
    .chart-item--top .chart-full h2 {
        font-size: 2.25rem;
    }
}
.album-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.album-fallback::before {
    content: "";
    position: absolute;
    right: -35%;
    bottom: -35%;
    width: 130%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.18) 0 1.5px, transparent 1.5px 11%);
}
.album-box--sm .album-text,
.preview-art .album-text {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 11px;
}
.album-text {
    position: relative;
    z-index: 10;
    padding: 0 4px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: #fff;
    overflow-wrap: anywhere;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* One persistent toggle per card: 44px hit area around a 36px ring. It is
   positioned over whichever layout is showing, and both layouts reserve its
   column with .chart-toggle-space. */
.chart-toggle-space {
    width: 2.25rem;
    margin-left: 0.25rem;
    flex-shrink: 0;
}
.chart-toggle {
    position: absolute;
    top: 22px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    color: #e8540a;
}
.chart-item.is-open .chart-toggle {
    top: 8px;
}
.chart-toggle__ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid #e8540a;
    border-radius: 9999px;
    transition: background-color 0.2s ease;
}
.chart-toggle:hover .chart-toggle__ring {
    background: rgba(232, 84, 10, 0.1);
}
.chart-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.chart-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
@media (min-width: 1024px) {
    .chart-compact {
        padding: 0.75rem 1rem;
    }
    .chart-toggle {
        right: 12px;
    }
    .chart-item.is-open .chart-toggle {
        top: 12px;
    }
}

.video-well {
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
.video-facade {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    text-align: left;
    transition: background-color 0.2s ease;
}
button.video-facade:hover {
    background: #f3f4f6;
}
.video-facade:focus-visible {
    outline-offset: -3px;
    border-radius: 0.75rem;
}
.video-facade__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    flex-shrink: 0;
    background: #9ca3af;
}
.video-facade__icon--live {
    background: #dc2626;
}

@media (prefers-reduced-motion: reduce) {
    .chart-toggle svg,
    .skip-link {
        transition: none;
    }
}
.pt-5 {
    padding-top: 1.25rem;
}

/* ── Home ── */
.home-intro {
    padding-top: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.home-title {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: 2.75rem;
    line-height: 0.95;
    letter-spacing: -0.01em;
    color: #111827;
    text-wrap: balance;
}
.home-title__accent {
    color: #e8540a;
}
.home-lede {
    max-width: 36ch;
    margin: 0.75rem auto 0;
    font-size: 1.125rem;
    line-height: 1.5;
    color: #4b5563;
}
.home-charts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 1024px) {
    .home-title {
        font-size: 4rem;
    }
    .home-charts {
        grid-template-columns: 1fr 1fr;
    }
}
.chart-preview {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.chart-preview__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.25rem 0.75rem;
}
.chart-preview__title {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: 1.75rem;
    line-height: 1;
    color: #111827;
}
.chart-preview__date {
    font-size: 0.8125rem;
    color: #4b5563;
}
.chart-preview__empty {
    padding: 1rem 0;
    color: #4b5563;
}
.preview-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0 -0.5rem;
}
.preview-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s ease;
}
.preview-row:hover {
    background: #f3f4f6;
}
.preview-art {
    position: relative;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.5rem;
}
.preview-row--top .preview-art {
    width: 4.5rem;
    height: 4.5rem;
}
.preview-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.preview-song,
.preview-artist {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.preview-song {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: 1.0625rem;
    line-height: 1.25;
    color: #111827;
}
.preview-row--top .preview-song {
    font-size: 1.375rem;
}
.preview-artist {
    font-size: 0.875rem;
    color: #4b5563;
}
.chart-preview__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 44px;
    margin-top: auto;
    padding: 0 1.25rem;
    border-radius: 9999px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(180deg, #f0308a 0%, #e8540a 100%);
}
.chart-preview__cta svg {
    width: 18px;
    height: 18px;
}
.home-mockup {
    max-width: 20rem;
    margin: 2.5rem auto 0;
}
.home-mockup img {
    display: block;
    width: 100%;
    height: auto;
}

/* ── Error page ── */
.error-page {
    padding: 2rem 0 1rem;
}
.error-title {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    line-height: 1;
    color: #111827;
    text-wrap: balance;
}
.error-message {
    max-width: 50ch;
    margin: 0.75rem 0 1.25rem;
    color: #4b5563;
}
.error-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.error-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 1.25rem;
    border-radius: 9999px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: #fff;
    background: #111827;
}
.error-link--quiet {
    color: #111827;
    background: #fff;
    box-shadow: inset 0 0 0 1px #d1d5db;
}

/* ── Footer ── */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    max-width: 48rem;
    margin: 2.5rem auto 0;
    padding: 1.5rem 1.25rem;
    border-top: 1px solid #d1d5db;
    text-align: center;
}
.social-links {
    list-style: none;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.social-link:hover {
    transform: scale(1.08);
}
.social-link--Facebook {
    background: #1877f2;
}
.social-link--Instagram {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}
.social-link--X {
    background: #111;
}
.site-footer__legal {
    font-size: 0.875rem;
    color: #4b5563;
}
.site-footer__legal strong {
    color: #c2410c;
}
.site-footer__note {
    font-size: 0.8125rem;
    color: #4b5563;
}
@media (prefers-reduced-motion: reduce) {
    .social-link,
    .chart-about summary::before {
        transition: none;
    }
    .social-link:hover {
        transform: none;
    }
}

/* ── Site header ── */
.site-header {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.site-logo img {
    display: block;
    width: auto;
    height: 88px;
}
@media (min-width: 1024px) {
    .site-header {
        justify-content: flex-start;
        margin-bottom: 1.5rem;
    }
    .site-logo img {
        height: 128px;
    }
}
