:root,[data-theme="light"]{
--text-xs:clamp(.75rem,.7rem + .25vw,.875rem);
--text-sm:clamp(.875rem,.8rem + .35vw,1rem);
--text-base:clamp(1rem,.95rem + .25vw,1.125rem);
--text-lg:clamp(1.125rem,1rem + .75vw,1.5rem);
--text-xl:clamp(1.5rem,1.2rem + 1.25vw,2.25rem);
--text-2xl:clamp(2rem,1.2rem + 2.5vw,3.5rem);
--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.25rem;--space-6:1.5rem;--space-8:2rem;--space-10:2.5rem;--space-12:3rem;--space-16:4rem;--space-20:5rem;
--color-bg:#f7f5f0;--color-surface:#fcfbf8;--color-surface-2:#f2eee7;--color-border:rgba(31,32,36,.12);--color-text:#17181c;--color-text-muted:#676b76;--color-primary:#0c7c66;--color-primary-2:#f7a928;--color-accent:#cb2f52;--color-inverse:#fff;
--shadow-sm:0 1px 2px rgba(0,0,0,.06);--shadow-md:0 10px 30px rgba(0,0,0,.08);--shadow-lg:0 24px 60px rgba(0,0,0,.14);
--radius-sm:14px;--radius-md:20px;--radius-lg:28px;--radius-xl:36px;
--font-body:'Plus Jakarta Sans',system-ui,sans-serif;--font-display:'DM Serif Display',Georgia,serif;
}
[data-theme="dark"]{
--color-bg:#0d1117;--color-surface:#131a22;--color-surface-2:#1a2330;--color-border:rgba(255,255,255,.1);--color-text:#f4f7fb;--color-text-muted:#9aa4b1;--color-primary:#18b28f;--color-primary-2:#ffb545;--color-accent:#ff4d6d;--color-inverse:#071018;
--shadow-sm:0 1px 2px rgba(0,0,0,.22);--shadow-md:0 10px 30px rgba(0,0,0,.28);--shadow-lg:0 24px 60px rgba(0,0,0,.4);
}

*,
*::before,
*::after{
box-sizing:border-box;
margin:0;
padding:0;
}

html{
scroll-behavior:smooth;
max-width:100%;
overflow-x:clip;
}

body{
font-family:var(--font-body);
font-size:var(--text-base);
background:
radial-gradient(circle at top left, rgba(24,178,143,.16), transparent 28%),
radial-gradient(circle at top right, rgba(255,181,69,.12), transparent 24%),
var(--color-bg);
color:var(--color-text);
line-height:1.6;
max-width:100%;
overflow-x:clip;
}

img,svg{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}

.container{
width:min(1200px,calc(100% - 32px));
margin-inline:auto;
min-width:0;
}

.skip-link{
position:absolute;
left:-999px;
top:0;
}
.skip-link:focus{
left:12px;
top:12px;
background:var(--color-primary);
color:#fff;
padding:10px 14px;
border-radius:999px;
}

.topbar{
position:sticky;
top:0;
z-index:1200;
backdrop-filter:blur(16px);
background:color-mix(in srgb,var(--color-bg) 76%, transparent);
border-bottom:1px solid var(--color-border);
}

.nav{
display:flex;
align-items:center;
justify-content:space-between;
gap:var(--space-6);
padding:18px 0;
min-width:0;
}

.brand{
display:flex;
align-items:center;
gap:14px;
font-weight:800;
letter-spacing:.02em;
min-width:0;
}

.logo{
width:52px;
height:52px;
flex:none;
display:block;
border-radius:16px;
overflow:hidden;
background:none;
box-shadow:none;
padding:0;
}

.logo img{
display:block;
width:100%;
height:100%;
object-fit:contain;
border-radius:16px;
}

.logo svg{
display:none;
}

.brand-text{
display:block;
line-height:1;
white-space:nowrap;
}

.nav-links{
display:flex;
gap:24px;
color:var(--color-text-muted);
font-size:var(--text-sm);
min-width:0;
}

.nav-actions{
display:flex;
align-items:center;
gap:12px;
min-width:0;
flex:1 1 auto;
justify-content:flex-end;
}

.search-pill{
display:flex;
align-items:center;
gap:10px;
min-height:44px;
padding:0 14px;
border-radius:999px;
background:rgba(19,26,34,.9);
border:1px solid rgba(255,255,255,.1);
width:min(420px,100%);
max-width:100%;
min-width:0;
overflow:hidden;
}

.search-pill input{
flex:1 1 auto;
min-width:0;
width:100%;
background:transparent;
border:0;
outline:none;
color:inherit;
font-size:var(--text-sm);
}

.search-pill input::placeholder{
color:var(--color-text-muted);
}

.search-icon{
flex:none;
color:var(--color-text-muted);
font-size:16px;
line-height:1;
}

.search-clear{
flex:none;
border:0;
background:transparent;
color:var(--color-text-muted);
font-size:20px;
line-height:1;
cursor:pointer;
padding:0;
width:24px;
height:24px;
display:grid;
place-items:center;
}

.search-clear:hover{
color:var(--color-text);
}

.search-dropdown{
position:fixed;
left:50%;
transform:translateX(-50%);
top:calc(env(safe-area-inset-top, 0px) + 86px);
width:min(1200px,calc(100vw - 32px));
background:var(--color-surface);
border:1px solid var(--color-border);
border-radius:24px;
box-shadow:var(--shadow-lg);
overflow:hidden;
z-index:1400;
}

.search-dropdown[hidden]{
display:none !important;
}

.search-dropdown-inner{
max-height:min(70vh,620px);
overflow:auto;
-webkit-overflow-scrolling:touch;
}

.search-group-title{
padding:14px 16px 10px;
font-size:var(--text-xs);
text-transform:uppercase;
letter-spacing:.12em;
color:var(--color-text-muted);
background:color-mix(in srgb,var(--color-surface) 94%,var(--color-surface-2));
border-top:1px solid var(--color-border);
}

.search-group-title:first-child{
border-top:0;
}

.search-result{
display:flex;
align-items:center;
gap:12px;
padding:12px 16px;
border-top:1px solid var(--color-border);
color:inherit;
text-decoration:none;
}

.search-result:first-of-type{
border-top:0;
}

.search-result:hover{
background:color-mix(in srgb,var(--color-surface) 86%,var(--color-surface-2));
}

.search-result img{
width:42px;
height:42px;
border-radius:12px;
object-fit:cover;
flex:none;
background:var(--color-surface-2);
}

.search-result .meta{
min-width:0;
flex:1;
}

.search-result .title{
font-size:var(--text-sm);
font-weight:700;
line-height:1.2;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.search-result .sub{
font-size:var(--text-xs);
color:var(--color-text-muted);
margin-top:2px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.search-result .type{
font-size:var(--text-xs);
color:var(--color-text-muted);
white-space:nowrap;
}

.search-empty{
padding:18px 16px;
color:var(--color-text-muted);
font-size:var(--text-sm);
}

.search-chip,.theme-toggle,.cta,.ghost{
min-height:44px;
border:1px solid var(--color-border);
border-radius:999px;
padding:0 16px;
display:inline-flex;
align-items:center;
justify-content:center;
gap:10px;
background:var(--color-surface);
}

.theme-toggle{
width:44px;
padding:0;
flex:none;
}

.cta{
background:var(--color-primary);
color:#03110d;
border-color:transparent;
font-weight:800;
}

.ghost{background:transparent}

.hero{
padding:clamp(24px,4vw,48px) 0 var(--space-16);
}

.hero-grid{
display:grid;
grid-template-columns:1.2fr .8fr;
gap:28px;
align-items:stretch;
}

.hero-copy,.hero-panel,.section-card,.song-card,.artist-card,.news-card,.stat-card,.feature-tile{
background:var(--color-surface);
border:1px solid var(--color-border);
box-shadow:var(--shadow-md);
}

.hero-copy{
border-radius:var(--radius-xl);
padding:clamp(24px,4vw,56px);
position:relative;
overflow:hidden;
}

.eyebrow{
display:inline-flex;
align-items:center;
gap:8px;
padding:8px 14px;
border-radius:999px;
background:color-mix(in srgb,var(--color-primary) 16%,var(--color-surface));
color:var(--color-primary-2);
font-size:var(--text-xs);
font-weight:700;
text-transform:uppercase;
letter-spacing:.12em;
}

h1{
font-family:var(--font-display);
font-size:clamp(2.6rem,5vw,5.8rem);
line-height:.95;
max-width:10ch;
margin-top:18px;
}

.hero-copy p{
max-width:58ch;
color:var(--color-text-muted);
margin-top:18px;
}

.hero-actions{
display:flex;
gap:12px;
flex-wrap:wrap;
margin-top:24px;
}

.hero-stats{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:14px;
margin-top:28px;
}

.stat-card{
padding:18px;
border-radius:22px;
background:color-mix(in srgb,var(--color-surface) 85%,var(--color-surface-2));
}

.stat-card strong{
display:block;
font-size:var(--text-lg);
}

.stat-card span{
color:var(--color-text-muted);
font-size:var(--text-sm);
}

.hero-panel{
border-radius:var(--radius-xl);
padding:22px;
display:flex;
flex-direction:column;
gap:16px;
}

.hero-track-card{
display:flex;
align-items:center;
gap:14px;
margin-top:20px;
padding:14px;
border-radius:20px;
background:rgba(13,17,23,.45);
border:1px solid rgba(255,255,255,.08);
backdrop-filter:blur(10px);
}

.hero-track-cover{
width:72px;
height:72px;
border-radius:18px;
object-fit:cover;
background:rgba(255,255,255,.06);
flex:none;
}

.hero-track-meta{
min-width:0;
}

.hero-track-meta strong{
display:block;
font-size:var(--text-base);
line-height:1.2;
}

.hero-track-meta span{
display:block;
margin-top:4px;
font-size:var(--text-sm);
color:#d7dde6;
}

.visual{
min-height:340px;
border-radius:28px;
background:
linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35)),
radial-gradient(circle at 20% 20%, rgba(255,181,69,.35), transparent 26%),
radial-gradient(circle at 80% 15%, rgba(255,77,109,.28), transparent 25%),
linear-gradient(135deg,#203042,#0d1117 65%);
padding:24px;
display:flex;
flex-direction:column;
justify-content:flex-end;
position:relative;
overflow:hidden;
}

.floating-player{
position:absolute;
top:22px;
right:22px;
background:rgba(13,17,23,.76);
border:1px solid rgba(255,255,255,.12);
padding:12px 14px;
border-radius:18px;
backdrop-filter:blur(12px);
font-size:var(--text-sm);
}

.visual h2{
font-size:var(--text-xl);
max-width:10ch;
}

.section{
padding:0 0 var(--space-16);
}

.section-head{
display:flex;
align-items:end;
justify-content:space-between;
gap:20px;
margin-bottom:20px;
}

.section-head h2{
font-size:var(--text-xl);
font-family:var(--font-display);
}

.section-head p{
color:var(--color-text-muted);
max-width:58ch;
}

.song-grid{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:18px;
}

.song-card{
border-radius:24px;
overflow:hidden;
}

.song-card-link{
display:block;
height:100%;
}

.cover{
aspect-ratio:1/1;
background:linear-gradient(135deg,#5a264d,#1d4e63);
position:relative;
overflow:hidden;
}

.cover img{
width:100%;
height:100%;
object-fit:cover;
}

.cover-placeholder{
width:100%;
height:100%;
background:linear-gradient(135deg,#5a264d,#1d4e63);
}

.song-meta{
padding:16px;
}

.song-meta h3{
font-size:1rem;
}

.song-meta p{
font-size:var(--text-sm);
color:var(--color-text-muted);
}

.mini-tags{
display:flex;
gap:8px;
flex-wrap:wrap;
margin-top:12px;
}

.mini-tags span{
font-size:var(--text-xs);
padding:6px 10px;
border-radius:999px;
background:var(--color-surface-2);
color:var(--color-text-muted);
}

.artists-grid-wrap{
overflow:hidden;
max-height:430px;
transition:max-height 1420ms cubic-bezier(0.4,1,0.3,1);
}

.artists-grid-wrap[data-expanded="true"]{
max-height:1400px;
}

.artists-grid{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:18px;
}

.artist-grid-card{
border-radius:24px;
overflow:hidden;
background:var(--color-surface);
border:1px solid var(--color-border);
box-shadow:var(--shadow-md);
}

.artist-grid-link{
display:block;
height:100%;
}

.artist-grid-cover{
aspect-ratio:1/1;
background:linear-gradient(135deg,#183c67,#17b08e);
overflow:hidden;
}

.artist-grid-cover img,
.artist-grid-placeholder{
width:100%;
height:100%;
object-fit:cover;
}

.artist-grid-placeholder{
background:linear-gradient(135deg,#183c67,#17b08e);
}

.artist-grid-meta{
padding:16px;
}

.artist-grid-meta h3{
font-size:1rem;
line-height:1.25;
}

.artist-grid-meta p{
font-size:var(--text-sm);
color:var(--color-text-muted);
margin-top:6px;
}

.artists-toggle{
white-space:nowrap;
}

.chart-grid-wrap{
overflow:hidden;
max-height:430px;
transition:max-height 420ms cubic-bezier(0.16,1,0.3,1)
}
.chart-grid-wrap[data-expanded="true"]{
max-height:1400px
}

.chart-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:18px
}

.chart-card{
display:flex;
flex-direction:column;
gap:12px;
min-width:0;
padding:16px;
border-radius:24px;
background:var(--color-surface);
border:1px solid var(--color-border);
box-shadow:var(--shadow-md)
}

.chart-rank{
font-size:var(--text-sm);
font-weight:800;
color:var(--color-primary-2);
line-height:1
}

.chart-cover{
display:block;
aspect-ratio:1/1;
border-radius:20px;
overflow:hidden;
background:linear-gradient(135deg,#183c67,#17b08e)
}

.chart-cover img,
.chart-cover-placeholder{
width:100%;
height:100%;
display:block;
object-fit:cover
}

.chart-cover-placeholder{
background:linear-gradient(135deg,#183c67,#17b08e)
}

.chart-meta{
min-width:0
}

.chart-meta h3{
font-size:1rem;
line-height:1.25;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis
}

.chart-meta p{
margin-top:6px;
font-size:var(--text-sm);
color:var(--color-text-muted);
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis
}

.chart-empty{
grid-column:1/-1;
padding:20px;
border-radius:24px;
background:var(--color-surface);
border:1px solid var(--color-border);
box-shadow:var(--shadow-md)
}

@media (max-width:1100px){
.chart-grid{
grid-template-columns:repeat(3,1fr)
}
.chart-grid-wrap{
max-height:none
}
}

@media (max-width:760px){
.chart-grid{
grid-template-columns:repeat(2,1fr)
}
}

@media (max-width:480px){
.chart-grid{
grid-template-columns:1fr
}
}

.news-section{
padding:var(--space-16) 0;
overflow:clip;
}

.news-grid{
display:grid;
grid-template-columns:minmax(0,1.45fr) minmax(0,.85fr);
gap:24px;
align-items:start;
width:100%;
}

.news-grid>*{
min-width:0;
}

.news-stack{
display:grid;
gap:24px;
min-width:0;
}

.news-card{
min-width:0;
background:var(--color-surface);
border:1px solid var(--color-border);
border-radius:var(--radius-xl);
overflow:hidden;
box-shadow:var(--shadow-sm);
}

.news-card__link{
display:block;
min-width:0;
height:100%;
}

.news-card__media{
aspect-ratio:16/9;
overflow:hidden;
min-width:0;
background:linear-gradient(135deg, rgba(41,110,184,.42), rgba(9,17,30,.92));
}

.news-card__media img{
display:block;
width:100%;
height:100%;
object-fit:cover;
}

.news-card__body{
padding:24px 26px;
min-width:0;
}

.news-card--lead h3,
.news-card--side h3,
.news-card--lead p{
overflow-wrap:anywhere;
word-break:break-word;
}

.news-card--lead h3{
font-family:var(--font-display);
font-size:clamp(2rem,1.45rem + 1.8vw,3.15rem);
line-height:1.02;
margin-bottom:14px;
}

.news-card--lead p{
color:var(--color-text-muted);
font-size:var(--text-lg);
line-height:1.45;
max-width:52ch;
}

.news-card--side{
min-height:210px;
}

.news-card--side h3{
font-size:clamp(1.35rem,1.05rem + .9vw,2rem);
line-height:1.12;
}

.features{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:16px;
}

.feature-tile{
border-radius:24px;
padding:18px;
}

.feature-tile strong{
display:block;
margin-bottom:10px;
}

.chart-grid-wrap{
overflow:hidden;
max-height:255px;
transition:max-height 1420ms cubic-bezier(0.4,1,0.3,1);
}

.chart-grid-wrap[data-expanded="true"]{
max-height:620px;
}

.chart-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:16px;
}

.chart-card{
background:var(--color-surface);
border:1px solid var(--color-border);
box-shadow:var(--shadow-md);
border-radius:22px;
padding:14px;
display:flex;
flex-direction:column;
gap:10px;
min-width:0;
}

.chart-rank{
font-size:var(--text-sm);
font-weight:800;
letter-spacing:.02em;
color:var(--color-primary-2);
line-height:1;
}

.chart-cover{
display:block;
width:100%;
max-width:88px;
border-radius:16px;
overflow:hidden;
background:linear-gradient(135deg,#5a264d,#1d4e63);
box-shadow:var(--shadow-sm);
}

.chart-cover img,
.chart-cover-placeholder{
display:block;
width:100%;
aspect-ratio:1/1;
object-fit:cover;
}

.chart-cover-placeholder{
background:linear-gradient(135deg,#5a264d,#1d4e63);
}

.chart-meta{
min-width:0;
}

.chart-meta h3{
font-size:var(--text-sm);
line-height:1.2;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
font-weight:800;
}

.chart-meta p{
margin-top:4px;
font-size:var(--text-xs);
color:var(--color-text-muted);
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.chart-empty{
grid-column:1 / -1;
background:var(--color-surface);
border:1px solid var(--color-border);
box-shadow:var(--shadow-md);
border-radius:22px;
padding:18px;
color:var(--color-text-muted);
}

.chart-toggle{
white-space:nowrap;
}

@media (max-width:1100px){
.chart-grid{
grid-template-columns:repeat(4,1fr);
}
}

@media (max-width:760px){
.chart-grid-wrap{
max-height:none;
}

.chart-grid-wrap[data-expanded="true"]{
max-height:none;
}

.chart-grid{
grid-template-columns:repeat(2,1fr);
gap:14px;
}

.chart-card{
padding:12px;
}

.chart-cover{
max-width:76px;
}
}

@media (max-width:480px){
.chart-grid{
grid-template-columns:repeat(2,1fr);
gap:12px;
}

.chart-rank{
font-size:var(--text-xs);
}

.chart-meta h3{
font-size:var(--text-xs);
}

.chart-meta p{
font-size:12px;
}
}

.rising-layout{
display:grid;
grid-template-columns:1fr .9fr;
gap:18px;
}

.section-card{
border-radius:28px;
padding:22px;
}

.feature-artist{
display:grid;
grid-template-columns:180px 1fr;
gap:18px;
align-items:center;
}

.artist-photo{
aspect-ratio:1/1;
border-radius:24px;
background:linear-gradient(135deg,#ff8b7b,#5d1f73);
}

.artist-stack{
display:grid;
gap:14px;
}

.artist-card{
border-radius:22px;
padding:16px;
display:flex;
align-items:center;
gap:14px;
}

.avatar{
width:64px;
height:64px;
border-radius:20px;
background:linear-gradient(135deg,#17b08e,#1d2f45);
}

.artist-card small,
.news-card small{
color:var(--color-text-muted);
}

.story-image{
height:220px;
border-radius:22px;
background:linear-gradient(135deg,#18486d,#101822);
margin-bottom:16px;
}

footer{
padding:0 0 40px;
}

.footer-card{
background:var(--color-surface);
border:1px solid var(--color-border);
border-radius:30px;
padding:24px;
display:flex;
justify-content:space-between;
gap:20px;
align-items:center;
}

.footer-links{
display:flex;
gap:18px;
flex-wrap:wrap;
color:var(--color-text-muted);
}

.footer-player{
position:fixed;
left:0;
right:0;
bottom:16px;
z-index:1000;
padding:0 16px;
}

.footer-player__inner{
width:min(1180px,100%);
margin:0 auto;
display:grid;
grid-template-columns:280px 1fr auto;
gap:18px;
align-items:center;
padding:14px 18px;
border-radius:24px;
background:rgba(12,17,24,.92);
border:1px solid rgba(255,255,255,.08);
box-shadow:var(--shadow-lg);
backdrop-filter:blur(18px);
}

.footer-player__track{
display:flex;
align-items:center;
gap:12px;
min-width:0;
}

.footer-player__cover{
width:56px;
height:56px;
border-radius:16px;
object-fit:cover;
flex:none;
background:var(--color-surface-2);
}

.footer-player__meta{
min-width:0;
}

.footer-player__meta strong{
display:block;
font-size:var(--text-sm);
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.footer-player__meta span{
display:block;
margin-top:4px;
font-size:var(--text-xs);
color:var(--color-text-muted);
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.footer-player__controls{
display:grid;
grid-template-columns:auto 1fr;
gap:14px;
align-items:center;
min-width:0;
}

.footer-player__main-btn,
.footer-player__close,
.footer-player__link{
min-height:44px;
border-radius:999px;
display:inline-flex;
align-items:center;
justify-content:center;
}

.footer-player__main-btn{
width:44px;
background:var(--color-primary);
color:#071018;
font-weight:800;
}

.footer-player__timeline{
display:grid;
grid-template-columns:48px 1fr 48px;
gap:10px;
align-items:center;
min-width:0;
}

.footer-player__timeline span{
font-size:var(--text-xs);
color:var(--color-text-muted);
text-align:center;
}

.footer-player__timeline input[type="range"]{
width:100%;
}

.footer-player__actions{
display:flex;
align-items:center;
gap:10px;
}

.footer-player__link{
padding:0 16px;
border:1px solid var(--color-border);
background:var(--color-surface);
color:var(--color-text);
text-decoration:none;
font-size:var(--text-sm);
}

.footer-player__close{
width:44px;
background:var(--color-surface);
border:1px solid var(--color-border);
color:var(--color-text);
font-size:22px;
}

@media (max-width:1100px){
.song-grid{grid-template-columns:repeat(3,1fr)}
.features{grid-template-columns:repeat(2,1fr)}
.hero-grid,.rising-layout{grid-template-columns:1fr}
.artists-grid{grid-template-columns:repeat(3,1fr)}
.artists-grid-wrap{max-height:none}
}

@media (max-width:980px){
.news-grid{grid-template-columns:1fr}
}

@media (max-width:900px){
.footer-player__inner{grid-template-columns:1fr;gap:12px}
.footer-player__actions{justify-content:space-between}
}

@media (max-width:760px){
    .nav{
        flex-wrap:nowrap;
        align-items:center;
        gap:10px;
    }

    .brand{
        width:auto;
        flex:0 0 auto;
        gap:0;
    }

    .brand-text{
        display:none;
    }

    .nav-links{
        display:none;
    }

    .nav-actions{
        order:0;
        width:auto;
        flex:1 1 auto;
        display:block;
        min-width:0;
    }

    .nav-actions > .theme-toggle,
    .nav-actions > .cta{
        display:none;
    }

    .nav-actions > .search-pill{
        width:100%;
        max-width:100%;
        min-width:0;
    }

    .search-pill{
        display:grid;
        grid-template-columns:auto minmax(0,1fr) auto;
        align-items:center;
        gap:10px;
        padding:0 12px;
        min-width:0;
        max-width:100%;
        overflow:hidden;
    }

    .search-pill input{
        min-width:0;
        width:100%;
        max-width:100%;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .search-dropdown{
        left:12px;
        right:12px;
        transform:none;
        top:calc(env(safe-area-inset-top, 0px) + 84px);
        width:auto;
        max-width:none;
        border-radius:20px;
    }

    .hero-stats{grid-template-columns:1fr}
    .song-grid{grid-template-columns:repeat(2,1fr)}
    .feature-artist{grid-template-columns:1fr}
    .features{grid-template-columns:1fr}
    .footer-card{flex-direction:column;align-items:flex-start}
    .artists-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:480px){
    .song-grid{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .artists-grid{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    h1{max-width:12ch}

    .container{
        width:min(100%,calc(100% - 24px));
    }

    .search-pill{
        padding:0 10px;
    }

    .search-dropdown{
        left:12px;
        right:12px;
        top:calc(env(safe-area-inset-top, 0px) + 84px);
    }
}