/*
  assets/luister.css - de stijl van de luisterpagina (stream/index.php), ontwerp "Nu speelt" (2026-11-25)

  Het hoesje (of de foto van de live DJ) groot en wazig als gloed over de pagina, een grote titel, een oranje
  afspeelknop met donkere tekst, en glazen kaarten voor Verzoekje en Net gedraaid. Op de pc twee kolommen.
*/
:root {
  --lp-oranje: #ff6b1a;
  --lp-op-oranje: #160a02;
  --lp-tekst: #fff;
  --lp-zacht: rgba(255, 255, 255, .68);
  --lp-zachter: rgba(255, 255, 255, .46);
  --lp-glas: rgba(20, 16, 14, .55);
  --lp-glasrand: rgba(255, 255, 255, .08);
  --lp-live: #ff3b30;
  --lp-groen: #34d26a;
  /* voor het knopje van assets/kwaliteit.js */
  --merk: #ff6b1a;
  --merk-tekst: #160a02;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { background: #000; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--lp-tekst);
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #ffa260; outline-offset: 3px; }

/* het hoesje als gloed over de hele pagina */
.lp-gloed { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.lp-gloed img { position: absolute; left: 50%; top: -10%; width: 160%; max-width: none; height: 75%; object-fit: cover; transform: translateX(-50%);
  filter: blur(70px) saturate(1.5) brightness(.75); opacity: .9; }
.lp-gloed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .55) 45%, #000 80%); }
.live .lp-gloed::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(90% 50% at 50% 0%, rgba(255, 59, 48, .28), transparent 70%); }

.lp-pagina { position: relative; z-index: 1; width: min(1060px, 100%); margin: 0 auto; padding: 0 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
.lp-balk { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(12px + env(safe-area-inset-top, 0px)) 0 8px; }
.lp-balk img { display: block; width: 150px; height: auto; }
.lp-oren { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; background: rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-variant-numeric: tabular-nums; color: var(--lp-zacht); white-space: nowrap; }
.lp-oren svg { width: 16px; height: 16px; }

.lp-inhoud { display: grid; gap: 22px; }
.lp-speler { display: grid; justify-items: center; min-width: 0; text-align: center; }

/* het hoesje: kleiner als de radio uit staat, groeit als hij speelt */
.lp-hoes { position: relative; width: min(100%, 330px); aspect-ratio: 1; margin: 18px 0 22px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.lp-speler:not(.speelt) .lp-hoes { transform: scale(.9); }
.lp-hoes img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; background: #111;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); }
.lp-live-tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 7px;
  background: var(--lp-live); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; box-shadow: 0 6px 18px rgba(255, 59, 48, .45); }
.lp-live-tag i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: lp-knipper 1.4s infinite; }
@keyframes lp-knipper { 50% { opacity: .3; } }

.lp-stand { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--lp-zacht); }
.lp-stand i { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-groen); box-shadow: 0 0 10px var(--lp-groen); }
.live .lp-stand { color: #ff978d; }
.live .lp-stand i { background: var(--lp-live); box-shadow: 0 0 10px var(--lp-live); animation: lp-knipper 1.4s infinite; }
.lp-titel { max-width: 100%; margin: 6px 0 2px; font-size: 27px; line-height: 1.15; font-weight: 750; letter-spacing: -.02em; overflow-wrap: anywhere; }
.lp-sub { max-width: 100%; margin: 0; font-size: 16.5px; color: var(--lp-zacht); overflow-wrap: anywhere; }

/* de golf: beweegt mee met het geluid (of een animatie waar meten niet kan) */
.lp-golf { display: flex; align-items: center; gap: 3px; width: min(100%, 330px); height: 26px; margin: 18px 0 14px; }
.lp-golf i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .28); }
.speelt .lp-golf i { background: rgba(255, 255, 255, .8); animation: lp-golf 1s ease-in-out infinite alternate; }
.echt.speelt .lp-golf i { animation: none; transition: height .07s linear; }
@keyframes lp-golf { from { height: 3px; } to { height: 100%; } }

.lp-bediening { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(100%, 330px); }
.lp-bediening .kw { justify-self: start; }
.lp-bediening .kw-knop { height: 40px; background: rgba(255, 255, 255, .1); box-shadow: none; }
/* het menu van de kwaliteit klapt naar rechts open (de knop staat links) */
.lp-bediening .kw-menu { left: 0; right: auto; }
.lp-rond { justify-self: end; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); cursor: pointer; }
.lp-rond svg { width: 18px; height: 18px; }
.lp-speel { display: grid; place-items: center; width: 78px; height: 78px; border: 0; border-radius: 50%; cursor: pointer; background: var(--lp-oranje); color: var(--lp-op-oranje);
  box-shadow: 0 14px 40px rgba(255, 107, 26, .45); transition: transform .12s; }
.lp-speel:active { transform: scale(.94); }
.lp-speel svg { width: 32px; height: 32px; }
.laden .lp-speel svg { animation: lp-knipper .9s infinite; }

.lp-volume { display: flex; align-items: center; gap: 10px; width: min(100%, 330px); margin-top: 18px; color: var(--lp-zachter); }
.lp-volume svg { flex: none; width: 18px; height: 18px; }
.lp-volume input { flex: 1; min-width: 0; accent-color: #fff; }
.lp-melding { margin: 14px 0 0; color: #ff978d; font-size: 14px; }

/* kaarten */
.lp-kaarten { display: grid; gap: 12px; align-content: start; min-width: 0; }
.lp-kaart { padding: 18px; border-radius: 20px; background: var(--lp-glas); -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3); box-shadow: inset 0 0 0 1px var(--lp-glasrand); }
.lp-kaart h2 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.lp-verzoek { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.lp-verzoek p { flex: 1 1 170px; min-width: 0; margin: 0; color: var(--lp-zacht); font-size: 14px; }
.lp-verzoek p b { display: block; color: var(--lp-tekst); font-size: 16.5px; }
.lp-kn-o { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 18px; border-radius: 99px;
  background: var(--lp-oranje); color: var(--lp-op-oranje); font-weight: 750; text-decoration: none; }
.lp-kn-o svg { width: 18px; height: 18px; }

.lp-lijst { list-style: none; margin: 6px 0 0; padding: 0; }
.lp-lijst li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; }
.lp-lijst img { display: block; width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: #1a1a1a; }
.lp-lijst b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-lijst span { display: block; color: var(--lp-zacht); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-lijst time { color: var(--lp-zachter); font-size: 13px; font-variant-numeric: tabular-nums; }
.lp-rood { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--lp-live); vertical-align: 2px; }
.lp-uitleg { margin: 6px 0 0; color: var(--lp-zachter); font-size: 12.5px; }

.lp-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.lp-kn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 99px; cursor: pointer; text-decoration: none; background: rgba(255, 255, 255, .08); font-weight: 600; font-size: 14px; }
.lp-kn:hover { background: rgba(255, 255, 255, .13); }
.lp-kn svg { width: 17px; height: 17px; opacity: .8; }
.lp-voet { margin: 18px 0 0; text-align: center; color: var(--lp-zachter); font-size: 12.5px; }

/* het blad met de link voor je eigen speler */
.lp-blad-achter { position: fixed; inset: 0; z-index: 40; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .55); }
.lp-blad { width: min(460px, 100%); padding: 10px 16px calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0; background: #17130f; box-shadow: 0 -20px 60px rgba(0, 0, 0, .6); animation: lp-op .25s ease-out; }
@keyframes lp-op { from { transform: translateY(40px); opacity: 0; } }
.lp-blad::before { content: ""; display: block; width: 40px; height: 4px; margin: 0 auto 12px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.lp-blad h2 { margin: 0 12px 2px; font-size: 17px; }
.lp-blad-uitleg { margin: 0 12px 8px; color: var(--lp-zacht); font-size: 13.5px; }
.lp-optie { display: block; width: 100%; padding: 12px; border: 0; border-radius: 12px; background: none; cursor: pointer; text-align: left; text-decoration: none; }
.lp-optie:hover, .lp-optie:focus-visible { background: rgba(255, 255, 255, .07); }
.lp-optie small { display: block; color: var(--lp-zacht); font-size: 13px; overflow-wrap: anywhere; }

/* Verzoekje doen: verzoek.php in een pop-up, zodat de muziek doorspeelt */
.lp-vz-pop { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(8, 9, 12, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lp-vz-vak { width: min(1240px, 100%); height: min(880px, 100%); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; background: #121419; box-shadow: 0 30px 90px rgba(0, 0, 0, .65); }
.lp-vz-frame { display: block; width: 100%; height: 100%; border: 0; background: #121419; }
@media (max-width: 640px), (max-height: 560px) { .lp-vz-pop { padding: 0; } .lp-vz-vak { width: 100%; height: 100%; border: 0; border-radius: 0; } }

/* pc: de speler links (blijft staan), de kaarten rechts */
@media (min-width: 860px) {
  .lp-balk { padding-top: 22px; }
  .lp-balk img { width: 190px; }
  .lp-inhoud { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; margin-top: 24px; }
  .lp-speler { position: sticky; top: 24px; }
  .lp-hoes, .lp-golf, .lp-bediening, .lp-volume { width: 400px; }
  .lp-hoes { margin-top: 6px; }
  .lp-titel { font-size: 34px; }
  .lp-kaarten { gap: 14px; }
  .lp-links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .speelt .lp-golf i, .lp-live-tag i, .live .lp-stand i, .laden .lp-speel svg { animation: none; }
  .speelt .lp-golf i { height: 50%; }
  .lp-hoes { transition: none; }
}
