* { box-sizing: border-box; }
:root { color-scheme: dark; font: 16px/1.55 Vazirmatn,Tahoma,sans-serif; color: #f8f5ee; background: #10100f; }
body { margin: 0; }
.symbols, [hidden] { display: none !important; }
svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
button, input { font: inherit; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; cursor: pointer; }
button { border: 0; background: transparent; }
a { text-decoration: none; color: inherit; }
:focus-visible { outline: 2px solid #ffcf8e; outline-offset: 2px; }
.shell { width: min(100%, 520px); margin: auto; min-height: 100svh; background: #151514; }
header { display: flex; align-items: center; gap: 9px; padding: 14px 20px; }
.mark { color: #eec588; }
.mark svg { width: 23px; vertical-align: middle; }
main { padding: 0 16px calc(160px + env(safe-area-inset-bottom)); }
.hero { min-height: 205px; display: flex; align-items: end; padding: 20px; border-radius: 18px; background: linear-gradient(270deg,#19120de8 0%,#22150dae 33%,transparent 82%), url("gallery/player-tar.jpg") center 45% / cover; }
.live { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: #fff1de; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #ffbd6a; }
h1,h2,p { margin: 0; }
h1 { font-size: 1.85rem; line-height: 1.4; }
.hero h1 { margin: 6px 0 12px; font-size: 2.2rem; line-height: 1.05; }
.hero small { font-size: 1.16rem; font-weight: 500; }
.listen { display: inline-flex; gap: 7px; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 24px; font-weight: 700; color: #211a12; background: #ffe3b4; }
.listen svg { width: 15px; }
.heading { display: flex; align-items: center; justify-content: space-between; margin: 20px 1px 3px; }
h2 { font-size: 1.17rem; }
.heading a { padding: 8px; color: #e8c18a; font-size: .84rem; }
.row { width: 100%; display: flex; align-items: center; gap: 12px; text-align: start; padding: 9px 0; }
.row + .row { border-top: 1px solid #ffffff0d; }
.row img { width: 46px; height: 46px; object-fit: cover; border-radius: 7px; }
.row span,.mini-copy { min-width: 0; flex: 1; }
.row b,.row small,.mini-copy strong,.mini-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row b,.mini-copy strong { font-size: .92rem; }
.row small,.mini-copy small { color: #b6b3ad; font-size: .76rem; }
.row svg { width: 15px; margin-inline-end: 9px; color: #dfd8cd; }
details { border-top: 1px solid #ffffff19; }
#home details { margin-top: 8px; }
summary { display: flex; justify-content: space-between; align-items: center; list-style: none; min-height: 49px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; width: 7px; height: 7px; margin-inline-end: 6px; border: solid #c5b39d; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
details[open] > summary::after { transform: rotate(225deg); }
details p,.empty { font-size: .88rem; color: #c5c0b7; padding-bottom: 12px; }
.search { display: flex; gap: 8px; align-items: center; background: #272726; border-radius: 12px; padding: 0 12px; margin: 14px 0; }
.search svg { width: 18px; color: #b6b3ad; }
input { background: transparent; border: 0; min-width: 0; width: 100%; height: 44px; }
footer { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%,520px); padding: 12px 12px calc(5px + env(safe-area-inset-bottom)); background: linear-gradient(transparent,#151514 25%); }
.mini { display: flex; gap: 10px; align-items: center; padding: 6px 8px; background: #38322d; border: 1px solid #ffffff18; border-radius: 15px; }
.mini img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.mini button { width: 44px; height: 44px; display: grid; place-items: center; }
nav { display: flex; justify-content: space-around; padding-top: 4px; }
nav a { color: #a9a6a1; display: grid; justify-items: center; gap: 3px; padding: 5px 12px; font-size: .7rem; }
nav [aria-current] { color: #ffdb9f; }

/* Desktop layout: retain the compact mobile experience below 800px. */
@media (min-width: 800px) {
  .shell { width: min(100% - 64px, 1200px); min-height: 100svh; border-inline: 1px solid #ffffff12; }
  header { padding: 24px 40px; font-size: 1.15rem; }
  main { padding: 10px 40px 180px; }
  .shell .hero { min-height: 340px; padding: 42px; background-position: center 42%; }
  .hero h1 { font-size: 3.5rem; }
  .hero small { font-size: 1.6rem; }
  .heading { margin-top: 34px; }
  #recent { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 24px; }
  #recent .row { padding: 16px; border: 1px solid #ffffff17; background: #1e1d1b; border-radius: 14px; }
  #recent .row + .row { border-top: 1px solid #ffffff17; }
  #groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: start; }
  #groups > details { border: 1px solid #ffffff1a; border-radius: 14px; padding: 8px 16px; }
  .more { max-width: 760px; }
  footer { width: min(100% - 64px, 1200px); padding: 12px 40px 16px; background: linear-gradient(transparent,#151514 20%); }
  footer .mini { max-width: 100%; }
  nav { justify-content: center; gap: 80px; }
  body dialog { width: min(92vw, 650px); max-height: 88dvh; margin: auto; border: 1px solid #ffffff24; border-radius: 24px; padding: 24px 40px; }
  body dialog .art { width: min(100%, 35dvh, 340px); }
}
.live-listeners { display: block; width: fit-content; margin: 7px 0 11px; color: #f7d7a8; font-size: .82rem; }
