/* eFireTemple 8.3 — compact institutional masthead; independent of reader themes. */
.eft83-bar,.eft83-bar *{box-sizing:border-box}
.eft83-bar{--eft83-paper:#faf4e9;--eft83-ink:#302318;--eft83-bronze:#865523;--eft83-line:#dfd0b9;position:relative;z-index:65;display:block;float:none;width:100%;max-width:none;min-height:48px;margin:0;padding:0;border:0;border-bottom:1px solid var(--eft83-line);background:var(--eft83-paper);color:var(--eft83-ink);font:14px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:left;letter-spacing:normal;text-transform:none;color-scheme:light}
.eft83-inner{max-width:1440px;min-height:48px;display:flex;align-items:center;gap:16px;margin:0 auto;padding:3px 20px;position:relative}
.eft83-bar a,.eft83-bar summary{color:var(--eft83-ink)!important;text-decoration:none!important;letter-spacing:normal;text-transform:none;font-family:inherit;cursor:pointer}
.eft83-bar a:focus-visible,.eft83-bar summary:focus-visible{outline:3px solid #a16c32;outline-offset:2px;border-radius:4px}
.eft83-brand{display:flex!important;align-items:center;gap:8px;min-width:0;min-height:44px;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
.eft83-brand img{display:block;width:32px;height:32px;max-width:none;margin:0;border:0;border-radius:0;object-fit:contain}
.eft83-brand span{display:flex;flex-direction:column;gap:2px;min-width:0}.eft83-brand strong{font:650 18px/1.1 Georgia,serif;white-space:nowrap;color:#302318}.eft83-brand small{font:600 9px/1.1 system-ui,sans-serif;color:#865523;white-space:nowrap}
.eft83-context{border-left:1px solid var(--eft83-line);padding-left:16px;color:#695747;font-size:12px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.eft83-library{font-size:12px;font-weight:600;min-height:44px;display:flex;align-items:center;white-space:nowrap}
.eft83-disclosure{margin:0 0 0 auto!important;border:0!important;padding:0!important;background:none!important;position:static!important;flex:none;width:auto!important;box-shadow:none!important}
.eft83-disclosure>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 12px;border:1px solid #d8c6a8;border-radius:7px;background:#fffaf2;font:650 13px/1.2 system-ui,sans-serif;white-space:nowrap}.eft83-disclosure>summary::-webkit-details-marker{display:none}.eft83-disclosure[open]>summary{background:#eee2cf}
.eft83-menu{display:none;position:absolute;top:100%;right:12px;width:min(620px,calc(100vw - 24px));max-height:70vh;max-height:70dvh;overflow:auto;overscroll-behavior:contain;padding:16px;background:#fffaf2;border:1px solid var(--eft83-line);border-radius:0 0 12px 12px;box-shadow:0 18px 45px #30231838;color:#302318;text-align:left}
.eft83-disclosure[open]>.eft83-menu{display:block}.eft83-menu-title{font:650 21px/1.2 Georgia,serif;margin-bottom:12px}.eft83-section-label{font:700 10px/1.3 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.8px;color:#865523;margin:14px 0 6px}.eft83-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.eft83-grid a{display:flex!important;align-items:center;min-height:44px;padding:8px 10px!important;margin:0!important;border:1px solid #dfd0b9!important;border-radius:6px;background:#faf4e9!important;font:600 12px/1.3 system-ui,sans-serif!important;overflow-wrap:anywhere}.eft83-grid a:hover{background:#eee2cf!important}.eft83-quick{margin-top:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
/* Full Bible and Avesta use flow masthead, so original sticky bars retain their offsets. */
body:has(>.eft83-flow)>.reader-progress{position:sticky;top:68px;margin-top:-2px}
body:has(>.eft83-flow)>.read-progress{position:sticky;top:66px;margin-top:-2px}
/* Fixed literary reader adapter: preserve all existing controls and progress. */
body.reader-body:has(>.eft83-fixed-reader){--eft83-fixed:51px}
.eft83-fixed-reader{position:fixed;top:0;left:0;right:0;height:51px;min-height:0;z-index:60}
body.reader-body:has(>.eft83-fixed-reader)>.reader-top{top:var(--eft83-fixed)}
body.reader-body:has(>.eft83-fixed-reader)>.progress{top:calc(69px + var(--eft83-fixed))}
body.reader-body:has(>.eft83-fixed-reader) .reader-main{padding-top:calc(95px + var(--eft83-fixed))}
body.focus>.eft83-bar,body.focus-mode>.eft83-bar{display:none!important}
body.reader-body.focus:has(>.eft83-fixed-reader){--eft83-fixed:0px}
body.reader-body.focus:has(>.eft83-fixed-reader) .reader-main{padding-top:25px}
@media(max-width:760px){body.reader-body:has(>.eft83-fixed-reader)>.progress{top:calc(63px + var(--eft83-fixed))}body.reader-body:has(>.eft83-fixed-reader) .reader-main{padding-top:calc(82px + var(--eft83-fixed))}}
@media(max-width:700px){.eft83-inner{gap:6px;padding:3px 10px}.eft83-context,.eft83-library{display:none}.eft83-brand strong{font-size:17px}.eft83-disclosure>summary{padding-inline:10px}.eft83-menu{right:6px;width:calc(100vw - 12px);padding:12px}.eft83-grid a{font-size:12px!important}}
@media(max-width:350px){.eft83-inner{padding-inline:7px}.eft83-brand img{width:28px;height:28px}.eft83-brand small{font-size:8px}.eft83-brand strong{font-size:16px}}
@media print{.eft83-bar{display:none!important}body.reader-body:has(>.eft83-fixed-reader) .reader-main{padding-top:25px}}
.eft83-flow{z-index:1}.eft83-bar:has(.eft83-disclosure[open]){z-index:1500}
@media(max-width:760px){body.reader-body.focus:has(>.eft83-fixed-reader) .reader-main{padding-top:25px}}

/* Home Run 8.4 — scoped institutional footer and breadcrumb. Existing footers remain intact. */
.eft84-footer,.eft84-crumb,.eft84-footer *,.eft84-crumb *{box-sizing:border-box}
.eft84-top{display:block!important;height:0!important;width:0!important;overflow:hidden!important;position:static!important;margin:0!important;padding:0!important}
.eft84-footer{display:block;position:relative;clear:both;width:100%;max-width:none;margin:36px 0 0;padding:0;background:#302318!important;color:#f8efde!important;border-top:3px solid #b99a59;font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;text-align:left;isolation:isolate}
.eft84-inner{max-width:1280px;margin:0 auto;padding:38px 28px 25px;display:grid;grid-template-columns:minmax(180px,1.25fr) repeat(3,minmax(0,1fr));gap:28px;align-items:start}
.eft84-footer a{color:#f8efde!important;text-decoration:none!important;background:none!important;font:inherit!important;border:0!important;overflow-wrap:anywhere;display:inline-flex;align-items:center;min-height:32px;padding:3px 0!important;margin:0!important;box-shadow:none!important}
.eft84-footer a:hover{text-decoration:underline!important;color:#f1ca88!important}.eft84-footer a:focus-visible,.eft84-crumb a:focus-visible{outline:3px solid #b99a59;outline-offset:3px}
.eft84-footer .eft84-name{font:600 29px/1.2 Georgia,serif!important;color:#f5dfb6!important}.eft84-sub{display:block;font-size:12px;color:#e3bc7d;margin:4px 0 12px}.eft84-identity p{margin:0;color:#d9c9b5;font-size:12px;line-height:1.5}
.eft84-col h2{font:650 11px/1.5 system-ui,sans-serif!important;color:#e3bc7d!important;text-transform:uppercase;letter-spacing:1px;margin:0 0 9px!important;padding:0!important;border:0!important}.eft84-col ul{list-style:none;margin:0!important;padding:0!important;display:block}.eft84-col li{margin:0!important;padding:0!important;list-style:none!important;line-height:1.4}.eft84-col li::before{content:none!important}
.eft84-end{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #65503d;max-width:1224px;margin:0 auto;padding:12px 28px 18px;color:#d9c9b5;font-size:12px}.eft84-end a{white-space:nowrap}
.eft84-crumb{position:relative;display:block!important;background:#f4ead9!important;color:#695747!important;width:100%;max-width:none!important;padding:0!important;margin:0!important;border:0!important;font:12px/1.45 system-ui,sans-serif!important;text-align:left;z-index:auto!important;overflow:visible!important}
.eft84-crumb ol{max-width:1280px;margin:0 auto!important;padding:7px 28px!important;display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px;list-style:none!important}.eft84-crumb li{display:flex;align-items:center;gap:8px;margin:0!important;padding:0!important;min-width:0;overflow-wrap:anywhere;list-style:none!important}.eft84-crumb li+li::before{content:'›';color:#94622e}.eft84-crumb a{color:#78532f!important;text-decoration:underline;text-underline-offset:2px;font:inherit!important;padding:3px 0!important;min-height:24px;display:inline-flex;align-items:center;background:none!important}.eft84-crumb [aria-current]{font-weight:600;color:#302318}
.eft84-compact{margin:28px 0 0;border-radius:8px;overflow:hidden}.eft84-compact .eft84-inner{grid-template-columns:1fr 1fr;padding:20px;gap:18px}.eft84-compact .eft84-name{font-size:22px!important}.eft84-compact .eft84-end{padding:10px 20px}.focus .eft84-footer,.focus-mode .eft84-footer,.focus .eft84-crumb,.focus-mode .eft84-crumb{display:none!important}
@media(max-width:980px){.eft84-inner{grid-template-columns:repeat(2,minmax(0,1fr));padding:26px 18px 18px;gap:24px 18px}.eft84-end{padding:12px 18px 18px}.eft84-footer a{min-height:44px}.eft84-crumb ol{padding:5px 13px!important}.eft84-crumb a{min-height:32px}}
@media(max-width:380px){.eft84-inner{gap:20px 12px;padding-inline:12px}.eft84-footer .eft84-name{font-size:24px!important}.eft84-compact .eft84-inner{grid-template-columns:1fr}.eft84-end{padding-inline:12px}}
@media print{.eft84-footer,.eft84-crumb,.eft84-top{display:none!important}}
/* Complex legacy interfaces keep their original page controls above the flow header when needed. */
.eft84-complex #eft8-master{position:relative;z-index:49}.eft84-complex #eft8-master:has(.eft8-panel:not([hidden])){z-index:1100}
/* Keep the footer's last links clear of Home's existing floating audio control. */
body:has(#dieselFloatPlayer) .eft84-end{padding-right:340px;flex-wrap:wrap;justify-content:flex-start;gap:8px 24px}
@media(max-width:980px){body:has(#dieselFloatPlayer) .eft84-end{padding-right:145px;gap:4px 12px}}
