:root{color-scheme:dark;--bg:#101010;--panel:#1b1b1d;--text:#f6f6f6;--muted:#bcbcc2;--border:#454549;--accent:#ffb600;font-family:Outfit,system-ui,sans-serif;background:var(--bg);color:var(--text)}
:root[data-theme=light]{color-scheme:light;--bg:#f5f4f0;--panel:#fff;--text:#192621;--muted:#5f6865;--border:#d4d8d4}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}header{height:74px;display:flex;align-items:center;gap:8px;padding:0 18px;background:var(--bg)}header .brand{margin-right:auto;max-width:55%}.brand img{display:block;width:min(210px,100%);height:auto}button,input,select{font:inherit}button{cursor:pointer}header button{border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:999px;min-height:40px;padding:0 12px}header #account{font-size:.75rem;max-width:70px}
#view{height:calc(100dvh - 134px);overflow:auto;padding:24px 20px;overscroll-behavior:contain}#view h1{font-size:clamp(1.85rem,6vw,2.8rem);line-height:1.08;letter-spacing:-.035em;margin:0 0 18px}#view h2{line-height:1.3}#view p{line-height:1.5}#view input,#view select{background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:10px;padding:11px;margin:0 8px 18px 0;max-width:100%}#view button{background:var(--accent);color:#171717;border:0;border-radius:999px;padding:10px 18px;font-weight:700}#view button:disabled{opacity:.55}
#view a, .lc-prayer-badge{color:inherit;text-decoration:none}#view a:hover{text-decoration:underline}#view a:focus-visible{outline:2px solid var(--accent)}
.lc-v2-home .lc-v2-eyebrow{font-size:.8rem;letter-spacing:.15em;font-weight:700;margin:10px 0 20px}.lc-v2-home>p:not(.lc-v2-eyebrow){font-size:1.1rem;color:var(--muted);margin-bottom:26px}.lc-v2-featured{background:var(--panel);border-radius:18px;overflow:hidden;max-width:640px}.lc-v2-featured-art{position:relative}.lc-v2-featured-art>img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#272727}.lc-v2-featured-copy{padding:18px}.lc-v2-featured-copy h2{font-size:1.35rem;margin:0}.lc-v2-featured-copy p:not(.lc-v2-eyebrow){color:var(--muted)}
.lc-v2-video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}.lc-v2-video-grid article{background:var(--panel);border:1px solid var(--border);border-radius:12px;overflow:hidden;padding-bottom:12px}.lc-v2-video-grid img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#292929}.lc-v2-video-grid h2{font-size:1rem;padding:0 10px}.lc-v2-video-grid button{margin-left:10px}
nav{position:fixed;bottom:0;height:60px;inset-inline:0;display:flex;align-items:center;justify-content:space-around;background:var(--panel);border-top:1px solid var(--border)}nav a{color:var(--text);text-decoration:none;font-size:.85rem;font-weight:600}nav a:focus-visible{outline:2px solid var(--accent)}
#player:not([hidden]){position:fixed;right:12px;bottom:72px;width:min(var(--mini-size,300px),70vw);background:var(--panel);z-index:5;border-radius:5px;overflow:hidden;box-shadow:0 4px 20px #0009}#player-actions{display:flex;justify-content:space-between;padding:5px}#player button{border:1px solid var(--border);background:var(--panel);color:var(--text);padding:7px;border-radius:5px}#player-mount iframe{display:block;width:100%;aspect-ratio:16/9;border:0}body.lc-v2-watch-active #player:not([hidden]){position:absolute;left:18px;right:18px;top:80px;bottom:auto;width:auto;box-shadow:none}body.lc-v2-watch-active #player-mount iframe{max-height:60vh}.lc-player-slot{width:100%;aspect-ratio:16/9;margin-bottom:48px}
#audio-mini{display:none}body:not(.lc-v2-watch-active) #player.is-audio #player-mount,body:not(.lc-v2-watch-active) #player.is-audio #player-actions{display:none}body:not(.lc-v2-watch-active) #player.is-audio #audio-mini{display:flex;align-items:center;gap:8px;padding:10px}#audio-title{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
dialog{max-width:min(90vw,420px);border:1px solid var(--border);border-radius:14px;padding:24px;background:var(--panel);color:var(--text)}dialog::backdrop{background:#000a}#feedback{position:fixed;bottom:65px}

header button{white-space:nowrap;flex-shrink:0}header .brand{min-width:0}

:root{--white:var(--panel);--black:var(--text);--borderColor-default:var(--border);--vivid-orange:var(--accent);--DM-bgColor-smoke-white:var(--panel);--DM-black:var(--text);--DM-grayTwo:var(--border);--DM-vivid-orange:var(--accent)}

.lc-v2-continue{margin-top:28px}.lc-v2-continue-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.lc-v2-continue-grid article{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--panel);font-size:.85rem}.lc-v2-continue-grid article[role=button]{cursor:pointer}.lc-v2-continue-grid small{font-weight:700}.lc-v2-continue-grid span{color:var(--muted)}

.library-link{color:var(--text);font-size:1.6rem;text-decoration:none}.lc-v2-home+.library-link{display:none}
header button,.library-link{min-height:44px}.library-link{min-width:40px;display:grid;place-items:center}#view button,#view input,#view select,#player button{min-height:35px;min-width:40px}#close-player{background:red!important;}nav a{min-height:60px;display:flex;align-items:center;justify-content:center;flex:1}
body:not(.lc-v2-watch-active) #player.is-audio:not([hidden]){width:calc(100vw - 24px);max-width:620px}#audio-mini button{white-space:nowrap}

nav a[aria-current=page]{color:var(--accent)}[data-study-body]{overflow-x:auto;line-height:1.75;font-size:1.05rem}[data-study-body] img{max-width:100%;height:auto}[data-study-body] table{border-collapse:collapse;max-width:100%}[data-study-body] td,[data-study-body] th{border:1px solid var(--border);padding:8px}[data-study-body] pre{overflow-x:auto}

nav{height:calc(60px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}#view{height:calc(100dvh - 134px - env(safe-area-inset-bottom))}#player:not([hidden]){bottom:calc(72px + env(safe-area-inset-bottom));right: calc(22px + env(safe-area-inset-right))}

.lc-v2-live:not([hidden]){display:inline-block;background:#ed003a;color:white;border-radius:5px;padding:4px 7px;font-size:.75rem;font-weight:700}.lc-v2-featured-art .lc-v2-live{position:absolute;right:10px;bottom:10px}

#notifications{position:relative;display:grid;place-items:center;min-width:44px;padding:0}.lc-hub-count:not([hidden]){position:absolute;right:-4px;top:-4px;background:#d40035;color:#fff;border-radius:99px;min-width:20px;padding:2px;font-size:.7rem;line-height:1.2}

#account{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}nav #sign-in{flex:1;height:60px;border:0;background:transparent;color:var(--text);font-size:.85rem;font-weight:600}header{gap:4px}.brand{flex:1 1 auto;min-width:0}

#search-results{display:grid;gap:8px;max-height:50vh;overflow:auto}#search-results a,#search-results button{display:block;text-align:left;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--text);text-decoration:none}#search-input{width:100%;padding:12px;border:1px solid var(--border);border-radius:8px}

fieldset{border:1px solid var(--border);border-radius:12px;padding:16px}fieldset label{display:flex;align-items:center;gap:10px;padding:8px}fieldset input{margin:0!important}#view section>div>button{margin:6px}

.lc-v2-quiz-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.lc-v2-quiz-choices a{padding:18px;border-radius:12px;background:var(--panel);border:1px solid var(--border);color:var(--text);text-decoration:none}

nav a,nav #sign-in{display:flex;flex-direction:column;gap:2px;font-size:.58rem;line-height:1.1}nav svg{width:24px;height:24px;flex:none}

.lc-shared-player-viewport{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden}body.lc-v2-watch-active #player-actions{display:none}body.lc-v2-watch-active .lc-player-slot{margin-bottom:0}

.lc-v2-quiz-list{display:grid;gap:10px;margin-bottom:20px}.lc-v2-quiz-list a{color:var(--text);background:var(--panel);border:1px solid var(--border);border-radius:10px;padding:15px;text-decoration:none}

.lc-v2-explore{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px}.lc-v2-explore a{display:flex;align-items:center;min-height:72px;padding:15px;border-radius:14px;background:var(--panel);border:1px solid var(--border);color:var(--text);text-decoration:none;font-weight:700}
/* Restore the familiar home shortcuts and publication cards. */
.lc-v2-explore{grid-template-columns:repeat(3,minmax(0,1fr))}
.lc-v2-explore a{flex-direction:column;justify-content:center;gap:8px;min-height:94px;text-align:center;font-weight:500;border:0}
.lc-v2-shortcut-icon{font-size:1.8rem;line-height:1}
.lc-v2-fresh{margin-top:28px}.lc-v2-publication{display:flex;flex-direction:column;gap:6px;padding:16px;margin:8px 0;border:1px solid var(--border);border-radius:12px;background:var(--panel);color:var(--text);text-decoration:none}.lc-v2-publication small{color:var(--muted);font-size:.7rem;letter-spacing:.12em}.lc-v2-publication strong{font-size:1.15rem;font-weight:500}.lc-v2-bible-links{display:flex;background:var(--panel);border-radius:12px;margin:12px 0;padding:16px}.lc-v2-bible-links a{flex:1;text-align:center;color:var(--text);text-decoration:none}.lc-v2-bible-links a+a{border-left:1px solid var(--border)}
/* Browse cards share the existing site's spacing, rounded surfaces and type. */
.lc-v2-publication-list,.lc-v2-audio-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:12px;margin:12px 0 22px}
.lc-v2-publication-list article,.lc-v2-audio-grid article{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:18px;min-width:0}
.lc-v2-publication-list a{display:block;color:var(--text);font-size:1.05rem;font-weight:600;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}
.lc-v2-audio-grid h2{font-size:1rem;line-height:1.4;margin:0 0 14px}.lc-v2-audio-grid button+button{margin-left:8px}.lc-v2-video-grid button+button{margin-top:8px}
/* Match the original browse pages: horizontal category pills and image cards. */
#view .lc-v2-category-tabs{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;margin:8px 0 16px;padding:2px 0}
#view .lc-v2-category-tabs::-webkit-scrollbar{display:none}
#view .lc-v2-category-tabs button{flex:none;white-space:nowrap;background:var(--panel);color:var(--text);border:1px solid var(--border);font-weight:600}
#view .lc-v2-category-tabs button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#171717}
.lc-v2-video-grid,.lc-v2-audio-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px}
.lc-v2-video-grid article,.lc-v2-audio-grid article{padding:8px 8px 18px;background:var(--panel);border-radius:12px}
.lc-v2-video-grid img,.lc-v2-audio-grid img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:6px;background:#292929}
.lc-v2-video-grid h2,.lc-v2-audio-grid h2{padding:8px 0 0;font-size:1rem;font-weight:500;line-height:1.25}
.lc-v2-video-grid button{margin-left:0}.lc-v2-video-grid button+button,.lc-v2-audio-grid button+button{margin-left:8px}
@media(min-width:540px){.lc-v2-video-grid,.lc-v2-audio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1160px){.lc-v2-video-grid,.lc-v2-audio-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1260px){.lc-v2-video-grid,.lc-v2-audio-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.lc-v2-shortcut-icon svg{display:block;width:34px;height:34px}
/* Publication browsing follows the original LightCity reading-page surfaces. */
.lc-v2-publication-intro{padding:18px;background:var(--panel);border:1px solid var(--border);border-radius:16px;margin:12px 0 24px}
.lc-v2-publication-intro h2{font-size:clamp(24px,3vw,30px);margin:0 0 12px}.lc-v2-publication-intro p{font-size:17px;line-height:1.6;margin:0}
.lc-v2-publication-list{grid-template-columns:minmax(0,1fr);gap:12px}.lc-v2-publication-list article{padding:18px}.lc-v2-publication-list article>a:first-child{font-size:clamp(20px,2.4vw,24px);font-weight:700}.lc-v2-publication-list .lc-v2-read-more{display:inline-flex;margin-top:14px;background:var(--accent);color:#171717;border-radius:28px;padding:10px 20px;font-size:16px;font-weight:500}
[data-study-body].homeResources-grid-containter{background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:18px;line-height:1.6}[data-study-body] .archive-date{display:block;color:var(--muted);font-size:14px;margin-bottom:18px}[data-study-body] a{color:inherit;text-decoration:underline}
@media(min-width:700px){.lc-v2-publication-intro,.lc-v2-publication-list article,[data-study-body].homeResources-grid-containter{padding:24px}}
.lc-v2-reading-toolbar{border:1px solid var(--border);border-radius:14px;background:var(--panel);padding:14px;margin:12px 0}.lc-v2-reading-toolbar summary{cursor:pointer;font-weight:700}.lc-v2-reading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:12px}.lc-v2-reading-actions a{color:var(--text);padding:10px}#view .lc-v2-reading-actions button{font-weight:500}#view dialog label{display:block;margin:14px 0 6px}#view dialog select,#view dialog input{width:100%}#view dialog output{float:right}
.lc-v2-library-tabs{display:flex;gap:8px;overflow-x:auto;margin:12px 0 20px}.lc-v2-library-tabs button{white-space:nowrap}#view .lc-v2-library-tabs button[aria-pressed=false]{background:var(--panel);color:var(--text);border:1px solid var(--border)}.lc-v2-library>div:not(.lc-v2-library-tabs){display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:12px}.lc-v2-library article{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:16px;background:var(--panel);border:1px solid var(--border);border-radius:14px}.lc-v2-library article strong,.lc-v2-library article a{flex-basis:100%;color:var(--text);overflow-wrap:anywhere}
/* LightCity original home and navigation styles, mapped to the persistent shell. */
:root{--accent:#ffc107;font-family:'Outfit','Segoe UI',sans-serif}
:root[data-theme=dark]{--bg:#101010;--panel:#1b1b1d;--text:#eee;--muted:#b6b6bc;--border:#323232}
:root[data-theme=light]{--bg:#f6f6f6;--panel:#fff;--text:#242424;--muted:#626873;--border:#dedede}
body>header{height:74px;gap:10px;padding:0 20px}
body>header .brand img{width:200px;max-height:55px;object-fit:contain;object-position:left center}
body>header button,body>header .library-link{display:grid;place-items:center;min-width:40px;width:40px;height:40px;min-height:40px;padding:8px;border:0;border-radius:50%;background:transparent;color:var(--text)}
body>header #search-open{background:var(--panel)}body>header #theme{color:var(--accent)}
body>nav{z-index:20;background:var(--bg);padding-inline:max(8px,calc((100vw - 1200px)/2));border-top:1px solid var(--border)}
body>nav a,body>nav #sign-in{position:relative;flex-direction:row;color:var(--text)}
body>nav a>span,body>nav #sign-in>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body>nav svg{width:28px;height:28px}body>nav a[aria-current=page]{color:var(--accent)}
body>nav a[aria-current=page]::after{content:'';position:absolute;bottom:6px;width:5px;height:5px;border-radius:50%;background:var(--accent)}
#view:has(.lc-v2-home){padding-top:24px}
.lc-v2-home{max-width:650px;margin:auto}
.lc-v2-home>.lc-v2-eyebrow{font-size:11px;line-height:1.5;letter-spacing:.2em;font-weight:600;margin:0 0 10px}
#view .lc-v2-home>h1{font:800 clamp(32px,8.7vw,52px)/1.08 'Outfit','Segoe UI',sans-serif;letter-spacing:-.035em;margin:0 0 10px}
.lc-v2-home>p:not(.lc-v2-eyebrow){font-size:clamp(15px,3.8vw,19px);line-height:1.5;margin:0 0 24px;color:var(--muted)}
.lc-v2-featured{max-width:none;border-radius:16px}.lc-v2-featured-art{aspect-ratio:16/7;overflow:hidden;background:var(--accent)}
.lc-v2-featured-art>img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover}.lc-v2-featured-copy{padding:18px 20px 20px}
.lc-v2-featured-copy .lc-v2-eyebrow{font-size:10px;line-height:1.5;letter-spacing:.2em;font-weight:600;margin:0 0 10px}
#view .lc-v2-featured-copy h2{font-size:clamp(20px,5vw,28px);font-weight:600;line-height:1.25;overflow-wrap:anywhere}
.lc-v2-featured-copy p:not(.lc-v2-eyebrow){font-size:15px;margin:8px 0 14px}
#view .lc-v2-featured-copy button{font-size:16px;font-weight:500;padding:11px 24px;border-radius:30px}
.lc-v2-home>section{margin-top:26px}.lc-v2-home>section>h2,.lc-v2-continue h2{font:700 clamp(22px,5.3vw,34px)/1.2 'Outfit','Segoe UI',sans-serif;letter-spacing:-.025em;margin:0 0 16px}
.lc-v2-explore a{gap:12px;min-height:94px;font-size:16px;padding:16px 4px}.lc-v2-shortcut-icon svg{width:34px;height:34px}
@media(max-width:350px){body>header{padding-inline:14px;gap:4px}.lc-v2-explore a{font-size:14px}}
@media(min-width:700px){.lc-v2-featured-copy{padding:24px}.lc-v2-explore a{min-height:110px}}
@media(min-width:960px){#view:has(.lc-v2-home){padding:32px}.lc-v2-home{max-width:1200px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px;align-items:start;}.lc-v2-home>.lc-v2-eyebrow,.lc-v2-home>h1,.lc-v2-home>p:not(.lc-v2-eyebrow){grid-column:1/-1}.lc-v2-home>.lc-v2-eyebrow,.lc-v2-home>h1{margin-bottom:-20px}.lc-v2-featured{grid-column:1}.lc-v2-home>.lc-v2-fresh{grid-column:2;grid-row:4;margin-top:0}.lc-v2-home>.lc-v2-featured+div,.lc-v2-home>.lc-v2-home-explore,.lc-v2-home>.lc-v2-bible-links,.lc-v2-home>section:not(.lc-v2-fresh){grid-column:1/-1}.lc-v2-featured-art{aspect-ratio:16/9}.lc-v2-explore{gap:20px}.lc-v2-explore a{flex-direction:row;gap:18px;font-size:20px}.lc-v2-publication{padding:24px;min-height:156px}}
/* Watch and Continue controls follow the existing LightCity player styles. */
.lc-v2-watch-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}
#view .lc-v2-watch-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:5px 15px;border:1px solid transparent;border-radius:999px;font:500 16px/1.3 'Outfit','Segoe UI',sans-serif}
#view .lc-v2-watch-actions button[aria-pressed=false]{background:transparent;color:var(--text);border-color:currentColor}
.lc-v2-continue-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;align-items:stretch}
.lc-v2-continue-grid article{min-width:0;padding:12px;border-radius:14px;gap:6px}
.lc-v2-continue-grid progress{height:4px;width:100%;accent-color:var(--accent)}
@media(max-width:420px){.lc-v2-continue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Map original browse theme variables to the preview’s light and dark themes. */
.lc-v2-publications,.lc-v2-info,.lc-v2-videos,.lc-v2-audio{--home-ink:var(--text);--home-muted:var(--muted);--home-surface:var(--panel);--home-border:var(--border);--home-soft:var(--panel);--home-accent:var(--accent)}
/* Desktop navigation mirrors the original site shell; mobile keeps its bottom bar. */
#desktop-menu,#desktop-search,#desktop-account,#desktop-rail{display:none}
@media(min-width:901px){
 body{--desktop-rail-width:80px}
 body.desktop-rail-expanded{--desktop-rail-width:270px}
 body>header{position:fixed;z-index:30;inset:0 0 auto;height:66px;gap:20px;padding:0 24px 0 16px;background:var(--bg);border-bottom:1px solid var(--border)}
 body>header #desktop-menu,body>header #desktop-account{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:var(--text);padding:8px}
 #desktop-menu svg,#desktop-account svg{width:24px;height:24px}#desktop-account{overflow:hidden}#desktop-account img{width:40px;height:40px;border-radius:50%;object-fit:cover}#desktop-account span{font-size:18px}
 body>header .brand{flex:0 0 200px;max-width:200px;margin:0}body>header .brand img{width:155px;max-height:43px}
 body>header #desktop-search{display:flex;align-items:center;justify-content:space-between;flex:1 1 auto;min-width:0;max-width:720px;height:42px;margin:auto;padding:0 0 0 18px;overflow:hidden;border:1px solid var(--border);border-radius:30px;background:transparent;color:var(--text);text-align:left;font-size:16px;font-weight:400}
 #desktop-search span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#desktop-search svg{box-sizing:content-box;flex:none;width:22px;height:22px;padding:10px 18px;background:var(--panel);border-left:1px solid var(--border)}
 body>header #search-open,body>header #theme,body>header .library-link{display:none}body>header #notifications{flex:0 0 40px}
 body>nav{display:none}
 #desktop-rail{position:fixed;z-index:20;top:66px;bottom:0;left:0;display:flex;flex-direction:column;width:var(--desktop-rail-width);overflow-y:auto;padding:6px 8px;background:var(--bg);border-right:1px solid var(--border);transition:width .2s ease}
 #desktop-rail a,#desktop-rail button{display:flex;align-items:center;justify-content:center;flex:0 0 auto;gap:7px;min-height:70px;padding:10px 2px;border:0;border-radius:11px;background:transparent;color:var(--text);text-decoration:none;font:500 10px/1.25 'Outfit','Segoe UI',sans-serif;text-align:center}
 #desktop-rail a{flex-direction:column}#desktop-rail a svg,#desktop-rail .desktop-rail-icon{display:grid;place-items:center;width:25px;height:25px;flex:none;font-size:24px;line-height:1}#desktop-rail a[aria-current=page]{background:var(--panel);font-weight:600}#desktop-rail a[aria-current=page] svg,#desktop-rail a[aria-current=page] .desktop-rail-icon{color:var(--accent)}
 #desktop-rail button{min-height:48px;font-size:12px}#desktop-rail a:hover,#desktop-rail button:hover{background:var(--panel)}
 body.desktop-rail-expanded #desktop-rail a{flex-direction:row;justify-content:flex-start;gap:18px;padding:10px 13px;min-height:47px;font-size:15px;text-align:left}
 body.desktop-rail-expanded #desktop-rail button{justify-content:flex-start;padding:10px 13px;font-size:15px}
 #view{position:fixed;top:66px;left:var(--desktop-rail-width);right:0;bottom:0;height:auto;padding:24px;transition:left .2s ease}
 #player:not([hidden]){bottom:16px}body.lc-v2-watch-active #player:not([hidden]){left:calc(var(--desktop-rail-width) + 24px);right:24px;top:90px}
}
/* The original home page uses its own centered header and bottom navigation. */
.lc-v2-publication{display:grid;grid-template-columns:minmax(0,1fr) 40px;grid-template-areas:'copy icon' 'copy arrow';align-items:start;gap:16px}
.lc-v2-publication-copy{grid-area:copy;min-width:0}.lc-v2-publication-copy small{display:block;margin-bottom:5px}.lc-v2-publication-copy strong{display:block;overflow-wrap:anywhere}
.lc-v2-publication-icon{grid-area:icon;justify-self:center}.lc-v2-publication-icon svg{display:block;width:34px;height:34px}.lc-v2-publication:first-child .lc-v2-publication-icon{color:var(--accent)}
.lc-v2-publication-arrow{grid-area:arrow;justify-self:center;align-self:end;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--accent);color:#171717;font-size:25px;line-height:1}
@media(min-width:901px){
 body:has(#view .lc-v2-home){--desktop-rail-width:0px}
 body:has(#view .lc-v2-home)>header{position:fixed;left:0;right:0;height:94px;padding:0 max(32px,calc((100vw - 1200px)/2));gap:10px;border:0;background:var(--bg)}
 body:has(#view .lc-v2-home)>header #desktop-menu,body:has(#view .lc-v2-home) #desktop-rail{display:none}
 body:has(#view .lc-v2-home)>header .brand{flex:0 0 200px;max-width:200px;margin-right:auto}
 body:has(#view .lc-v2-home)>header .brand img{width:200px;max-height:60px}
 body:has(#view .lc-v2-home)>header #desktop-search{flex:0 1 340px;margin:0}
 body:has(#view .lc-v2-home)>header #theme{display:grid;color:var(--accent)}
 body:has(#view .lc-v2-home)>nav{display:flex;z-index:40}
 body:has(#view .lc-v2-home) #view{top:94px;left:0;right:0;bottom:calc(60px + env(safe-area-inset-bottom));padding:32px}
 body:has(#view .lc-v2-home) #player:not([hidden]){bottom:calc(72px + env(safe-area-inset-bottom))}
}
/* Continue cards use the original compact progress and reading controls. */
.lc-v2-continue-grid article{background:transparent;border:1px solid var(--text);display:flex;flex-direction:column;gap:6px;padding:12px;min-width:0}
.lc-v2-continue-grid small{font-size:10px;font-weight:500;letter-spacing:.03em}
.lc-v2-continue-grid .lc-v2-continue-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere;color:#548fef;text-decoration:none;font-size:14px;font-weight:700;line-height:1.35}
.lc-v2-continue-title-row{display:flex;align-items:flex-start;gap:8px}.lc-v2-continue-title-row .lc-v2-continue-title{flex:1;min-width:0}
#view .lc-v2-continue-bookmark{flex:none;display:grid;place-items:center;width:32px;height:32px;min-height:32px;margin:0;padding:4px;border:0;border-radius:0;background:transparent;color:var(--text)}.lc-v2-continue-bookmark svg{width:22px;height:22px}.lc-v2-continue-bookmark[aria-pressed=true] svg{fill:var(--accent);color:var(--accent)}
.lc-v2-continue-grid progress{display:block;width:100%;height:4px;margin-top:auto;accent-color:var(--accent)}.lc-v2-continue-grid article>span{font-size:11px;line-height:1.35;color:var(--text)}
.lc-v2-continue-actions{display:flex;flex-wrap:wrap;gap:5px}.lc-v2-continue-actions a{border:1px solid #548fef;border-radius:999px;padding:5px 10px;color:#548fef;text-decoration:none;font-size:11px;line-height:1.3}.lc-v2-continue-library{display:inline-block;margin-top:18px;color:var(--text);text-decoration:none}
.lc-v2-featured-image-link{display:block;width:100%;height:100%}.lc-v2-featured-image-link img{display:block;width:100%;height:100%;object-fit:cover}.lc-v2-featured-title-link{color:inherit;text-decoration:none}.lc-v2-featured-image-link:focus-visible,.lc-v2-featured-title-link:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
/* Keep all six bottom-bar controls centered on the same baseline. */
body>nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch;justify-items:stretch}
body>nav>a,body>nav>#sign-in{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:0 0 7px;border:0;background:transparent;line-height:1;color:var(--text)}
body>nav>a[aria-current=page]{color:var(--accent)}body>nav>a[aria-current=page]::after{bottom:5px}
@media(min-width:901px){body:not(:has(#view .lc-v2-home))>nav{display:none}body:has(#view .lc-v2-home)>nav{display:grid}}
body>nav>#sign-in .lc-account-avatar,body>header #desktop-account .lc-account-avatar{display:block;width:28px;height:28px;object-fit:cover;border-radius:50%}
body>nav>#sign-in .lc-account-initial,body>header #desktop-account .lc-account-initial{position:static;clip-path:none;overflow:visible;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--panel);font-size:14px}
@media(max-width:900px){body>header .library-link{display:none}body>header #desktop-account{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:6px}body>header #desktop-account svg{width:24px;height:24px}}
/* Study library: original profile, tabs, shelves and cards. */
#view .lc-v2-library.lc-study-hub{display:block;max-width:1400px;margin:0 auto;padding:32px 0 70px;color:var(--text);--hub-panel:var(--panel);--hub-soft:var(--panel);--hub-text:var(--text);--hub-muted:var(--muted);--hub-border:var(--border);--hub-gold:var(--accent)}
#view .lc-v2-library>div:not(.lc-v2-library-tabs){display:block}
#view .lc-v2-library .lc-hub-profile{display:flex;align-items:center;gap:24px;padding-bottom:28px;flex-wrap:wrap}
#view .lc-v2-library .lc-hub-profile:has(.lc-v2-library-avatar){display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center}
.lc-v2-library-avatar{display:block;width:76px;height:76px;flex:0 0 76px;object-fit:cover;border-radius:50%}.lc-v2-library-initial{display:grid;place-items:center;background:var(--panel);font-size:30px}
.lc-v2-library .lc-hub-profile-name{flex:1;min-width:180px;overflow-wrap:anywhere}.lc-v2-library .lc-hub-profile h1{font-size:clamp(28px,3vw,42px)!important;font-weight:700;margin:0!important}.lc-v2-library .lc-hub-profile p{font-size:15px;line-height:1.5;margin:6px 0 0}.lc-v2-library .lc-hub-label{font-size:11px;letter-spacing:.06em;color:var(--muted)}
.lc-v2-library .lc-hub-actions{display:flex;gap:8px;margin-left:auto;flex-wrap:wrap}
#view .lc-v2-library .lc-hub-button{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border:1px solid var(--border);border-radius:999px;background:transparent;color:var(--text);font:500 15px/1.3 'Outfit','Segoe UI',sans-serif}
#view .lc-v2-library .lc-hub-tabs{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding:4px 0 12px;border-bottom:1px solid var(--border);margin-bottom:12px}
#view .lc-v2-library .lc-hub-tabs button{flex:none;padding:11px 19px;border:0;border-radius:999px;background:transparent;color:var(--text)}
#view .lc-v2-library .lc-hub-tabs button[aria-pressed=true],#view .lc-v2-library .lc-hub-filters button[aria-pressed=true]{background:var(--accent);color:#1a1a1a;font-weight:600}
#view .lc-v2-library .lc-hub-shelf{margin:34px 0 42px}.lc-v2-library .lc-hub-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}#view .lc-v2-library h2{font-size:26px;font-weight:700;margin:0}.lc-v2-library .lc-hub-muted,.lc-v2-library .lc-hub-small{color:var(--muted);font-size:14px}
.lc-v2-library .lc-hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:22px;margin:20px 0}.lc-v2-library .lc-hub-rail{display:flex;gap:18px;overflow-x:auto;padding:0 2px 20px}.lc-v2-library .lc-hub-rail>.lc-hub-resource{flex:0 0 255px}
#view .lc-v2-library .lc-hub-resource{display:block;position:relative;min-width:0;padding:0;overflow:visible;border:1px solid var(--border);border-radius:18px;background:var(--panel)}
.lc-v2-library .lc-hub-cover{display:block;position:relative;aspect-ratio:16/9;border-radius:17px 17px 0 0;overflow:hidden;background:var(--panel);color:inherit;text-decoration:none}.lc-v2-library .lc-hub-cover img{display:block;width:100%;height:100%;object-fit:cover}.lc-v2-library .lc-hub-reading-cover{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#3b3521,#26251e);color:#f6db7b!important;font-size:13px}
.lc-v2-library .lc-hub-resource-body{padding:15px}.lc-v2-library .lc-hub-title-line{display:flex;align-items:flex-start;gap:4px}.lc-v2-library .lc-hub-title-line>a{flex:1;min-width:0;color:var(--text);text-decoration:none}.lc-v2-library .lc-hub-resource h3{font-size:16px;line-height:1.3;margin:0;overflow-wrap:anywhere}.lc-v2-library .lc-hub-resource progress{display:block;width:100%;height:4px;margin-top:14px;accent-color:var(--accent)}
.lc-v2-library .lc-hub-card-menu{position:relative;flex:none}.lc-v2-library .lc-hub-card-menu summary{display:grid;place-items:center;width:30px;height:30px;cursor:pointer;list-style:none;font-size:22px}.lc-v2-library .lc-hub-card-menu summary::-webkit-details-marker{display:none}.lc-v2-library .lc-hub-card-menu-panel{position:absolute;z-index:20;right:0;top:32px;width:190px;padding:6px;background:var(--panel);border:1px solid var(--border);border-radius:14px;box-shadow:0 6px 20px #0003}#view .lc-v2-library .lc-hub-card-menu-panel button{width:100%;justify-content:flex-start;border:0;border-radius:8px;padding:12px;text-align:left;font-size:13px}
.lc-v2-library .lc-hub-filters{display:flex;gap:8px;overflow:auto;padding:4px 0 12px}.lc-v2-library .lc-hub-playlist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px;margin:20px 0}#view .lc-v2-library .lc-hub-playlist-card{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:0 0 15px;border:1px solid var(--border);border-radius:18px;overflow:hidden;background:var(--panel);color:var(--text);text-align:left}.lc-v2-library .lc-hub-playlist-card strong,.lc-v2-library .lc-hub-playlist-card>span:last-child{margin:0 15px}.lc-v2-library .lc-hub-playlist-cover{display:grid;place-items:center;height:105px;background:var(--panel);border-bottom:4px solid var(--accent);font-size:36px}
@media(max-width:650px){#view .lc-v2-library.lc-study-hub{padding-top:16px}.lc-v2-library .lc-hub-profile{gap:14px}.lc-v2-library-avatar{width:60px;height:60px;flex-basis:60px}.lc-v2-library .lc-hub-actions{width:100%;margin-left:0}.lc-v2-library .lc-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lc-v2-library .lc-hub-rail>.lc-hub-resource{flex-basis:240px}}
@media(max-width:650px){#view .lc-v2-library .lc-hub-profile:has(.lc-v2-library-avatar){grid-template-columns:60px minmax(0,1fr);gap:14px}#view .lc-v2-library .lc-hub-profile:has(.lc-v2-library-avatar) .lc-hub-actions{grid-column:1/-1}}
/* Leave enough room to scroll resource cards clear of the mini-player. */
body:not(.lc-v2-watch-active):has(#player:not([hidden])) #view{padding-bottom:260px}
body:not(.lc-v2-watch-active):has(#player.is-audio:not([hidden])) #view{padding-bottom:120px}
#search-dialog{position:fixed;width:min(800px,calc(100vw - 28px));max-width:none;max-height:min(85dvh,900px);padding:24px;border-radius:18px;overflow:auto}
#search-dialog h2{margin:0 44px 18px 0;font-size:clamp(24px,3vw,30px)}#search-dialog .lc-v2-search-description{margin:0 0 8px;color:var(--muted);font-size:14px}
#search-dialog #search-input{width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--panel);color:var(--text);font:inherit}
#search-dialog #search-input:focus{outline:2px solid var(--accent);outline-offset:2px}#search-dialog #search-close{position:absolute;top:16px;right:16px;width:40px;height:40px;border:0;border-radius:50%;background:var(--panel);color:var(--text);font-size:26px;cursor:pointer}
#search-dialog #search-results{max-height:none;gap:0;overflow:visible}#search-dialog #search-results a,#search-dialog #search-results button{padding:16px 4px;border:0;border-top:1px solid var(--border);border-radius:0;background:transparent;color:var(--text);font-weight:600}
/* Search results use the original separated label, title and action menu. */
#search-dialog{width:min(800px,calc(100vw - 28px));padding:24px;background:var(--bg);border:1px solid var(--border);border-radius:16px}
#search-dialog h2{font-size:30px;font-weight:700;letter-spacing:-.025em;margin-bottom:24px}
#search-dialog .lc-v2-search-description{color:var(--text);font-size:14px;margin:0 0 10px}
#search-dialog #search-input{min-height:52px;background:var(--panel);border-radius:12px}
#search-dialog #search-status{margin:16px 0 18px;font-size:14px;font-weight:500}
#search-dialog #search-close{display:grid;place-items:center;width:42px;height:42px;background:var(--panel);font-size:25px}
#search-results .lc-search-result{display:flex;align-items:flex-start;gap:12px;padding:18px 4px;border-top:1px solid var(--border)}
#search-results .lc-search-result-body{flex:1;min-width:0}#search-results .lc-search-result-kind{display:block;margin-bottom:8px;font-size:12px;font-weight:700;line-height:1.3}
#search-results .lc-search-result-title{display:block;width:100%;padding:0;border:0;background:transparent;color:var(--text);font:700 19px/1.35 'Outfit','Segoe UI',sans-serif;text-align:left;text-decoration:none;overflow-wrap:anywhere;cursor:pointer}
#search-results .lc-search-result-title:hover{text-decoration:underline}#search-results .lc-search-result-excerpt{margin:8px 0 0;font-size:14px;line-height:1.5;color:var(--muted)}
#search-results .lc-search-result-menu{position:relative;flex:none}#search-results .lc-search-result-menu summary{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;list-style:none;cursor:pointer;font-size:24px;line-height:1}#search-results .lc-search-result-menu summary::-webkit-details-marker{display:none}#search-results .lc-search-result-menu summary:hover{background:var(--panel)}
#search-results .lc-search-result-menu-panel{position:absolute;z-index:2;top:38px;right:0;min-width:180px;padding:6px;border:1px solid var(--border);border-radius:12px;background:var(--panel);box-shadow:0 6px 20px #0005}
#search-dialog #search-results .lc-search-result-menu-panel button{display:block;width:100%;padding:10px 12px;border:0;border-radius:8px;color:var(--text);font:500 14px/1.3 'Outfit','Segoe UI',sans-serif;text-align:left;background:transparent;cursor:pointer}#search-results .lc-search-result-menu-panel button:hover{background:#8882}
@media(max-width:500px){#search-dialog{padding:18px}#search-dialog h2{font-size:24px}#search-results .lc-search-result-title{font-size:17px}}
#search-dialog #search-results .lc-search-result-title{display:block;width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--text);font:700 19px/1.35 'Outfit','Segoe UI',sans-serif;text-align:left;text-decoration:none;overflow-wrap:anywhere}
@media(max-width:500px){#search-dialog #search-results .lc-search-result-title{font-size:17px}}
/* Watch page follows the original player, action row and related-resource layout. */
.lc-v2-watch{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,32%);column-gap:24px;align-items:start;max-width:1680px;margin:0 auto;padding-bottom:24px}
.lc-v2-watch>*{grid-column:1;min-width:0}.lc-v2-watch .lc-player-slot{grid-row:1;aspect-ratio:16/9;max-height:62dvh;margin:0;border-radius:10px;background:#000}
.lc-v2-watch-title-row{grid-row:2;display:flex;align-items:flex-start;gap:12px;margin-top:12px}.lc-v2-watch-title-row h1{flex:1;font-size:22px!important;line-height:1.35!important;letter-spacing:normal!important;margin:0!important}
.lc-v2-watch .watch-menu{position:relative;flex:0 0 44px;z-index:5}.lc-v2-watch .watch-menu summary{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;cursor:pointer;list-style:none}.lc-v2-watch .watch-menu summary::-webkit-details-marker{display:none}.lc-v2-watch .watch-menu summary svg{width:24px;height:24px;fill:currentColor}.lc-v2-watch .watch-menu summary:hover{background:var(--panel)}
.lc-v2-watch .watch-menu-panel{position:absolute;right:0;top:48px;width:260px;max-width:calc(100vw - 40px);padding:8px 0;border:1px solid var(--border);border-radius:12px;background:var(--panel);box-shadow:0 5px 20px #0003;overflow:hidden}
#view .lc-v2-watch .watch-menu-panel button{display:flex;justify-content:flex-start;width:100%;min-height:48px;padding:12px 16px;border:0;border-radius:0;background:transparent;color:var(--text);font:400 15px/1.4 'Outfit','Segoe UI',sans-serif;text-align:left}#view .lc-v2-watch .watch-menu-panel button:hover{background:#8882}
.lc-v2-watch-actions{grid-row:3;margin:10px 0 0}.lc-v2-watch-help{font-size:13px;line-height:1.4;opacity:.7}.lc-v2-watch-related{grid-column:2;grid-row:1 / span 12;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--panel)}#view .lc-v2-watch-related h2{font-size:19px;margin:0 0 8px}.lc-v2-related-row{display:grid;grid-template-columns:44% minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--border);color:var(--text);text-decoration:none}.lc-v2-related-row img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}.lc-v2-related-row span{display:flex;flex-direction:column;gap:6px}.lc-v2-related-row small{font-size:11px;color:var(--muted)}.lc-v2-related-row strong{font-size:15px;line-height:1.35}
body.lc-v2-watch-active #player:not([hidden]){position:fixed;left:var(--watch-left,24px);right:auto;top:90px;bottom:auto;width:var(--watch-width,60vw);max-height:62dvh;box-shadow:none;border-radius:10px;z-index:20}body.lc-v2-watch-active #player-mount iframe,body.lc-v2-watch-active .lc-shared-player-viewport{max-height:62dvh}
@media(min-width:901px) and (max-width:1199px){.lc-v2-watch{display:flex;flex-direction:column;gap:12px;max-width:980px;width:min(100%,calc((100dvh - 280px) * 16 / 9));margin:auto}.lc-v2-watch .lc-player-slot{width:100%;flex:none}.lc-v2-watch-title-row,.lc-v2-watch-actions,.lc-v2-watch-related{width:100%}.lc-v2-watch-title-row,.lc-v2-watch-actions{margin:0}}
@media(max-width:900px){body.lc-v2-watch-active>header{display:none}body.lc-v2-watch-active #view{position:fixed;top:0;left:0;right:0;bottom:calc(60px + env(safe-area-inset-bottom));height:auto;padding:0 0 24px}.lc-v2-watch{display:flex;flex-direction:column;gap:12px;width:100%;padding:0 0 24px}.lc-v2-watch .lc-player-slot{width:100%;max-height:48dvh;border-radius:0;flex:none}.lc-v2-watch-title-row,.lc-v2-watch-actions,.lc-v2-watch>p,.lc-v2-watch-related{margin:0 16px}.lc-v2-watch-title-row{align-self:stretch}.lc-v2-watch-title-row h1{font:700 clamp(16px,4.5vw,18px)/1.35 'Outfit','Segoe UI',sans-serif!important}.lc-v2-watch .watch-menu{flex-basis:40px}.lc-v2-watch .watch-menu summary{width:40px;height:40px}.lc-v2-watch-related{align-self:stretch;padding:14px}.lc-v2-related-row strong{font-size:14px}body.lc-v2-watch-active #player:not([hidden]){top:0;left:var(--watch-left,0px);width:var(--watch-width,100vw);max-height:48dvh;border-radius:0}body.lc-v2-watch-active #player-mount iframe,body.lc-v2-watch-active .lc-shared-player-viewport{max-height:48dvh}}
/* On desktop the original Watch page uses a closed drawer rather than a permanent rail. */
@media(min-width:901px){body.lc-v2-watch-active,body.lc-v2-watch-active.desktop-rail-expanded{--desktop-rail-width:0px}body.lc-v2-watch-active #desktop-rail{width:270px;transform:translateX(-100%);visibility:hidden;transition:transform .2s ease,visibility .2s}body.lc-v2-watch-active.desktop-rail-expanded #desktop-rail{transform:translateX(0);visibility:visible;box-shadow:0 8px 30px #0005}}
#view .lc-v2-watch-actions button{gap:7px}#view .lc-v2-watch-actions button::before{content:'';display:block;flex:0 0 18px;width:18px;height:18px;background:currentColor;mask:var(--watch-mode-icon) center/contain no-repeat;-webkit-mask:var(--watch-mode-icon) center/contain no-repeat}
#view .lc-v2-watch-actions button:first-child{--watch-mode-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='5' width='14' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m16 9 6-4v14l-6-4' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E")}
#view .lc-v2-watch-actions button:nth-child(2){--watch-mode-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 14v-3a8 8 0 0 1 16 0v3' fill='none' stroke='black' stroke-width='2'/%3E%3Crect x='3' y='12' width='5' height='9' rx='2'/%3E%3Crect x='16' y='12' width='5' height='9' rx='2'/%3E%3C/svg%3E")}
@media(min-width:901px){body.lc-v2-watch-active #player:not([hidden]){top:var(--watch-top,90px)}}
@media(min-width:901px){body.lc-v2-watch-active.desktop-rail-expanded::before{content:'';position:fixed;inset:66px 0 0;z-index:24;background:#0007}body.lc-v2-watch-active.desktop-rail-expanded #desktop-rail{z-index:25}}
/* Match the original sidebar's complete link list and Appearance control. */
@media(min-width:901px){
 #desktop-rail a,#desktop-rail button{font-weight:400}
 #desktop-rail .desktop-rail-theme{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;margin-top:8px;padding:12px 2px;border-top:1px solid var(--border);border-radius:0;font-size:10px}
 #desktop-rail .desktop-rail-theme svg{display:block;width:25px;height:25px;flex:none;color:var(--accent)}
 body.desktop-rail-expanded #desktop-rail .desktop-rail-theme{flex-direction:row;justify-content:space-between;min-height:60px;padding:14px 13px;font-size:15px}
 body.desktop-rail-expanded #desktop-rail a{font-weight:400}
 body.desktop-rail-expanded #desktop-rail a[aria-current=page]{font-weight:600}
}
/* Preserve the original calendar controls inside the shared app shell. */
#view .lc-calendar{max-width:1240px;margin:6px auto 70px;padding:0 24px}
#view .lc-calendar button{font:inherit;color:inherit;background:transparent;border:1px solid var(--cal-border,#ccd3da);border-radius:30px;padding:10px 16px;margin:0!important;font-weight:400}
#view .lc-calendar .lc-cal-day{min-height:85px;border-radius:12px;text-align:left;padding:12px;display:flex;flex-direction:column;justify-content:space-between;background:var(--cal-day,#f6f7f5)}
#view .lc-calendar .lc-cal-day[aria-pressed=true]{background:#ffbf00;color:#222;border-color:#ffbf00}
#view .lc-calendar .lc-cal-day[data-has-service=true]:not([aria-pressed=true]){background:#fff6e7;border-color:#dfbc86}#view .lc-calendar .lc-cal-day[data-has-prayer=true]:not([aria-pressed=true]){background:#eef6ef;border-color:#a0bda6}#view .lc-calendar .lc-cal-day[data-has-content=true]:not([aria-pressed=true]){background:#edf3ff;border-color:#9db3d5}
.darkmode #view .lc-calendar .lc-cal-day[data-has-service=true]:not([aria-pressed=true]){background:#392f20;border-color:#806233}.darkmode #view .lc-calendar .lc-cal-day[data-has-prayer=true]:not([aria-pressed=true]){background:#20362a;border-color:#496d55}.darkmode #view .lc-calendar .lc-cal-day[data-has-content=true]:not([aria-pressed=true]){background:#233147;border-color:#4b668d}
@media(max-width:600px){#view .lc-calendar{padding:0}#view .lc-calendar .lc-cal-day{min-height:58px;padding:8px;font-size:13px;text-align:center;}}
/* Mobile browsing uses the original menu, logo, notification and search row. */
@media(max-width:900px){body>header #desktop-account{display:none!important}}
@media(max-width:900px){
 body>header{position:relative;z-index:31;gap:8px;padding:0 16px}
 body:not(:has(#view .lc-v2-home))>header #desktop-menu{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:8px;border:0;border-radius:50%;background:transparent;color:var(--text)}
 body:not(:has(#view .lc-v2-home))>header #desktop-menu svg{width:24px;height:24px}
 body:not(:has(#view .lc-v2-home))>header .brand{flex:1 1 auto;min-width:0;max-width:none;margin:0 auto 0 0}
 body:not(:has(#view .lc-v2-home))>header .brand img{width:155px;max-width:100%;height:auto;max-height:48px;object-fit:contain;object-position:left center}
 body:not(:has(#view .lc-v2-home))>header #theme{display:none}
 body:not(:has(#view .lc-v2-home))>header #notifications{order:3}
 body:not(:has(#view .lc-v2-home))>header #search-open{order:4;background:transparent}
 body:not(:has(#view .lc-v2-home)) #desktop-rail{position:fixed;display:flex;flex-direction:column;top:74px;bottom:0;left:0;z-index:30;width:min(270px,85vw);overflow-y:auto;padding:6px 8px;background:var(--bg);border-right:1px solid var(--border);transform:translateX(-100%);visibility:hidden;transition:transform .2s ease,visibility .2s}
 body:not(:has(#view .lc-v2-home)).desktop-rail-expanded #desktop-rail{transform:translateX(0);visibility:visible;box-shadow:0 8px 30px #0005}
 body:not(:has(#view .lc-v2-home)).desktop-rail-expanded::before{content:'';position:fixed;inset:74px 0 0;z-index:29;background:#0007}
 #desktop-rail a,#desktop-rail button{display:flex;align-items:center;justify-content:flex-start;flex:0 0 auto;gap:18px;min-height:47px;padding:10px 13px;border:0;border-radius:11px;background:transparent;color:var(--text);font:400 15px/1.25 'Outfit','Segoe UI',sans-serif;text-align:left;text-decoration:none}
 #desktop-rail a svg,#desktop-rail .desktop-rail-icon{display:grid;place-items:center;width:25px;height:25px;flex:none}#desktop-rail a[aria-current=page]{background:var(--panel);font-weight:600}#desktop-rail a[aria-current=page] svg{color:var(--accent)}
 #desktop-rail .desktop-rail-theme{display:flex;justify-content:space-between;min-height:60px;margin-top:8px;padding:14px 13px;border-top:1px solid var(--border);border-radius:0}#desktop-rail .desktop-rail-theme svg{width:25px;height:25px;color:var(--accent)}
}

/* Browse libraries share the original card layout and a persistent inline player. */
#view .lc-browse-header{background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:24px;margin-bottom:16px}
#view .lc-browse-header h1{margin:0 0 22px}
#view .lc-browse-header>a{color:var(--text);text-decoration:none;display:inline-block;margin-bottom:18px}
#view .lc-browse-header .lc-v2-category-tabs{margin:0;gap:12px}
#view .lc-browse-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:10px;background:var(--panel);border:1px solid var(--border);border-radius:14px}
#view .lc-browse-viewport{position:relative;display:block;width:100%;padding:0;margin:0;border:0;border-radius:7px;overflow:hidden;aspect-ratio:16/9;background:#222;cursor:pointer}
#view .lc-browse-viewport img{display:block;width:100%;height:100%;object-fit:cover}
.lc-browse-play-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:56px;height:40px;border-radius:11px;background:red;color:#fff;font-size:22px}
.lc-browse-duration{position:absolute;right:7px;bottom:7px;padding:2px 5px;color:#fff;background:#080808;border-radius:4px;font-weight:700;font-size:12px}
.lc-browse-title-row{display:flex;align-items:start;gap:6px;margin-top:12px}.lc-browse-title-row h2{flex:1;margin:0!important;padding:0!important;font-size:clamp(16px,1.4vw,23px)!important;font-weight:700!important;line-height:1.28!important}.lc-browse-title-row h2 a{color:var(--text);text-decoration:none}.lc-browse-title-row h2 a:hover{text-decoration:underline}
.lc-library-menu{position:relative;flex:none}.lc-library-menu summary{cursor:pointer;list-style:none;font-size:26px;line-height:1;min-width:32px;text-align:center}.lc-library-menu summary::-webkit-details-marker{display:none}.lc-browse-menu-options{position:absolute;z-index:30;right:0;top:30px;min-width:170px;background:var(--panel);border:1px solid var(--border);border-radius:10px;box-shadow:0 4px 20px #0009;padding:5px}.lc-browse-menu-options button{display:block!important;text-align:left;width:100%;margin:0!important;border:0!important;border-radius:5px!important;background:transparent!important;color:var(--text)!important;padding:8px!important}
#view .lc-browse-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}#view .lc-browse-actions button{margin:0!important;min-height:36px;padding:5px 14px;border:1px solid var(--text);border-radius:999px;background:transparent;color:var(--text);font-size:15px}#view .lc-browse-actions button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#111!important;}.lc-browse-progress{display:inline-block;margin: 10px 0 5px;;color:#609bff!important;}
body.lc-v2-inline-active:not(.lc-v2-watch-active) #player:not([hidden]){position:fixed;left:var(--inline-left);top:var(--inline-top);width:var(--inline-width)!important;height:var(--inline-height);right:auto;bottom:auto;max-width:none;max-height:none;z-index:5;border-radius:7px;box-shadow:none;clip-path:var(--inline-clip)}
body.lc-v2-inline-active:not(.lc-v2-watch-active) #player-actions,body.lc-v2-inline-active:not(.lc-v2-watch-active) #audio-mini{display:none!important}
body.lc-v2-inline-active:not(.lc-v2-watch-active) #player.is-audio #player-mount{display:block!important}
body.lc-v2-inline-active #player-mount,body.lc-v2-inline-active .lc-shared-player-viewport{width:100%;height:100%}
body.lc-v2-inline-active #player-mount iframe{width:100%;height:100%;max-height:none}
@media(max-width:900px){#view .lc-browse-header{padding:20px;margin-bottom:16px}#view .lc-browse-title-row h2{font-size:19px!important}}
@media(max-width: 500px) {#view .lc-browse-title-row h2 {font-size: 16px !important;}}
.lc-browse-actions svg{width:16px;height:16px;vertical-align:-3px}
body.lc-v2-inline-active .lc-inline-audio:not([hidden]){height:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:12px;background:#202020;color:#fff;overflow:auto}body.lc-v2-inline-active .lc-inline-audio p{margin:0;font-size:13px}body.lc-v2-inline-active .lc-inline-audio audio{width:100%;min-height:40px}body.lc-v2-inline-active .lc-inline-audio select{max-width:85px}

/* Older audio messages */
.lc-v2-archive{margin-top:48px;padding-top:28px;border-top:1px solid var(--border)}
.lc-v2-archive-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:20px;margin:20px 0}
#view .lc-archive-card{min-width:0;padding:16px;border:1px solid var(--border);border-radius:20px;background:var(--panel)}
#view .lc-archive-cover{width:100%;aspect-ratio:16/9;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px;border:0;border-radius:14px;color:#fff;background:radial-gradient(at top right,#ac8429,#26251e 70%);cursor:pointer;text-align:center}
.lc-archive-cover span{font-size:12px;font-weight:500}.lc-archive-cover strong{font-size:clamp(18px,1.7vw,24px)}
#view .lc-archive-card h3{margin:18px 0;font-size:clamp(19px,1.5vw,23px);line-height:1.3}#view .lc-archive-card p{margin:20px 0;font-size:clamp(16px,1.5vw,23px)}
.lc-archive-actions{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}#view .lc-archive-actions button{margin:0;padding:8px 16px;border:1px solid var(--text);border-radius:999px;background:transparent;color:var(--text);font-size:14px}
.lc-v2-archive>input,.lc-v2-archive>select{margin:4px 8px 4px 0}

/* Keep controls usable in small audio viewports. */
@container (max-width: 480px){
 #player .lc-inline-audio .lc-inline-title,#player .lc-inline-audio .lc-inline-kind,#player .lc-inline-audio .lc-inline-status,#player .lc-inline-audio .lc-audio-cover{display:none!important}
 #player .lc-inline-audio .lc-audio-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;align-items:center;gap:0 4px;width:100%;min-width:0;height:90%;box-sizing:border-box;padding:20px 10px;margin:0}
 #player .lc-inline-audio .lc-audio-controls>input[type=range],#player .lc-inline-audio .lc-audio-controls-time,#player .lc-inline-audio .lc-audio-controls>span{grid-column:1/-1}
 #player .lc-inline-audio .lc-audio-controls-actions{grid-column:1;width:min(100%,150px);max-width:150px;gap:4px;margin:0 auto}
 #player .lc-inline-audio .lc-audio-controls-utility{grid-column:2;gap:5px;margin:0;position:relative}
 #player .lc-inline-audio .lc-audio-controls-utility>button{box-sizing:border-box;width:36px;height:36px;min-width:36px;min-height:36px;max-width:36px;padding:7px;border-radius:50%}
 #player .lc-inline-audio .lc-audio-controls-utility>button svg{display:block;width:20px;height:20px;max-width:100%;max-height:100%}
 #player .lc-inline-audio .lc-audio-volume-panel{box-sizing:border-box;left:auto;right:0;transform:none;width:min(180px,75vw)}
#player .lc-inline-audio select{top:22px!important;;right:12px!important;}
}
@media(max-width:600px){#player .lc-inline-audio.lc-audio-artwork{display:flex;justify-content:center;gap:2px;padding:6px;overflow:auto}#player .lc-inline-audio select{position:absolute;top:4px;right:6px;z-index:3;max-width:62px;height:24px;padding:0 4px}}
body.lc-v2-inline-active #player .lc-inline-audio.lc-audio-artwork{display:flex;justify-content:center;gap:2px;padding:6px;overflow:auto}body.lc-v2-inline-active #player .lc-inline-audio select{position:absolute;top:4px;right:6px;z-index:3;max-width:62px;height:24px;padding:0 4px}

/* Articles and summaries */
#view .lc-publication-page{width:100%;max-width:none}.lc-publication-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,26%);align-items:start;gap:20px}.lc-publication-main{min-width:0}.lc-publication-panel,.lc-publication-sidebar,.lc-publication-mobile{box-sizing:border-box;background:var(--panel);border:1px solid var(--border);border-radius:18px}.lc-publication-panel{padding:clamp(22px,2.5vw,36px);margin-bottom:20px}.lc-publication-panel h1,.lc-publication-panel h2{font-size:clamp(29px,3.2vw,50px);line-height:1.15;margin:0 0 28px;font-weight:800}.lc-publication-panel p{font-size:clamp(19px,1.8vw,27px);line-height:1.65;margin:0}.lc-publication-panel p+p{margin-top:25px}.lc-publication-intro p a{color:inherit;font-weight:700;text-decoration:none}.lc-publication-latest-heading h2{margin:0}.lc-publication-sidebar{padding:30px 28px}.lc-publication-sidebar h2,.lc-publication-mobile-content h2{font-size:clamp(26px,2.2vw,36px);margin:0 0 25px}.lc-publication-side-entry{padding:12px 16px 20px;font-size:18px;line-height:1.35}.lc-publication-side-entry a{color:var(--text);text-decoration:none}.lc-publication-side-entry a:hover{text-decoration:underline}.lc-publication-side-entry small{font-size:14px;font-weight:600;white-space:nowrap}.lc-publication-sidebar h2:nth-of-type(2){margin-top:35px}.lc-publication-categories{display:grid;gap:8px}.lc-publication-categories button{border:0;background:transparent;color:var(--text);font:inherit;text-align:left;padding:8px 16px;min-height:44px;cursor:pointer}.lc-publication-more,.lc-publication-read{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:var(--accent);color:#111!important;text-decoration:none;padding:11px 24px;font:inherit;font-weight:600;cursor:pointer}.lc-publication-sidebar .lc-publication-more{margin-top:25px}.lc-publication-card{margin-bottom:45px}.lc-publication-card h2{font-size:clamp(25px,2.4vw,36px);margin:14px 0 26px}.lc-publication-card h2 a{color:inherit;text-decoration:none}.lc-publication-card h2 a:hover{text-decoration:underline}.lc-publication-date{color:#ff3434;font-size:15px;font-weight:600}.lc-publication-read{margin-top:24px}.lc-publication-card-categories{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:20px;color:var(--muted);font-size:15px}.lc-publication-card-categories button{background:transparent;border:0;border-right:1px solid #a982ff;color:#a982ff;padding:4px 10px;font:inherit;font-weight:600;cursor:pointer}.lc-publication-mobile{display:none}.lc-publication-page>[role=status]:empty,.lc-publication-main>[role=status]:empty{display:none}
@media(max-width:1100px){.lc-publication-layout{display:block}.lc-publication-sidebar{display:none}.lc-publication-mobile{display:block;margin-bottom:20px;overflow:hidden}.lc-publication-mobile summary{cursor:pointer;list-style:none;font-weight:800;font-size:20px;padding:22px 30px}.lc-publication-mobile summary::-webkit-details-marker{display:none}.lc-publication-mobile summary:after{content:'▸';float:right}.lc-publication-mobile[open] summary:after{content:'▾'}.lc-publication-mobile-content{padding:24px;border-top:1px solid var(--border)}.lc-publication-side-entry{padding:12px 16px 20px}}
@media(max-width:600px){.lc-publication-panel{padding:22px;margin-bottom:20px}.lc-publication-panel h1,.lc-publication-panel h2{font-size:29px;margin-bottom:30px}.lc-publication-panel p{font-size:19px;line-height:1.55}.lc-publication-card h2{font-size:25px}.lc-publication-card{margin-bottom:24px}.lc-publication-side-entry{font-size:17px}.lc-publication-mobile summary{padding:20px 30px}}

.lc-publication-clear-category{margin-top:18px;border:1px solid var(--border);border-radius:999px;padding:8px 16px;background:transparent;color:var(--text);font:inherit;cursor:pointer}

/* Category links retain their own styling instead of the app's gold buttons. */
#view .lc-publication-page .lc-publication-categories button{display:block;width:100%;min-height:44px;margin:0;padding:10px 16px;border:0;border-radius:0;background:transparent;color:var(--text);font:inherit;font-weight:400;text-align:left;box-shadow:none}
#view .lc-publication-page .lc-publication-card-categories button{display:inline-block;width:auto;min-height:0;margin:0;padding:2px 10px;border:0;border-right:1px solid #a982ff;border-radius:0;background:transparent;color:#a982ff;font:inherit;font-weight:600;box-shadow:none}
#view .lc-publication-page .lc-publication-card-categories button:last-child{border-right:0}
#view .lc-publication-page .lc-publication-categories button:hover,#view .lc-publication-page .lc-publication-card-categories button:hover{text-decoration:underline}

/* Category indexes and category detail pages. */
/* Keep the original About and Doctrines sections and their links in app-themed cards. */
#view .lc-v2-info:is([data-info-page="about"],[data-info-page="doctrines"]){max-width:1200px;margin-inline:auto}
#view .lc-v2-info:is([data-info-page="about"],[data-info-page="doctrines"]) [role="status"]:empty{display:none}
#view .lc-v2-info:is([data-info-page="about"],[data-info-page="doctrines"]) .homeResources-grid-containter{box-sizing:border-box;background:var(--panel);border:1px solid var(--border);border-radius:18px;padding:clamp(22px,2.8vw,40px);margin:0 0 20px!important;color:var(--text)}
#view .lc-v2-info[data-info-page="about"] #homeBodyContent,#view .lc-v2-info[data-info-page="doctrines"] #Doctrines-section-inner{margin:0;padding:0}
#view .lc-v2-info:is([data-info-page="about"],[data-info-page="doctrines"]) :is(h1,h2){font-family:Outfit,system-ui,sans-serif;color:var(--text);text-transform:none;line-height:1.15}
#view .lc-v2-info:is([data-info-page="about"],[data-info-page="doctrines"]) h1{font-size:clamp(30px,3.2vw,50px);margin:0 0 24px}
#view .lc-v2-info:is([data-info-page="about"],[data-info-page="doctrines"]) h2{font-size:clamp(25px,2.4vw,36px);margin:30px 0 20px}
#view .lc-v2-info[data-info-page="doctrines"] .homeResources-grid-containter h2:first-child{margin-top:0}
#view .lc-v2-info:is([data-info-page="about"],[data-info-page="doctrines"]) :is(p,li){font-size:clamp(16px,1.4vw,20px);line-height:1.65;letter-spacing:normal}
#view .lc-v2-info[data-info-page="about"] p{margin:0 0 20px}
#view .lc-v2-info[data-info-page="doctrines"] ol{margin:0;padding-left:1.5em}
#view .lc-v2-info[data-info-page="doctrines"] li{padding:3px 0}
#view .lc-v2-info:is([data-info-page="about"],[data-info-page="doctrines"]) a{color:var(--text);text-decoration:underline;text-underline-offset:3px}
#view .lc-category-page .lc-category-group li small,#view .lc-publication-page .lc-publication-side-entry small{display:inline-block;margin-left:5px;font-size:13px!important;font-weight:400!important;line-height:1.4;color:var(--muted)}
#view .lc-publication-page .lc-publication-date{font-size:13px!important;font-weight:400!important}
.lc-category-heading h1{margin-bottom:26px}.lc-category-group h2{font-size:clamp(26px,2.5vw,36px);margin-bottom:30px}.lc-category-group ol{columns:3;column-gap:54px;margin:0;padding-left:32px}.lc-category-group li{break-inside:avoid;padding:0 0 20px 5px;font-size:clamp(18px,1.7vw,25px);font-weight:700;line-height:1.5}.lc-category-group li a{color:var(--text);text-decoration:none}.lc-category-group li a:hover{text-decoration:underline}.lc-category-group li small{font-size:14px;font-weight:500;white-space:nowrap}.lc-category-page>[role=status]:empty{display:none}@media(max-width:1100px){.lc-category-group ol{columns:2}}@media(max-width:650px){.lc-category-group ol{columns:1}.lc-category-group li{font-size:18px}}

/* Shared three-dot content menus. */
#view .lc-browse-menu-options,#view .watch-menu-panel,#view .lc-hub-card-menu-panel,#search-dialog .lc-search-result-menu-panel{width:280px;max-width:calc(100vw - 32px);padding:7px;border:1px solid var(--border);border-radius:16px;background:var(--panel);box-shadow:0 8px 24px #0005;z-index:50}
#view .lc-content-menu-action,#search-dialog .lc-content-menu-action{display:flex!important;align-items:center;justify-content:flex-start!important;gap:16px;width:100%;min-height:48px;margin:0!important;padding:10px 14px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--text)!important;font:400 15px/1.3 'Outfit','Segoe UI',sans-serif!important;text-align:left;white-space:normal;cursor:pointer}
#view .lc-content-menu-action:hover,#search-dialog .lc-content-menu-action:hover{background:#8882!important}.lc-content-menu-icon{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px}.lc-content-menu-icon svg{display:block;width:22px;height:22px}.lc-publication-card-heading{display:flex;align-items:flex-start;gap:12px}.lc-publication-card-heading h2{flex:1;min-width:0}.lc-publication-card-heading .lc-library-menu{margin-top:14px}

#view .lc-v2-video-grid article.lc-browse-card,#view .lc-v2-audio-grid article.lc-browse-card{overflow:visible}#view .lc-browse-card:has(details[open]),#view .lc-publication-card:has(details[open]){z-index:40}

/* Related-resource suggestion and menu sit together beneath the title. */
.lc-v2-watch-related .lc-v2-related-row{display:grid;grid-template-columns:44% minmax(0,1fr);gap:12px;align-items:start;position:relative}.lc-v2-watch-related .lc-v2-related-row:has(details[open]){z-index:35}.lc-v2-watch-related .lc-related-image{display:block;min-width:0}.lc-v2-watch-related .lc-related-image img{display:block}.lc-v2-watch-related .lc-related-body{display:flex;flex-direction:column;gap:4px;min-width:0}.lc-v2-watch-related .lc-related-title{color:var(--text);font-size:15px;font-weight:700;line-height:1.35;text-decoration:none}.lc-v2-watch-related .lc-related-title:hover{text-decoration:underline}.lc-v2-watch-related .lc-related-meta{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:6px;min-width:0}.lc-v2-watch-related .lc-related-reason{font-size:12px;line-height:1.3;color:var(--muted)}.lc-v2-watch-related .lc-related-menu{flex:none}.lc-v2-watch-related .lc-related-menu summary{display:grid;place-items:center;width:32px;height:32px;min-height:32px;border-radius:50%;font-size:24px;line-height:1}.lc-v2-watch-related .lc-related-menu summary:hover{background:#8882}.lc-v2-watch-related .lc-related-menu .lc-browse-menu-options{top:32px}.lc-v2-watch-related{overflow:visible}

.lc-v2-watch-related .lc-related-archive-cover{display:flex;aspect-ratio:16/9;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px;border-radius:8px;background:radial-gradient(at top right,#ac8429,#26251e 70%);color:white;text-align:center}.lc-v2-watch-related .lc-related-archive-cover small{color:white;font-size:9px;line-height:1.2}.lc-v2-watch-related .lc-related-archive-cover strong{font-size:clamp(12px,1vw,18px);line-height:1.2}

/* Stream feedback uses the same reporting service as LightCity Studio. */
.lc-watch-feedback{grid-column:1;min-width:0}.lc-watch-live{display:inline-block;margin:8px 0;color:#fa1646;font-weight:700}.lc-watch-live[hidden],.lc-stream-open[hidden]{display:none!important}#view .lc-stream-open{display:block;width:100%;min-height:48px;margin:12px 0;padding:10px 18px;border:1px solid var(--border);border-radius:999px;background:var(--panel);color:var(--text);font:600 15px/1.4 'Outfit',sans-serif;cursor:pointer}.lc-stream-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:24px;border:1px solid var(--border);border-radius:20px;background:var(--panel);color:var(--text);font:inherit}.lc-stream-dialog::backdrop{background:#000a;backdrop-filter:blur(3px)}.lc-stream-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.lc-stream-heading h2{font-size:22px;margin:0 0 16px}.lc-stream-dialog label{display:block;margin:12px 0}.lc-stream-dialog input,.lc-stream-dialog select,.lc-stream-dialog textarea{display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--panel);color:var(--text);font:inherit}.lc-stream-dialog textarea{resize:vertical}.lc-stream-dialog p,.lc-stream-dialog small{font-size:14px;line-height:1.5}.lc-stream-dialog button{min-height:40px;padding:8px 16px;border:1px solid var(--border);border-radius:999px;background:transparent;color:var(--text);font:inherit;cursor:pointer}.lc-stream-dialog .lc-stream-send{background:var(--accent);color:#111}.lc-stream-dialog .lc-stream-close{font-size:24px;min-width:40px;padding:0}.lc-stream-dialog label[hidden]{display:none!important}@media(max-width:1199px){.lc-watch-feedback{width:100%}}@media(max-width:900px){.lc-watch-feedback{width:auto;align-self:stretch;margin:0 16px}}

.lc-watch-feedback{--home-ink:var(--text);--home-surface:var(--panel);--home-border:var(--border);--home-accent:var(--accent)}#view .lc-watch-feedback .stream-admin-message button{background:transparent;color:var(--text);border:1px solid var(--border);border-radius:999px}#view .lc-watch-feedback .stream-admin-reply button{background:var(--accent);color:#111}

.lc-browse-live:not([hidden]){position:absolute;right:8px;bottom:8px;z-index:2;display:inline-block;padding:4px 7px;border-radius:5px;background:#ed003a;color:#fff;font:700 12px/1.2 'Outfit',sans-serif;white-space:nowrap}

/* Signed-out account dialog */
#account-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid var(--border);border-radius:20px;background:var(--panel);color:var(--text);font-family:'Outfit','Segoe UI',sans-serif}#account-dialog::backdrop{background:#000a;backdrop-filter:blur(3px)}.lc-account-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.lc-account-dialog-heading h2{margin:0;font-size:27px;line-height:1.2;font-weight:800}#account-dialog #account-close{display:grid;place-items:center;flex:none;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--text);font:400 30px/1 sans-serif;cursor:pointer}#account-dialog #account-close:hover{background:#8882}.lc-account-dialog-profile{display:flex;align-items:center;gap:16px;margin:28px 0 22px}.lc-account-dialog-profile>div{min-width:0}.lc-account-dialog-icon{display:grid;place-items:center;flex:none;width:58px;height:58px;border:1px solid var(--border);border-radius:50%;background:#8881;color:var(--text)}.lc-account-dialog-icon svg{width:30px;height:30px}#account-dialog #account-details{margin:0;font-size:18px;line-height:1.3;font-weight:700;overflow-wrap:anywhere}.lc-account-dialog-hint{margin:5px 0 0;color:var(--muted);font-size:14px;line-height:1.4}#account-error{margin:0 0 12px;color:#f05a5a;font-size:14px}#account-error:empty{display:none}.lc-account-dialog-primary{display:grid;gap:10px}.lc-account-dialog-secondary{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--border);margin-top:22px;padding-top:20px}#account-dialog .lc-account-dialog-primary button,#account-dialog .lc-account-dialog-primary a,#account-dialog .lc-account-dialog-secondary button,#account-dialog .lc-account-dialog-secondary a{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:46px;margin:0;padding:10px 18px;border:1px solid var(--border);border-radius:999px;background:transparent;color:var(--text);font:500 15px/1.3 'Outfit','Segoe UI',sans-serif;text-decoration:none;cursor:pointer}#account-dialog .lc-account-dialog-primary [hidden]{display:none!important}#account-dialog #account-sign-in{background:var(--accent);border-color:var(--accent);color:#151515;font-weight:700}#account-dialog .lc-account-dialog-secondary button:hover,#account-dialog .lc-account-dialog-secondary a:hover,#account-dialog #other-sign-in:hover{background:#8882}#account-dialog :is(button,a):focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(max-width:480px){#account-dialog{padding:22px}.lc-account-dialog-heading h2{font-size:24px}.lc-account-dialog-profile{margin:24px 0 20px}.lc-account-dialog-secondary>*{flex:1}}

/* Study library quiz cards. */
#view .lc-v2-library .lc-hub-quiz-shelf .lc-hub-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:22px}#view .lc-v2-library .lc-hub-quiz-card{box-sizing:border-box;padding:20px;min-width:0}#view .lc-v2-library .lc-hub-quiz-card>p{margin:0 0 18px;font-size:15px;line-height:1.4}#view .lc-v2-library .lc-hub-quiz-card .lc-hub-quiz-title{display:block;color:var(--text);text-decoration:none;margin-bottom:24px}#view .lc-v2-library .lc-hub-quiz-card .lc-hub-quiz-title h3{min-height:40px;font-size:16px!important}#view .lc-v2-library .lc-hub-quiz-card progress{width:100%;margin:0 0 18px;height:4px}#view .lc-v2-library .lc-hub-quiz-card .lc-hub-quiz-resume{display:inline-block;color:#68a4f5;text-decoration:none;font-size:15px;line-height:1.4}#view .lc-v2-library .lc-hub-quiz-card .lc-hub-quiz-resume:hover{text-decoration:underline}#view .lc-v2-library .lc-hub-quiz-card details{margin-top:6px;font-size:14px}#view .lc-v2-library .lc-hub-quiz-card summary{cursor:pointer}@media(max-width:900px){#view .lc-v2-library .lc-hub-quiz-shelf .lc-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}@media(max-width:360px){#view .lc-v2-library .lc-hub-quiz-card{padding:14px}}

/* The overview quiz shelf scrolls like the History shelf. */
#view .lc-v2-library .lc-hub-quiz-overview .lc-hub-grid{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:18px;padding:0 2px 20px}#view .lc-v2-library .lc-hub-quiz-overview .lc-hub-quiz-card{flex:0 0 255px;scroll-snap-align:start}

/* The original article runs in its own document with its existing scripts. */
.lc-original-reader{display:block;width:100%;height:calc(100dvh - 145px);min-height:320px;border:0;background:var(--bg);color-scheme:inherit}@media(min-width:901px){.lc-original-reader{height:calc(100dvh - 105px)}}@media(max-width:600px){.lc-original-reader{height:calc(100dvh - 130px);min-height:260px}}

/* Reading pages use an overlay menu, leaving the full width for content. */
@media(min-width:901px){
 body.lc-v2-reader-active,body.lc-v2-reader-active.desktop-rail-expanded{--desktop-rail-width:0px}
 body.lc-v2-reader-active #desktop-rail{width:270px;transform:translateX(-100%);visibility:hidden;transition:transform .2s ease,visibility .2s}
 body.lc-v2-reader-active.desktop-rail-expanded #desktop-rail{transform:translateX(0);visibility:visible;z-index:25;box-shadow:0 8px 30px #0005}
 body.lc-v2-reader-active.desktop-rail-expanded::before{content:'';position:fixed;inset:66px 0 0;z-index:24;background:#0007}
}

/* Quiz uses the app palette while keeping the classic question and result flow. */
#view .lc-quiz{position:relative;max-width:1180px;min-height:calc(100vh - 150px);margin:auto;padding:12px; font-size:calc(16px * var(--quiz-font-scale,1))}
.lc-quiz>h1{font-size:clamp(20px,3vw,32px);margin:0 0 8px}.lc-quiz>p[role=status]{color:var(--muted);font-size:0}.lc-quiz-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--border);padding:10px 0}.lc-quiz-top>a,.lc-quiz button,.lc-quiz-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border:1px solid var(--border);border-radius:12px;background:var(--panel);color:var(--text);font:inherit;text-decoration:none;cursor:pointer}.lc-quiz button:disabled{opacity:.45;cursor:default}.lc-quiz-size{display:flex;gap:5px;margin-left:auto}.lc-quiz-size button{padding:6px 10px}.lc-quiz-nav{display:flex;gap:5px}.lc-quiz-progress{color:#529cff;font-weight:600}.lc-quiz-hint{margin:12px 0;color:var(--text)}.lc-quiz-hint summary{cursor:pointer;color:var(--accent)}
.lc-quiz-question-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;align-items:center;min-height:330px}.lc-quiz-question{box-sizing:border-box;margin:0;padding:24px;border:3px solid var(--accent);border-radius:22px;background:var(--panel);font-size:calc(24px * var(--quiz-font-scale,1));line-height:1.35}.lc-quiz-options{display:grid;gap:10px;min-width:0;margin:0;padding:0;border:0}.lc-quiz-options legend{margin-bottom:10px;color:var(--muted);font-size:14px}.lc-quiz-options label{display:flex;align-items:center;gap:10px;padding:12px;border:3px solid var(--accent);border-radius:24px;background:var(--panel);cursor:pointer}.lc-quiz-options label:has(input:checked){outline:2px solid var(--accent);background:var(--bg)}.lc-quiz-options input{accent-color:var(--accent)}.lc-quiz-letter{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;background:var(--text);color:var(--bg);font-size:12px;font-weight:700}.lc-quiz-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:18px 0}.lc-quiz-actions button:first-of-type{background:var(--accent);color:#151515;border-color:var(--accent)}.lc-quiz-feedback{width:100%;margin:0;font-weight:700}.lc-quiz-correct{color:#2fa86b!important}.lc-quiz-wrong{color:#f05b52!important}
.lc-quiz-result,.lc-quiz-review{position:relative;padding:24px;margin:16px 0;background:var(--panel);border:1px solid var(--border);border-radius:20px}.lc-quiz-result{text-align:center;padding:50px 20px}.lc-quiz-result h2{color:#529cff}.lc-quiz-score{font-size:48px;font-weight:700;color:var(--accent)}.lc-quiz-review p{padding:4px 0}.lc-quiz-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}.lc-quiz-confetti i{position:absolute;top:-12px;left:calc(var(--i) * 3%);width:8px;height:12px;background:hsl(calc(var(--i) * 47),90%,55%);animation:lc-quiz-fall 4s linear infinite;animation-delay:calc(var(--i) * -.17s)}@keyframes lc-quiz-fall{to{transform:translate(35px,70vh) rotate(520deg)}}
@media(max-width:700px){#view .lc-quiz{padding:4px;min-height:0}.lc-quiz-question-grid{grid-template-columns:1fr;min-height:0;gap:14px}.lc-quiz-question{font-size:calc(20px * var(--quiz-font-scale,1));padding:20px}.lc-quiz-top{gap:5px}.lc-quiz-top>a,.lc-quiz button{padding:7px 11px}.lc-quiz-actions button,.lc-quiz-actions>a{flex:1}.lc-quiz-result{padding:30px 16px;z-index:999;}}

#view .lc-quiz-catalog{max-width:1180px;margin:auto;padding:12px} .lc-quiz-catalog>h1{margin-bottom:6px}.lc-quiz-catalog>p{color:var(--muted)}.lc-quiz-catalog>input,.lc-quiz-catalog>select{min-height:44px;margin:12px 8px 12px 0;padding:9px 14px;border:1px solid var(--border);border-radius:12px;background:var(--panel);color:var(--text);font:inherit}.lc-quiz-catalog .lc-v2-quiz-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.lc-quiz-catalog .lc-v2-quiz-list a{display:flex;flex-direction:column;gap:15px;min-height:125px;padding:20px;border-radius:16px}.lc-quiz-catalog .lc-v2-quiz-list a>span:first-child{color:var(--muted);font-size:13px;text-transform:uppercase}.lc-quiz-catalog .lc-v2-quiz-list a>strong{font-size:19px}.lc-quiz-catalog .lc-v2-quiz-list a>span:last-child{color:var(--accent);margin-top:auto}.lc-quiz-catalog>a{color:var(--text)}

.lc-quiz-options label.lc-quiz-option-correct{border-color:#2fa86b;color:#2fa86b}.lc-quiz-options label.lc-quiz-option-wrong{border-color:#f05b52;color:#f05b52}

/* Full-screen quiz question view. */
body.lc-v2-quiz-active>header,body.lc-v2-quiz-active>nav,body.lc-v2-quiz-active #desktop-rail{display:none!important}
body.lc-v2-quiz-active #view{position:fixed;inset:0;height:100dvh;padding:0;overflow:auto}
body.lc-v2-quiz-active #view .lc-quiz{box-sizing:border-box;display:flex;flex-direction:column;width:100%;max-width:none;min-height:100dvh;margin:0;padding:clamp(8px,2vw,18px);font-family:var(--quiz-font-family,Outfit),sans-serif}
.lc-quiz:has(.lc-quiz-question-grid)>h1,.lc-quiz:has(.lc-quiz-question-grid)>p[role=status]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.lc-quiz-board:has(.lc-quiz-question-grid){flex:1;display:flex;flex-direction:column;min-height:0}.lc-quiz-top{flex-wrap:nowrap}.lc-quiz-top>button[aria-label='Quiz settings']{margin-left:auto}.lc-quiz-progress{margin:8px 0}.lc-quiz-hint{align-self:flex-end;min-height:30px!important;padding:0!important;background:transparent!important;border:0!important}.lc-quiz-hint img{width:45px;height:45px}.lc-quiz-question-grid{flex:1;min-height:0;align-content:center}.lc-quiz-options legend{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.lc-quiz-options input{position:absolute;opacity:0}.lc-quiz-options label{position:relative}.lc-quiz-answer-icon{width:28px;height:28px;object-fit:contain;margin-left:auto}.lc-quiz-options label.lc-quiz-option-correct{background:green;color:white}.lc-quiz-options label.lc-quiz-option-wrong{background:red;color:white}.lc-quiz-actions{flex:none;justify-content:flex-end;padding:8px 0}.lc-quiz-feedback{width:auto;margin-right:auto}.lc-quiz-dialog{box-sizing:border-box;width:min(420px,90vw);padding:22px;background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:18px}.lc-quiz-dialog[open]{display:grid;gap:12px}.lc-quiz-dialog::backdrop{background:#000b}.lc-quiz-dialog select,.lc-quiz-dialog input{width:100%;font:inherit}
@media(max-width:700px){.lc-quiz-question-grid{grid-template-rows:auto auto;gap:clamp(8px,2vh,18px)}.lc-quiz-question{font-family:var(--quiz-font-family,Outfit),sans-serif;font-size:clamp(16px,calc(5vw * var(--quiz-font-scale,1)),26px);padding:clamp(10px,3vh,24px);text-align:center}.lc-quiz-options{gap:clamp(3px,1vh,8px)}.lc-quiz-options label{min-height:0;padding:clamp(5px,1vh,11px);font-size:clamp(13px,calc(4vw * var(--quiz-font-scale,1)),20px)}.lc-quiz-actions button{flex:0 1 auto}.lc-quiz-actions button:last-child{margin-left:auto}}

/* Quiz option feedback overrides the shared form styles in both themes. */
#view .lc-quiz-options label:has(input:checked):not(.lc-quiz-option-correct):not(.lc-quiz-option-wrong){background:#ffa500!important;color:#171717!important;outline:none}
#view .lc-quiz-options label.lc-quiz-option-correct{background:#008000!important;border-color:inherit!important;color:#fff!important;outline:none}
#view .lc-quiz-options label.lc-quiz-option-wrong{background:red!important;border-color:inherit!important;color:#fff!important;outline:none}
#view .lc-quiz-options label:has(.lc-quiz-answer-icon) .lc-quiz-letter{visibility:hidden}
#view .lc-quiz-options .lc-quiz-answer-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:28px;height:28px;object-fit:contain;margin:0}
.lc-quiz-name{color:var(--muted);font-size:14px;margin-right:auto;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lc-quiz-font-controls{display:flex;gap:8px}.lc-quiz-dialog a{color:var(--text);padding:8px 0}
@media(max-width:700px){.lc-quiz-question-grid{align-content:center;grid-template-rows:minmax(110px,auto) auto}.lc-quiz-question{display:grid;place-items:center;min-height:clamp(110px,21vh,180px)}.lc-quiz-options label{min-height:clamp(38px,7vh,60px);box-sizing:border-box}.lc-quiz-actions{justify-content:space-between}.lc-quiz-feedback{position:absolute;left:12px;bottom:55px;margin:0}.lc-quiz-actions button:last-child{margin-left:auto}}

.lc-quiz-progress-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10%;}.lc-quiz-progress-row .lc-quiz-hint{align-self:center;margin:0}

/* Give desktop questions the same height as the complete answer list. */
@media(min-width:701px){
 #view .lc-quiz-question-grid{align-content:center;align-items:stretch;grid-template-columns:1.1fr 1fr;gap:clamp(20px,2vw,36px)}
 #view .lc-quiz-question{display:flex;align-items:center;box-sizing:border-box;height:100%;min-height:0;padding:clamp(24px,3vw,48px);font-size:clamp(27px,calc(2.1vw * var(--quiz-font-scale,1)),42px)}
 #view .lc-quiz-options{align-content:stretch;grid-auto-rows:minmax(clamp(62px,9vh,95px),auto);gap:clamp(10px,1.5vh,18px)}
 #view .lc-quiz-options label{box-sizing:border-box;min-height:0;padding:clamp(12px,1.2vw,20px);font-size:clamp(20px,calc(1.5vw * var(--quiz-font-scale,1)),30px)}
 #view .lc-quiz-progress-row{margin-top:2%}
}
@media(min-width:1280px){
    .lc-quiz-progress{font-size: calc(22px * var(--quiz-font-scale, 1));}
    .lc-quiz-hint img{width:55px;height:55px;}
    #view .lc-quiz-question-grid{align-content: center;}
    #view .lc-quiz-question {display:grid;text-align:center; font-size: clamp(30px, calc(1.5vw * var(--quiz-font-scale, 1)), 42px);}
    #view .lc-quiz-options label {font-size: clamp(22px, calc(1.5vw * var(--quiz-font-scale, 1)), 30px);}
}

/* Keep account actions together on wider screens. */
@media(min-width:701px){dialog.lc-hub-dialog[aria-label="Your account"]{box-sizing:border-box;width:min(580px,calc(100vw - 48px));max-width:none}dialog.lc-hub-dialog[aria-label="Your account"]>a.lc-hub-button,dialog.lc-hub-dialog[aria-label="Your account"]>button.lc-hub-button{white-space:nowrap}}

/* Confetti animation from the original bibleQuizAnimation.css. */
@-webkit-keyframes confetti-slow{ 
  0%{ 
    transform:translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }
  100%{ 
    transform:translate3d(25px, 105vh, 0) rotateX(360deg) rotateY(180deg);
  }
}
@keyframes confetti-slow{ 
  0%{ 
    transform:translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }
  100%{ 
    transform:translate3d(25px, 105vh, 0) rotateX(360deg) rotateY(180deg);
  }
}
@-webkit-keyframes confetti-medium{ 
  0%{ 
    transform:translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }
  100%{ 
    transform:translate3d(100px, 105vh, 0) rotateX(100deg) rotateY(360deg);
  }
}
@keyframes confetti-medium{ 
  0%{ 
    transform:translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }
  100%{ 
    transform:translate3d(100px, 105vh, 0) rotateX(100deg) rotateY(360deg);
  }
}
@-webkit-keyframes confetti-fast{ 
  0%{ 
    transform:translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }
  100%{ 
    transform:translate3d(-50px, 105vh, 0) rotateX(10deg) rotateY(250deg);
  }
}
@keyframes confetti-fast{ 
  0%{ 
    transform:translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }
  100%{ 
    transform:translate3d(-50px, 105vh, 0) rotateX(10deg) rotateY(250deg);
  }
}


.lc-quiz-confetti .confetti-container{ 
  perspective:700px;
  position:absolute;
  overflow:hidden;
  top:0;
  right:0;
  bottom:0;
  left:0;
}

.lc-quiz-confetti .confetti{ 
  position:absolute;
  z-index:1;
  top:-10px;
  border-radius:0%;
}
.lc-quiz-confetti .confetti--animation-slow{ 
  -webkit-animation:confetti-slow 2.25s linear 1 forwards;
          animation:confetti-slow 2.25s linear 1 forwards;
}
.lc-quiz-confetti .confetti--animation-medium{ 
  -webkit-animation:confetti-medium 1.75s linear 1 forwards;
          animation:confetti-medium 1.75s linear 1 forwards;
}
.lc-quiz-confetti .confetti--animation-fast{ 
  -webkit-animation:confetti-fast 1.25s linear 1 forwards;
          animation:confetti-fast 1.25s linear 1 forwards;
}

.lc-quiz-confetti{position:fixed;inset:0;z-index:1;overflow:hidden;pointer-events:none}.lc-quiz-confetti .confetti-container{position:absolute;inset:0;overflow:hidden;perspective:700px}

/* Results keep the quiz name in the footer and show its performance award. */
.lc-quiz.lc-quiz-ready>h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.lc-quiz-result .lc-quiz-trophy{display:block;width:clamp(68px,10vh,110px);height:clamp(68px,10vh,110px);object-fit:contain;margin:14px auto}
.lc-quiz-result .lc-quiz-performance{margin:8px 0;color:var(--text);font-size:clamp(18px,2vw,24px)}
.lc-quiz-result .lc-quiz-score{margin:12px 0}

.lc-quiz-catalog .lc-v2-quiz-list a .lc-quiz-card-progress{color:var(--muted);font-size:14px;text-transform:none}.lc-quiz-catalog .lc-v2-quiz-list progress{width:100%;height:6px;accent-color:var(--accent)}.lc-quiz-catalog .lc-v2-quiz-list a .lc-quiz-card-action{color:var(--accent);margin-top:auto}

/* Announce quiz status without adding a row above its controls. */
.lc-quiz.lc-quiz-ready>p[role="status"]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0}

/* Outfit gives headings their character; Inter is used for app interface text. */
:root{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
body :is(button,input,select,textarea),body nav a,body #desktop-rail :is(a,button),body #desktop-search,body #account-dialog,body .lc-hub-dialog,body .lc-quiz-catalog .lc-quiz-card-progress{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important}
body :is(h1,h2,h3,h4,h5,h6):not(.lc-quiz-question),body .lc-search-result-title,body .lc-hub-quiz-title{font-family:Outfit,system-ui,sans-serif!important}

.lc-v2-bible-links a{display:flex;align-items:center;justify-content:center;gap:8px}.lc-v2-bible-icon{display:inline-flex;flex:none;color:var(--accent)}.lc-v2-bible-icon svg{display:block;width:20px;height:20px}

.lc-v2-featured{overflow:visible}.lc-v2-featured-art{border-radius:16px 16px 0 0}.lc-v2-featured-title-row{display:flex;align-items:flex-start;gap:8px}.lc-v2-featured-title-link{flex:1;min-width:0}.lc-v2-featured-title-row .lc-library-menu{flex:none}.lc-v2-featured:has(.lc-library-menu[open]){position:relative;z-index:10}

/* Center the home page and keep its introduction compact on desktop. */
@media(min-width:960px){
 body:has(#view .lc-v2-home)>header{padding-inline:max(32px,calc((100vw - 1130px)/2));padding-top:32px;padding-bottom:10px;}
 #view .lc-v2-home{width:100%;max-width:1130px;column-gap:28px;row-gap:0}
 #view .lc-v2-home>.lc-v2-eyebrow{margin:0 0 8px}
 #view .lc-v2-home>h1{margin:0 0 8px}
 #view .lc-v2-home>p:not(.lc-v2-eyebrow){margin:0 0 24px;color:var(--text)}
}

/* Match the startup screen while a reader or quiz opens. */
.lc-view-loading{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:24px;background:#101010;color:#f6f6f6;font:500 16px/1.5 system-ui,sans-serif;text-align:center}
.lc-view-loading[hidden]{display:none!important}
.lc-view-loading-spinner{width:32px;height:32px;box-sizing:border-box;border:3px solid #ffffff33;border-top-color:#ffbd00;border-radius:50%;animation:lc-view-spin .8s linear infinite}
@keyframes lc-view-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.lc-view-loading-spinner{animation:none}}

/* Answer explanations are available after confirmation. */
#view .lc-quiz-explanation-button{flex:none;margin-left:auto;padding:5px 10px;border:1px solid currentColor;border-radius:999px;background:transparent;color:inherit;font:600 12px/1.2 Inter,system-ui,sans-serif;cursor:pointer}
.lc-quiz-explanation-dialog{max-height:min(80vh,700px);overflow:auto}.lc-quiz-explanation-dialog p{margin:0;line-height:1.5;white-space:pre-wrap}
/* Keep all library tabs together on phones. */
@media (max-width: 650px) {
  #view .lc-v2-library .lc-hub-tabs { flex-wrap: nowrap; gap: 2px; overflow-x: auto; }
  #view .lc-v2-library .lc-hub-tabs button { flex: 1 0 auto; min-width: 0; padding: 10px 8px; white-space: nowrap; font-size: clamp(12px, 3.4vw, 14px); }
}
#view .lc-v2-library > div.lc-hub-tabs { display: flex; }
@media (max-width: 650px) { #view .lc-v2-library > .lc-hub-tabs button { margin: 0; flex: 1 1 auto; } }
/* Duration badges on media thumbnails throughout the app. */
.lc-app-duration{position:absolute;right:7px;bottom:7px;z-index:2;padding:2px 5px;border-radius:4px;background:#080808;color:#fff;font:700 12px/1.3 Inter,system-ui,sans-serif;pointer-events:none}
.lc-related-image{position:relative}
.lc-search-duration .lc-app-duration{position:static;display:inline-block;margin-top:6px}

/* Returning members can reconnect from the first visible part of Home. */
#view .lc-v2-home>.lc-v2-returning-member{margin:0 0 20px;padding:18px 20px;background:var(--panel);border:1px solid var(--border);border-radius:16px;grid-column:1/-1}
#view .lc-v2-returning-member[hidden]{display:none}
#view .lc-v2-returning-member p{margin:0;color:var(--text);font-size:15px;line-height:1.5}
#view .lc-v2-returning-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#view .lc-v2-returning-actions .lc-v2-returning-later{background:transparent;color:var(--text);border:1px solid var(--border)}
#view .lc-v2-returning-member [role=status]:not(:empty){margin-top:10px;color:var(--text)}
@media(min-width:960px){#view .lc-v2-home:has(>.lc-v2-returning-member:not([hidden]))>.lc-v2-fresh{grid-row:5}}

/* The existing prayer service supplies the active group and messages. */
#view .lc-v2-home>.lc-prayer-banner{grid-column:1/-1;margin:0 0 20px;padding:20px;border:1px solid #c2a65b;border-radius:20px;background:#fff6d8;color:#242c21;display:flex;align-items:flex-start;gap:16px}
#view .lc-prayer-banner img{width:64px;height:64px;flex:none;border-radius:50%;object-fit:contain;background:#fff}
#view .lc-prayer-banner h2{font-size:22px;margin:0 0 6px}
#view .lc-prayer-banner p{margin:4px 0;color:inherit}
#view .lc-prayer-banner a{color:inherit}
#view .lc-prayer-banner button{margin-top:10px}
@media(max-width:600px){#view .lc-prayer-banner img{width:48px;height:48px}#view .lc-v2-home>.lc-prayer-banner{padding:16px}}
@media(min-width:960px){#view .lc-v2-home:has(>.lc-prayer-banner)>.lc-v2-fresh{grid-row:5}#view .lc-v2-home:has(>.lc-prayer-banner):has(>.lc-v2-returning-member:not([hidden]))>.lc-v2-fresh{grid-row:6}}

.lc-v2-legacy-page{height:100%;min-height:65dvh}.lc-v2-legacy-frame{display:block;width:100%;height:100%;min-height:65dvh;border:0;background:var(--bg)}.lc-v2-legacy-frame[hidden]{display:none}


/* Download page */
.lc-download-page .download-page,.lc-download-page .download-page *{box-sizing:content-box}
body.lc-download-page{margin:0;background:#101010;color:#f5f5f5;font-family:Outfit,system-ui,sans-serif}.download-page{max-width:960px;margin:auto;padding:50px 24px}.download-brand{width:180px;max-width:60%;height:auto}.download-eyebrow{color:#ffbd00;letter-spacing:.12em;font-size:.75rem;font-weight:700;margin-top:54px}.download-page h1{font-size:clamp(2.2rem,6vw,4rem);line-height:1.05;margin:10px 0 18px}.download-page p{line-height:1.6;color:#ccc}.download-card{margin-top:32px;background:#19191b;border:1px solid #333;border-radius:20px;padding:clamp(22px,4vw,38px)}.download-card h2{margin-top:0}.download-button{display:inline-block;border-radius:999px;background:#ffbd00;color:#161616!important;text-decoration:none;padding:14px 22px;font-weight:700}.download-member{border-top:1px solid #383838;margin-top:28px;padding-top:22px}.download-member[hidden]{display:none}.download-note{font-size:.9rem}.download-page a:not(.download-button){color:#ffbd00}

/* Downloads use the shared site header, not the application header. */
body.lc-download-page > .lc-shell-header{display:block;height:auto;padding:0}
body.lc-download-page .home-bottom-nav a>.lc-shell-bottom-icon{position:static;width:28px;height:28px;overflow:visible;clip-path:none;white-space:normal}
body.lc-download-page .download-page{box-sizing:border-box}
@media(max-width:600px){
 body.lc-download-page .download-page{padding:20px 16px 28px}
 .lc-download-page .download-page h1{font-size:1.75rem;line-height:1.12;margin:0 0 16px}
 .lc-download-page .download-card{margin-top:0;padding:18px;border-radius:18px}
 .lc-download-page .download-card h2{font-size:1.25rem;line-height:1.2;margin:0 0 8px}
 .lc-download-page .download-card p{font-size:.9rem;line-height:1.4;margin:0 0 12px}
 .lc-download-page .download-button{padding:11px 17px;font-size:.9rem}
 .lc-download-page .download-member{margin-top:15px;padding-top:15px}
 .lc-download-page .download-note{margin:14px 0 0!important;font-size:.8rem!important}
}

/* Touch feedback should not imitate selection; keyboard focus remains visible. */
:where(a,button,summary,input,select,textarea,[role="button"]){-webkit-tap-highlight-color:transparent}
@media(hover:none){#view a:hover{text-decoration:none!important}}
body.lc-v2-watch-pending #player:not([hidden]){visibility:hidden}

/* Gentle entrances without delaying navigation or playback. */
@media (prefers-reduced-motion: no-preference) {
  #view > :not(.lc-v2-watch) { animation: lc-page-enter 180ms ease-out both; }
  body:not(.lc-v2-watch-active):not(.lc-v2-watch-pending):not(.lc-v2-inline-active) #player:not([hidden]) { animation: lc-mini-enter 240ms cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes lc-page-enter { from { opacity: .72; } to { opacity: 1; } }
@keyframes lc-mini-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Hover feedback is reserved for devices with a precise pointer. */
@media (hover: hover) and (pointer: fine) {
  #view :is(.lc-browse-card, .lc-archive-card, .lc-hub-resource, .lc-v2-publication):has(a, button),
  #view .lc-v2-quiz-list a { transition: background-color 160ms ease, border-color 160ms ease; }
  #view :is(.lc-browse-card, .lc-archive-card, .lc-hub-resource, .lc-v2-publication):has(a, button):hover,
  #view .lc-v2-quiz-list a:hover { background-color: color-mix(in srgb, var(--panel) 94%, var(--text)); border-color: color-mix(in srgb, var(--border) 75%, var(--text)); }
  :is(header, nav, #desktop-rail) :is(a, button):hover { background-color: #8882; border-radius: 12px; }
  #view :is(.lc-browse-actions, .lc-v2-watch-actions, .lc-hub-actions) button:not(:disabled):hover { filter: brightness(.94); }
}
@media (prefers-reduced-motion: reduce) {
  #view :is(.lc-browse-card, .lc-archive-card, .lc-hub-resource, .lc-v2-publication), #view .lc-v2-quiz-list a { transition: none; }
}

/* Homepage cards and links respond to a mouse or trackpad. */
@media (hover: hover) and (pointer: fine) {
  #view .lc-v2-home :is(.lc-v2-publication, .lc-v2-explore a, .lc-v2-bible-links a, .lc-v2-featured-copy) { transition: background-color 160ms ease, border-color 160ms ease; }
  #view .lc-v2-home :is(.lc-v2-publication, .lc-v2-explore a, .lc-v2-bible-links a):hover,
  #view .lc-v2-home .lc-v2-featured:has(.lc-v2-featured-image-link:hover, .lc-v2-featured-title-link:hover, .lc-v2-featured-copy:hover) .lc-v2-featured-copy { background-color: color-mix(in srgb, var(--panel) 88%, var(--text)); }
  #view .lc-v2-home .lc-v2-publication:hover { border-color: color-mix(in srgb, var(--border) 65%, var(--text)); }
  #view .lc-v2-home .lc-v2-bible-links a { border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) { #view .lc-v2-home :is(.lc-v2-publication, .lc-v2-explore a, .lc-v2-bible-links a, .lc-v2-featured-copy) { transition: none; } }

/* Compact player: keep transport centred across the deck and utilities at the edge. */
@media(max-width:900px) {
 #player .lc-inline-audio .lc-audio-controls-actions { grid-column:1/-1; grid-row:3; justify-self:center; width:142px; max-width:142px; gap:8px; z-index:1; }
 #player .lc-inline-audio .lc-audio-controls-utility { grid-column:1/-1; grid-row:3; justify-self:end; z-index:2; }
 #player .lc-inline-audio .lc-audio-controls-actions>button { box-sizing:border-box; display:grid; place-items:center; width:36px; height:36px; min-width:36px; min-height:36px; padding:0; border:0; border-radius:50%; background:transparent; }
 #player .lc-inline-audio .lc-audio-controls-actions>button.lc-audio-play { width:40px; height:40px; background:#ffca35; color:#1a2021; }
 #player .lc-inline-audio .lc-audio-controls-actions>button svg { display:block; width:20px; height:20px; margin:0; }
}

/* Public video browsing does not expose member categories. */
.lc-v2-category-tabs[hidden]{display:none!important}

.lc-native-app-info [hidden]{display:none!important}

/* Compact settings headings with optional contextual help. */
.lc-hub-settings .lc-setting-heading{display:flex;align-items:center;gap:9px;margin-bottom:10px}
.lc-hub-settings .lc-setting-heading h3{margin:0!important}
.lc-setting-help{position:relative;flex:none;place-self:start;margin-left:3px}
.lc-setting-help summary{display:grid;place-items:center;box-sizing:border-box;width:15px;height:15px;border:1px solid var(--hub-muted);border-radius:50%;color:var(--hub-muted);font:600 10px/1 Inter,system-ui,sans-serif;cursor:pointer;list-style:none}
.lc-setting-help summary::-webkit-details-marker{display:none}
.lc-setting-help summary:focus-visible{outline:2px solid var(--hub-gold);outline-offset:3px}
.lc-hub-settings .lc-setting-help-popover{position:absolute;z-index:5;top:calc(100% + 8px);left:-10px;box-sizing:border-box;width:min(200px,calc(100vw - 80px));margin:0!important;padding:12px 14px;border:1px solid var(--hub-border);border-radius:12px;background:var(--hub-panel);color:var(--hub-text);box-shadow:0 8px 24px #0005;font-size:13px;line-height:1.45}
.lc-hub-settings .lc-hub-setting>button+button{margin-left:0}
.lc-hub-settings .lc-hub-setting>button{margin-top:10px}
.lc-hub-settings .lc-hub-setting:last-child{border-bottom:0}

.lc-hub-settings .lc-history-settings>button{display:block;margin:10px 0 0;max-width:100%;text-align:left}
