/* Antena player - DESKTOP (100vh) */
body { background: var(--a-list-bg); }
.d { height: 100vh; min-height: 900px; display: flex; flex-direction: column; }

.d-hero { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 24px 48px 36px; border-radius: 0 0 48px 48px; }
.d-wrap { flex: 1 1 auto; min-height: 0; width: 100%; max-width: 1184px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }

.d-ad-top { flex: 0 0 auto; width: 100%; max-width: 970px; height: 280px; }

.d-head { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.d-brand { display: flex; align-items: center; gap: 18px; }
.d-brand img { width: 160px; height: auto; }
.d-tagline { font-size: 12px; padding-top: 6px; }
.d .live-badge { font-size: 11px; padding: 5px 12px 5px 10px; }

/* Kanali: do 8 u jednom redu */
.d-channels { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 10px; }
.d-channels .chan { flex: 1 1 120px; min-height: 44px; font-size: 12px; letter-spacing: .8px; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.14); color: #fff; }
.d-channels .chan:hover { background: rgba(255,255,255,.28); }
.d-channels .chan.is-active { background: #fff; border-color: #fff; color: var(--a-live); }
.d-channels .chan--live.is-active::before { background: var(--a-pink); }

/* 3 boxa: kartica | player | povijest */
.d-grid { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 340px minmax(0, 1fr) minmax(320px, 400px); gap: 40px; align-items: stretch; }

.d-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.d-card { width: 340px; height: 340px; }
.d-card .card__face { border-radius: 32px; }
.d-card .card__face--logo { border-width: 4px; }
.d-card .card__freq { font-size: 12px; letter-spacing: 1.8px; }
.d-card .card__caption { left: 24px; right: 24px; bottom: 22px; }
.d-card .card__caption .t { font-size: 17px; }
.d-card .card__caption .a { font-size: 13px; }
.d-art .dots span { width: 7px; height: 7px; }
.d-art .dots span.is-on { width: 22px; }

.d-player { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.d-play { width: 180px; height: 180px; flex: 0 0 auto; }
.d-play .play__inner { inset: 20px; }
.d-play .play__icon--play { position: absolute; left: 48px; top: 48px; width: 40px; height: 40px; }
.d-play .play__icon--pause { width: 44px; height: 44px; }
.d-name { font-size: 40px; line-height: 46px; }
.d-now { width: 100%; max-width: 440px; }
.d-now-title { font-weight: 600; font-size: 16px; color: #000; }
.d-now-artist { font-size: 13px; color: var(--a-text-2); }
.d-now .wave { height: 22px; margin-top: 4px; }

.d-hist { min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: 18px 22px 10px; border-radius: 24px; background: #fff; box-shadow: 0 16px 32px rgba(0,0,0,.16); }
.d-hist .hist__title { flex: 0 0 auto; font-size: 15px; }
.d-hist .hist__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.d-hist .hist__song { font-size: 14px; }
.d-hist .hist__artist { font-size: 12px; }

.d-credit { flex: 0 0 auto; min-height: 52px; padding: 12px 48px; font-size: 13px; }
.d .banner-footer { flex: 0 0 auto; padding: 10px 24px; }

/* Uži ekran: boxovi jedan ispod drugoga, bez fiksne visine */
@media (max-width: 1100px) {
  .d { height: auto; min-height: 0; }
  .d-grid { grid-template-columns: minmax(0, 1fr); }
  .d-hist .hist__list { overflow: visible; }
}
