/* DJ Cool Ka — floating DJ agent widget (Ka, 2026-11-22).
   Lives on Smoothe's site, Trigger's site and SMG Music Group.
   Turquoise + pink + gold, from the DJ Agent concept art. */

#dj-cool-ka { position: fixed; right: 20px; bottom: 20px; z-index: 9999;
  font-family: inherit; }

/* --- Avatar button --- */
.djck-avatar { width: 76px; height: 76px; border-radius: 50%;
  border: 3px solid #f0c040; background: #0d0d0d; padding: 0; cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,.6), 0 0 0 0 rgba(240,192,64,.5);
  animation: djck-bob 2.6s ease-in-out infinite; position: relative; }
.djck-avatar img { width: 100%; height: 100%; border-radius: 50%;
  display: block; object-fit: cover; }
.djck-avatar .djck-live { position: absolute; top: 2px; right: 2px;
  width: 14px; height: 14px; border-radius: 50%; background: #ff2e88;
  border: 2px solid #0d0d0d; }
@keyframes djck-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); } }

/* DJ mode: faster bounce + pulsing gold ring */
#dj-cool-ka.djck-spinning .djck-avatar {
  animation: djck-bounce .55s ease-in-out infinite;
  box-shadow: 0 4px 24px rgba(0,0,0,.6), 0 0 22px rgba(240,192,64,.85); }
@keyframes djck-bounce {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-9px) rotate(2deg); } }

/* --- Speech bubble --- */
.djck-bubble { position: absolute; right: 86px; bottom: 18px; width: 230px;
  background: #111; color: #f5f0e6; border: 1px solid #f0c040;
  border-radius: 12px; padding: 10px 12px; font-size: .88rem; line-height: 1.4;
  box-shadow: 0 6px 24px rgba(0,0,0,.6); opacity: 0; pointer-events: none;
  transform: translateY(6px); transition: opacity .3s, transform .3s; }
.djck-bubble.djck-show { opacity: 1; transform: translateY(0); }
.djck-bubble::after { content: ""; position: absolute; right: -7px; bottom: 20px;
  width: 12px; height: 12px; background: #111; border-right: 1px solid #f0c040;
  border-bottom: 1px solid #f0c040; transform: rotate(-45deg); }

/* --- Panel --- */
.djck-panel { position: absolute; right: 0; bottom: 92px; width: 340px;
  max-width: calc(100vw - 40px); background: #0d0d0d; color: #f5f0e6;
  border: 1px solid #2a2a2a; border-top: 3px solid #f0c040; border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.75); overflow: hidden;
  display: none; }
#dj-cool-ka.djck-open .djck-panel { display: block; }
.djck-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; }
.djck-head img { width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid #f0c040; object-fit: cover; }
.djck-head h3 { margin: 0; font-size: 1rem; letter-spacing: .04em; }
.djck-head h3 span { color: #ff2e88; }
.djck-status { font-size: .78rem; color: #b9b2a4; margin: 2px 0 0; }
.djck-status b { color: #3ec6d3; }
.djck-close { margin-left: auto; background: none; border: none; color: #b9b2a4;
  font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 4px; }
.djck-close:hover { color: #fff; }
.djck-shout { margin: 0 14px 12px; padding: 9px 11px; background: #1a1a1a;
  border-left: 3px solid #ff2e88; border-radius: 6px; font-size: .86rem;
  line-height: 1.45; min-height: 2.6em; }
.djck-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 10px; }
.djck-tabs button { background: #1a1a1a; color: #cfc9bb; border: 1px solid #2a2a2a;
  border-radius: 999px; padding: 5px 11px; font-size: .78rem; cursor: pointer; }
.djck-tabs button.djck-active { background: #f0c040; color: #111; border-color: #f0c040;
  font-weight: 700; }
.djck-player { padding: 0 14px; }
.djck-player iframe { width: 100%; height: 352px; border: 0; border-radius: 12px;
  display: block; background: #121212; }
.djck-actions { display: flex; gap: 8px; padding: 12px 14px 14px; }
.djck-actions button { flex: 1; border: none; border-radius: 8px; padding: 10px;
  font-size: .88rem; font-weight: 700; cursor: pointer; }
.djck-up { background: #ff2e88; color: #fff; }
.djck-chill { background: #1a1a1a; color: #cfc9bb; border: 1px solid #2a2a2a !important; }
.djck-note { padding: 0 14px 12px; font-size: .74rem; color: #8d877b;
  line-height: 1.4; }
.djck-note a { color: #3ec6d3; }

@media (max-width: 480px) {
  .djck-avatar { width: 64px; height: 64px; }
  .djck-panel { bottom: 80px; }
  .djck-bubble { width: 190px; right: 74px; }
}
