:root{--bg:#08090d;--surface:#13151c;--ink:#f5f5f7;--muted:#a7a9b8;--line:#ffffff16;--blue:#8b9dff;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}html[data-theme=light]{--bg:#fafafc;--surface:#fff;--ink:#171821;--muted:#626575;--line:#14162a18;--blue:#465fc3}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:none;border:0}a,button{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--blue);outline-offset:4px}header{height:88px;display:flex;align-items:center;gap:60px;max-width:1480px;margin:auto;padding:0 5%;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:6px;flex-shrink:0}.brand img{width:112px;height:auto}.brand>span{color:var(--blue);font-size:16px;font-weight:600;line-height:1;padding:4px 7px;border:.75px solid currentColor;border-radius:4px}html[data-theme=light] .wordmark{filter:invert(1)}nav{display:flex;gap:30px;font-size:13px}nav a{padding:12px 0;color:var(--muted)}nav a[aria-current=page],nav a:hover{color:var(--ink)}.header-actions{margin-left:auto;display:flex;gap:25px;align-items:center;font-size:12px}.header-actions button{display:flex;gap:15px;align-items:center}.open-link{padding:10px 16px;border:1px solid var(--line);border-radius:30px}main{max-width:1480px;margin:auto;padding:40px 5% 0;min-height:65vh}section{margin-bottom:70px}h1,h2,h3,p{margin:0}h1{font-size:clamp(42px,5.6vw,78px);letter-spacing:-.065em;line-height:1.02;font-weight:650}h2{font-size:26px;font-weight:620;letter-spacing:-.8px}p{color:var(--muted);line-height:1.65;font-size:14px}.eyebrow{display:block;font-size:11px;font-weight:650;letter-spacing:1.8px;text-transform:uppercase;margin-bottom:22px;color:var(--blue)}.hero{min-height:480px;background:#101a39;color:#fff;border-radius:18px;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;padding:55px 7%;gap:7%;overflow:hidden;position:relative}.hero-copy{position:relative;z-index:1}.hero .eyebrow{color:#aebaff}.hero p{margin:24px 0 28px;color:#c1c8dc;font-size:15px}.button{display:inline-flex;justify-content:center;align-items:center;border-radius:28px;background:var(--blue);color:#10152b;font-size:13px;font-weight:650;padding:13px 23px;transition:transform .2s,filter .2s}html[data-theme=light] .button{color:#fff}.hero .button{background:#9caaff;color:#10152b}.button:hover{filter:brightness(1.08);transform:translateY(-2px)}.hero-index{display:block;font-size:10px;color:#8d9abb;letter-spacing:.5px;margin-top:40px}.hero-art{max-width:310px;justify-self:center;width:100%;position:relative}.hero-cover{display:block;transform:rotate(6deg);box-shadow:0 28px 60px #0005;border-radius:9px;transition:transform .4s}.hero-cover:hover{transform:rotate(0deg)}.hero-portraits{display:flex;align-items:center;position:relative;margin:30px -15px 0}.hero-portraits img{width:50px;height:50px;border-radius:50%;object-fit:cover;border:3px solid #101a39;margin-left:-8px}.hero-portraits span{font-size:11px;color:#c5cce1;margin-left:12px;line-height:1.5}.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.section-title p{margin-top:7px;font-size:13px}.section-title>span{color:var(--muted);font-size:11px;white-space:nowrap}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.cards:has(>.chart-card:nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.chart-card{min-width:0}.chart-card>.chart-art{transition:transform .25s,box-shadow .25s}.chart-card:hover>.chart-art{transform:translateY(-5px);box-shadow:0 12px 24px #0002}.card-caption{display:flex;justify-content:space-between;gap:8px;margin-top:15px}.card-caption h3{font-size:15px;font-weight:600;letter-spacing:-.2px}.card-caption p{font-size:11px;margin-top:5px}.card-caption>span{color:var(--muted)}.chart-art{position:relative;container-type:inline-size;aspect-ratio:1;overflow:hidden;border-radius:8px;background:#231b3b;--chart-color:#b39aff;color:#fff}.chart-art>img{position:absolute;left:7%;top:7%;width:28%;height:auto}.chart-cover-type{position:absolute;left:7%;right:7%;top:24%;display:flex;flex-direction:column;gap:5cqw}.chart-cover-type strong{font-size:12cqw;font-weight:750;line-height:1.03;letter-spacing:-.045em}.chart-cover-type span{font-size:7.5cqw;font-weight:550;line-height:1.18;letter-spacing:-.02em}.chart-mosaic,.city-rhythm{position:absolute;left:7%;right:7%;bottom:7%;height:32%;border-radius:2px;overflow:hidden}.chart-mosaic{display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(4,1fr);background:#ffffff08}.chart-mosaic i{background:var(--chart-color);opacity:var(--tile)}.chart-blue{background:#152d48;--chart-color:#89caff}.chart-amber{background:#422918;--chart-color:#f7bd79}.chart-green{background:#16382e;--chart-color:#88dfb8}.chart-rose{background:#421d33;--chart-color:#fba6cf}.chart-teal{background:#153b40;--chart-color:#85dce1}.closing{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:40px 0;border-top:1px solid var(--line)}.closing .eyebrow{margin-bottom:12px}footer{max-width:1480px;padding:35px 5%;margin:auto;border-top:1px solid var(--line);display:flex;align-items:center;gap:25px;flex-wrap:wrap}footer>div{display:flex;align-items:center;gap:25px;margin-left:auto;font-size:12px;color:var(--muted)}footer small{width:100%;font-size:10px;color:var(--muted)}.page-intro{padding:28px 0 10px;margin-bottom:50px}.page-intro h1{font-size:clamp(36px,5vw,64px)}.page-intro p{margin-top:20px}.back{display:inline-block;color:var(--muted);font-size:12px;margin-bottom:25px}.detail-hero{display:grid;grid-template-columns:260px 1fr;gap:45px;align-items:center;margin-bottom:55px}.detail-hero h1{font-size:clamp(34px,4.5vw,60px);margin-bottom:18px}.detail-hero p{max-width:600px}.detail-hero .eyebrow{margin-bottom:14px}.actions{display:flex;gap:12px;margin:24px 0 15px;flex-wrap:wrap}.secondary{font-size:12px;padding:10px 15px;border:1px solid var(--line);border-radius:25px;background:var(--surface)}.method-note{font-size:11px;color:var(--muted)}.table-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.table-toolbar>div{display:flex;gap:12px}input{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:12px 15px;color:var(--ink);font-size:13px;min-width:0}input::placeholder{color:var(--muted)}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:10px;font-weight:500;color:var(--muted);padding:15px 12px;border-bottom:1px solid var(--line)}td{padding:12px;border-bottom:1px solid var(--line)}tr:hover td{background:var(--surface)}.rank{width:60px;font-size:18px;font-variant-numeric:tabular-nums;color:var(--muted)}.track{display:flex;gap:16px;align-items:center;min-width:0}.track img{width:48px;height:48px;object-fit:cover;border-radius:5px;flex-shrink:0}.track strong{display:block;font-size:13px;font-weight:550;line-height:1.5}.track small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.artist-col{width:28%;color:var(--muted)}.listen{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:50%;font-size:19px;color:var(--blue)}.chart-note{font-size:11px;margin:25px 0 60px}.chart-note a{text-decoration:underline}.methodology{max-width:760px;margin:40px auto 100px}.methodology h1{font-size:52px;margin-bottom:30px}.methodology h2{font-size:22px;margin:35px 0 12px}.methodology .button{margin-top:30px}dialog{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:16px;width:min(460px,calc(100% - 32px));padding:25px;box-shadow:0 25px 80px #0005}dialog[open]{animation:reveal .2s ease-out}dialog::backdrop{background:#0008;backdrop-filter:blur(8px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{font-size:23px}.dialog-head button{padding:8px}dialog>p{font-size:12px;margin:10px 0 20px}dialog input{width:100%}#countries{max-height:45vh;overflow:auto;margin-top:15px}#countries button{display:flex;justify-content:space-between;width:100%;text-align:left;padding:14px 8px;font-size:13px;border-bottom:1px solid var(--line)}#countries button:hover,#countries button[aria-pressed=true]{color:var(--blue)}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:13px 20px;border-radius:30px;font-size:12px;z-index:10;box-shadow:0 5px 30px #0003}#toast:empty{display:none}#appearance-dialog{margin:0;padding:5px 14px;width:150px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);box-shadow:0 10px 40px #0003}.appearance-options{display:flex;flex-direction:column}.appearance-options button{text-align:left;padding:12px 0;font-size:12px;border-bottom:1px solid var(--line)}.appearance-options button:last-child{border:0}.appearance-options [aria-checked=true]{color:var(--blue)}.loading{padding:120px 0;color:var(--muted)}.image-fallback{background:#222333;padding:8px;object-fit:contain!important}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:fixed;z-index:20;background:var(--surface);padding:15px}.table-wrap{overflow:auto}#no-results{padding:35px;text-align:center}@keyframes reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}main>section{animation:reveal .35s ease-out}@media(min-width:1500px){.hero{min-height:530px}.hero-art{max-width:350px}}@media(max-width:1000px){header{gap:30px}.header-actions{gap:12px}.cards:has(>.chart-card:nth-child(5)){grid-template-columns:repeat(3,1fr)}.hero{padding:40px 6%;gap:30px;min-height:430px}.hero-art{max-width:250px}.hero h1{font-size:56px}.detail-hero{grid-template-columns:220px 1fr;gap:30px}}@media(max-width:700px){header{height:auto;min-height:105px;padding:20px 5% 0;gap:15px;flex-wrap:wrap}.brand img{width:92px}.brand>span{font-size:14px}.header-actions{font-size:11px}.open-link{display:none}nav{order:3;width:100%;gap:28px}main{padding-top:24px}.hero{grid-template-columns:1fr;padding:34px 28px;gap:35px}.hero h1{font-size:57px}.hero p{font-size:13px}.hero-index{display:none}.hero-art{max-width:240px;margin-bottom:5px}.hero-portraits{margin-top:25px}.cards,.cards:has(>.chart-card:nth-child(5)){grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 16px}.section-title h2{font-size:22px}.section-title>span{display:none}.section-title p{font-size:12px}section{margin-bottom:45px}.card-caption h3{font-size:13px}.card-caption p{font-size:10px}.closing{align-items:flex-start;flex-direction:column}.closing h2{font-size:23px}footer>div{width:100%;margin:0;gap:20px;flex-wrap:wrap}.detail-hero{grid-template-columns:120px minmax(0,1fr);gap:20px;align-items:start}.detail-hero h1{font-size:30px}.detail-hero .eyebrow{font-size:9px}.detail-hero p{font-size:12px}.actions{gap:8px}.actions .button,.actions .secondary{font-size:11px;padding:10px 13px}.table-toolbar{align-items:start;flex-direction:column}.table-toolbar>div{width:100%}.table-toolbar input{width:100%;flex:1}.table-toolbar .secondary{white-space:nowrap}.artist-col{display:none}td{padding:11px 4px}.rank{font-size:14px;width:30px}.track{gap:10px}.track strong{font-size:12px}.track img{width:42px;height:42px}.track small{font-size:10px}.listen{width:28px}.methodology h1{font-size:40px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

html[data-theme=light] .hero .button{color:#10152b}

/* Canonical City Rhythm artwork from the Zamar player. */
.city-chart-art{display:block;padding:0;background:#f1efea;color:#171719;border:0;border-radius:9px;box-shadow:inset 0 0 0 1px #ffffff12;--city-ink:#266d77;--city-soft:#dbe8e4}
.chart-art>img.city-chart-logo{position:absolute;z-index:2;left:7%;top:7%;width:28%;height:auto;max-width:none;object-fit:contain}
.city-chart-heading{position:absolute;left:7%;right:7%;top:24%;padding:0;min-width:0;display:flex;flex-direction:column;gap:5cqw;align-items:flex-start;justify-content:flex-start}
.city-chart-top{display:flex;align-items:center;justify-content:flex-start;gap:0;min-height:0}
.city-chart-top strong{font-size:clamp(16px,12cqw,40px);font-weight:750;line-height:1.03;letter-spacing:-.045em;white-space:nowrap}
.city-chart-heading>span{font-size:clamp(11px,7.5cqw,25px);font-weight:550;line-height:1.18;letter-spacing:-.02em;max-width:100%;white-space:normal;text-wrap:pretty;overflow-wrap:normal;color:#28282b}
.city-chart-art[data-city="chart-city-nairobi"]{--city-ink:#526f3c;--city-soft:#e2e7d9}
.city-chart-art[data-city="chart-city-kampala"]{--city-ink:#a36542;--city-soft:#eee0d5}
.city-chart-art[data-city="chart-city-kigali"]{--city-ink:#6d5a91;--city-soft:#e4deed}
.city-chart-art[data-city="chart-city-new-york"]{--city-ink:#426285;--city-soft:#dde4ed}
.city-rhythm{position:absolute;left:7%;right:7%;bottom:7%;height:32%;display:flex;align-items:flex-end;gap:2.3%;overflow:hidden;background:var(--city-soft);border-radius:2px;padding:0 4%;isolation:isolate}
.city-rhythm::before{content:"";position:absolute;left:-5%;right:-5%;top:46%;height:34%;border-top:1px solid #ffffffaa;border-bottom:1px solid #ffffffaa;transform:rotate(-18deg);z-index:2;pointer-events:none}
.city-rhythm i{display:block;flex:1;height:var(--rise);background:var(--city-ink);opacity:var(--shade);border-radius:20px 20px 0 0;position:relative}
.city-rhythm i:nth-child(3n){border-radius:1px}
.city-rhythm i:nth-child(4n)::after{content:"";position:absolute;inset:15% 35% 0;background:repeating-linear-gradient(to bottom,#ffffff70 0 2px,transparent 2px 9px)}

/* City artwork follows the supplied purple capsule reference. */
.city-chart-art{border-radius:5.5%}
.city-rhythm{display:block;padding:0}
.city-rhythm i{display:none}
.city-rhythm i:nth-child(1),.city-rhythm i:nth-child(2){display:block;position:absolute;flex:none;width:37%;height:135%;top:9%;left:50%;border-radius:55px 55px 0 0;transform:rotate(-25deg);background:#b39aff;opacity:.66}
.city-rhythm i:nth-child(2){left:88%;top:16%;opacity:.94}
.city-rhythm::before{left:-10%;right:-10%;top:46%;height:36%;transform:rotate(-18deg)}
.city-chart-art[data-city="chart-city-nairobi"] .city-rhythm i,.city-chart-art[data-city="chart-city-kampala"] .city-rhythm i,.city-chart-art[data-city="chart-city-new-york"] .city-rhythm i{opacity:.48}
.city-chart-art[data-city="chart-city-kigali"] .city-rhythm i:first-child{opacity:.94}
.city-chart-art[data-city="chart-city-kigali"] .city-rhythm i:nth-child(2){opacity:.66}

/* Ranked previews: Zamar typography and accents, with compact chart switching. */
.chart-preview{margin-bottom:80px}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;border-radius:12px;background:color-mix(in srgb,var(--blue) 12%,var(--surface));border:1px solid color-mix(in srgb,var(--blue) 20%,transparent)}.preview-heading h2{font-size:28px;letter-spacing:-1px}.preview-heading>a{font-size:13px;font-weight:600;display:flex;gap:12px;align-items:center;color:var(--blue)}.preview-switches{display:flex;gap:8px;flex-wrap:wrap;padding:24px 0 20px}.preview-switches button{padding:10px 16px;border:1px solid var(--line);border-radius:24px;font-size:13px;transition:background .2s,color .2s,border-color .2s}.preview-switches button:hover{border-color:var(--blue)}.preview-switches button[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:var(--bg);font-weight:600}.preview-context{font-size:12px;margin-bottom:20px;color:var(--ink);font-weight:600}.preview-context span{color:var(--muted);font-weight:400}.preview-tracks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;list-style:none;padding:0;margin:0;animation:preview-arrive .3s ease both}.preview-tracks li{min-width:0}.preview-cover{position:relative;display:block;margin-bottom:23px}.preview-cover img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:12px;background:var(--surface)}.preview-rank{position:absolute;left:12px;bottom:-12px;min-width:36px;height:36px;display:grid;place-items:center;padding:0 9px;background:var(--blue);color:var(--bg);font-size:21px;font-weight:750;border-radius:8px;box-shadow:0 3px 12px #0002;font-variant-numeric:tabular-nums}.preview-open{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#08090dcc;color:white;opacity:0;transition:opacity .2s}.preview-cover:hover .preview-open,.preview-cover:focus-visible .preview-open{opacity:1}.preview-name{display:block;width:fit-content;max-width:100%;font-size:15px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}.preview-artist{display:block;width:fit-content;max-width:100%;font-size:13px;line-height:1.5;color:var(--muted);margin-top:5px}.preview-name:hover,a.preview-artist:hover{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}@keyframes preview-arrive{from{opacity:.3}to{opacity:1}}@media(max-width:900px){.preview-tracks{gap:16px}.preview-name{font-size:14px}}@media(max-width:600px){.preview-heading{padding:18px}.preview-heading h2{font-size:23px}.preview-heading>a{font-size:12px}.preview-switches{gap:6px;padding-top:18px}.preview-switches button{font-size:12px;padding:9px 12px}.preview-tracks{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}.preview-tracks li:first-child{grid-column:1/-1;display:grid;grid-template-columns: minmax(0,1fr) minmax(0,1fr);column-gap:16px;align-content:center}.preview-tracks li:first-child .preview-cover{grid-row:1/3;margin-bottom:0}.preview-tracks li:first-child .preview-name{align-self:end}.preview-tracks li:first-child .preview-artist{align-self:start}.chart-preview{margin-bottom:55px}}@media(prefers-reduced-motion:reduce){.preview-tracks{animation:none}.preview-switches button,.preview-open{transition:none}}

/* Reference-aligned top charts presentation. */
.chart-preview{position:relative;margin-top:-22px;z-index:2;--chart-accent:#00ed9b}.preview-heading{border:0;border-radius:0;background:var(--chart-accent);color:#000;padding:18px 30px;min-height:68px}.preview-heading h2{font-size:clamp(26px,3.1vw,42px);font-weight:900;letter-spacing:1px;text-transform:uppercase;line-height:1}.preview-heading>a{color:#000;text-transform:uppercase;font-family:ui-monospace,SFMono-Regular,monospace;font-weight:500;letter-spacing:2px;font-size:15px}.preview-heading>a span{display:none}.preview-switches{justify-content:center;gap:32px;padding:38px 0 32px}.preview-switches button{padding:14px 19px;border:1.5px solid var(--ink);border-radius:11px;font-size:clamp(16px,1.55vw,22px);font-weight:600;line-height:1.2}.preview-switches button[aria-pressed=true]{background:transparent;color:var(--ink);border-color:var(--ink);box-shadow:inset 0 0 0 3px var(--ink);font-weight:750}.preview-switches button:hover{border-color:var(--ink);background:color-mix(in srgb,var(--ink) 5%,transparent)}.preview-context{display:none}.preview-tracks{gap:24px}.preview-cover{margin-bottom:30px}.preview-cover img{border-radius:28px}.preview-rank{left:0;bottom:-17px;min-width:40px;height:35px;padding:0 12px;background:var(--chart-accent);color:#000;border-radius:0;box-shadow:none;font-size:24px;font-weight:900}.preview-name{font-size:clamp(16px,1.65vw,23px);font-weight:650;line-height:1.3;letter-spacing:-.4px}.preview-artist{font-size:clamp(14px,1.55vw,21px);line-height:1.4;margin-top:7px}.chart-spotlight{margin-bottom:0}
@media(max-width:700px){.preview-heading{padding:18px;min-height:64px}.preview-heading h2{font-size:26px}.preview-heading>a{font-size:11px;letter-spacing:1px}.preview-switches{gap:10px;padding:25px 0}.preview-switches button{font-size:14px;padding:12px}.preview-cover img{border-radius:20px}.preview-tracks li:first-child{display:block;grid-column:auto}.preview-tracks li:first-child .preview-cover{margin-bottom:30px}.preview-rank{height:32px;font-size:21px;min-width:36px}.preview-tracks{gap:28px 16px}.preview-name{font-size:16px}.preview-artist{font-size:14px}.chart-preview{margin-top:-16px}}
