/* LETROU v1.38.84: page-only spacing, search ergonomics, readable controls.
   Does not hide or change third-party ad creative; keeps ad-slot intrinsic sizing. */

/* The original toolbar is now the footer of the lyric reading panel. */
html body.letrou-page-song .letrou-lyrics-toolbar-v170{
  margin:0!important;min-height:0!important;padding:12px 16px!important;
  border-top:1px solid var(--lt41-border,#dae4f0)!important;
  border-bottom:0!important;gap:10px!important;
}
body.letrou-page-song .letrou-lyrics-reading-v170{
  padding-top:24px!important;padding-bottom:24px!important;
}
body.letrou-page-song .letrou-lyrics-heading-v170{margin-bottom:16px!important;padding-bottom:12px!important}
body.letrou-page-song .letrou-song-reading-section-v170{padding-top:14px!important;padding-bottom:28px!important}
body.letrou-page-song .letrou-song-hero-v170{padding-bottom:14px!important}
body.letrou-page-song .letrou-song-actions-top-v170{margin-top:12px!important}
body.letrou-page-song .letrou-song-extra-grid-v170{margin-top:16px!important;gap:12px!important}
body.letrou-page-song .letrou-related-v170{padding-top:22px!important;padding-bottom:26px!important}
body.letrou-page-song .letrou-song-bottom-actions-v170{padding:12px 14px!important;gap:9px!important}
body.letrou-page-song .lt-song-feedback{margin-top:14px}
body.letrou-page-song .letrou-lyrics-toolbar-v170 :is(button,[role="button"]):focus-visible{outline:3px solid #83baff;outline-offset:2px}

/* Strong, recognizable affirmative and corrective votes in both themes. */
html body.letrou-page-song .lt-song-feedback-actions button[data-song-vote="yes"]{
  background:#e5f7ec!important;border:2px solid #29835a!important;color:#145c3b!important;
  box-shadow:0 2px 5px #153e2514!important
}
html body.letrou-page-song .lt-song-feedback-actions button[data-song-vote="no"]{
  background:#fff0ed!important;border:2px solid #b84b39!important;color:#8c2e20!important;
  box-shadow:0 2px 5px #651d1914!important
}
html body.letrou-page-song .lt-song-feedback-actions button[data-song-vote]:is(:hover,:focus-visible){filter:brightness(.96);box-shadow:0 4px 14px #10294527!important}
html body.letrou-page-song .lt-song-feedback-actions button[data-song-vote="yes"][aria-pressed="true"]{
  background:#155f3c!important;color:#fff!important;border-color:#155f3c!important
}
html body.letrou-page-song .lt-song-feedback-actions button[data-song-vote="no"][aria-pressed="true"]{
  background:#8e3426!important;color:#fff!important;border-color:#8e3426!important
}
html[data-letrou-theme="dark"] body.letrou-page-song .lt-song-feedback-actions button[data-song-vote="yes"]{
  background:#173e31!important;color:#d7ffe8!important;border-color:#65c896!important
}
html[data-letrou-theme="dark"] body.letrou-page-song .lt-song-feedback-actions button[data-song-vote="no"]{
  background:#462825!important;color:#ffe3dc!important;border-color:#ec9681!important
}
html[data-letrou-theme="dark"] body.letrou-page-song .lt-song-feedback-actions button[data-song-vote="yes"][aria-pressed="true"]{background:#246e4e!important;color:#fff!important}
html[data-letrou-theme="dark"] body.letrou-page-song .lt-song-feedback-actions button[data-song-vote="no"][aria-pressed="true"]{background:#8a382c!important;color:#fff!important}

/* Explicit override for the partial-review warning in dark mode. */
html[data-letrou-theme="dark"] body.letrou-page-song .lt-partial-review-v13870{
  background:#192e48!important;color:#f2f6ff!important;border:1px solid #47617d!important;
  border-inline-start:4px solid #f4c464!important
}
html[data-letrou-theme="dark"] body.letrou-page-song .lt-partial-review-v13870 p{
  color:#f2f6ff!important;opacity:1!important
}
html[data-letrou-theme="dark"] body.letrou-page-song .lt-partial-review-v13870 button{
  background:#2468b7!important;color:#fff!important;border:1px solid #84b5f0!important;font-weight:750!important
}
html[data-letrou-theme="dark"] body.letrou-page-song .lt-partial-review-v13870 button:hover{background:#357dd1!important}

/* Configured, inert ad below progress: no empty placeholder until transcription work begins. */
html body .lt84-progress-ad[hidden]{display:none!important}
html body .lt84-progress-ad{min-width:0;max-width:100%;margin:12px auto}
html body .lt84-progress-ad>.lt41-ad{margin:0 auto!important;padding:0!important}
html body .letrou-engine [data-progress-card]{scroll-margin-top:96px}

/* Search results: prioritize the matching songs, not a tall advertising gap. */
html body.letrou-search-results .letrou-page-hero,
html body.lt15-internal.letrou-search-results .letrou-page-hero{
  min-height:0!important;padding:18px 0 12px!important;margin:0!important
}
html body.letrou-search-results .letrou-page-hero h1{margin:4px 0 4px!important}
html body.letrou-search-results .letrou-page-hero p{margin:6px auto!important}
html body.letrou-search-results .lt15-catalog-search{margin-top:10px!important}
html body.letrou-search-results main.letrou-main>.letrou-section{
  margin-top:0!important;padding-top:12px!important;padding-bottom:22px!important
}
html body.letrou-search-results .letrou-section-title-v140{margin-bottom:12px!important}

/* Reduce surplus padding around ad slots, not their actual creative or minimum reservation. */
html body .lt41-ad:not(.lt41-rail .lt41-ad){
  margin-block:10px!important;padding-block:0!important;
}
html body :is(.lt15-content,.letrou-main,.lt41-song-main,[data-lt42-content])>.lt41-ad{
  max-width:100%!important;min-width:0!important
}
html body .lt41-ad-content{box-sizing:border-box;max-width:100%!important;min-width:0!important}
html body .lt41-ad-content>ins.adsbygoogle{max-width:100%!important}
html body.lt15-home .lt15-content{row-gap:16px!important}
html body.lt15-home .lt15-section-head{margin-bottom:11px!important}
html body.lt15-home .lt15-content>.lt15-section{min-width:0}
html body .letrou-home-section{margin-block:12px!important}
html body .letrou-home-section>.letrou-container{padding-block:12px!important}

/* Compact after-lyric cards on handheld screens; preserve all buttons and forms. */
@media(max-width:720px){
  html body.letrou-page-song .letrou-lyrics-reading-v170{padding:18px 14px!important}
  html body.letrou-page-song .letrou-lyrics-toolbar-v170{padding:10px!important}
  html body.letrou-page-song .letrou-song-reading-section-v170{padding:10px 0 20px!important}
  html body.letrou-page-song .letrou-song-extra-grid-v170{grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:10px!important;margin-top:12px!important}
  html body.letrou-page-song .letrou-song-extra-card-v170{
    min-height:0!important;height:auto!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:14px 15px!important;
    gap:8px!important;align-items:start!important
  }
  html body.letrou-page-song .letrou-song-extra-card-v170>span{width:36px!important;height:36px!important}
  html body.letrou-page-song .letrou-song-extra-card-v170 h3{font-size:18px!important;margin:0 0 2px!important}
  html body.letrou-page-song .letrou-song-extra-card-v170 p{font-size:12px!important;line-height:1.4!important}
  html body.letrou-page-song .letrou-song-extra-card-v170 :is(button,a){
    margin-top:8px!important;min-height:40px!important;padding:8px 12px!important
  }
  html body.letrou-page-song .letrou-related-v170{padding:16px 0 22px!important}
  html body.letrou-page-song .lt-song-feedback{padding:15px!important;margin-top:12px!important}
  html body.letrou-page-song .lt-song-feedback-actions{gap:8px;margin-top:10px}
  html body.letrou-page-song .lt-song-feedback-actions button{min-height:44px;padding:10px}
  html body .lt41-ad:not(.lt41-rail .lt41-ad){width:100%!important;margin-block:8px!important}
  html body :is(.lt41-ad,.lt41-ad-content){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
  /* Slot-owned creative may be wider than a tiny phone; it must not widen the viewport. */
  html body .lt41-ad-content{overflow:clip}
  html body .lt41-ad-content>ins.adsbygoogle{max-width:100%!important}
  html body.lt15-home .lt15-content{row-gap:13px!important}
  html body.letrou-search-results .letrou-page-hero{padding:12px 0 8px!important}
}
@media print{.lt84-progress-ad{display:none!important}}
