[hidden] { display: none !important; }
main { max-width: 68rem; margin-inline: auto; padding: 1.6rem clamp(1rem, 4vw, 3rem) 4rem; }
.crumb, #chapter-english, .column-head, .chapter-nav, .selectors label, .reading-tools, footer { font-family: var(--font-sans); }
.crumb { color: var(--ink-soft); font-size: .83rem; margin-bottom: 1.45rem; }
.crumb span { color: #9a907e; margin-inline: .4rem; }
.reading-head { display: flex; gap: 1rem 2rem; flex-wrap: wrap; align-items: end; justify-content: space-between; border-bottom: 2px solid var(--green); padding-bottom: 1.3rem; }
#chapter-english { margin: 0 0 .15rem; color: var(--green); font: italic 1.12rem Georgia, serif; }
h1 { margin: 0; color: var(--green); font-size: clamp(2.25rem,5vw,3.2rem); }
.selectors, .reading-tools, .controls, .chapter-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.selectors label { display: grid; gap: .15rem; color: var(--ink-soft); font-size: .76rem; font-weight: 500; }
select { background: #fbf9f3; font: inherit; min-width: 3.6rem; }
.selectors select, .reading-tools select { font: 500 .9rem var(--font-sans); }
.reading-tools { min-height: 3.6rem; padding: .5rem 0; color: var(--ink-soft); font-size: .85rem; }
.reading-tools select { min-height: 2.55rem; }
.korean-choice { display: inline-flex; align-items:center; cursor:pointer; gap:.3rem; }
.korean-choice input, #seek { accent-color: var(--green); }
#lesson-entry { margin-left:auto; text-decoration:underline; text-underline-offset:.18em; }
#chapter-audio { margin: .1rem 0 .7rem; padding:.45rem .85rem; font-size:.92rem; }
#chapter-audio summary { cursor:pointer; padding:.25rem 0; }
#audio-player iframe { width:100%; height:clamp(380px,60vh,540px); border:0; }

#feedback p:empty { display:none; }
#feedback p { font-size:.88rem; margin:.45rem 0; }
#readalong { position:sticky; z-index:5; top:var(--site-header,0px); background:var(--paper); }
.controls { flex-wrap:nowrap; padding:.45rem 0; border-block:1px solid var(--line); }
#toggle { min-width:6.25rem; background:var(--green); color:white; border-radius:2rem; font-weight:600; }
#toggle:enabled:hover { background:#305241; }
#read-scope { max-width:7rem; min-width:0; font:inherit; font-size:.83rem; }
.clip-label, #clock { color:var(--ink-soft); white-space:nowrap; font-size:.83rem; }
#seek { flex:1; min-width:2rem; height:2.75rem; }
#clock { font-variant-numeric:tabular-nums; }
.column-head, .verse-row { display:grid; grid-template-columns:minmax(0, 1.4fr) minmax(0, 1fr); column-gap:clamp(1rem,4vw,3rem); }
.column-head { padding:.8rem .75rem .55rem; border-bottom:1px solid var(--line); font-size:.82rem; color:var(--ink-soft); }
.verse-row { position:relative; padding:.75rem .75rem .75rem 2.6rem; border-bottom:1px solid #e2ddd1; border-left:3px solid transparent; scroll-margin: .8rem; }
.verse-row > .number { position:absolute; top:.96rem; left:.45rem; color:#796536; font:600 .75rem var(--font-sans); }
.en-text, .en-text [data-slot] { min-width:0; font: 400 clamp(1.16rem,1.8vw,1.43rem)/1.72 Georgia, 'Times New Roman', serif; word-break:normal; overflow-wrap:break-word; }
.en-text p, .en-text div[class~="p"], .en-text .m { margin-block:0; }
.en-text .yv-h { color:var(--green); font-weight:600; line-height:1.4; margin-bottom:.4rem; }
.en-text .yv-h:not(:first-child) { margin-top:.6rem; }
.en-text table { max-width:100%; }
.en-text .yv-vlbl { color:#75623f; font-size:.67em; }
.verse-row:has(.en-text .yv-vlbl) > .number { visibility:hidden; }
.en-text .yv-n { display:inline!important; font:400 .72em/1.5 var(--font-sans); color:#59655e; background:#edf0e8; }
.en-text .yv-n::before { content:" [ "; } .en-text .yv-n::after { content:" ] "; }
.en-text .q1 { margin-left:1rem; } .en-text .q2 { margin-left:2rem; } .en-text .q3 { margin-left:3rem; }
.ko-text { font:400 clamp(.96rem,1.3vw,1.06rem)/1.85 var(--font-display); border-left:1px solid var(--line); padding-left:clamp(.75rem,2vw,1.5rem); color:#514e43; }
.ko-text p { margin:0; }
.ko-text sup { color:#736541; margin-right:.4em; }
.no-korean .ko-ref, .no-korean .ko-text { display:none; }
.no-korean .verse-row, .no-korean .column-head { grid-template-columns:minmax(0,1fr); }
.no-korean .en-text { max-width:45rem; }
.verse-row.current,.verse-row.selected { border-left-color:#436e55; background:#e9efe3; }
.word.current { color:#173328; background:#ffdf71; box-shadow:0 .085em #ad7617; border-radius:.1em; }
#study { margin:1.1rem 0; border:1px solid var(--line); padding:.8rem 1rem; }
#study > summary { font:600 1rem var(--font-display); cursor:pointer; color:var(--green); }
#study > summary span { margin-left:.5em; font:400 .85rem var(--font-sans); color:var(--ink-soft); }
#study section { padding:1.5rem 0 1rem; }
#study h2 { font-size:1.55rem; } #study .words article { background:#faf8f1; }
.chapter-nav { justify-content:space-between; padding:1rem 0; border-bottom:1px solid var(--line); }
main footer { margin-top:1rem; padding:0; border:0; color:var(--ink-soft); font-size:.8rem; }
footer p { margin:.35rem 0; } #niv-copyright:empty {display:none;}
@media(max-width:680px) {
  main { padding:1rem .85rem 3rem; } .crumb {margin-bottom:.8rem;}
  .reading-head {gap:.6rem; padding-bottom:.7rem; } .selectors {gap:.35rem;}
  .verse-row,.column-head {grid-template-columns:minmax(0,1fr);}
  .verse-row { padding-left:1.9rem; row-gap:.3rem; } .column-head .ko-ref { display:none; }
  .ko-text { border:0; padding-left:0; } .reading-tools {gap:.3rem .6rem;}
  .controls {gap:.35rem;} #toggle {min-width:5.7rem;} #lesson-entry {margin-left:0;}
}
@media(max-width:365px) {.clip-label {font-size:.72rem;} #clock {font-size:.75rem;} }
@media(forced-colors:active) { .word.current {text-decoration:underline double;} .verse-row.current,.verse-row.selected{border-left-color:Highlight;} }

#lumo { margin:.2rem 0 .6rem; background:var(--paper); scroll-margin-top:var(--site-header,0px); }
.film-head { display:flex; align-items:center; justify-content:space-between; gap:.6rem; max-width:24rem; font:500 .85rem var(--font-sans); color:var(--green); padding:.3rem 0; }
.film-head a { font-size:.8rem; text-decoration:underline; }
#film-screen { position:relative; width:min(100%,24rem); min-height:200px; aspect-ratio:16 / 9; background:#151715; }
#film-screen iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
#film-status, #film-words-status { margin:.2rem 0; font:400 .82rem var(--font-sans); }
#film-status:empty, #film-words-status:empty { display:none; }
#lumo.playing { position:sticky; top:var(--site-header,0px); z-index:5; }
@media (orientation:landscape) and (max-height:500px) {
  body:has(#lumo.playing) .top { position:static; }
  main:has(#lumo.playing) { display:flow-root; }
  #lumo.playing { top:0; float:left; width:33%; min-width:200px; margin-right:.8rem; }
  main:has(#lumo.playing) #passage, main:has(#lumo.playing) .column-head { display:flow-root; margin-left:max(35%, 215px); }
  main:has(#lumo.playing) .column-head span + span { margin-left:.5rem; }
  #lumo.playing .film-head { flex-wrap:wrap; gap:.2rem .6rem; }
}
.timing-note a { text-decoration:underline; }
::highlight(lumo-word) { background-color:#ffdf71; color:#173328; text-decoration:underline; }
@media (forced-colors:active) { ::highlight(lumo-word) { background-color:Highlight; color:HighlightText; } }

.timing-note { color:var(--ink-soft); font:400 .75rem var(--font-sans); }
