
:root{
  --bg-0:#040817;
  --bg-1:#08102a;
  --bg-2:#0d1738;
  --panel:#0a112d;
  --panel-2:#0c1433;
  --line:rgba(255,255,255,.08);
  --line-strong:rgba(255,255,255,.12);
  --text:#eef2ff;
  --muted:#a9b2d6;
  --muted-2:#8d97bf;
  --accent:#f33b97;
  --accent-2:#7f4dff;
  --shadow:0 18px 48px rgba(0,0,0,.28);
  --radius-xl:28px;
  --radius-lg:22px;
  --radius-md:16px;
  --radius-sm:12px;
  --content-max:1360px;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
}

html{
  color-scheme:dark;
}

body{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(123,52,255,.18), transparent 28%),
    radial-gradient(circle at top right, rgba(243,59,151,.14), transparent 24%),
    linear-gradient(180deg, #030716 0%, #020611 100%);
  color:var(--text);
  min-height:100vh;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input{
  font:inherit;
}

.page-shell{
  width:min(100%, var(--content-max));
  margin:0 auto;
  padding:28px 16px 40px;
}

.top-ad{
  display:flex;
  justify-content:center;
  margin:0 0 22px;
}

.top-ad__slot{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:90px;
}

.top-ad__slot iframe{
  display:block;
  width:min(100%, 728px);
  max-width:728px;
  height:90px;
  border:0;
  background:transparent;
  margin:0 auto;
}

.player-card,
.news-card{
  background:linear-gradient(180deg, rgba(12,19,49,.96), rgba(7,13,34,.96));
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
}

.player-card{
  overflow:hidden;
}

.player-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 22px 20px;
  border-bottom:1px solid var(--line);
}

.brand-lockup{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.brand-lockup__logo{
  width:62px;
  height:62px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  flex:0 0 auto;
}

.eyebrow{
  margin:0 0 2px;
  font-size:12px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--muted);
}

.player-header h1{
  margin:0;
  font-size:19px;
  line-height:1.1;
  font-weight:800;
}

.header-meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  font-weight:600;
  white-space:nowrap;
}

.pill--live{
  background:linear-gradient(180deg, rgba(243,59,151,.18), rgba(127,77,255,.14));
  border-color:rgba(243,59,151,.24);
}

.player-grid{
  display:grid;
  grid-template-columns:minmax(0, 2fr) minmax(320px, 360px);
  gap:22px;
  padding:22px;
}

.player-main{
  display:flex;
  flex-direction:column;
  gap:20px;
  min-width:0;
}

.cover-box,
.track-box,
.history-box,
.sidebar-copy,
.ad-box,
.featured-news,
.recent-news-list article{
  background:linear-gradient(180deg, rgba(10,17,45,.92), rgba(8,14,37,.92));
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
}

.cover-box{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:275px;
  padding:18px;
}

.cover-box img{
  width:min(100%, 245px);
  aspect-ratio:1 / 1;
  object-fit:cover;
  border-radius:24px;
  box-shadow:0 10px 26px rgba(0,0,0,.28);
}

.track-box{
  padding:22px;
}

.track-label{
  margin:0 0 10px;
  color:var(--muted);
  font-size:13px;
  letter-spacing:.04em;
}

.track-box h2{
  margin:0 0 8px;
  font-size:24px;
  line-height:1.08;
  font-weight:800;
}

#trackArtist{
  margin:0 0 18px;
  font-size:15px;
  color:var(--muted);
}

.control-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.volume-wrap{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:min(100%, 420px);
  flex:1 1 320px;
  color:var(--muted);
}

#volumeSlider{
  width:100%;
  accent-color:var(--accent);
  cursor:pointer;
}

.transport-buttons{
  display:flex;
  align-items:center;
  gap:10px;
}

.control-btn{
  width:48px;
  height:48px;
  border-radius:16px;
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(243,59,151,.14), rgba(127,77,255,.1));
  color:var(--text);
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.control-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.18);
}

.status-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:16px;
  color:var(--muted);
  font-size:14px;
  flex-wrap:wrap;
}

.history-box{
  padding:18px 18px 12px;
}

.section-title-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  margin-bottom:14px;
}

.section-title-row h3,
.section-title-row h2{
  margin:0;
  font-size:18px;
  line-height:1.1;
}

.section-caption{
  color:var(--muted);
  font-size:14px;
  white-space:nowrap;
}

.history-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.history-item{
  display:grid;
  grid-template-columns:48px minmax(0, 1fr);
  gap:12px;
  align-items:center;
}

.history-item__thumb{
  width:48px;
  height:48px;
  border-radius:14px;
  object-fit:cover;
  background:linear-gradient(180deg, rgba(127,77,255,.2), rgba(243,59,151,.12));
}

.history-item strong{
  display:block;
  font-size:15px;
  line-height:1.2;
  margin-bottom:2px;
}

.history-item p{
  margin:0;
  color:var(--muted);
  line-height:1.22;
}

.sidebar{
  display:grid;
  grid-template-rows:auto auto;
  align-content:start;
  gap:20px;
  min-width:0;
}

.sidebar-copy{
  padding:18px 18px 18px;
  min-height:auto;
  height:auto;
  display:flex;
  flex-direction:column;
}

.sidebar-copy h3{
  margin:0 0 8px;
  font-size:19px;
  line-height:1.14;
}

.sidebar-copy p:not(.eyebrow){
  margin:0;
  color:var(--text);
}

.sidebar-copy > p:last-of-type{
  color:var(--muted);
}

.social-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  border-top:1px solid var(--line-strong);
  margin-top:18px;
  padding-top:18px;
}

.social-btn{
  width:42px;
  height:42px;
  border-radius:15px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  font-weight:700;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.social-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
}

.ad-box{
  padding:16px 18px 18px;
  min-height:auto;
  height:auto;
}

.ad-box__caption{
  margin:0 0 12px;
  text-align:center;
  color:var(--muted);
  font-size:13px;
  letter-spacing:.04em;
}

.ad-box__slot{
  width:100%;
  min-height:250px;
  display:flex;
  justify-content:center;
  align-items:center;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

.ad-box__slot::before,
.ad-box__slot::after{
  content:none !important;
  display:none !important;
}

.ad-box__slot iframe{
  display:block;
  width:300px;
  height:250px;
  border:0;
  background:transparent;
  margin:0 auto;
}

.news-card{
  margin-top:22px;
  padding:20px;
}

.news-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(280px, .85fr);
  gap:18px;
}

.featured-news{
  overflow:hidden;
  min-height:100%;
}

.featured-news__media{
  display:block;
  aspect-ratio:16 / 9;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}

.featured-news__media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.featured-news__body{
  padding:16px 16px 18px;
}

.news-meta{
  display:flex;
  gap:10px;
  align-items:center;
  color:var(--muted);
  font-size:13px;
  flex-wrap:wrap;
  margin-bottom:8px;
}

.news-chip{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
}

.featured-news h3{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.18;
}

.featured-news p{
  margin:0;
  color:var(--muted);
  line-height:1.38;
}

.recent-news-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.recent-news-list article{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  gap:12px;
  padding:12px;
}

.recent-news__thumb{
  width:92px;
  height:92px;
  border-radius:14px;
  overflow:hidden;
  background:rgba(255,255,255,.04);
}

.recent-news__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.recent-news__body{
  min-width:0;
}

.recent-news__body h4{
  margin:0 0 6px;
  font-size:15px;
  line-height:1.24;
}

.recent-news__body p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.35;
}

[hidden]{
  display:none !important;
}

@media (max-width: 1180px){
  .player-grid{
    grid-template-columns:1fr;
  }

  .sidebar{
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto;
  }

  .news-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 780px){
  .page-shell{
    padding:18px 12px 28px;
  }

  .player-header{
    padding:18px 16px;
    align-items:flex-start;
    flex-direction:column;
  }

  .player-grid{
    padding:16px;
    gap:16px;
  }

  .cover-box,
  .track-box,
  .history-box,
  .sidebar-copy,
  .ad-box{
    border-radius:20px;
  }

  .cover-box{
    min-height:220px;
  }

  .cover-box img{
    width:min(100%, 220px);
  }

  .track-box h2{
    font-size:20px;
  }

  .sidebar{
    grid-template-columns:1fr;
    gap:16px;
  }

  .top-ad__slot iframe{
    width:100%;
    max-width:100%;
    height:auto;
    aspect-ratio:728 / 90;
  }

  .ad-box__slot iframe{
    width:100%;
    max-width:300px;
    height:250px;
  }

  .recent-news-list article{
    grid-template-columns:76px minmax(0,1fr);
  }

  .recent-news__thumb{
    width:76px;
    height:76px;
  }
}

@media (max-width: 520px){
  .brand-lockup__logo{
    width:52px;
    height:52px;
  }

  .player-header h1{
    font-size:17px;
  }

  .control-row{
    align-items:stretch;
  }

  .volume-wrap{
    min-width:100%;
  }

  .transport-buttons{
    width:100%;
    justify-content:flex-start;
  }

  .section-title-row{
    align-items:flex-start;
    flex-direction:column;
  }

  .history-item{
    grid-template-columns:40px minmax(0,1fr);
  }

  .history-item__thumb{
    width:40px;
    height:40px;
    border-radius:12px;
  }

  .news-card{
    padding:16px;
  }

  .featured-news__body{
    padding:14px;
  }
}
