/* jimreeves.eu — spelerschil (zie js/velvet-player.js) */
:root { --sc-bar-h: 56px; }
#sc-player-bar { position: fixed; top: 0; left: 0; right: 0; min-height: 56px; z-index: 10000; background: #1c1c1c;
  display: flex; flex-wrap: nowrap; align-items: center; gap: 6px 8px; padding: 6px 10px; box-sizing: border-box; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
#sc-player { flex: 1 1 200px; height: 20px; border: 0; min-width: 120px; }
#sc-player-close { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #444; color: #fff;
  font-size: 1.3rem; line-height: 1; cursor: pointer; margin-left: auto; }
#sc-player-close:hover { background: #ff5500; }
/* hint onder de ▶ van de widget als de muziek niet vanzelf start (zie armHint in velvet-player.js) */
#sc-hint { position: absolute; top: 100%; left: 8px; margin-top: 10px; background: #ff5500; color: #fff; font: bold 15px/1.2 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  padding: 9px 14px; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.4); cursor: pointer; white-space: nowrap; animation: sc-hint-bounce 1.2s ease-in-out infinite; }
#sc-hint small { display: block; font-weight: normal; font-size: 12px; opacity: .9; margin-top: 2px; }
#sc-hint .sc-hint-arrow { position: absolute; top: -8px; left: 14px; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid #ff5500; }
#sc-hint[hidden] { display: none; }
@keyframes sc-hint-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { #sc-hint { animation: none; } }
#sc-skip { flex: 0 0 auto; display: flex; gap: 4px; }
#sc-skip button { position: relative; width: 34px; height: 32px; border: 1px solid #555; border-radius: 4px; background: #2b2b2b; color: #fff; cursor: pointer; font-size: 15px; padding: 0; }
#sc-skip button span { position: absolute; left: 0; right: 0; bottom: 1px; font: bold 8px/1 Arial, sans-serif; color: #ff5500; }
#sc-skip button:hover { border-color: #ff5500; }
#sc-sleep-wrap { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; color: #ccc; font: 13px/1 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; margin: 0; }
.sc-sleep-icon { font-size: 15px; color: #ff5500; }
#sc-sleep { background: #2b2b2b; color: #fff; border: 1px solid #555; border-radius: 4px; padding: 4px 6px; font: inherit; }
#sc-sleep-left { min-width: 3.2em; font-variant-numeric: tabular-nums; }
/* live radio in dezelfde balk (zie scStartLive in velvet-player.js) */
#sc-live { flex: 1 1 200px; display: flex; align-items: center; gap: 8px; min-width: 0; color: #fff;
  font: 13px/1.25 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
#sc-live[hidden] { display: none; }
#sc-live-play { flex: 0 0 auto; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #ff5500;
  color: #fff; cursor: pointer; font-size: 14px; padding: 0; }
#sc-live-play:hover { background: #e04b00; }
#sc-live-naam { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; white-space: nowrap; color: #ddd; }
#sc-live-naam b { color: #fff; }
#sc-live-lamp { width: 8px; height: 8px; border-radius: 50%; background: #e33; box-shadow: 0 0 6px #e33;
  animation: sc-live-knip 1.6s ease-in-out infinite; }
@keyframes sc-live-knip { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { #sc-live-lamp { animation: none; } }
#sc-live-nu { flex: 1 1 auto; min-width: 0; color: #bdbdbd; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 575px) { #sc-live-naam { display: none; } }
#site { position: fixed; top: var(--sc-bar-h); left: 0; width: 100%; height: calc(100% - var(--sc-bar-h)); border: 0; background: #fff; z-index: 9999; }
body.sc-shell { overflow: hidden; }
/* telefoons: alles op één smalle rij; de sleep-teller/icoon verbergen om ruimte te sparen */
@media (max-width: 575px) { .sc-sleep-icon, #sc-sleep-left { display: none; } #sc-player { min-width: 90px; } }
/* Now playing-badge op de kaart */
.card-reveal-container .card-header { position: relative; z-index: 2; }
.card-reveal-container .card-header .playericon { z-index: 3; }
.card-header .now-playing { position: absolute; top: 8px; left: 8px; z-index: 3; background: #ff5500; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .03em; padding: .2rem .55rem; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.card-header .now-playing.paused { background: #666; }
/* glow om de kaart die speelt */
.card.is-playing { box-shadow: 0 0 0 3px #ff5500, 0 0 22px 6px rgba(255, 85, 0, .55) !important; animation: sc-glow 2.4s ease-in-out infinite; }
@keyframes sc-glow { 0%, 100% { box-shadow: 0 0 0 3px #ff5500, 0 0 18px 4px rgba(255, 85, 0, .45); } 50% { box-shadow: 0 0 0 3px #ff5500, 0 0 30px 10px rgba(255, 85, 0, .75); } }
