/* =================================================================
   EOS — Sticky broadcast widget (adapted from EBM v1.7.23 widget.css)
   v2.1.44
   ================================================================= */
.ebw-widget {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99980;
  padding: 0; pointer-events: none;
  transform: translateY(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  --ebw-accent: var(--color-accent, #F5A312);
}
.ebw-widget[data-state="ready"],
.ebw-widget[data-state="playing"],
.ebw-widget[data-state="paused"] { transform: translateY(0); }
.ebw-widget[hidden] { display: none; }

.ebw-bar {
  pointer-events: auto;
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(14, 26, 54, .92); color: #f6f4f3;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 -8px 24px -8px rgba(0,0,0,.35);
  margin: 0 auto; max-width: 1100px;
  border-radius: 16px 16px 0 0;
  position: relative;
}
[data-theme="light"] .ebw-bar {
  background: rgba(255,245,220,.96); color: #1a1a1a;
  border-top: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 -8px 24px -8px rgba(0,0,0,.12);
}

.ebw-art {
  position: relative; width: 56px; height: 56px;
  border: 0; padding: 0; background: transparent; cursor: pointer;
  border-radius: 8px; overflow: hidden;
}
.ebw-art-img { width: 100%; height: 100%; object-fit: cover; display: block; background: linear-gradient(135deg, #2a3a6a, #0e1a36); }
.ebw-pill { position: absolute; inset: auto 0 0 0; margin: 0; padding: 2px 0; background: #d63638; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.ebw-pill[hidden] { display: none; }

.ebw-meta { display: flex; flex-direction: column; min-width: 0; }
.ebw-title { font-weight: 600; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ebw-sub { font-size: 12px; opacity: .7; line-height: 1.2; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ebw-controls { display: flex; align-items: center; gap: 8px; }
.ebw-btn { background: transparent; border: 0; color: inherit; padding: 6px; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .18s; }
.ebw-btn:hover { background: rgba(255,255,255,.08); }
[data-theme="light"] .ebw-btn:hover { background: rgba(0,0,0,.06); }
.ebw-btn[hidden] { display: none; }
.ebw-play { background: var(--ebw-accent); color: #0E1A36; width: 40px; height: 40px; border-radius: 50%; }
.ebw-play:hover { background: var(--ebw-accent); filter: brightness(1.05); }

.ebw-progress { position: absolute; inset: auto 0 0 0; height: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.ebw-progress-fill { height: 100%; width: 0; background: var(--ebw-accent); transition: width .15s linear; }
[data-theme="light"] .ebw-progress { background: rgba(0,0,0,.08); }

@media (max-width: 480px) {
  .ebw-bar { grid-template-columns: 48px 1fr; grid-template-rows: auto auto; padding: 8px 12px; border-radius: 12px 12px 0 0; }
  .ebw-art { width: 48px; height: 48px; grid-row: span 2; }
  .ebw-meta { grid-column: 2; }
  .ebw-controls { grid-column: 1 / -1; justify-content: center; padding-top: 4px; }
}
