
:root{--bg:#f6f7f8;--surface:#fff;--surface2:#eceff1;--text:#23262b;--muted:#5c6670;--border:#d8dde1;--accent:#33859D;--accent-d:#26707f;--navy:#2D313D;--header-bg:#fff;--shadow:0 2px 10px rgba(20,30,40,.10)}
html[data-theme="dark"]{--bg:#1d2026;--surface:#2D313D;--surface2:#262a33;--text:#eef1f3;--muted:#a9b4bc;--border:#434a57;--accent:#57aec2;--accent-d:#7cc2d2;--header-bg:#23262e;--shadow:0 2px 10px rgba(0,0,0,.4)}
*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.5}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
header.site{background:var(--header-bg);border-bottom:3px solid var(--accent);position:sticky;top:0;z-index:20}
.header-in{max-width:1180px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;gap:16px}
.logo-dark,.logo-light{height:42px;width:auto}
html[data-theme="dark"] .logo-light{display:none}
html[data-theme="light"] .logo-dark{display:none}
@media (prefers-color-scheme:dark){html:not([data-theme]) .logo-light{display:none}}
@media (prefers-color-scheme:light){html:not([data-theme]) .logo-dark{display:none}}
header.site nav{margin-left:auto;display:flex;gap:18px;align-items:center;font-weight:600}
header.site nav a{color:var(--text)}
#themeToggle{background:var(--surface2);color:var(--text);border:1px solid var(--border);border-radius:20px;padding:6px 14px;cursor:pointer;font-size:14px}
main{max-width:1180px;margin:0 auto;padding:20px 16px 48px}
.hero{background:var(--navy);color:#fff;border-radius:14px;padding:28px 24px;margin-bottom:26px}
.hero h1{margin:0 0 6px;font-size:30px}
.hero p{margin:0 0 16px;color:#cfd8dc;max-width:640px}
.searchbar{display:flex;gap:8px;max-width:640px}
.searchbar input{flex:1;padding:12px 14px;border-radius:10px;border:1px solid var(--border);font-size:16px;background:var(--surface);color:var(--text)}
.searchbar button,.btn{background:var(--accent);color:#fff;border:none;padding:12px 20px;border-radius:10px;font-size:16px;cursor:pointer;font-weight:600}
h2.section{font-size:22px;margin:28px 0 14px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
.card a{color:inherit}.card a:hover{text-decoration:none}
.card img.thumb{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:#000}
.card .pad{padding:12px 14px}
.card h3{margin:0 0 6px;font-size:16px;line-height:1.35}
.meta{color:var(--muted);font-size:13px}
.badge{display:inline-block;background:var(--accent);color:#fff;border-radius:12px;padding:2px 10px;font-size:12px;font-weight:700;margin-right:6px}
.chip{display:inline-block;background:var(--surface2);border:1px solid var(--border);color:var(--text);border-radius:14px;padding:3px 12px;font-size:13px;margin:2px 4px 2px 0}
.series-head{display:flex;gap:20px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px;box-shadow:var(--shadow);margin-bottom:22px}
.series-head img{width:340px;max-width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px}
.series-head .info{flex:1;min-width:240px}
.num{display:inline-flex;background:var(--navy);color:#fff;border-radius:50%;width:26px;height:26px;align-items:center;justify-content:center;font-size:13px;font-weight:700;margin-right:6px}
.player{position:relative;padding-top:56.25%;border-radius:12px;overflow:hidden;background:#000;margin-bottom:16px}
.player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.transcript{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:18px 20px;margin-top:22px}
.transcript p{margin:0 0 12px}
.notes{background:var(--surface);border:1px solid var(--border);border-left:5px solid var(--accent);border-radius:12px;padding:20px 22px;margin-top:22px}
.notes h2{margin-top:0}
.notes .scripture-title{font-size:28px;font-weight:800;margin:0 0 2px}
.notes .sermon-subtitle{font-size:19px;font-weight:600;margin:0 0 12px}
.notes img{width:480px;max-width:100%;border-radius:10px;display:block;margin-bottom:12px}
.scripture-quote{border-left:3px solid var(--accent);padding-left:14px;margin:16px 0}
.scripture-quote p{margin:0 0 10px}
.notes h3{font-size:19px;margin:20px 0 6px}
.notes-copy-btn{display:block;width:100%;background:var(--accent);color:#fff;border:none;padding:14px;font-size:17px;border-radius:10px;cursor:pointer;font-weight:600;margin:10px 0 4px}
.notes-copy-btn:hover{background:var(--accent-d)}
.notes-copy-status{color:var(--muted);font-size:13px;text-align:center;margin:4px 0 10px}
.filters{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 20px}
.filters select{padding:10px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:15px}
.snippet{font-size:13px;color:var(--muted);margin-top:6px}
.snippet b{color:var(--text)}
footer.site{border-top:1px solid var(--border);padding:20px 16px;text-align:center;color:var(--muted);font-size:14px}
@media print{:root{--bg:#fff;--surface:#fff;--text:#000;--muted:#444;--border:#ccc}header.site{position:static}header.site nav,#themeToggle{display:none}}
