body { font-family: system-ui, Arial, sans-serif; margin: 0; line-height: 1.6; }
.top { padding: 16px; border-bottom: 1px solid #ddd; display: grid; gap: 10px; }
.top a { text-decoration: none; }
.title h1 { margin: 0; font-size: 1.4rem; }
.title p { margin: 0; opacity: .7; }
.nav { display: flex; gap: 12px; flex-wrap: wrap; }
.chapter { padding: 16px; max-width: 900px; margin: 0 auto; }
.verses { padding-left: 20px; }
.verses li { margin: 10px 0; }
.n { font-weight: 700; margin-right: 8px; }
.foot { padding: 16px; border-top: 1px solid #ddd; opacity: .8; }
:root{
  --bible-font: 1rem;
  --bg: #ffffff;
  --fg: #111111;
  --muted: #666;
  --border: #dddddd;
  --card: #ffffff;
  --link: #0b57d0;
}

:root[data-theme="dark"]{
  --bg: #0f1115;
  --fg: #e7e7e7;
  --muted: #a7a7a7;
  --border: #2a2f3a;
  --card: #141824;
  --link: #7ab7ff;
}

body{
  font-family: system-ui, Arial, sans-serif;
  margin: 0;
  line-height: 1.7;
  background: var(--bg);
  color: var(--fg);
  font-size: var(--bible-font);
}

a{ color: var(--link); text-decoration: none; }
a:hover{ text-decoration: underline; }

.top{
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 10px;
  background: var(--card);
  position: sticky;
  top: 0;
  z-index: 10;
}

.title h1{ margin: 0; font-size: 1.35rem; }
.title p{ margin: 0; color: var(--muted); }

.nav{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.chapter{
  padding: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.verses{ padding-left: 20px; }
.verses li{ margin: 10px 0; }
.n{ font-weight: 700; margin-right: 8px; color: var(--muted); }

.foot{
  padding: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

/* ---- barre de lecture ---- */
.readerbar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.readerbar .btn{
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.readerbar .btn:hover{
  background: rgba(127,127,127,0.12);
}

/* ---- mode lecture (moins de distractions) ---- */
.reading .chapter{
  max-width: 760px;
}
.reading .top {
    position: static;
}

.reading .nav {
    display: none;
}

.reading .readerbar {
    opacity: .75;
}

.reading .chapter {
    max-width: 760px;
}
/* Verset du jour - carte */
.vod-card {
    position: relative;
    max-width: 900px;
    margin: 28px auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.25);
}

/* Fond image + voile */
.vod-bg {
    position: absolute;
    inset: 0;
    background-image: url("/bible/img/verset-bg.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: blur(0px);
}

/* Voile pour lisibilité */
.vod-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,71,161,0.55), rgba(255,255,255,0.10));
}

/* Contenu */
.vod-content {
    position: relative;
    padding: 22px 22px 18px 22px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.vod-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

    .vod-header h2 {
        margin: 0;
        font-size: 1.25rem;
        letter-spacing: 0.2px;
    }

.vod-date {
    font-size: 0.95rem;
    opacity: 0.9;
}

.vod-ref {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.vod-text {
    font-size: 1.25rem;
    line-height: 1.55;
    font-style: italic;
    margin-bottom: 16px;
}

/* Boutons */
.vod-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vod-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: transform .05s ease, background .2s ease;
    user-select: none;
}

    .vod-btn:hover {
        background: rgba(255,255,255,0.22);
    }

    .vod-btn:active {
        transform: translateY(1px);
    }

.vod-btn-secondary {
    background: rgba(0,0,0,0.18);
}

.vod-toast {
    margin-top: 10px;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(6px);
    transition: .25s ease;
}

    .vod-toast.show {
        opacity: 1;
        transform: translateY(0px);
    }
