/* Shared install/favorites UI; scripture retains the reader typography. */
.kjv-app-bar { box-sizing: border-box; max-width: 750px; margin: 8px auto; padding: 8px 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font: 16px/1.5 Arial,sans-serif; }
.kjv-app-bar a, .kjv-app-bar a:visited { color: #174b78; margin: 0; text-decoration: underline; }
.kjv-app-bar button, .kjv-install-panel button, .favorite-remove { min-height: 44px; padding: 8px 12px; color: #161616; background: #fff; border: 1px solid #777; border-radius: 6px; font: 16px/1.5 Arial,sans-serif; cursor: pointer; }
.kjv-app-bar [hidden], .favorite-star[hidden], .kjv-install-panel[hidden] { display: none !important; }
.kjv-app-status { max-width: 700px; margin: 8px auto; padding: 0 15px; font: 16px/1.5 Arial,sans-serif; color: #333; }
.kjv-app-status:empty { display: none; }
.chapter-title-row { display: flex; justify-content: center; align-items: center; gap: 10px; }
.chapter-title-row h1 { margin: 12px 0; overflow-wrap: anywhere; }
.favorite-star { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; padding: 0; margin-right: 4px; vertical-align: middle; border: 1px solid #b5a06b; border-radius: 6px; background: #fffdf5; color: #725000; font: 30px/1 Arial,sans-serif; cursor: pointer; }
.favorite-star[aria-pressed="true"] { background: #fff0b3; color: #664600; border-color: #806000; }
.favorite-star:focus-visible, .kjv-app-bar :focus-visible, .favorites-page :focus-visible, .kjv-install-panel :focus-visible { outline: 3px solid #0066cc; outline-offset: 3px; }
#chapter-verses .verse { scroll-margin-top: var(--kjv-anchor-offset, 220px); }
#chapter-verses .verse:target { background: #fff6d6; outline: 2px solid #d1b868; border-radius: 5px; }
.kjv-install-panel { box-sizing: border-box; max-width: 700px; margin: 10px auto; padding: 14px; border: 1px solid #aaa; border-radius: 8px; background: #fffdf5; color: #161616; font: 16px/1.6 Arial,sans-serif; }
.kjv-install-panel p { margin: 0 0 12px; }
.favorites-page { max-width: 700px; margin: auto; padding: 16px; color: #161616; }
.favorites-page h1 { margin-top: 12px; }
.favorites-intro { font: 16px/1.6 Arial,sans-serif; }
.favorite-list { list-style: none; padding: 0; }
.favorite-list li { border: 1px solid #ddd; border-radius: 8px; margin: 12px 0; padding: 12px; }
.favorite-list a { color: #174b78; font-size: 21px; font-weight: bold; }
.favorite-list p { font: 18px/1.7 Georgia,serif; margin: 8px 0; overflow-wrap: anywhere; }
.favorite-remove { margin-top: 6px; }
.kjv-simple-body { font: 19px/1.75 Georgia,serif; margin: 0; background: #f9f9f9; }
.kjv-simple-header { background: #222; padding: 14px 16px; }
.kjv-simple-header a { color: white; font: bold 24px/1.5 Georgia,serif; text-decoration: none; }
@media print { .kjv-app-bar, .kjv-app-status, .favorite-star, .kjv-install-panel, .favorite-remove { display: none !important; } }

/* Primary install action: matches the site's blue action buttons. */
.kjv-app-bar .kjv-install { display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; box-sizing: border-box; background: #0066cc; color: #fff; border-color: #0066cc; font-weight: 700; }
.kjv-app-bar .kjv-install:hover { background: #004f99; color: #fff; border-color: #004f99; }
.kjv-app-bar .kjv-install:active { background: #003f7a; border-color: #003f7a; }
.kjv-install-icon { display: block; flex: 0 0 24px; }
