:root{--public-update-height:0px}
body.has-public-update{padding-top:var(--public-update-height)}
.public-update{position:fixed;inset:0 0 auto;z-index:80;display:flex;align-items:center;justify-content:center;gap:24px;padding:12px max(20px,env(safe-area-inset-right)) 12px max(20px,env(safe-area-inset-left));padding-top:max(12px,env(safe-area-inset-top));background:#edf2e5;color:#263d2c;border-bottom:2px solid #607653;box-shadow:0 2px 8px #30383018;font:14px/1.45 Arial,Helvetica,sans-serif}
.public-update-copy{min-width:0;max-width:1050px}.public-update strong{display:block;font-size:15px}.public-update p{margin:2px 0 0;overflow-wrap:anywhere}
.public-update button{flex-shrink:0;min-height:44px;padding:10px 22px;border:1px solid #31523c;border-radius:5px;background:#31523c;color:#fff;font-weight:600;white-space:nowrap}
.public-update button:hover{background:#243f2d}.public-update button:disabled{opacity:.7;cursor:wait}
body.has-public-update.split .results-panel{top:var(--public-update-height);max-height:calc(100dvh - var(--public-update-height))}
body.has-public-update.bhajan-focus #reading-rail{top:var(--public-update-height)}
body.has-public-update #pinned-chorus{top:calc(var(--chorus-top,64px) + var(--public-update-height))}
html:has(.has-public-update){scroll-padding-top:calc(140px + var(--public-update-height))}
html:has(.has-public-update.bhajan-focus){scroll-padding-top:calc(76px + var(--public-update-height))}
@media(max-width:600px){.public-update{gap:8px 14px;justify-content:space-between;padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}.public-update-copy{flex:1 1 220px}.public-update button{padding:10px 16px}}
@media(max-width:380px){.public-update{flex-wrap:wrap}.public-update button{width:100%}}
@media(max-width:430px){html:has(.has-public-update.bhajan-focus){scroll-padding-top:calc(120px + var(--public-update-height))}}
@media screen and (orientation:landscape) and (max-height:600px) and (pointer:coarse){
 body.has-public-update.bhajan-focus #reading-rail{top:var(--public-update-height)}
 body.has-public-update.bhajan-focus #reading-options{top:calc(8px + var(--public-update-height));max-height:calc(100dvh - var(--public-update-height) - var(--audio-dock-height,0px) - 16px)}
 html:has(.has-public-update.bhajan-focus){scroll-padding-top:calc(16px + var(--public-update-height))}
}
@media print{.public-update{display:none!important}body.has-public-update{padding-top:0}}
