/* Vibe Finder: in de sfeer van Adobe Podcast. Lichte lavendel stippen, dikke zwarte koppen,
   grote witte vlakken met zachte schaduw, kleurverloop-kaarten en ronde pil-knoppen. */
/* Lettertype op eigen server (geen Google Fonts: dan gaat het IP-adres van bezoekers niet naar Google). Source Sans 3, OFL. */
@font-face{font-family:'Source Sans 3'; font-style:normal; font-weight:400 900; font-display:swap; src:url(/fonts/source-sans-3-latin-ext.woff2) format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Source Sans 3'; font-style:normal; font-weight:400 900; font-display:swap; src:url(/fonts/source-sans-3-latin.woff2) format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
:root{
  --bg:#FBFBFB; --surface:#FFFFFF; --surface-2:#F0F0F3; --surface-3:#E4E4E9; --soft:#F7F7F9;
  --ink:#121212; --ink-2:#3A3B45; --muted:#5F6170; --line:#ECECEF; --field:#E2E2E8;
  --accent:#5B5FEF; --accent-hover:#4A4EDB; --accent-soft:#EDEEFF; --accent-ink:#3B3EC2;
  --lav:#EDEEFF; --dots:rgb(91 95 239 / .17);
  --ok:#22B07D; --warn:#F5A524; --hot:#F0466B;
  --f:"Source Sans 3","Source Sans Pro",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --r:32px; --r-md:24px; --r-sm:16px;
  --shadow:0 0 2px rgb(0 0 0 / .14), 0 3px 4px rgb(0 0 0 / .03), 0 12px 24px rgb(0 0 0 / .07);
  --shadow-sm:0 0 2px rgb(0 0 0 / .12), 0 2px 6px rgb(0 0 0 / .05);
  --shadow-btn:0 0 2px rgb(0 0 0 / .15), 0 12px 24px rgb(0 0 0 / .16);
  color-scheme:light;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0; background:var(--bg); color:var(--ink); font-family:var(--f); font-size:16px; line-height:1.5; -webkit-font-smoothing:antialiased; min-height:100vh}
img{max-width:100%}
h1,h2,h3{margin:0; line-height:1.08; text-wrap:balance}
p{margin:0}
a{color:inherit}
button{font-family:inherit}
:focus-visible{outline:2.5px solid var(--accent); outline-offset:3px}
.sr{position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0}
.muted{color:var(--muted)}
.small{font-size:14px}
.mono{font-variant-numeric:tabular-nums; font-weight:700}
.eyebrow{font-size:13px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--muted)}
.card{background:var(--surface); border-radius:var(--r); box-shadow:var(--shadow)}
.dotted{background-color:var(--lav); background-image:radial-gradient(var(--dots) 1.3px, transparent 1.6px); background-size:22px 22px}

/* App-balk */
.appbar{position:sticky; top:0; z-index:30; background:rgb(255 255 255 / .92); backdrop-filter:saturate(1.4) blur(14px); -webkit-backdrop-filter:saturate(1.4) blur(14px); box-shadow:0 1px 0 var(--line); padding-top:env(safe-area-inset-top, 0px)}
.appbar-in{max-width:1160px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:12px; padding-block:12px; padding-left:max(16px, env(safe-area-inset-left, 0px)); padding-right:max(16px, env(safe-area-inset-right, 0px))}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none; min-width:0}
.brand img{border-radius:12px; flex:none}
.brand-text{display:flex; flex-direction:column; line-height:1.1}
.brand-text b{font-size:19px; font-weight:900}
.brand-text small{font-size:13px; color:var(--muted); font-weight:600}
.pill-btn{appearance:none; border:0; background:var(--surface-2); color:var(--ink); font:800 15px/1 var(--f); padding:11px 14px 11px 16px; border-radius:999px; cursor:pointer; display:inline-flex; align-items:center; gap:7px; white-space:nowrap}
.pill-btn:hover{background:var(--surface-3)}
.pill-btn .count{display:inline-grid; place-items:center; min-width:24px; height:24px; padding:0 7px; border-radius:999px; background:var(--ink); color:#fff; font-size:13px; font-variant-numeric:tabular-nums}

/* Hero */
.hero{background-color:var(--lav); background-image:radial-gradient(var(--dots) 1.3px, transparent 1.6px); background-size:22px 22px}
.hero-in{max-width:1160px; margin:0 auto; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); align-items:center; gap:24px; padding-top:48px; padding-bottom:132px; padding-left:max(16px, env(safe-area-inset-left, 0px)); padding-right:max(16px, env(safe-area-inset-right, 0px))}
body:has(#switch[hidden]) .hero-in{padding-bottom:56px}
.hero-text{display:flex; flex-direction:column; gap:16px; align-items:flex-start}
.kicker{display:inline-flex; align-items:center; gap:8px; background:var(--surface); color:var(--accent-ink); font-weight:800; font-size:14px; padding:8px 14px; border-radius:999px; box-shadow:var(--shadow-sm)}
.kicker::before{content:""; width:8px; height:8px; border-radius:50%; background:linear-gradient(135deg, #4B5BF5, #E0484E)}
h1{font-size:clamp(40px, 6.2vw, 68px); font-weight:900; letter-spacing:-.02em; line-height:1.02}
.lede{font-size:20px; color:var(--ink-2); max-width:34ch; line-height:1.4}
.hero-art{width:100%; max-width:470px; height:auto; justify-self:end; display:block}
@media (max-width:760px){
  .hero-in{grid-template-columns:minmax(0,1fr); padding-top:32px; padding-bottom:112px}
  .hero-art{display:none}
  .lede{font-size:18px}
}

/* Twee manieren van zoeken: grote kleurverloop-kaarten in een wit vlak */
.hub-wrap{max-width:1160px; margin:0 auto; padding-left:max(16px, env(safe-area-inset-left, 0px)); padding-right:max(16px, env(safe-area-inset-right, 0px)); position:relative; z-index:2}
.hub{margin-top:-92px; background:var(--surface); border-radius:48px; box-shadow:var(--shadow); padding:18px; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px}
.mode{--ring:#6E55F0; appearance:none; border:0; cursor:pointer; font:inherit; color:#fff; text-align:center; position:relative; overflow:hidden; border-radius:var(--r); padding:30px 24px 26px; min-height:228px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; transition:transform .2s ease, box-shadow .2s ease}
.mode-pick{background:radial-gradient(120% 90% at 88% 0%, rgb(255 255 255 / .22), transparent 55%), linear-gradient(135deg, #4B5BF5 0%, #8E4FE8 100%)}
.mode-video{--ring:#D23C68; background:radial-gradient(120% 90% at 88% 0%, rgb(255 255 255 / .2), transparent 55%), linear-gradient(135deg, #C2307F 0%, #E0484E 100%)}
.mode:hover{transform:translateY(-2px)}
.mode[aria-selected="true"]{box-shadow:0 0 0 3px #fff, 0 0 0 6px var(--ring)}
.mode-icon{width:60px; height:60px; border-radius:20px; display:grid; place-items:center; background:rgb(255 255 255 / .2); box-shadow:inset 0 0 0 1.5px rgb(255 255 255 / .4), 0 10px 22px rgb(0 0 0 / .14); margin-bottom:10px}
.mode-title{font-weight:900; font-size:26px; letter-spacing:-.01em; line-height:1.1}
.mode-sub{font-size:16px; font-weight:600}
.mode-cta{margin-top:16px; background:rgb(255 255 255 / .94); color:var(--ink); font-weight:800; font-size:15px; line-height:1; padding:13px 22px; border-radius:999px; box-shadow:var(--shadow-btn)}
.mode-cta .on{display:none}
.mode[aria-selected="true"] .mode-cta{background:var(--ink); color:#fff}
.mode[aria-selected="true"] .mode-cta .on{display:inline}
.mode[aria-selected="true"] .mode-cta .off{display:none}
@media (max-width:640px){
  .hub{grid-template-columns:minmax(0,1fr); border-radius:32px; padding:12px; gap:12px; margin-top:-80px}
  .mode{display:grid; grid-template-columns:auto minmax(0,1fr); text-align:left; align-items:center; justify-items:start; min-height:0; padding:16px 16px 16px 14px; gap:2px 14px; border-radius:24px}
  .mode-icon{grid-row:1 / 4; width:52px; height:52px; border-radius:17px; margin:0}
  .mode-title{font-size:21px}
  .mode-sub{font-size:14.5px}
  .mode-cta{margin-top:8px; padding:9px 14px; font-size:13.5px}
}

/* Pagina */
.wrap{max-width:1160px; margin:0 auto; display:flex; flex-direction:column; gap:28px; padding-block:40px 48px; padding-left:max(16px, env(safe-area-inset-left, 0px)); padding-right:max(16px, env(safe-area-inset-right, 0px))}
.panel{display:flex; flex-direction:column; gap:18px}
.panel-head{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px 24px}
.panel-head h2{font-size:clamp(30px, 3.6vw, 40px); font-weight:900; letter-spacing:-.015em}

/* Filters + raster */
.filters{display:flex; flex-wrap:wrap; gap:10px; align-items:center}
.search{position:relative; display:flex; align-items:center; flex:1 1 300px; min-width:240px; max-width:420px}
.search svg{position:absolute; left:16px; color:var(--muted); pointer-events:none}
.search input[type="search"]{padding-left:44px}
input[type="search"], input[type="text"], input[type="number"], input[type="email"], textarea{width:100%; font:inherit; font-size:16px; color:var(--ink); background:var(--surface); border:1.5px solid var(--field); border-radius:999px; padding:12px 18px}
textarea{border-radius:20px; resize:vertical; min-height:72px}
input:focus, textarea:focus{outline:none; border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-soft)}
input::placeholder, textarea::placeholder{color:#8A8C99}
.chips{display:flex; flex-wrap:wrap; gap:6px}
.chip{appearance:none; border:0; background:var(--surface-2); color:var(--ink); border-radius:999px; padding:11px 16px; font:700 15px/1 var(--f); cursor:pointer}
.chip:hover{background:var(--surface-3)}
.chip[aria-pressed="true"]{background:var(--ink); color:#fff}
.grid{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px}
@media (max-width:960px){ .grid{grid-template-columns:repeat(3, minmax(0,1fr))} }
@media (max-width:720px){ .grid{grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px} }
@media (max-width:340px){ .grid{grid-template-columns:minmax(0,1fr)} }
.vibe{--c:hsl(var(--h) var(--s) 50%); appearance:none; text-align:left; font:inherit; color:var(--ink); cursor:pointer; min-width:0; position:relative; display:flex; flex-direction:column; gap:3px; padding:18px 18px 16px; background:hsl(var(--h) var(--s) 95%); border:0; border-radius:var(--r-md); transition:transform .18s ease, box-shadow .18s ease}
.vibe:hover{transform:translateY(-2px); box-shadow:var(--shadow)}
.vibe[aria-pressed="true"]{box-shadow:0 0 0 2.5px var(--ink), var(--shadow)}
.vibe[aria-pressed="true"]::after{content:""; position:absolute; top:12px; right:12px; width:26px; height:26px; border-radius:50%; background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat}
.vw{width:calc(100% - 34px); height:30px; color:var(--c); display:block; margin-bottom:10px}
.v-name{font-weight:900; font-size:20px; letter-spacing:-.01em; line-height:1.15}
.v-sub{font-size:14.5px; color:var(--ink-2); line-height:1.35}
.v-meta{display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:auto; padding-top:10px; font-size:13px; color:var(--ink-2)}
.empty{padding:32px; text-align:center; color:var(--muted); background:var(--surface); border-radius:var(--r-md); box-shadow:var(--shadow-sm)}
@media (max-width:720px){
  .vibe{padding:14px 14px 13px; border-radius:20px}
  .v-name{font-size:18px}
  .v-sub{font-size:13.5px}
  .vw{height:24px; margin-bottom:8px}
}

/* Energiemeter */
.meter{display:inline-flex; gap:2.5px; align-items:flex-end; flex:none}
.meter i{width:5px; height:13px; border-radius:3px; background:rgb(18 18 18 / .1)}
.meter.lg i{width:8px; height:18px; border-radius:4px}
.meter i.on[data-lv="1"], .meter i.on[data-lv="2"], .meter i.on[data-lv="3"]{background:var(--ok)}
.meter i.on[data-lv="4"]{background:var(--warn)}
.meter i.on[data-lv="5"]{background:var(--hot)}

/* Video lezen */
.vp{display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:18px; align-items:start}
@media (max-width:860px){ .vp{grid-template-columns:minmax(0,1fr)} }
.vp-left{display:flex; flex-direction:column; gap:14px; min-width:0; padding:20px}
.drop{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; text-align:center; min-height:250px; padding:28px 22px; border:2px dashed #C6C8F4; border-radius:var(--r-md); background-color:#F5F5FF; background-image:radial-gradient(var(--dots) 1.2px, transparent 1.5px); background-size:20px 20px; cursor:pointer; transition:border-color .15s, background-color .15s}
.drop:hover{border-color:var(--accent)}
.drop:focus-within{outline:2.5px solid var(--accent); outline-offset:3px}
.drop.over{border-color:var(--accent); background-color:#E6E7FF}
.drop strong{font-size:24px; font-weight:900; letter-spacing:-.01em}
.drop .small{max-width:44ch; margin-top:6px}
.drop-icon{display:grid; place-items:center; width:64px; height:64px; border-radius:20px; color:#fff; background:linear-gradient(135deg, #C2307F, #E0484E); box-shadow:0 12px 24px rgb(194 48 127 / .28); margin-bottom:8px}
.drop-btn{margin-top:8px; background:var(--surface); color:var(--ink); font-weight:800; font-size:15px; line-height:1; padding:13px 22px; border-radius:999px; box-shadow:var(--shadow-btn)}
.file-meta{font-size:14px; color:var(--muted)}
.frames{display:grid; grid-auto-flow:column; grid-auto-columns:max-content; gap:8px; overflow-x:auto; padding-bottom:4px; max-width:100%}
.frames figure{margin:0; display:flex; flex-direction:column; gap:4px}
.frames img{height:96px; width:auto; max-width:none; border-radius:12px; display:block; background:var(--surface-2)}
.frames figcaption{font-size:12px; font-weight:700; color:var(--muted); font-variant-numeric:tabular-nums}
.lbl{font-weight:800; font-size:16px}
.row{display:flex; flex-wrap:wrap; align-items:center; gap:10px}
.row.end{justify-content:flex-end}
.status{font-size:15px; color:var(--muted)}
.status.err{color:#C42450}
.note{font-size:14.5px; color:var(--muted); background:var(--soft); border-radius:var(--r-sm); padding:12px 14px}
.ai-card{padding:24px; display:flex; flex-direction:column; gap:14px; min-width:0}
.ai-card h3{font-size:28px; font-weight:900; letter-spacing:-.01em}
.ai-card dl{margin:0; display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px 16px; align-items:center}
.ai-card dt{font-size:12.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--muted)}
.ai-card dd{margin:0; display:flex; flex-wrap:wrap; gap:6px; align-items:center}
.heard{background:var(--soft); border-radius:20px; padding:16px 18px; display:flex; flex-direction:column; gap:10px}
.heard dl{grid-template-columns:110px minmax(0,1fr); align-items:start}
.heard dd{display:block; font-size:15px}
.heard details{font-size:14.5px; color:var(--muted)}
.heard summary{cursor:pointer; font-weight:800; color:var(--ink)}
.heard details p{margin-top:6px; max-height:180px; overflow:auto; white-space:pre-wrap}
@media (max-width:520px){ .heard dl{grid-template-columns:minmax(0,1fr)} }
.ai-empty{color:var(--muted); display:flex; flex-direction:column; gap:10px}
.ai-empty ol{margin:0; padding-left:20px; display:flex; flex-direction:column; gap:6px}

/* Knoppen */
.btn{appearance:none; border:0; background:var(--surface-2); color:var(--ink); font:800 15px/1 var(--f); padding:13px 20px; border-radius:999px; cursor:pointer; white-space:nowrap}
.btn:hover{background:var(--surface-3)}
.btn.primary{background:var(--accent); color:#fff; box-shadow:0 10px 20px rgb(91 95 239 / .28)}
.btn.primary:hover{background:var(--accent-hover)}
.btn.lg{padding:16px 28px; font-size:17px}
.btn.sm{padding:10px 16px; font-size:14px}
.btn.ghost{background:transparent; color:var(--accent-ink)}
.btn.ghost:hover{background:var(--accent-soft)}
.btn:disabled{opacity:.45; cursor:not-allowed; box-shadow:none}
.goto{appearance:none; border:0; background:var(--surface-2); color:var(--ink); font:700 14px/1 var(--f); padding:9px 14px; border-radius:999px; cursor:pointer}
.goto:hover{background:var(--accent-soft); color:var(--accent-ink)}
.mood{font-size:14px; font-weight:600; padding:5px 12px; border-radius:999px; background:var(--accent-soft); color:var(--accent-ink)}

/* Vibe sheet */
.sheet{overflow:hidden; scroll-margin-top:84px}
.sheet-head{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:18px 28px; padding:32px 32px 28px; background-color:hsl(var(--h) var(--s) 95%); background-image:radial-gradient(hsl(var(--h) var(--s) 45% / .16) 1.3px, transparent 1.6px); background-size:22px 22px}
.sh-title{display:flex; flex-direction:column; gap:8px; min-width:0; max-width:640px}
.sh-title .dot{display:inline-block; width:10px; height:10px; border-radius:50%; background:hsl(var(--h) var(--s) 50%); margin-right:8px; vertical-align:1px}
.sh-title .muted{color:var(--ink-2)}
.sheet h2{font-size:clamp(36px, 4.8vw, 56px); font-weight:900; letter-spacing:-.02em}
.stats{display:flex; flex-wrap:wrap; gap:10px; margin:0}
.stats > div{display:flex; flex-direction:column; gap:4px; background:var(--surface); border-radius:18px; padding:12px 16px; box-shadow:var(--shadow-sm); min-width:104px}
.stats dt{font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--muted)}
.stats dd{margin:0; font-weight:800; font-size:17px; min-height:24px; display:flex; align-items:center}
@media (max-width:620px){ .stats{width:100%} .stats > div{flex:1 1 0; min-width:0; padding:10px 12px} }
.ai-summary{padding:20px 32px 0; font-size:17px; max-width:76ch; color:var(--ink-2)}

.sheet-body{display:grid; grid-template-columns:minmax(0,1fr) 320px; align-items:start}
.sheet-body > .main{min-width:0; padding:24px 32px 28px}
.sheet-body > .side{background:var(--soft); border-radius:var(--r-md); margin:20px 20px 20px 0; min-width:0}
@media (max-width:900px){ .sheet-body{grid-template-columns:minmax(0,1fr)} .sheet-body > .side{margin:0 20px 20px} }
.block{padding:22px; display:flex; flex-direction:column; gap:12px; min-width:0}
.block + .block{border-top:1px solid var(--line)}
.block h3{font-size:19px; font-weight:900}
.block p.hint{font-size:14.5px; color:var(--muted)}

/* Nummerlijst */
.songs-head{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 16px; margin-bottom:8px}
.songs-head h3{font-size:26px; font-weight:900; letter-spacing:-.01em}
.seg{display:inline-flex; background:var(--surface-2); border-radius:999px; padding:4px; gap:2px}
.seg button{appearance:none; border:0; background:transparent; color:var(--muted); font:700 14.5px/1 var(--f); padding:10px 15px; border-radius:999px; cursor:pointer}
.seg button:hover{color:var(--ink)}
.seg button[aria-pressed="true"]{background:var(--surface); color:var(--ink); box-shadow:var(--shadow-sm)}
.songs-tools{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 14px; margin:8px 0 6px}
.song-search{flex:1 1 220px; max-width:360px}
.song-search input{padding:10px 16px; font-size:15px}
.song-count{font-size:14px; color:var(--muted); font-variant-numeric:tabular-nums; font-weight:600}
.more .muted{font-weight:600}
.speech-note{display:flex; gap:10px; align-items:flex-start; font-size:15px; font-weight:600; color:var(--accent-ink); background:var(--accent-soft); border-radius:var(--r-sm); padding:12px 14px; margin:6px 0 8px}
.speech-note svg{flex:none; margin-top:3px}
.list-label{font-size:13px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin:18px 0 4px}
.songs{list-style:none; margin:0; padding:0}
.song{--p:0%; position:relative; display:grid; grid-template-columns:42px 48px minmax(0,1fr) 72px auto 30px; align-items:center; gap:14px; padding:11px 0; border-bottom:1px solid var(--line)}
.song:last-child{border-bottom:0}
.song::after{content:""; position:absolute; left:0; bottom:-1px; height:3px; border-radius:3px; width:var(--p); background:linear-gradient(90deg, #FFC94D, #F062B5 55%, #8B5CF6); transition:width .25s linear; opacity:0}
.song.playing::after{opacity:1}
.song.playing .song-title{color:var(--accent-ink)}
.play{appearance:none; width:42px; height:42px; border-radius:50%; border:0; background:var(--ink); color:#fff; display:grid; place-items:center; cursor:pointer; flex:none; transition:background .15s, transform .15s}
.play:hover{background:#34343C; transform:scale(1.05)}
.play[aria-pressed="true"]{background:var(--accent)}
.play svg{width:16px; height:16px}
.play.err{background:var(--surface-2); color:var(--muted); cursor:not-allowed; transform:none}
.cover{width:48px; height:48px; border-radius:12px; object-fit:cover; background:var(--surface-2); display:block}
.song-main{min-width:0}
.song-title{font-weight:800; font-size:16.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.song-sub{font-size:14.5px; color:var(--muted); display:flex; flex-wrap:wrap; gap:4px 8px; align-items:center}
.song-sub .artist{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%}
.song-why{font-size:14px; color:var(--accent-ink); margin-top:3px}
.tag{font-size:12px; font-weight:800; padding:3px 9px; border-radius:999px; background:var(--surface-2); color:var(--muted); white-space:nowrap; line-height:1.35}
.tag.inst{background:#E3F7EE; color:#0E7049}
.tag.ai{background:var(--accent-soft); color:var(--accent-ink)}
.tag.ed{background:#FFF0D9; color:#8A5300}
.tag.trend{background:#FFE7EE; color:#A8234B}
.pop{height:8px; border-radius:99px; background:var(--surface-2); overflow:hidden}
.pop i{display:block; height:100%; width:var(--w); background:linear-gradient(90deg, #FFC94D, #F062B5 60%, #8B5CF6); border-radius:99px}
.song-links{display:flex; gap:6px}
.lk{display:inline-flex; align-items:center; gap:4px; font-size:13.5px; font-weight:800; line-height:1; padding:9px 12px; border-radius:999px; background:var(--surface-2); color:var(--ink); text-decoration:none; white-space:nowrap}
.lk:hover{background:var(--surface-3)}
.lk::after{content:"↗"; font-weight:600; opacity:.55}
.star{appearance:none; border:0; background:none; cursor:pointer; color:#BFC0C9; font-size:22px; line-height:1; padding:2px; border-radius:8px}
.star:hover{color:var(--warn)}
.star[aria-pressed="true"]{color:var(--warn)}
@media (max-width:640px){
  .song{grid-template-columns:42px 44px minmax(0,1fr) 30px; row-gap:8px; gap:12px}
  .cover{width:44px; height:44px}
  .song .pop{display:none}
  .song .play, .song .cover, .song .song-main{grid-row:1}
  .song .star{grid-column:4; grid-row:1}
  .song .song-links{grid-column:3 / 5; grid-row:2}
}
.more{margin-top:12px}
.howto{margin-top:18px; font-size:14.5px; color:var(--muted); display:flex; gap:10px; align-items:flex-start}
.howto svg{flex:none; margin-top:3px; color:var(--accent)}
.loading{padding:20px 0; color:var(--muted)}

/* Rechtenvrij (ingeklapt) */
.free{border-top:1px solid var(--line)}
.free > summary{list-style:none; cursor:pointer; padding:20px 32px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; font-weight:900; font-size:18px}
.free > summary::-webkit-details-marker{display:none}
.free > summary::before{content:"+"; display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--surface-2); font-weight:800; font-size:18px; color:var(--ink)}
.free[open] > summary::before{content:"–"}
.free > summary span{font-weight:600; font-size:15px; color:var(--muted)}
.free-body{padding:0 32px 26px; display:flex; flex-direction:column; gap:12px}
.terms{list-style:none; margin:0; padding:0}
.terms li{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 12px; padding:10px 0; border-bottom:1px solid var(--line)}
.terms li:last-child{border-bottom:0}
.term{appearance:none; font:700 15px/1.3 var(--f); background:none; border:0; color:var(--ink); padding:6px 10px; margin-left:-10px; border-radius:999px; cursor:copy; text-align:left; overflow-wrap:anywhere}
.term:hover{background:var(--surface-2)}
.term.own::after{content:"eigen"; margin-left:8px; font:800 11px var(--f); letter-spacing:.05em; text-transform:uppercase; color:var(--accent)}
.links{display:flex; flex-wrap:wrap; gap:6px}
.custom{display:flex; gap:8px}
.custom input{flex:1; min-width:0}

/* Tempo + tips */
.beat-row{display:flex; gap:8px; align-items:center; flex-wrap:wrap}
.beat-row input{width:92px; font:800 17px/1 var(--f); font-variant-numeric:tabular-nums; padding:10px 14px}
.beat-row label{font-size:14px; color:var(--muted); font-weight:800}
.tap{min-width:116px; background:var(--surface); box-shadow:var(--shadow-sm)}
.tap:hover{background:var(--surface)}
.tap.hit{background:var(--accent); color:#fff}
.beat-grid{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px}
.beat-cell{background:var(--surface); border-radius:var(--r-sm); padding:12px 14px; display:flex; flex-direction:column; gap:3px; min-width:0; box-shadow:var(--shadow-sm)}
.beat-cell b{font-size:22px; font-weight:900; line-height:1.1; font-variant-numeric:tabular-nums}
.beat-cell span{font-size:12.5px; color:var(--muted); font-weight:600}
.fits{display:flex; flex-wrap:wrap; gap:6px; align-items:center; font-size:14px; color:var(--muted)}
.fits .goto{background:var(--surface); box-shadow:var(--shadow-sm)}
.tips{margin:0; padding-left:20px; display:flex; flex-direction:column; gap:8px; font-size:15px}
.lesson{font-size:14px; color:var(--ink-2); background:var(--surface); border-radius:var(--r-sm); padding:12px 14px; box-shadow:var(--shadow-sm)}
.lesson b{color:var(--ink)}

/* Shortlist */
.shortlist{padding:26px 32px; display:flex; flex-direction:column; gap:10px; scroll-margin-top:84px}
.sl-head{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px}
.sl-head h2{font-size:28px; font-weight:900; letter-spacing:-.01em}

.foot{max-width:1160px; margin:0 auto; font-size:14px; color:var(--muted); display:flex; flex-direction:column; gap:6px; padding-block:0 calc(40px + env(safe-area-inset-bottom, 0px)); padding-left:max(16px, env(safe-area-inset-left, 0px)); padding-right:max(16px, env(safe-area-inset-right, 0px))}
.foot p{max-width:80ch}

/* Pro (abonnement) */
.bar-actions{display:flex; align-items:center; gap:8px}
.pro-btn{background:linear-gradient(135deg, #4B5BF5, #8E4FE8); color:#fff; padding:11px 18px; box-shadow:0 8px 18px rgb(91 95 239 / .25)}
.pro-btn:hover{background:linear-gradient(135deg, #4351E6, #8044DB)}
.pro-btn.is-pro{background:var(--surface-2); color:var(--ink); box-shadow:none}
.pro-btn.is-pro:hover{background:var(--surface-3)}
.pro-dot{display:inline-block; width:9px; height:9px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 3px rgb(34 176 125 / .18); flex:none}
.pro-badge{position:absolute; top:14px; right:14px; background:rgb(255 255 255 / .95); color:#B9318C; font-size:12px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; line-height:1; padding:6px 10px; border-radius:999px; box-shadow:var(--shadow-sm)}
.pro-card{width:min(480px, 100%); max-height:calc(100dvh - 32px); overflow:auto; position:relative; gap:14px}
.pro-card h2{padding-right:36px}
.pro-card .x{position:absolute; top:16px; right:16px; appearance:none; border:0; width:36px; height:36px; border-radius:50%; background:var(--surface-2); color:var(--ink); font:400 24px/1 var(--f); cursor:pointer; display:grid; place-items:center}
.pro-card .x:hover{background:var(--surface-3)}
.pro-chip{align-self:flex-start; background:linear-gradient(135deg, #4B5BF5, #8E4FE8 55%, #E0484E); color:#fff; font-size:12.5px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; padding:6px 12px; border-radius:999px}
.pro-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px}
.pro-list li{display:flex; gap:10px; align-items:flex-start; font-size:15.5px}
.pro-list svg{flex:none; margin-top:2px; width:22px; height:22px; padding:3px; border-radius:50%; background:var(--accent-soft); color:var(--accent-ink)}
.price{display:flex; align-items:center; gap:12px; background-color:var(--lav); background-image:radial-gradient(var(--dots) 1.2px, transparent 1.5px); background-size:18px 18px; border-radius:var(--r-sm); padding:14px 18px}
.price b{font-size:40px; font-weight:900; letter-spacing:-.02em; line-height:1}
.price span{font-size:14px; font-weight:600; color:var(--ink-2); line-height:1.3}
.pro-form{display:flex; flex-direction:column; gap:10px}
.pro-form .btn{width:100%; white-space:normal; line-height:1.2}
.pro-card > .btn.ghost{align-self:flex-start; margin-left:-8px}
.pro-state{display:flex; align-items:center; gap:10px; font-weight:700}
.code-box{display:flex; align-items:center; justify-content:space-between; gap:12px; background:var(--soft); border-radius:var(--r-sm); padding:14px 16px}
.code-box div{display:flex; flex-direction:column; gap:2px; min-width:0}
.code-box code{font:900 22px/1.2 var(--f); letter-spacing:.06em; overflow-wrap:anywhere}
.pro-wait{display:flex; align-items:center; gap:12px}
.spinner{width:22px; height:22px; border-radius:50%; border:3px solid var(--accent-soft); border-top-color:var(--accent); animation:spin .8s linear infinite; flex:none}
@keyframes spin{to{transform:rotate(360deg)}}
@media (max-width:520px){ .pro-btn{padding:10px 14px} .price b{font-size:34px} }

.trial-note{font-size:15px; font-weight:600; color:var(--accent-ink); background:var(--accent-soft); border-radius:var(--r-sm); padding:11px 14px}
.trial-note button{appearance:none; border:0; background:none; padding:0; font:inherit; font-weight:800; color:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer}
.pro-try{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 12px; background:var(--soft); border-radius:var(--r-sm); padding:12px 14px; font-size:15px; font-weight:600}

/* Toegangscode */
.dialog{position:fixed; inset:0; z-index:50; display:grid; place-items:center; padding:16px; background:rgb(18 18 18 / .4)}
.dialog-card{width:min(440px, 100%); padding:28px; display:flex; flex-direction:column; gap:14px}
.dialog-card h2{font-size:28px; font-weight:900}

@media (max-width:520px){
  .appbar-in{padding-block:10px}
  .brand img{width:36px; height:36px}
  .brand-text b{font-size:17px}
  .pill-btn{padding:10px 12px}
  .pill-btn .label{display:none}
  .sheet-head{padding:24px 18px 20px}
  .sheet-body > .main, .free-body{padding-left:18px; padding-right:18px}
  .free > summary{padding-left:18px; padding-right:18px}
  .ai-summary{padding-left:18px; padding-right:18px}
  .sheet-body > .side{margin:0 12px 12px}
  .block{padding:18px}
  .shortlist{padding:22px 18px}
  .vp-left{padding:14px}
  .ai-card{padding:20px}
  .drop{min-height:210px}
}
@media (prefers-reduced-motion: reduce){ *{animation:none!important; transition:none!important} }

/* ---------- Voorwaarden en privacy ---------- */
.legal{max-width:760px; margin:0 auto; padding:48px max(16px, env(safe-area-inset-left, 0px)) 56px max(16px, env(safe-area-inset-right, 0px))}
.legal h1{font-size:clamp(40px, 6vw, 56px); margin:8px 0 12px}
.legal .lede{font-size:19px; color:var(--ink-2); margin:0 0 8px}
.legal h2{font-size:22px; font-weight:900; margin:36px 0 10px}
.legal p, .legal li{color:var(--ink-2); font-size:16.5px; line-height:1.6}
.legal p{margin:0 0 12px}
.legal ul{margin:0 0 12px; padding-left:22px}
.legal li{margin:4px 0}
.legal a{color:var(--accent-ink); text-underline-offset:3px}
.legal blockquote{margin:12px 0; padding:14px 18px; background:var(--soft); border-radius:var(--r-sm); color:var(--ink-2); font-size:15.5px; line-height:1.6}
.legal .facts{list-style:none; padding:0; margin:12px 0; background:var(--surface); border-radius:var(--r-sm); box-shadow:0 0 0 1px var(--line)}
.legal .facts li{display:flex; gap:16px; padding:12px 16px; margin:0; border-top:1px solid var(--line)}
.legal .facts li:first-child{border-top:0}
.legal .facts span{flex:0 0 120px; font-weight:800; color:var(--ink)}
.legal .table-wrap{overflow-x:auto; margin:8px 0 12px; border-radius:var(--r-sm); box-shadow:0 0 0 1px var(--line); background:var(--surface)}
.legal table{border-collapse:collapse; width:100%; min-width:560px; font-size:15px}
.legal th, .legal td{text-align:left; vertical-align:top; padding:12px 14px; border-top:1px solid var(--line); color:var(--ink-2)}
.legal th{border-top:0; font-weight:800; color:var(--ink); background:var(--soft)}
.legal-page .foot{padding-top:8px}
.foot a{color:inherit; text-underline-offset:3px}
.foot a:hover{color:var(--ink)}
.consent{display:flex; gap:10px; align-items:flex-start; font-size:14.5px; color:var(--ink-2); line-height:1.45; cursor:pointer}
.consent input{flex:none; width:20px; height:20px; margin:1px 0 0; accent-color:var(--accent)}
.consent a{color:var(--accent-ink)}
@media (max-width:520px){ .legal .facts li{flex-direction:column; gap:2px} .legal .facts span{flex:none} }
a.pill-btn{text-decoration:none}
