body.recent-open,body.requests-open { overflow: hidden; }
.share-panel[hidden]{display:none}.share-panel{position:fixed;right:clamp(14px,4vw,72px);top:86px;z-index:15;display:grid;gap:9px;width:min(320px,calc(100vw - 28px));padding:18px;border:1px solid #31516f;border-radius:17px;background:#10283d;box-shadow:0 20px 50px #0009}.share-panel a,.share-panel button{display:block;text-align:left;border:1px solid #355a76;border-radius:9px;background:#173b55;color:#fff;text-decoration:none;font:inherit;padding:11px;cursor:pointer}.share-panel a:hover,.share-panel button:hover{background:#225571}.share-panel small{color:#9cc4df;line-height:1.4}
.requests { position: fixed; inset: 0; z-index: 18; display: block; overflow-y: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: #071628; visibility: hidden; transform: translateY(101%); transition: transform .25s ease, visibility .25s; }
body.requests-open .requests { visibility: visible; transform: translateY(0); }
.request-topbar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px clamp(18px,4vw,56px); border-bottom: 1px solid #244b68; background: #081a2d; }
.request-topbar button { border: 0; border-radius: 12px; padding: 13px 18px; background: #19cfe2; color: #061622; font: inherit; font-weight: 800; cursor: pointer; }
.request-body { max-width: 1350px; margin: auto; padding: 28px clamp(18px,4vw,56px) 60px; }
.request-body h2 { margin: 14px 0 6px; font-size: clamp(2.2rem,5vw,4.5rem); }
.request-body p { color: #9fbbd9; }
.request-body .search-row { margin-top: 28px; }
.request-body .results { grid-template-columns: repeat(2,minmax(0,1fr)); max-height: none; overflow: visible; }
.request-body .result { grid-template-columns: 72px minmax(0,1fr) auto; min-height: 104px; padding: 12px; }
.request-body .result img { width: 72px; height: 72px; border-radius: 11px; }
@media(max-width:700px) { .request-topbar { align-items: flex-start; }.request-topbar strong { padding-top: 8px; }.request-topbar button { font-size: .8rem; padding: 11px; }.request-body .results { grid-template-columns: 1fr; }.request-body .result { grid-template-columns: 52px minmax(0,1fr) auto; min-height: 76px; }.request-body .result img { width: 52px; height: 52px; } }
.recent-backdrop { position: fixed; inset: 0; z-index: 20; background: #020915a8; }
.recent-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 21; width: min(460px, 100vw); padding: 32px; overflow-y: auto; background: #071b2e; border-left: 1px solid #284b69; box-shadow: -20px 0 60px #0009; transform: translateX(105%); transition: transform .25s ease; visibility: hidden; }
body.recent-open .recent-panel { transform: translateX(0); visibility: visible; }
.recent-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.recent-heading h2 { margin: 0; font-size: 1.8rem; }
.recent-list { display: grid; gap: 12px; }
.recent-list p { color: #9db8d0; }
.recent-item { display: grid; grid-template-columns: 64px minmax(0,1fr); align-items: center; gap: 14px; padding: 12px; border-radius: 18px; border: 1px solid #31516f; background: #11253a; }
.recent-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.recent-item b, .recent-item span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-item b { font-size: 1.05rem; }.recent-item span { color: #9db8d0; margin-top: 5px; }
@media(max-width:600px) { .recent-panel { padding: 22px; } }
@media (min-width: 1000px) {
  .listener-page {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0,1fr) auto;
    gap: 24px;
    max-width: 1500px;
    min-height: 100vh;
    padding-block: 22px;
  }
  .app-header, .listener-page footer { grid-column: 1; }
  .public-player { grid-row: 2; margin: 0; }
  .public-player {
    display: grid;
    grid-template-columns: minmax(250px, .9fr) minmax(330px, 1.1fr);
    grid-template-rows: repeat(6,auto);
    column-gap: clamp(30px,5vw,90px);
    align-content: center;
    justify-items: start;
    min-height: min(620px,calc(100vh - 190px));
    padding: clamp(28px,5vw,60px);
    border: 1px solid #24506f;
    border-radius: 22px;
    background: linear-gradient(145deg, #0b2335, #091425 70%);
  }
  .player-art { grid-column: 1; grid-row: 1 / 7; justify-self: end; align-self: center; width: min(32vw,380px); min-width: 220px; border-radius: 24px; }
  .on-air { grid-column: 2; grid-row: 1; margin: 0; }
  .player-meta { grid-column: 2; grid-row: 2; text-align: left; }
  .player-meta h1 { margin: 14px 0 8px; font-size: clamp(1.75rem, 2.3vw, 2.65rem); }
  .player-meta p { font-size: clamp(1rem, 1.35vw, 1.3rem); }
  .public-player audio { display: none; }
  .player-controls { grid-column: 2; grid-row: 3; margin-top: 20px; }
  .player-controls #publicPlay { width: 68px; height: 68px; font-size: 1.55rem; box-shadow: 0 0 0 8px #103146; }
  .player-controls .round-button { width: 45px; height: 45px; font-size: 1.15rem; }
  #publicVolume { grid-column: 2; grid-row: 4; margin-top: 22px; }
  #publicState { grid-column: 2; grid-row: 5; margin-top: 14px; }
  .player-links { grid-column: 2; grid-row: 6; margin-top: 0; padding-top: 24px; }
  .player-links a, .player-links button { padding: 12px 16px; font-size: .9rem; }
  .listener-page footer { margin-top: 0; }
}
.powered-signature {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 600px);
  max-width: 100%;
  min-height: 86px;
  margin: 24px auto 0;
  padding: 17px 28px;
  overflow: hidden;
  border: 1px solid rgba(206, 151, 65, .35);
  border-radius: 18px;
  background: radial-gradient(circle at 10% 50%, rgba(34, 207, 224, .12), transparent 37%), linear-gradient(120deg, #0b2031 0%, #0b1728 62%, #17202b 100%);
  box-shadow: inset 0 1px 0 rgba(255, 217, 143, .12), 0 12px 36px rgba(0, 0, 0, .25), 0 0 30px rgba(26, 205, 224, .06);
  color: #e6b76d;
  text-align: left;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
}
.powered-signature::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 14%;
  width: 72%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #20d3e5 28%, #f6c778 70%, transparent);
  box-shadow: 0 0 12px rgba(37, 218, 232, .7);
}
.signature-logo {
  display: block;
  flex: none;
  width: 72px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(223, 156, 64, .28));
}
.signature-copy { display: grid; gap: 4px; min-width: 0; }
.signature-copy small { color: #6ce2e9; font-size: .63rem; font-weight: 800; letter-spacing: .28em; }
.signature-copy strong { display: block; background: linear-gradient(105deg, #fff0c5 0%, #d99b43 48%, #f9d795 100%); background-clip: text; -webkit-background-clip: text; color: transparent; font-size: clamp(.95rem, 2vw, 1.25rem); font-weight: 900; letter-spacing: .1em; white-space: nowrap; }
.signature-copy strong span { font-weight: 650; }
.signature-orbit { position: absolute; right: -26px; width: 90px; height: 90px; border: 1px solid rgba(224, 165, 73, .24); border-radius: 50%; box-shadow: 0 0 0 13px rgba(224, 165, 73, .04), 0 0 0 27px rgba(35, 215, 226, .025); pointer-events: none; }
@media (max-width: 500px) {
  .powered-signature { gap: 12px; min-height: 72px; padding: 13px 15px; border-radius: 15px; }
  .signature-logo { width: 55px; height: 43px; }
  .signature-copy small { font-size: .56rem; }
  .signature-copy strong { font-size: clamp(.69rem, 2.7vw, .93rem); letter-spacing: .045em; }
  .signature-orbit { width: 65px; height: 65px; right: -35px; }
}
body.voice-open { overflow: hidden; }
.voice-recorder[hidden] { display: none; }
.voice-recorder { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 18px; background: rgba(2, 10, 20, .84); backdrop-filter: blur(12px); }
.voice-card { position: relative; width: min(100%, 540px); padding: clamp(24px, 5vw, 42px); border: 1px solid #356079; border-radius: 24px; background: linear-gradient(145deg, #102d42, #081725); box-shadow: 0 24px 80px #000b, inset 0 1px 0 #6ce2e940; }
.voice-card h2 { margin: 12px 0; font-size: clamp(1.7rem, 5vw, 2.5rem); }
.voice-card p { color: #aec8dd; line-height: 1.5; }
.voice-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 1px solid #527188; border-radius: 50%; background: #142c3e; color: white; font-size: 1.5rem; cursor: pointer; }
.voice-clock { margin: 24px 0; color: #ffe0a1; font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.voice-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.voice-actions button { border: 0; border-radius: 11px; padding: 13px 16px; background: #1ac9d9; color: #061724; font: inherit; font-weight: 800; cursor: pointer; }
.voice-actions button:first-child { background: #f4b35e; }
.voice-actions button:disabled { opacity: .45; cursor: not-allowed; }
.voice-card audio { display: block; width: 100%; margin-top: 22px; }
.voice-card audio[hidden] { display: none; }
.voice-card .voice-message { min-height: 25px; margin: 16px 0 0; color: #63e6ba; font-weight: 700; }
.voice-card .voice-message.error { color: #ff8fa0; }
.voice-card input[type="text"] { width: 100%; margin: 8px 0 4px; border: 1px solid #47708c; border-radius: 10px; background: #071a2a; color: white; padding: 14px; font: inherit; }
.request-body .search-row select { flex: 0 0 190px; min-width: 0; border: 1px solid #315777; border-radius: 9px; background: #061625; color: #fff; padding: 12px; font: inherit; cursor: pointer; }
@media (max-width: 700px) { .request-body .search-row { flex-wrap: wrap; }.request-body .search-row input { flex: 1 1 100%; }.request-body .search-row select { flex: 1 1 170px; } }
@media (max-width: 390px) { .request-body .search-row select { flex: 0 0 auto; width: 100%; } }
