/* Shared reading typography, advertisement rails and complete dark surfaces. */
:root{--lt41-bg:#f5f9ff;--lt41-surface:#fff;--lt41-raised:#edf4ff;--lt41-text:#182b44;--lt41-muted:#425d7b;--lt41-border:#ccdced;--lt41-link:#005ac2;--lt41-primary:#075ec8;--lt41-lyric-size:21px}
html[data-letrou-theme=dark]{color-scheme:dark;--lt41-bg:#0c1728;--lt41-surface:#14243b;--lt41-raised:#1c304c;--lt41-text:#edf3fc;--lt41-muted:#b9cbe2;--lt41-border:#3a5271;--lt41-link:#9dccff;--lt41-primary:#1769d0}
html body .lt41-ad{box-sizing:border-box;position:relative;display:block;max-width:100%;margin:28px auto;padding:16px 0;text-align:center;clear:both;grid-column:1/-1;overflow:visible}
.lt41-ad-label{display:block;font:400 11px/1.4 system-ui,sans-serif;color:var(--lt41-muted);margin-bottom:8px;letter-spacing:.04em}
.lt41-ad-content{width:100%;max-width:100%;min-width:0;margin:auto}.lt41-ad-content>ins.adsbygoogle{max-width:100%}.lt41-ad [hidden]{display:none!important}
.lt41-song-layout{display:block;min-width:0}.lt41-song-main{min-width:0}.lt41-rail{display:none}
/* Both 300px rails are siblings of the complete song content. */
.lt41-song-main{container-type:inline-size;container-name:lyrics-main}
@media(min-width:1280px){
 .lt41-song-layout:has(>.lt41-rail){display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;width:min(calc(100% - 48px),1840px);margin:auto;align-items:start}
 .lt41-song-layout.has-left:not(.has-right){grid-template-columns:300px minmax(0,1fr)}
 .lt41-song-layout.has-left.has-right{grid-template-columns:300px minmax(0,1fr) 300px}
 .lt41-song-layout>.lt41-song-main{grid-column:1;grid-row:1}
 .lt41-song-layout.has-left>.lt41-song-main{grid-column:2}
 .lt41-song-layout>.lt41-rail-left{display:block;grid-column:1;grid-row:1}
 .lt41-song-layout>.lt41-rail-right{display:block;grid-column:2;grid-row:1}
 .lt41-song-layout.has-left.has-right>.lt41-rail-right{grid-column:3}
 .lt41-rail{width:300px;margin-top:74px;align-self:start}
 html body .lt41-rail>.lt41-ad{width:300px;height:600px;margin:0;padding:0}
 .lt41-rail .lt41-ad-content{width:300px;height:600px;min-height:600px}
 .lt41-song-layout:has(>.lt41-rail)>.lt41-song-main .letrou-container{width:100%!important;max-width:100%!important;box-sizing:border-box}
}
@media(min-width:1280px) and (min-height:740px){.lt41-rail.is-following{position:sticky;top:90px}}
@container lyrics-main (max-width:900px){
 body.letrou-page-song .lt41-song-main .letrou-song-header-card-v170,
 body.letrou-page-song .lt41-song-main .letrou-song-header-card-v170.has-video{display:grid!important;grid-template-columns:80px minmax(0,1fr)!important;gap:18px!important}
 body.letrou-page-song .lt41-song-main .letrou-song-artist-avatar-v170{width:80px!important;height:80px!important;min-width:80px!important}
 body.letrou-page-song .lt41-song-main .lt-song-video{grid-column:1/-1!important;width:100%;max-width:520px;margin:12px auto 0}
 body.letrou-page-song .lt41-song-main .letrou-song-header-copy-v170 h1{font-size:32px!important}
 .lt41-song-main .letrou-lyrics-toolbar-v170{flex-wrap:wrap!important;gap:12px!important}
 .lt41-song-main .letrou-toolbar-left-v170{flex-wrap:wrap!important}
 .lt41-song-main .letrou-song-extra-grid-v170{grid-template-columns:minmax(0,1fr)!important}
 .lt41-song-main .letrou-song-extra-card-v170{min-width:0!important;width:100%!important;box-sizing:border-box}
}
html body :is(#letrou-lyrics,.letrou-engine .cag-sheet-preview){font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;font-size:var(--lt41-lyric-size)!important;line-height:1.82!important;font-weight:var(--lt43-lyric-weight,400)!important;letter-spacing:0!important;overflow-wrap:anywhere;word-break:normal;color:var(--lt41-text)!important;max-width:780px;margin-inline:auto}
html body .letrou-engine .cag-sheet-preview{padding:28px 20px;border:1px solid var(--lt41-border);border-radius:14px;background:var(--lt41-surface)!important}
html body .letrou-engine .cag-sheet-preview-line{font:inherit!important;line-height:inherit!important}.letrou-engine .cag-sheet-preview-line.is-section{font-weight:var(--lt43-lyric-weight,400)!important}
html[data-letrou-theme=dark] body{background:var(--lt41-bg)!important;color:var(--lt41-text)!important}
html[data-letrou-theme=dark] body :is(.lt15-content,.letrou-main,.letrou-page-hero,.letrou-reading-head,.letrou-reading-body,.letrou-song-hero-v170,.letrou-song-reading-section-v170,.letrou-section,.lt25-how){background-color:var(--lt41-bg)!important;color:var(--lt41-text)!important}
html[data-letrou-theme=dark] body :is(.lt15-nav,.lt15-more-menu,.lt15-search,.lt15-tool,.letrou-transcriber,.letrou-search,.letrou-search-xl,.letrou-lyrics-card-v170,.letrou-lyrics-card,.lt15-song,.lt15-resource-grid>a,.lt15-harmony-feature-v1370,.letrou-vocal-tool,.letrou-guide-card,.letrou-tool-card,.letrou-tool-card-wide,.letrou-study-section,.letrou-study-note,.letrou-learning-note,.letrou-study-card-v1350,.letrou-study-related-card-v1350,.letrou-study-inline-figure-v1350,.letrou-song-extra-card-v170,.lt25-song-learning,.lt25-song-disclosure,.lt-song-feedback,.lt25-how-expanded,.lt25-example,.letrou-form-card,.lt-contact-form,.letrou-modal-panel,.lt-rehearsal-dialog,.letrou-artist-card,.letrou-song-row,.letrou-source-tabs,.letrou-upload-card,.lt15-unified-upload){background:var(--lt41-surface)!important;color:var(--lt41-text)!important;border-color:var(--lt41-border)!important;box-shadow:none!important}
html[data-letrou-theme=dark] body :is(.lt15-content,.letrou-main,.lt-rehearsal-dialog,.letrou-modal-panel) :is(h1,h2,h3,h4,h5,strong,summary,label,legend){color:var(--lt41-text)!important}
html[data-letrou-theme=dark] body :is(.lt15-content,.letrou-main,.lt-rehearsal-dialog,.letrou-modal-panel) :is(p,small,figcaption,li,caption,dt,dd){color:var(--lt41-muted)!important}
html[data-letrou-theme=dark] body :is(.lt15-content,.letrou-main,.lt-rehearsal-dialog,.letrou-modal-panel) :is(a,.lt15-song-copy em,.letrou-artist-line){color:var(--lt41-link)!important}
html[data-letrou-theme=dark] body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select){background:#0d1c30!important;color:var(--lt41-text)!important;border-color:#536c8f!important;box-shadow:none!important}
html[data-letrou-theme=dark] body ::placeholder{color:#b1c1d6!important;opacity:1}
html[data-letrou-theme=dark] body :is(.lt15-nav a,.lt15-more-menu a,.lt15-lang,.lt15-lang-current,.lt15-login,.lt15-mobile-nav,.letrou-mobile-nav,.letrou-lyrics-toolbar-v170,.letrou-lyrics-toolbar,.letrou-song-bottom-actions-v170,.letrou-segmented-v170,.lt25-how-more summary,.letrou-toolbar-group){background:var(--lt41-raised)!important;color:var(--lt41-text)!important;border-color:var(--lt41-border)!important}
html[data-letrou-theme=dark] body :is(.letrou-main,.lt15-content,.lt15-tool) button,html[data-letrou-theme=dark] body :is(.letrou-secondary-btn,.letrou-text-btn,.letrou-icon-btn,.lt15-button){background:var(--lt41-raised)!important;color:var(--lt41-text)!important;border:1px solid var(--lt41-border)!important;box-shadow:none!important}
html[data-letrou-theme=dark] body :is(.letrou-primary-btn,.letrou-transcribe-submit,.lt15-repertoire,.lt15-nav a.is-active,.letrou-main .is-primary,.letrou-main .is-active,.letrou-main .is-selected,.letrou-stage-launch-v170){background:var(--lt41-primary)!important;color:#fff!important;border-color:#5899f1!important}
html[data-letrou-theme=dark] body :is(table,thead,tbody,tr,th,td,pre,code,.letrou-empty-premium,.lt15-empty){background:var(--lt41-surface)!important;color:var(--lt41-text)!important;border-color:var(--lt41-border)!important}
/* The transcriber has independent component styles; explicitly cover every rendered result/control state. */
html[data-letrou-theme=dark] body .letrou-engine{--cag-bg:var(--lt41-bg);--cag-panel:var(--lt41-surface);--cag-card:var(--lt41-surface);--cag-text:var(--lt41-text);--cag-muted:var(--lt41-muted);--cag-border:var(--lt41-border);color:var(--lt41-text)!important;background:transparent!important}
html[data-letrou-theme=dark] body .letrou-engine :is(.cag-card,.cag-panel,.cag-file-card,.cag-drop,.cag-dropzone,.cag-result,.cag-results,.cag-editor,.cag-editor-head,.cag-sheet-preview,.cag-recent-card,.cag-recent,.cag-repertoire-savebox,.cag-repertoire-savebox__controls,.cag-saved-repertoire-card,.cag-result-feedback,.cag-feedback-gate__dialog,.cag-progress-card,.cag-analysis-card,.cag-message,.cag-recovery,.lt-engine-auto-publish-note,[data-analysis-results],[data-result-feedback],[data-recovery]){background:var(--lt41-surface)!important;color:var(--lt41-text)!important;border-color:var(--lt41-border)!important;box-shadow:none!important}
html[data-letrou-theme=dark] body .letrou-engine :is(h1,h2,h3,h4,strong,label,legend,summary,[data-work-state],[data-status],[data-stage]){color:var(--lt41-text)!important}
html[data-letrou-theme=dark] body .letrou-engine :is(p,small,li,.cag-note,.cag-muted,.cag-file-info,.cag-feedback-gate__eyebrow,.lt-engine-consent){color:var(--lt41-muted)!important}
html[data-letrou-theme=dark] body .letrou-engine :is(button,.cag-file-trigger,.cag-translation-target,.cag-inline-actions>* a,.cag-step,.cag-file-icon,.cag-upload-icon){background:var(--lt41-raised)!important;color:var(--lt41-text)!important;border-color:#536c8f!important;box-shadow:none!important}
html[data-letrou-theme=dark] body .letrou-engine :is(.cag-primary,.cag-run-btn,.cag-step.is-active,button.is-active,button.is-selected){background:var(--lt41-primary)!important;color:#fff!important;border-color:#5899f1!important}
html[data-letrou-theme=dark] body .letrou-engine :is(button:disabled,input:disabled,select:disabled){background:#25354d!important;color:#c4d1e3!important;opacity:.75!important}
html[data-letrou-theme=dark] body .letrou-engine .is-error{color:#ffc7c7!important;border-color:#a96871!important}
html[data-letrou-theme=dark] body .letrou-engine :is(.cag-result-feedback.is-sent,.cag-step.is-done){background:#14392f!important;color:#c4f5df!important;border-color:#48866c!important}
html[data-letrou-theme=dark] body .letrou-engine .cag-sheet-preview-line.is-section{color:#9dccff!important}
html[data-letrou-theme=dark] body :is(a,button,input,textarea,select):focus-visible{outline:3px solid #a8ceff!important;outline-offset:3px}
/* Preserve the deliberately black stage instead of applying ordinary page colors. */
html body.letrou-stage-active :is(.letrou-ad,.lt41-ad,.lt41-rail,.adsbygoogle,ins[data-ad-client],iframe[id^=google_ads_iframe],iframe[id^=aswift],.google-auto-placed){display:none!important;visibility:hidden!important}
html body.letrou-stage-active .letrou-stage{background:#080d16!important;color:#f8fafc!important}
html body.letrou-stage-active .letrou-stage :is(.letrou-stage-text,.letrou-stage-song-meta strong){color:#f8fafc!important}
@media print{.letrou-ad,.lt41-ad,.lt41-rail,[data-lt41-inner-slot]{display:none!important}}

html[data-letrou-theme=dark] body .letrou-engine :is([class*="card"],[class*="panel"],[class*="savebox"],[class*="tip"],[class*="note"]){background-color:var(--lt41-surface)!important;color:var(--lt41-text)!important;border-color:var(--lt41-border)!important}
html[data-letrou-theme=dark] body :is(.letrou-study-hero-pills-v1350 span,.letrou-harmony-chips-v1370 span,.letrou-study-editorial-meta-v1370,.letrou-harmony-hub-v1370,.letrou-study-related-v1350,.letrou-reading-card,.lt15-unified-field,.lt15-unified-upload,.lt15-tool .letrou-transcriber){background-color:var(--lt41-surface)!important;color:var(--lt41-text)!important;border-color:var(--lt41-border)!important}

html body .letrou-stage-text{font-weight:var(--lt43-lyric-weight,400)!important}
@media(max-width:800px){
 body.lt15-home .lt15-study-methods>a{display:grid!important;grid-template-columns:minmax(116px,44%) minmax(0,1fr);align-items:center!important;gap:12px!important;padding:9px!important;height:76px;min-height:76px;box-sizing:border-box}
 body.lt15-home .lt15-study-methods .lt15-resource-thumb{width:100%;height:56px;min-width:0}
 body.lt15-home .lt15-study-methods>a>span:last-child{min-width:0;width:100%;align-self:center;text-align:center}
 body.lt15-home .lt15-study-methods strong,body.lt15-home .lt15-study-methods small{display:block;max-width:none;width:100%;white-space:normal;margin:0;overflow-wrap:anywhere;line-height:1.35}
 body.lt15-home .lt15-study-methods strong{font-size:clamp(11px,3.6vw,13px)}
 body.lt15-home .lt15-study-methods small{font-size:clamp(10px,3.2vw,11.5px);margin-top:4px}
}

/* Preserve each verse, cue and empty source line as a separate stage block. */
html body #letrou-stage .letrou-stage-line{display:block!important;white-space:pre-wrap!important;overflow-wrap:anywhere;min-height:1.82em!important}
html body #letrou-stage .letrou-stage-line.is-blank{height:1.05em!important;min-height:1.05em!important;padding:0!important;margin-block:0!important}
html body #letrou-stage .letrou-stage-line.is-section{margin-top:1em!important;margin-bottom:.35em!important}

/* An explicit edge keeps thumbnails with white areas visibly uniform. */
body.lt15-home .lt15-study-methods .lt15-resource-thumb{box-sizing:border-box;border:1px solid #c4d3e5;box-shadow:none}
html[data-letrou-theme=dark] body.lt15-home .lt15-study-methods .lt15-resource-thumb{border-color:#536d8d}

/* Compact mobile actions: size controls, then two actions in each row. */
@media(max-width:720px){
 html body.letrou-app-body .letrou-lyrics-toolbar-v170{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:8px!important;align-items:stretch!important}
 html body.letrou-app-body .letrou-lyrics-toolbar-v170 .letrou-toolbar-left-v170{display:contents!important}
 html body.letrou-app-body .letrou-lyrics-toolbar-v170 .letrou-toolbar-label-v170{align-self:center;min-width:0;text-align:left;margin:0!important}
 html body.letrou-app-body .letrou-lyrics-toolbar-v170 .letrou-segmented-v170{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%!important;min-width:0;height:38px;box-sizing:border-box}
 html body.letrou-app-body .letrou-lyrics-toolbar-v170 .letrou-segmented-v170 button{width:100%!important;height:36px!important;min-width:0;margin:0!important;padding:0!important}
 html body.letrou-app-body .letrou-lyrics-toolbar-v170 :is(.letrou-toolbar-button-v170,.letrou-stage-launch-v170){display:flex!important;align-items:center;justify-content:center;gap:5px!important;width:100%!important;min-width:0;height:42px!important;min-height:42px!important;margin:0!important;padding:6px!important;font-size:12px!important;line-height:1.2!important;white-space:normal!important;text-align:center;box-sizing:border-box}
 html body.letrou-app-body .letrou-lyrics-toolbar-v170 :is(.letrou-toolbar-button-v170,.letrou-stage-launch-v170) svg{width:15px;height:15px;flex:none}
}
