/* Rikke Vera – afspiller (bruger farvevariabler fra shop.css) */
.rvs-box {
  background: var(--rvs-card, #fbf6f0);
  border-radius: var(--rvs-radius, 18px);
  box-shadow: var(--rvs-shadow, 0 10px 30px rgba(74,59,50,.1));
  padding: 1.75rem;
  margin: 0 0 2rem;
  color: var(--rvs-text, #2d3142);
}
.rvs-mine { max-width: 760px; margin: 0 auto; }
.rvs-hello {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: var(--rvs-card, #fbf6f0); border: 1px solid #eadbcb; border-radius: var(--rvs-radius, 18px);
  padding: .9rem 1.4rem; margin: 2rem 0 1.5rem; font-size: 1.1rem; color: var(--rvs-text, #2d3142);
}
.rvs-hello .rvs-logout { padding: .45em 1.3em !important; font-size: .95rem !important; }
.rvs-small { font-size: .9rem; color: var(--rvs-muted, #6b6f7d); }

.rvs-login { max-width: 460px; margin: 2.5rem auto 2rem; }
.rvs-login h2 { margin-top: 0; }
.rvs-login input[type=text], .rvs-login input[type=password] {
  width: 100%; padding: .7em .9em; border: 1px solid #d9c9b8; border-radius: 10px; background: #fff; font-size: 1rem;
}
.rvs-login .login-submit input {
  background: var(--rvs-cta, #b65a33); color: #fff; border: 0; border-radius: 999px; padding: .8em 2em; font-weight: 600; cursor: pointer;
}

.rvs-head { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 1.25rem; }
.rvs-cover { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; flex: none; }
.rvs-title { margin: 0 0 .25rem; font-size: 1.5rem; }
.rvs-now { margin: 0; color: var(--rvs-muted, #6b6f7d); font-size: .98rem; }
.rvs-resume { margin: 0 0 1rem; width: 100%; text-align: center; }
.rvs-audio { width: 100%; margin: .25rem 0 .75rem; }
.rvs-controls { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.rvs-ghost {
  background: transparent !important; color: var(--rvs-cta, #b65a33) !important;
  border: 2px solid var(--rvs-cta, #b65a33) !important; box-shadow: none !important; padding: .5em 1.1em !important; font-size: .95rem !important;
}
.rvs-ghost:hover { background: var(--rvs-cta, #b65a33) !important; color: #fff !important; }
.rvs-ch-head { font-size: 1.05rem; margin: 0 0 .5rem; }
.rvs-chapters { list-style: none; margin: 0; padding: 0; counter-reset: ch; max-height: 420px; overflow: auto; border-top: 1px solid #eadbcb; }
.rvs-chapters li { counter-increment: ch; border-bottom: 1px solid #eadbcb; }
.rvs-ch {
  all: unset; box-sizing: border-box; display: flex; gap: .75rem; width: 100%; padding: .75rem .5rem; cursor: pointer;
  color: var(--rvs-text, #2d3142); font-size: 1rem; line-height: 1.4;
}
.rvs-ch::before { content: counter(ch) "."; color: var(--rvs-muted, #6b6f7d); min-width: 1.8em; }
.rvs-ch:hover, .rvs-ch:focus-visible { background: rgba(217, 139, 58, .10); }
.rvs-ch.is-current { font-weight: 700; color: var(--rvs-cta, #b65a33); }
.rvs-ch.is-current::after { content: "♪"; margin-left: auto; }
.rvs-tip { margin: 1rem 0 0; }
@media (max-width: 520px) { .rvs-box { padding: 1.25rem; } .rvs-cover { width: 72px; height: 72px; } }

.rvs-materials { margin-top: 1.25rem; }
.rvs-materials ul { list-style: none; margin: 0; padding: 0; }
.rvs-materials li { padding: .5rem 0; border-bottom: 1px solid #eadbcb; }
.rvs-material { color: var(--rvs-cta, #b65a33); font-weight: 600; text-decoration: none; }
.rvs-material:hover { text-decoration: underline; }

.rvs-section-title { font-size: 1.5rem; margin: 2rem 0 1rem; }
.rvs-downloads h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.rvs-downloads ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.rvs-downloads li { padding: .4rem 0; }

/* Offline-lytning */
.rvs-offline { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #eadbcb; }
.rvs-off-status { margin: 0 0 .75rem; }
.rvs-off-bar { height: 8px; border-radius: 999px; background: #eadbcb; overflow: hidden; margin: 0 0 .9rem; }
.rvs-off-bar span { display: block; height: 100%; width: 0; background: var(--rvs-cta, #b65a33); transition: width .3s ease; }
.rvs-off-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.rvs-off-actions [hidden] { display: none !important; }
.rvs-off-save[disabled] { opacity: .6; cursor: progress; }
.rvs-ch.is-saved::after { content: "✓"; margin-left: auto; color: #8f8a5f; font-weight: 700; }
.rvs-ch.is-current.is-saved::after { content: "♪ ✓"; }
.rvs-ch.is-unavailable { opacity: .45; }
.rvs-offline .rvs-tip.rvs-small { margin: 1.75rem 0 0; font-size: 1.05rem; line-height: 1.55; color: var(--rvs-text, #2d3142); }
.rvs-offline .rvs-tip a { display: inline-block; margin-top: .35rem; color: var(--rvs-cta, #b65a33); font-weight: 600; text-decoration: underline; }

/* Tekststørrelser, der passer til resten af sitet (skalerer med sitets brødtekst) */
.rvs-player { font-size: inherit; }
.rvs-player .rvs-title { font-size: 28px; font-size: calc(1.2175em); }
.rvs-player .rvs-eyebrow { font-size: .75em; }
.rvs-player .rvs-now { font-size: .9em; line-height: 1.45; }
.rvs-player .rvs-ch-head { font-size: 1.1em; margin-bottom: .6em; }
.rvs-player .rvs-ch { font-size: 1em; line-height: 1.4; }
.rvs-player .rvs-small, .rvs-player .rvs-off-status { font-size: .9em; line-height: 1.5; }
.rvs-offline .rvs-tip.rvs-small { font-size: 1em; line-height: 1.5; }
.rvs-player .rvs-btn, .rvs-player .rvs-ghost { font-size: 18px !important; }
.rvs-player .rvs-material { font-size: .9em; }
.rvs-hello { font-size: .9em; }
.rvs-mine .rvs-small { font-size: .9em; }
.rvs-section-title { font-size: 28px; }

/* Sort tekst i stedet for grå (som resten af sitet) */
.rvs-mine, .rvs-box, .rvs-hello { --rvs-muted: #2d3748; --rvs-text: #2d3748; }
.rvs-player .rvs-now, .rvs-player .rvs-small, .rvs-player .rvs-off-status, .rvs-mine .rvs-small, .rvs-ch, .rvs-ch::before { color: #2d3748; }
.rvs-player .rvs-offline .rvs-off-status { font-size: 1em; line-height: 1.5; }

/* Ikoner ved materialer */
.rvs-materials li { padding: .85rem 0; }
.rvs-material { display: flex; align-items: center; gap: 1rem; }
.rvs-material-icon { flex: none; width: 56px; height: auto; border-radius: 4px; box-shadow: 0 4px 12px rgba(74,59,50,.18); background: #fff; }
.rvs-material-icon--pdf { display: inline-flex; box-shadow: none; background: none; }
.rvs-material-icon--pdf svg { display: block; width: 56px; height: 74px; }
.rvs-material-name { flex: 1; }
.rvs-material-dl { flex: none; margin-left: .5rem; font-size: 1.1em; }
.rvs-material:hover .rvs-material-name { text-decoration: underline; }
.rvs-material:hover { text-decoration: none; }
