/* assets/arcade/music.css — the look of the GAME RADIO (assets/arcade/music.js). 17 Nov 2026.
   Every class starts with "am-". The player is always dark (like a music app), in the day and the night look.
   games.php: a round button at the bottom right (.am-fab). game.php: the ♪ button in the top bar (#ar-music-btn). */
.am-btn .am-ic { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 16px; }
.am-btn .am-ic i { width: 3.5px; height: 6px; border-radius: 2px; background: currentColor; }
.am-btn .am-ic i:nth-child(2) { height: 13px; } .am-btn .am-ic i:nth-child(3) { height: 9px; }
.am-btn .am-ic.on i { animation: amBar .8s ease-in-out infinite alternate; } .am-btn .am-ic.on i:nth-child(2) { animation-delay: -.3s; } .am-btn .am-ic.on i:nth-child(3) { animation-delay: -.55s; }
@keyframes amBar { 0% { height: 4px; } 100% { height: 16px; } }
#ar-music-btn { display: inline-grid; place-items: center; color: inherit; } #ar-music-btn.playing { color: #9333ea; border-color: #9333ea; } #ar-music-btn.never { animation: amNudge 2.4s 1s 3; }
.am-fab { position: fixed; right: 14px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 9px; min-height: 52px; max-width: min(250px, 62vw); padding: 0 18px 0 16px; border: 0; border-radius: 99px; cursor: pointer;
  color: #fff; font: 800 14.5px/1.1 Inter, system-ui, sans-serif; background: linear-gradient(120deg, #4f46e5, #9333ea 55%, #db2777); box-shadow: 0 10px 26px -8px rgba(147,51,234,.75), inset 0 -3px 0 rgba(0,0,0,.18); }
.am-fab b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .am-fab.never { animation: amNudge 2.4s 1s 4; }
@keyframes amNudge { 0%, 84%, 100% { transform: none; } 88% { transform: translateY(-7px) rotate(-4deg); } 92% { transform: translateY(0) rotate(3deg); } 96% { transform: translateY(-3px); } }
@media (max-width: 1023px) { .am-fab { bottom: 84px; } }             /* above the site's bottom menu on phones */
.am-panel { position: fixed; right: 12px; bottom: 78px; z-index: 61; width: min(360px, calc(100vw - 24px)); max-height: calc(100vh - 110px); overflow: auto; padding: 14px; border-radius: 22px; color: #f4f3ff;
  font: 14.5px/1.4 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: linear-gradient(170deg, #1d1b3a, #12122a 60%); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 60px -18px rgba(0,0,0,.7); animation: amIn .18s ease-out; }
.am-panel[hidden] { display: none; }
@media (max-width: 1023px) { .am-panel { bottom: 146px; max-height: calc(100vh - 220px); } }
.am-panel.am-top { top: 62px; bottom: auto; max-height: calc(100vh - 76px); }
@keyframes amIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.am-panel *, .am-panel *::before { box-sizing: border-box; } .am-panel button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
.am-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .am-head b { font-size: 15px; letter-spacing: .01em; } .am-head button { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.08); }
.am-now { display: flex; align-items: center; gap: 12px; } .am-cover { flex: none; width: 58px; height: 58px; display: grid; place-items: center; font-size: 28px; border-radius: 16px; box-shadow: inset 0 -5px 0 rgba(0,0,0,.2); }
.am-now b { display: block; font-size: 16px; line-height: 1.25; } .am-now small { display: block; margin-top: 2px; color: #a9aacb; font-size: 12.5px; }
.am-prog { height: 8px; margin: 12px 0 3px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; cursor: pointer; } .am-prog i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #a78bfa, #f472b6); }
.am-time { display: flex; justify-content: space-between; font-size: 11px; color: #a9aacb; font-variant-numeric: tabular-nums; }
.am-ctl { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 10px; }
.am-ctl button { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 17px; } .am-ctl button.big { width: 58px; height: 58px; font-size: 24px; background: linear-gradient(135deg, #8b5cf6, #ec4899); box-shadow: 0 8px 18px -8px #ec4899; }
.am-ctl button.on { background: #7c3aed; box-shadow: 0 0 0 2px #c4b5fd; } .am-ctl button:active { transform: scale(.94); }
.am-vol { display: flex; align-items: center; gap: 5px; margin-left: 4px; font-size: 14px; } .am-vol input { width: 74px; accent-color: #c084fc; }
.am-moods { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; } .am-moods::-webkit-scrollbar { display: none; }
.am-moods button { flex: none; min-height: 34px; padding: 0 11px; border-radius: 99px; background: rgba(255,255,255,.08); font-weight: 700; font-size: 12.5px; white-space: nowrap; } .am-moods button.on { background: #fff; color: #1d1b3a; }
.am-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 176px; overflow: auto; display: grid; gap: 2px; }
.am-list button { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 38px; padding: 4px 9px; border-radius: 10px; text-align: left; font-weight: 600; font-size: 13.5px; color: #dcdcf0; } .am-list button span { flex: none; width: 22px; text-align: center; }
.am-list button:hover { background: rgba(255,255,255,.06); } .am-list button.on { background: rgba(167,139,250,.22); color: #fff; font-weight: 800; }
.am-credit { margin: 10px 0 0; font-size: 11px; line-height: 1.45; color: #9092b0; } .am-credit a { color: #c4b5fd; }
