/*
Theme Name: Borg Reads Standalone
Theme URI: https://borgreads.com/
Author: Borg Reads
Description: Standalone Borg Reads theme replacing Shuttle Pro while preserving the Borg Reads visual system, WordPress menus, sticky navigation, search, and WooCommerce support.
Version: 6.80.91V
Text Domain: borgreads
License: GNU General Public License v2 or later
*/

:root{
  --borg-rustic:#0d1428;
  --borg-gold:#9A6A24;
  --borg-gold-hi:#D2A84A;
  --borg-bronze:#6F4A1E;
  --borg-edge:#3A250D;
  --borg-blue:#4A78A8;
  --borg-blue-hi:#8FB9E0;
  --borg-black:#080808;
  --borg-white:#fff;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:#333;font-family:Arial,Helvetica,sans-serif;line-height:1.6}
img{max-width:100%;height:auto}
a{color:var(--borg-blue);transition:color .2s ease}
a:hover,a:focus{color:var(--borg-blue-hi)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.borg-wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}

/* Header intentionally keeps the legacy IDs used by Borg Reads Enhancements. */
#header{background:#fff;position:relative;z-index:1000}
#header-core{min-height:128px;display:flex;align-items:center;gap:28px}
#logo{flex:0 0 auto;display:flex;align-items:center}
#logo img,.custom-logo{display:block;width:auto;height:auto;max-width:220px;max-height:110px}
.borg-text-logo{font-family:Georgia,serif;font-weight:700;font-size:24px;color:var(--borg-rustic);text-decoration:none}
#header-links{margin-left:auto;min-width:420px}
#header-links-inner{position:relative;min-height:60px;display:flex;align-items:center;justify-content:flex-end;overflow:visible}
#header-links-inner>ul.menu{display:none}
#header-search{position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:10003}
#header-search button{border:0;background:var(--borg-blue);color:#fff;width:42px;height:42px;border-radius:4px;cursor:pointer;font-size:18px}
#header-search button:hover{background:var(--borg-blue-hi)}
#borg-search-panel{display:none;position:absolute;right:0;top:48px;width:300px;padding:12px;background:#fff;border:1px solid #ddd;box-shadow:0 8px 22px rgba(0,0,0,.16)}
#borg-search-panel.open{display:block}
#borg-search-panel form{display:flex}
#borg-search-panel input[type=search]{min-width:0;flex:1;padding:9px;border:1px solid #bbb}
#borg-search-panel input[type=submit]{background:var(--borg-blue);color:#fff;border:0;padding:0 13px;cursor:pointer}

/* Fallback quick links if the enhancement plugin is ever unavailable. */
.borg-theme-quick{display:flex;align-items:center;gap:8px;margin-right:62px;font-weight:700;font-size:16px}
.borg-theme-quick a{text-decoration:none}
body.borg-enhancements-active .borg-theme-quick{display:none}

/* Front-page crest, used only when the plugin has not injected its own. */
.borg-theme-crest{width:min(1180px,calc(100% - 40px));margin:14px auto 34px;display:grid;grid-template-columns:minmax(150px,190px) minmax(500px,1fr) minmax(150px,190px);align-items:center;column-gap:34px;padding:18px 28px;background:var(--borg-rustic);border:3px solid var(--borg-gold);box-shadow:inset 0 0 0 1px var(--borg-gold-hi),0 3px 10px rgba(0,0,0,.22)}
body.borg-enhancements-active .borg-theme-crest{display:none}
.borg-theme-crest-center{display:flex;align-items:center;justify-content:center}
.borg-theme-crest-center img{display:block;width:100%;max-height:520px;object-fit:contain;filter:drop-shadow(0 7px 7px rgba(0,0,0,.25))}
.borg-theme-crest-menu{display:flex;flex-direction:column;gap:10px}
.borg-theme-crest-menu a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:7px 12px;border-radius:9px;color:var(--borg-gold-hi);text-decoration:none;text-align:center;font-family:Georgia,serif;font-size:12px;font-weight:700;text-transform:uppercase;background:linear-gradient(#12304a,#081c2c);border:2px solid var(--borg-gold);box-shadow:inset 0 0 0 1px rgba(210,168,74,.45),0 2px 5px rgba(0,0,0,.25)}
.borg-theme-crest-menu a:hover{color:#fff1c7}

/* Page-title band */
#intro{background:var(--borg-rustic);border-top:1px solid rgba(154,106,36,.4);border-bottom:1px solid rgba(154,106,36,.4)}
#intro-core{padding:22px 0}
#intro h1{margin:0;color:#fff;font-family:Georgia,serif;font-size:28px;font-weight:600}
#intro .breadcrumbs{font-size:13px;color:#c9c9c9;margin-top:4px}
#intro .breadcrumbs a{color:var(--borg-blue-hi);text-decoration:none}

/* Main content */
#content{min-height:420px}
#content-core{padding:38px 0 60px}
.entry-content:after{content:"";display:table;clear:both}
.entry-title{color:var(--borg-rustic)}
article.post,article.page{margin-bottom:35px}
.wp-block-button__link,.button,button,input[type=submit]{background:var(--borg-blue);color:#fff;border:1px solid var(--borg-blue);text-decoration:none}
.wp-block-button__link:hover,.button:hover,button:hover,input[type=submit]:hover{background:var(--borg-blue-hi);border-color:var(--borg-blue-hi);color:#fff}

/* Blog */
.borg-post-card{padding:0 0 30px;margin:0 0 30px;border-bottom:1px solid #e5e5e5}
.borg-post-card h2{margin:0 0 6px}
.borg-post-meta{font-size:13px;color:#777;margin-bottom:14px}

/* Sticky scrolling header */
#header-sticky{position:fixed;left:0;right:0;top:0;z-index:99999;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.16);transform:translateY(-110%);transition:transform .22s ease}
#header-sticky.borg-visible{transform:translateY(0)}
#header-sticky-core{min-height:58px;display:flex;align-items:center;gap:18px}
#header-sticky-logo img{display:block;max-width:115px;max-height:48px;width:auto;height:auto}
#header-sticky-links{margin-left:auto}
#header-sticky-links-inner>ul.menu{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0}
#header-sticky-links-inner>ul.menu>li>a{display:block;padding:18px 9px;color:var(--borg-blue);font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
#header-sticky-links-inner>ul.menu>li>a:hover{color:var(--borg-blue-hi)}
#header-sticky #header-search{display:none!important}

/* Footer */
#footer{background:var(--borg-rustic);color:#cfc8c1;border-top:3px solid var(--borg-gold)}
#footer-core{padding:30px 0;text-align:center}
#footer a{color:var(--borg-blue-hi)}
#sub-footer{background:#080e1b;color:#c7b994;text-align:center;font-size:13px;padding:12px 20px}

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb{margin-bottom:20px}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--borg-gold)}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--borg-blue);color:#fff}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover{background:var(--borg-blue-hi);color:#fff}

/* Mobile */
@media(max-width:900px){
  #header-core{min-height:105px}
  #header-links{min-width:340px}
  .borg-theme-crest{grid-template-columns:145px minmax(360px,1fr) 145px;column-gap:18px;padding:14px 16px}
  #header-sticky-links-inner>ul.menu>li>a{font-size:11px;padding-inline:6px}
}
@media(max-width:760px){
  .borg-wrap{width:min(100% - 24px,1180px)}
  #header-core{min-height:90px;align-items:center}
  #logo img,.custom-logo{max-width:150px;max-height:76px}
  #header-links{min-width:0;flex:1}
  .borg-theme-quick{font-size:13px;margin-right:50px}
  .borg-theme-crest{display:flex;flex-direction:column;gap:14px;width:calc(100% - 24px);padding:14px}
  .borg-theme-crest-center{order:1}.borg-theme-crest-menu{order:2;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  #header-sticky{display:none}
  #intro h1{font-size:23px}
}

/* V1.1 — homepage restoration */
#logo .borg-header-mark{display:block;width:150px;height:86px;object-fit:cover;object-position:center 53%;transform:scale(1.15)}
#logo .borg-header-mark-wrap{display:block;width:170px;height:86px;overflow:hidden}
body.home #content-core{padding-top:10px}
body.home .borg-home-library{padding:16px 0 58px;text-align:center}
.borg-home-kicker{margin:0 0 3px;color:var(--borg-gold);font-size:11px;font-weight:700;letter-spacing:5px;text-transform:uppercase}
.borg-home-title{margin:0 0 30px;color:var(--borg-gold);font-family:Georgia,"Times New Roman",serif;font-size:40px;letter-spacing:3px}
.borg-home-books{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.borg-home-book{position:relative;display:flex;min-height:480px;align-items:flex-end;justify-content:center;padding:30px 22px;text-decoration:none;background:var(--borg-rustic);border:7px solid var(--borg-gold);box-shadow:inset 0 0 0 2px var(--borg-edge),inset 0 0 0 4px var(--borg-gold-hi),0 0 0 2px var(--borg-edge),0 0 0 4px #C49A45,0 4px 8px rgba(0,0,0,.25);overflow:hidden}
.borg-home-book.has-cover{background-size:cover;background-position:center top}
.borg-home-book.has-cover:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(15,12,10,.92))}
.borg-home-book-copy{position:relative;z-index:2;text-shadow:0 2px 3px rgba(0,0,0,.8)}
.borg-home-book-name{display:block;color:#5d82c3;font-family:Georgia,serif;font-size:23px;font-weight:700;line-height:1.15}
.borg-home-book-no{display:block;margin-top:10px;color:#8fb9e0;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase}
.borg-home-book:hover .borg-home-book-name{color:var(--borg-blue-hi)}
#footer{margin-top:0}
@media(max-width:760px){
 #logo .borg-header-mark-wrap{width:130px;height:70px}
 #logo .borg-header-mark{width:120px;height:70px}
 .borg-home-books{grid-template-columns:1fr;gap:24px}
 .borg-home-book{min-height:440px}
 .borg-home-title{font-size:32px}
}

/* V1.2 — exact original Borg Reads header logo */
#logo .borg-header-mark-wrap{display:flex;width:180px;height:105px;overflow:visible;align-items:center;justify-content:flex-start}
#logo .borg-header-mark{display:block;width:auto;height:auto;max-width:170px;max-height:100px;object-fit:contain;object-position:center;transform:none}
@media(max-width:760px){
 #logo .borg-header-mark-wrap{width:145px;height:82px}
 #logo .borg-header-mark{max-width:140px;max-height:78px}
}

/* V1.3 — clean original-style Trilogy I book presentation */
.borg-home-books{gap:30px;align-items:start}
.borg-home-book-item{min-width:0}
.borg-home-book-heading{margin:0 0 13px;text-align:center}
.borg-home-book-heading a{
 color:#211b17!important;
 font-family:Georgia,"Times New Roman",serif;
 font-size:23px;
 font-weight:700;
 line-height:1.18;
 text-decoration:none!important;
}
.borg-home-book-heading a:hover,.borg-home-book-heading a:focus{color:#9A6A24!important}
.borg-home-book{
 display:block;
 min-height:0;
 aspect-ratio:0.69;
 padding:0;
 border:0;
 border-radius:0;
 background:#211b17 center top/cover no-repeat;
 box-shadow:none;
}
.borg-home-book.has-cover:after{display:none}
.borg-home-book-copy{display:none}
@media(max-width:760px){
 .borg-home-book-heading{margin-top:4px}
 .borg-home-book-heading a{font-size:21px}
}

/* V1.4 — restore original clean three-book presentation and use the real logo in sticky nav */
.borg-home-library{padding-top:10px}
.borg-home-books{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;align-items:start}
.borg-home-book-item{min-width:0}
.borg-home-book-heading{margin:0 0 12px;text-align:center}
.borg-home-book-heading a{color:#211b17!important;text-decoration:none!important}
.borg-home-book-heading a:hover,.borg-home-book-heading a:focus{color:#9A6A24!important}
.borg-home-book{
 display:block!important;
 width:100%!important;
 aspect-ratio:auto!important;
 min-height:0!important;
 padding:0!important;
 border:0!important;
 outline:0!important;
 box-shadow:none!important;
 background:none!important;
 overflow:visible!important;
}
.borg-home-book img{
 display:block!important;
 width:100%!important;
 height:auto!important;
 object-fit:contain!important;
 border:0!important;
 box-shadow:none!important;
}
#header-sticky-logo .borg-sticky-logo{
 display:block;
 width:auto;
 height:auto;
 max-width:112px;
 max-height:50px;
 object-fit:contain;
}
#header-sticky-logo .borg-text-logo{display:none!important}
@media(max-width:760px){
 .borg-home-books{grid-template-columns:1fr;gap:26px}
}

/* V1.5 — book artwork everywhere, clean white book-card backgrounds */
.borg-home-book,.borg-book-cover,.borg-book-card,.borg-trilogy-book{
 background:#fff!important;
 border:0!important;
 box-shadow:none!important;
}
.borg-home-book img,.borg-book-cover img,.borg-book-card img,.borg-trilogy-book img{
 display:block!important;
 width:100%!important;
 height:auto!important;
 object-fit:contain!important;
 background:#fff!important;
 border:0!important;
 box-shadow:none!important;
}
.borg-book-fallback{background:#fff!important}

/* V1.6 — robust sticky pop-down navigation */
#header-sticky{
 display:block!important;
 position:fixed!important;
 left:0!important;right:0!important;top:0!important;
 width:100%!important;
 z-index:2147483000!important;
 background:#fff!important;
 visibility:hidden;
 opacity:0;
 transform:translate3d(0,-110%,0)!important;
 transition:transform .22s ease,opacity .18s ease,visibility 0s linear .22s!important;
 pointer-events:none;
}
#header-sticky.borg-visible{
 visibility:visible!important;
 opacity:1!important;
 transform:translate3d(0,0,0)!important;
 transition:transform .22s ease,opacity .18s ease!important;
 pointer-events:auto;
}
#header-sticky-core{min-height:58px!important}
#header-sticky-logo{display:flex!important;align-items:center!important;flex:0 0 auto!important}
#header-sticky-logo .borg-sticky-logo{display:block!important;max-width:112px!important;max-height:50px!important;width:auto!important;height:auto!important}
#header-sticky-links{display:block!important;margin-left:auto!important}
#header-sticky-links-inner>ul.menu{display:flex!important;align-items:center!important;list-style:none!important;margin:0!important;padding:0!important}
@media(max-width:760px){
 #header-sticky{display:block!important}
 #header-sticky-links-inner>ul.menu{gap:0!important;overflow-x:auto!important}
 #header-sticky-links-inner>ul.menu>li>a{padding:18px 6px!important;font-size:10px!important}
 #header-sticky-logo .borg-sticky-logo{max-width:80px!important}
}

/* V1.9 — clean borderless crest/menu stage; no smoke or outer gold frame */
.borg-theme-crest,
.borg-crest-nav-stage{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.borg-theme-crest::before,
.borg-theme-crest::after,
.borg-crest-nav-stage::before,
.borg-crest-nav-stage::after{
  content:none!important;
  display:none!important;
  background:none!important;
  box-shadow:none!important;
  filter:none!important;
}

/* V2.0 — native Trilogy/book pages after retiring Borg Reads Enhancements */
.borg-library{padding:18px 0 48px;background:#fff}
.borg-book-kicker{text-align:center;text-transform:uppercase;letter-spacing:.16em;font-weight:700;color:#9A6A24;margin:8px 0}
.borg-library-title,.borg-book-page-title{text-align:center;color:#211b17;margin:4px 0 24px}
.borg-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px;align-items:start}
.borg-library-card{background:#fff;text-align:center}
.borg-library-cover{display:block;background:#fff;border:0;box-shadow:none;text-decoration:none}
.borg-library-cover img{display:block;width:100%;height:auto;background:#fff;border:0;box-shadow:none}
.borg-library-card h2{font-size:18px;margin:12px 0 4px}
.borg-library-card h2 a{color:#211b17;text-decoration:none}
.borg-library-card h2 a:hover{color:#9A6A24}
.borg-book-number{text-align:center;color:#6F4A1E;font-weight:700;letter-spacing:.08em}
.borg-book-layout{display:grid;grid-template-columns:minmax(250px,420px) minmax(0,1fr);gap:48px;align-items:start;margin:25px 0 34px}
.borg-book-cover-panel,.borg-book-cover-native{background:#fff}
.borg-book-cover-native img{display:block;width:100%;height:auto;background:#fff;border:0;box-shadow:none}
.borg-book-copy h2{color:#211b17;margin-top:0}
.borg-book-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:26px}
.borg-book-actions .borg-button{display:flex;align-items:center;justify-content:center;min-height:46px;padding:8px 16px;background:#4A78A8;color:#fff!important;border:0;border-radius:4px;text-decoration:none;font-weight:700;text-align:center}
.borg-book-actions .borg-button:hover{color:#9A6A24!important}
.borg-book-nav{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;padding:22px 0;border-top:1px solid #ddd}
.borg-book-nav>div:last-child{text-align:right}
.borg-book-nav a{color:#4A78A8;text-decoration:none;font-weight:700}
.borg-book-nav a:hover{color:#9A6A24}
@media(max-width:760px){
 .borg-library-grid{grid-template-columns:1fr}
 .borg-book-layout{grid-template-columns:1fr}
 .borg-book-actions{grid-template-columns:1fr}
}

/* V2.0.1 — front-page book number labels */
.borg-home-book-number{
  margin:2px 0 10px;
  color:#211b17;
  font-size:16px;
  font-weight:700;
  line-height:1.25;
}

/* V2.0.3 — restore native Site Links / Book Links hover dropdowns */
#header,#header-core,#header-links,#header-links-inner,.borg-theme-quick{overflow:visible!important}
.borg-theme-quick{display:flex;align-items:center;position:relative;z-index:10020}
.borg-quick-dropdown{position:relative;display:inline-block}
.borg-quick-trigger{display:block}
.borg-quick-menu{
  display:block!important;
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  position:absolute;
  top:100%;
  right:0;
  min-width:190px;
  padding:8px 0;
  background:#fff;
  border:1px solid rgba(33,27,23,.14);
  box-shadow:0 8px 20px rgba(0,0,0,.13);
  z-index:10030;
  transform:translateY(5px);
  transition:opacity .14s ease,transform .14s ease,visibility .14s;
}
.borg-site-dropdown .borg-quick-menu{left:0;right:auto}
.borg-quick-dropdown:hover>.borg-quick-menu,
.borg-quick-dropdown:focus-within>.borg-quick-menu{
  visibility:visible;opacity:1;pointer-events:auto;transform:translateY(0)
}
.borg-quick-menu>a,.borg-quick-subtrigger{
  display:block!important;
  padding:9px 14px!important;
  white-space:nowrap;
  color:#4A78A8!important;
  background:transparent!important;
  text-decoration:none!important;
  font-weight:700;
}
.borg-quick-menu>a:hover,.borg-quick-menu>a:focus,
.borg-quick-subtrigger:hover,.borg-quick-subtrigger:focus{color:#9A6A24!important;background:transparent!important}
.borg-quick-subdropdown{position:relative}
.borg-quick-subtrigger{display:flex!important;align-items:center;justify-content:space-between;gap:20px}
.borg-quick-submenu{
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  position:absolute;
  top:0;
  right:100%;
  min-width:245px;
  padding:8px 0;
  background:#fff;
  border:1px solid rgba(33,27,23,.14);
  box-shadow:0 8px 20px rgba(0,0,0,.13);
  z-index:10040;
  transition:opacity .14s ease,visibility .14s;
}
.borg-quick-subdropdown:hover>.borg-quick-submenu,
.borg-quick-subdropdown:focus-within>.borg-quick-submenu{visibility:visible;opacity:1;pointer-events:auto}
.borg-quick-submenu>a{display:block;padding:9px 14px;white-space:nowrap;color:#4A78A8!important;background:transparent!important;text-decoration:none!important;font-weight:700}
.borg-quick-submenu>a:hover,.borg-quick-submenu>a:focus{color:#9A6A24!important;background:transparent!important}

/* V2.1 — Trilogy II–V library and landing pages */
.borg-trilogies-grid{grid-template-columns:repeat(5,minmax(150px,1fr))}
.borg-trilogy-card{padding:28px 14px;border:1px solid #e4e0dc;border-radius:4px}
.borg-future-trilogy-panel{max-width:620px;margin:0 auto;text-align:center;padding:42px 28px;background:#fff}
.borg-future-trilogy-panel h2{color:#211b17}
.borg-future-trilogy-panel .borg-button{display:inline-flex;margin-top:18px;padding:11px 22px;background:#4A78A8;color:#fff!important;text-decoration:none;border-radius:4px;font-weight:700}
.borg-future-trilogy-panel .borg-button:hover{color:#9A6A24!important}
@media(max-width:900px){.borg-trilogies-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.borg-trilogies-grid{grid-template-columns:1fr}}

/* V2.1.1 — slightly tighter desktop header */
@media (min-width:761px){
  #header-core{min-height:108px!important;gap:22px!important}
  #logo .borg-header-mark-wrap{width:165px!important;height:90px!important}
  #logo .borg-header-mark{max-width:158px!important;max-height:88px!important}
  #header-links-inner{min-height:48px!important}
}

/* V2.1.2 — lower header height while preserving the current logo size */
@media (min-width:761px){
  #header-core{min-height:92px!important;gap:22px!important}
  #logo .borg-header-mark-wrap{width:165px!important;height:92px!important}
  #logo .borg-header-mark{max-width:158px!important;max-height:88px!important}
  #header-links-inner{min-height:42px!important}
}

/* V2.1.3 — one more small header tightening; logo size remains unchanged */
@media (min-width:761px){
  #header-core{min-height:82px!important}
  #logo .borg-header-mark-wrap{width:165px!important;height:82px!important}
  #logo .borg-header-mark{max-width:158px!important;max-height:88px!important}
  #header-links-inner{min-height:36px!important}
}

/* V2.1.4 — rebalance header whitespace: a little more above, less below */
@media (min-width:761px){
  #header-core{min-height:78px!important;padding-top:7px!important;padding-bottom:0!important;align-items:flex-start!important}
  #logo .borg-header-mark-wrap{width:165px!important;height:71px!important;align-items:flex-start!important}
  #logo .borg-header-mark{max-width:158px!important;max-height:88px!important}
  #header-links{align-self:flex-start!important;padding-top:7px!important}
  #header-links-inner{min-height:36px!important}
}

/* V2.1.5 — equal white breathing room above and below the unchanged logo */
@media (min-width:761px){
  #header-core{min-height:0!important;padding-top:7px!important;padding-bottom:7px!important;align-items:center!important}
  #logo .borg-header-mark-wrap{width:165px!important;height:88px!important;align-items:center!important}
  #logo .borg-header-mark{max-width:158px!important;max-height:88px!important}
  #header-links{align-self:center!important;padding-top:0!important}
  #header-links-inner{min-height:36px!important}
}

/* V2.1.6 — visually center the transparent logo artwork.
   The PNG itself has uneven transparent space, so equal CSS padding alone
   does not make the visible crest look centered. Keep size unchanged. */
@media (min-width:761px){
  #logo .borg-header-mark{transform:translateY(7px)!important}
}

/* V2.1.7 — tighten the now-balanced header while retaining safe white clearance */
@media (min-width:761px){
  #header-core{padding-top:3px!important;padding-bottom:3px!important}
  #logo .borg-header-mark-wrap{height:82px!important}
  #logo .borg-header-mark{transform:translateY(7px)!important}
}

/* V2.1.8 — lift desktop Site Links / Book Links slightly, retaining top white space */
@media (min-width:761px){
  #header-links{transform:translateY(-8px)!important}
}

/* V2.1.9 — lift desktop right-side header controls a little more */
@media (min-width:761px){
  #header-links{transform:translateY(-13px)!important}
}

/* V2.2.0 — global desktop header safety clearance.
   Keep the established logo size/position, but guarantee white space below
   the visible crest before every page's dark intro/hero begins. */
@media (min-width:761px){
  #header-core{padding-bottom:10px!important}
  #logo .borg-header-mark-wrap{height:86px!important;overflow:visible!important}
  #logo .borg-header-mark{transform:translateY(7px)!important}
}

/* V2.2.1 — refined crest-side navigation buttons */
@media (min-width:761px){
  .borg-theme-crest-menu{gap:8px!important}
  .borg-theme-crest-menu a{
    min-height:35px!important;
    padding:5px 10px!important;
    border-radius:8px!important;
    font-size:11px!important;
  }
}

/* V2.2.2 — crest-side menu buttons another 20% smaller */
@media (min-width:761px){
  .borg-theme-crest-menu{gap:6px!important}
  .borg-theme-crest-menu a{
    min-height:28px!important;
    padding:4px 8px!important;
    border-radius:7px!important;
    font-size:9px!important;
  }
}

/* V2.2.3 — narrower crest-side buttons with slightly larger text */
@media (min-width:761px){
  .borg-theme-crest-menu{
    width:78%!important;
    justify-self:center!important;
    gap:6px!important;
  }
  .borg-theme-crest-menu a{
    min-height:28px!important;
    padding:4px 7px!important;
    font-size:10.5px!important;
  }
}

/* V2.2.4 — make crest-side buttons shorter horizontally */
@media (min-width:761px){
  .borg-theme-crest-menu{
    width:64%!important;
    justify-self:center!important;
  }
  .borg-theme-crest-menu a{
    font-size:10.5px!important;
    padding:4px 6px!important;
  }
}

/* V2.3.0 — live WooCommerce purchase panel on native Borg Reads book pages. */
.borg-book-purchase{margin:24px 0 6px;padding:20px;border:1px solid #b58a45;border-radius:6px;background:#f8f5ef}
.borg-book-price-label{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#6f4a1e;font-weight:700}
.borg-book-price{font-size:27px;line-height:1.3;font-weight:700;color:#211b17;margin:4px 0 15px}
.borg-book-price del{font-size:17px;color:#666;margin-right:7px}.borg-book-price ins{text-decoration:none}
.borg-book-cart-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px}
.borg-book-cart-form .quantity input.qty{width:68px;min-height:46px;border:1px solid #9a6a24;border-radius:4px;padding:8px;background:#fff;color:#211b17}
.borg-book-purchase .borg-book-add-to-cart{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:10px 24px;border:0;border-radius:4px;background:#4a78a8;color:#fff!important;font-weight:700;text-decoration:none;cursor:pointer;font-size:15px;line-height:1.4}
.borg-book-purchase .borg-book-add-to-cart:hover{background:#365e87;color:#fff!important}
.borg-book-cart-link{display:inline-block;color:#4a78a8;text-decoration:underline;font-weight:700}
.borg-book-availability{font-weight:700;color:#6f4a1e}
.borg-book-purchase-pending p{margin:6px 0 0;font-size:14px}
@media(max-width:480px){.borg-book-cart-form .borg-book-add-to-cart{flex:1}}

/* V2.4 — cinematic homepage, preserving all V2.3 WooCommerce and internal-page styles */
body.home{background:#080d15;color:#f6e7c5}
body.home #header{background:linear-gradient(100deg,#0b0e16,#111a29 55%,#081421)!important;border-bottom:1px solid #ad7e32!important;position:relative;z-index:80}
body.home #header-core{width:min(1480px,calc(100% - 40px));max-width:none;min-height:78px!important;padding:5px 0!important;align-items:center!important}
body.home #logo{flex:0 0 auto!important}
body.home #logo .borg-header-mark-wrap{height:68px!important;display:flex;align-items:center;overflow:visible!important}
body.home #logo .borg-header-mark{max-height:69px!important;width:auto!important;transform:none!important;filter:drop-shadow(0 2px 5px #000)}
body.home #header-links{transform:none!important;margin-left:auto!important}
body.home #header-links-inner{display:flex;align-items:center;gap:18px}
body.home .borg-cinema-topnav{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:clamp(9px,1.6vw,28px)}
body.home .borg-cinema-topnav a{font:600 clamp(10px,1vw,14px) Georgia,serif;color:#f5dfb4!important;text-decoration:none!important;text-transform:uppercase;white-space:nowrap}
body.home .borg-cinema-topnav a:hover{color:#f4ad43!important}
body.home #borg-search-toggle{background:#101d31!important;color:#edc777!important;border:1px solid #bd8b38!important}
body.home #content{background:#080d15!important}
body.home #content-core{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.borg-cinema-home{width:100%;overflow:hidden;background:#080d15;color:#f7e4ba;font-family:Georgia,'Times New Roman',serif}
.borg-cinema-hero{position:relative;min-height:clamp(330px,35vw,540px);display:grid;grid-template-columns:1fr minmax(350px,58%) 1fr;align-items:center;isolation:isolate;background:linear-gradient(90deg,rgba(80,26,20,.24),rgba(0,0,0,.05) 50%,rgba(4,22,49,.36)),url('assets/borg-cinematic-sky.webp') center 42%/cover no-repeat}
.borg-cinema-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#0b111c 0%,transparent 38%,rgba(0,0,0,.1) 80%)}
.borg-cinema-emblem{display:flex;justify-content:center;align-items:center;position:relative;z-index:2;padding:12px 0}
.borg-cinema-emblem img{width:min(100%,880px);height:auto;max-height:510px;object-fit:contain;filter:drop-shadow(0 12px 19px rgba(0,0,0,.95)) drop-shadow(0 0 16px rgba(232,156,54,.22))}
.borg-cinema-world{display:flex;flex-direction:column;gap:9px;padding:0 6%;text-shadow:0 2px 8px #000}
.borg-cinema-world span{font-size:clamp(16px,2.2vw,34px);letter-spacing:3px;line-height:1.1}
.borg-cinema-world small{font-size:clamp(10px,.95vw,15px);line-height:1.45;letter-spacing:1.3px}
.borg-cinema-ancient{color:#ffdfad;align-self:start;padding-top:25%}
.borg-cinema-future{color:#f5e9d4;align-self:end;text-align:right;padding-bottom:24%}
.borg-cinema-books-section{position:relative;padding:10px max(20px,calc((100vw - 1400px)/2)) 38px;background:linear-gradient(180deg,rgba(7,12,21,.78),rgba(7,12,21,.55) 42%,rgba(7,12,21,.9)),url('assets/borg-cinematic-stage.webp') center center/cover no-repeat}
.borg-cinema-books-section:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,transparent 25%,rgba(0,0,0,.25) 90%)}
.borg-cinema-books-section>*{position:relative}
.borg-cinema-ornament{text-align:center;color:#d4a64d;letter-spacing:9px;font-size:16px}
.borg-cinema-books-section h1{font-size:clamp(20px,2.5vw,35px);text-align:center;letter-spacing:4px;font-weight:500;color:#f4d18d;margin:2px auto 25px;text-shadow:0 3px 9px #000}
.borg-cinema-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2.6vw,45px);align-items:end}
.borg-cinema-book-card{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center}
.borg-cinema-cover{height:clamp(215px,25vw,375px);display:flex;align-items:end;justify-content:center;max-width:100%;transition:transform .25s ease,filter .25s ease;filter:drop-shadow(0 12px 8px rgba(0,0,0,.85))}
.borg-cinema-cover:hover{transform:translateY(-7px) scale(1.025);filter:drop-shadow(0 15px 14px rgba(205,139,39,.45))}
.borg-cinema-cover img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.borg-cinema-cover span{border:2px solid #c59c50;padding:55px 12px;color:#edc98b;background:#15213a;font-size:24px}
.borg-cinema-book-info{width:100%;max-width:420px;min-height:175px;display:flex;flex-direction:column;align-items:center;padding:8px 10px 0;border-top:2px solid #b98a3d;background:linear-gradient(180deg,rgba(7,10,16,.9),rgba(7,10,16,.42));box-shadow:0 -6px 17px rgba(210,148,50,.18)}
.borg-cinema-book-no{font-size:15px;color:#f5d48f;letter-spacing:1.5px}
.borg-cinema-book-info h2{font-size:clamp(16px,1.7vw,25px);line-height:1.12;margin:5px 0}
.borg-cinema-book-info h2 a{color:#ffe4aa!important;text-decoration:none!important}
.borg-cinema-book-info h2 a:hover{color:#fff!important}
.borg-cinema-book-info p{font-size:clamp(9px,.95vw,13px);letter-spacing:1.1px;line-height:1.45;min-height:36px;margin:5px 0 12px;color:#e8d8bd}
.borg-cinema-explore{margin-top:auto;width:min(100%,270px);min-height:42px;display:flex;align-items:center;justify-content:center;gap:14px;border:1px solid #d4a34d;border-radius:6px;background:linear-gradient(#791522,#3a0712);color:#fff2cc!important;text-decoration:none!important;letter-spacing:1px;font-size:clamp(11px,1vw,15px);box-shadow:0 4px 12px #000}
.borg-cinema-book-card:nth-child(2) .borg-cinema-explore{background:linear-gradient(#16416a,#09203b)}
.borg-cinema-explore:hover{filter:brightness(1.28)}
.borg-cinema-features{max-width:1480px;margin:0 auto 24px;display:flex;justify-content:space-around;align-items:center;flex-wrap:wrap;gap:15px;padding:20px;border:2px solid #ae7e31;border-radius:13px;background:linear-gradient(130deg,#0b0c10,#111c29,#0b0c10);color:#e8d5af;font-size:clamp(10px,.9vw,14px);letter-spacing:1px;text-align:center}
.borg-cinema-features span{padding:8px}
.borg-cinema-extra-content{max-width:1180px;margin:25px auto;padding:24px;color:#e8d5af}
body.home #footer{background:#0b1019!important;color:#dec89e!important;border-top:1px solid #9b743a}
body.home #sub-footer{background:#06090f!important;color:#bba57c!important}
@media(max-width:1050px){body.home #header-core{flex-wrap:wrap;justify-content:center}body.home #header-links{margin:0!important}body.home .borg-cinema-topnav{justify-content:center}.borg-cinema-hero{grid-template-columns:1fr minmax(300px,66%) 1fr}}
@media(max-width:760px){body.home #header-core{width:calc(100% - 20px)!important;min-height:0!important}body.home #header-links-inner{flex-wrap:wrap;justify-content:center}body.home .borg-cinema-topnav{gap:10px}.borg-cinema-hero{min-height:280px;grid-template-columns:1fr}.borg-cinema-world{display:none}.borg-cinema-emblem img{max-height:320px;width:95%}.borg-cinema-books-section{padding:20px 16px 30px}.borg-cinema-book-grid{grid-template-columns:1fr;gap:35px}.borg-cinema-cover{height:340px}.borg-cinema-book-info{min-height:160px}.borg-cinema-books-section h1{letter-spacing:1.5px}.borg-cinema-features{margin:0 12px 22px}}
@media(prefers-reduced-motion:reduce){.borg-cinema-cover{transition:none}}

/* V2.5 — pixel-aligned cinematic concept on desktop; actual interactive WordPress header and book hotspots. */
body.home #header{background:#08101c!important;border-bottom:1px solid #d09b43!important}
body.home #header-core{width:100%!important;max-width:none!important;min-height:76px!important;height:auto!important;padding:4px clamp(12px,2.5vw,44px)!important;gap:clamp(12px,2vw,38px)!important}
body.home #header-links{min-width:0!important;flex:1}
body.home #header-links-inner{min-height:58px!important}
.borg-exact-brand{display:flex;align-items:center;gap:7px;text-decoration:none!important;white-space:nowrap}
.borg-exact-brand img{width:clamp(65px,8.5vw,130px)!important;max-height:68px!important;object-fit:contain}
.borg-exact-brand-words{display:flex;flex-direction:column;line-height:1.08;color:#f4d393}
.borg-exact-brand-words strong{font:normal clamp(20px,2.1vw,34px) Georgia,serif;letter-spacing:1px;color:#f8d899}
.borg-exact-brand-words small{font:normal clamp(8px,.75vw,12px) Georgia,serif;letter-spacing:.5px;color:#f4d393}
body.home .borg-cinema-topnav{width:100%;gap:clamp(10px,1.5vw,27px)!important;flex-wrap:nowrap!important;justify-content:flex-end!important}
body.home .borg-cinema-topnav>a,body.home .borg-cinema-topnav .borg-exact-navdrop>a{font:normal clamp(11px,.9vw,15px) Georgia,serif;color:#f8e8cb!important;text-decoration:none!important;white-space:nowrap}
body.home .borg-cinema-topnav a:hover{color:#ffc75d!important}
body.home .borg-cinema-topnav .borg-exact-active{color:#ffd27a!important;position:relative}
body.home .borg-cinema-topnav .borg-exact-active:after{content:'';position:absolute;bottom:-12px;left:-6px;right:-6px;height:2px;background:#ffcf61;box-shadow:0 0 10px #ffc557}
.borg-exact-navdrop{position:relative;padding:14px 0}
.borg-exact-dropdown{display:none;position:absolute;z-index:1000;top:100%;left:-14px;min-width:200px;padding:9px;background:#0a1423;border:1px solid #b7893b;box-shadow:0 10px 24px #000}
.borg-exact-navdrop:hover .borg-exact-dropdown,.borg-exact-navdrop:focus-within .borg-exact-dropdown{display:flex;flex-direction:column}
body.home .borg-exact-dropdown a{font:normal 13px Georgia,serif!important;color:#f8e8cb!important;padding:8px 10px;text-decoration:none!important}
body.home .borg-exact-dropdown a:hover{background:#243247}
.borg-exact-search{display:flex;align-items:center;flex:0 1 185px;min-width:110px;border:1px solid #bd8d3c;border-radius:7px;overflow:hidden;height:38px;background:#0a1019}
.borg-exact-search input{min-width:0;width:100%;background:transparent!important;border:0!important;box-shadow:none!important;padding:7px 9px!important;color:#f8e8cb!important;font:13px Georgia,serif}
.borg-exact-search button{background:transparent!important;border:0!important;color:#ffca59!important;font-size:23px;padding:0 10px;cursor:pointer}
body.home .borg-cinema-topnav .borg-exact-cart,body.home .borg-cinema-topnav .borg-exact-account{border:1px solid #bc8d3f;border-radius:6px;padding:9px 12px;color:#f9dfac!important}
.borg-exact-desktop{position:relative;width:100%;line-height:0;background:#091321}
.borg-exact-scene{display:block;width:100%;height:auto;max-width:none}
.borg-exact-hotspot{position:absolute;z-index:4;top:43%;height:43%;width:19%;border:1px solid transparent;border-radius:12px;transition:background .2s,border-color .2s}
.borg-exact-hotspot:hover,.borg-exact-hotspot:focus-visible{background:rgba(252,192,64,.10);border-color:#e6b24d;outline:0}
.borg-exact-book-1{left:17%}.borg-exact-book-2{left:40.5%}.borg-exact-book-3{left:64%}
body.home .borg-cinema-home{display:none}
body.home #content-core{padding-bottom:0!important}
@media(max-width:1270px){body.home .borg-exact-brand-words strong{font-size:20px}body.home .borg-cinema-topnav{gap:10px!important}body.home .borg-cinema-topnav .borg-exact-navdrop>a,body.home .borg-cinema-topnav>a{font-size:11px}.borg-exact-search{flex-basis:120px}}
@media(max-width:1020px){body.home #header-core{flex-wrap:wrap!important;justify-content:center!important;padding:8px 14px!important}body.home #header-links{margin:0!important;flex:0 0 100%}body.home .borg-cinema-topnav{justify-content:center!important;flex-wrap:wrap!important}}
@media(max-width:760px){.borg-exact-desktop{display:none}body.home .borg-cinema-home{display:block}body.home .borg-cinema-hero{background-image:url('assets/borgreads-exact-scene.webp');background-size:cover;background-position:center 15%}body.home .borg-cinema-books-section{background-image:url('assets/borgreads-exact-scene.webp');background-size:cover;background-position:center 75%}body.home .borg-cinema-topnav{gap:12px!important}body.home .borg-exact-search{flex:1 1 180px}body.home .borg-cinema-topnav .borg-exact-active:after{bottom:-4px}}

/* V2.5.1 — restore the futuristic-side headline shown in the approved concept. */
.borg-exact-frontier{position:absolute;z-index:3;right:1.5%;top:30%;width:13.8%;text-align:center;color:#fff7ed;font-family:Georgia,'Times New Roman',serif;line-height:1.12;text-shadow:0 2px 8px #061322,0 0 12px rgba(4,12,28,.75);pointer-events:none}
.borg-exact-frontier span{display:block;font-size:clamp(14px,1.9vw,31px);letter-spacing:.035em;font-weight:400}
.borg-exact-frontier small{display:block;margin-top:12px;font-size:clamp(8px,1.02vw,16px);letter-spacing:.055em;line-height:1.32;font-weight:400}
@media(max-width:1050px){.borg-exact-frontier{top:29%;right:1.1%;width:15%}.borg-exact-frontier span{font-size:clamp(12px,1.8vw,21px)}.borg-exact-frontier small{margin-top:6px;font-size:clamp(8px,.95vw,12px)}}
@media(max-width:760px){.borg-exact-frontier{display:none}}


/* Borgreads 2.7 — personal library / sign-in */
body.borg-account-page #content-core{max-width:1220px;margin:auto;padding:35px 22px 75px}
body.borg-account-page .woocommerce{color:#e9d6b5;font-family:Georgia,'Times New Roman',serif}
body.borg-account-page .woocommerce a{color:#e4bd79}
body.borg-account-page .woocommerce-MyAccount-navigation{float:none;width:auto;margin:0 0 25px}
body.borg-account-page .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
body.borg-account-page .woocommerce-MyAccount-navigation li{list-style:none;margin:0;padding:0}
body.borg-account-page .woocommerce-MyAccount-navigation a{display:block;padding:10px 14px;border:1px solid #937043;border-radius:5px;background:#2c231c;color:#e8d0a3!important;text-decoration:none}
body.borg-account-page .woocommerce-MyAccount-navigation .is-active a,body.borg-account-page .woocommerce-MyAccount-navigation a:hover{background:#b18b52;color:#19130f!important}
body.borg-account-page .woocommerce-MyAccount-content{float:none;width:100%;min-height:240px}
body.borg-account-page .woocommerce form.login,body.borg-account-page .woocommerce form.register{background:linear-gradient(130deg,#31251c,#17120f);border:1px solid #a67e49;border-radius:12px;max-width:570px;padding:28px;color:#ebd6af}
body.borg-account-page .woocommerce input.input-text{background:#f8f1e4;color:#211a14;border:1px solid #987a4e;border-radius:4px;padding:12px}
body.borg-account-page .woocommerce button.button{background:#b58d4d;color:#1c160f;padding:12px 22px}
body.borg-account-page .woocommerce button.button:hover{background:#e0bc7b}
.borg-my-library{background:linear-gradient(155deg,#30251d,#18120f);border:1px solid #8f6d3d;border-radius:14px;padding:clamp(20px,4vw,45px);box-shadow:0 12px 40px #0005;color:#e9d4ac}
.borg-library-eyebrow{font-size:11px;letter-spacing:2.4px;color:#c5a16a}
.borg-my-library h2{font:normal clamp(27px,4vw,46px) Georgia,serif;color:#eac68d;margin:12px 0}
.borg-library-lead{color:#d4bfa0;max-width:680px}
.borg-library-actions,.borg-purchased-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}
.borg-library-button{display:inline-block;padding:11px 17px;border:1px solid #d2a96b;border-radius:5px;background:#c49a5e;color:#21180e!important;text-decoration:none!important;font:600 13px Georgia,serif;text-align:center}
.borg-library-button:hover{background:#efd2a0;color:#21180e!important}
.borg-library-button-ghost{background:transparent;color:#e9c78f!important}
.borg-library-button-ghost:hover{color:#21180e!important}
.borg-purchased-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px;margin:28px 0}
.borg-purchased-book{display:flex;gap:20px;padding:18px;border:1px solid #705433;background:#2b221c;border-radius:9px}
.borg-purchased-cover{display:block;flex:0 0 112px;align-self:flex-start}
.borg-purchased-cover img{width:112px;height:160px;object-fit:contain;background:#1a1512}
.borg-purchased-info{min-width:0;flex:1}
.borg-owned-label{font:700 10px Georgia,serif;letter-spacing:1.4px;color:#b6d69d}
.borg-purchased-book h3{color:#f2d9a8;font:normal 22px Georgia,serif;margin:9px 0}
.borg-purchased-buttons{margin:14px 0 0}
.borg-purchased-buttons .borg-library-button{font-size:12px}
.borg-library-empty{padding:25px;border:1px dashed #8c704a;border-radius:8px;margin-top:25px}
.borg-library-empty h3{color:#e7c68c}
.borg-library-footnote,.borg-library-notice{font-size:12px;color:#bfa98a}
@media(max-width:620px){.borg-purchased-book{flex-direction:column}.borg-purchased-cover{flex:auto}.borg-purchased-cover img{width:125px;height:180px}}
/* No decorative down-pointing arrows on menu triggers, including account pages. */
.borg-quick-trigger:after,.borg-exact-navdrop>a:after,.borg-cinema-topnav .borg-exact-navdrop>a:after{content:none!important;display:none!important}

/* v2.8 reader: scoped to private account, leaves global navigation untouched */
.borg-reader{padding:20px 0 45px;color:#e7d1ae}.borg-reader h2{font:normal clamp(27px,4vw,42px) Georgia,serif;color:#f0ca8e}.borg-reader-back{color:#eac68d}.borg-reader-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}.borg-reader-controls input{width:90px;padding:10px;border:1px solid #b48d54;background:#fff;color:#1c1b1a}.borg-reader-frame{width:100%;height:min(80vh,950px);min-height:480px;background:#292929;border:2px solid #947044;border-radius:6px;overflow:hidden}.borg-reader-frame iframe{width:100%;height:100%;border:0;background:#fff}#borg-reader-status{color:#f2d6a4}
/* Suppress only generated down arrows, never menu panels or hover behavior. */
.menu-item-has-children>a::after,.page_item_has_children>a::after,.borg-quick-trigger::after,.borg-exact-navdrop>a::after{content:none!important;display:none!important}
/* v2.9 editable primary navigation: retain the existing gold type and dropdown styling. */
body.home .borg-primary-editable .borg-primary-menu{display:flex;align-items:center;gap:clamp(9px,1.6vw,28px);margin:0;padding:0;list-style:none;flex-wrap:wrap}
.borg-primary-menu,.borg-primary-menu ul{list-style:none;margin:0;padding:0}
.borg-primary-menu li{position:relative}
.borg-primary-menu a{display:block;text-decoration:none}
.borg-primary-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:190px;background:#18120c;border:1px solid #a77a37;z-index:9999;box-shadow:0 8px 24px #000a}
.borg-primary-menu .sub-menu .sub-menu{left:100%;top:0}
.borg-primary-menu li:hover>.sub-menu,.borg-primary-menu li:focus-within>.sub-menu{display:block}
.borg-primary-menu .sub-menu a{padding:10px 15px!important;color:#f8e8cb!important;white-space:nowrap}
.borg-primary-menu .sub-menu a:hover{background:#352312;color:#ffd27a!important}
.borg-primary-menu .menu-item-has-children>a:after{content:none!important;display:none!important}
@media(max-width:760px){body.home .borg-primary-editable .borg-primary-menu{justify-content:center;gap:12px}}
/* About and Contact pages inherit the theme's existing internal page styling. */

/* v3.0 shop pages */
.borg-shop-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:22px;margin:28px 0}.borg-shop-card{padding:22px;background:#141619;border:1px solid #a57a37;border-radius:8px;color:#f4dfbd}.borg-shop-card img{max-width:100%;height:auto}.borg-shop-button{display:inline-block;background:#39280f;border:1px solid #c9a35a;border-radius:5px;padding:11px 18px;color:#ffe1a3!important;text-decoration:none!important}.borg-shop-button:hover{background:#60421a}

/* v3.1: the exact homepage navigation replaces the blue quick dropdowns on ALL pages. */
body:not(.home) #header{background:linear-gradient(100deg,#0b0e16,#111a29 55%,#081421)!important;border-bottom:1px solid #ad7e32!important;position:relative;z-index:1000}
body:not(.home) #header-core{width:min(1480px,calc(100% - 40px));max-width:none;min-height:78px!important;padding:5px 0!important;align-items:center!important}
body:not(.home) #logo{flex:0 0 auto!important}
body:not(.home) #header-links{transform:none!important;margin-left:auto!important}
body:not(.home) #header-links-inner{display:flex;align-items:center;gap:18px;min-height:58px!important}
body:not(.home) .borg-cinema-topnav{display:flex;align-items:center;width:100%;gap:clamp(10px,1.5vw,27px)!important;flex-wrap:nowrap!important;justify-content:flex-end!important}
body:not(.home) .borg-cinema-topnav a{font:normal clamp(11px,.9vw,15px) Georgia,serif!important;color:#f8e8cb!important;text-decoration:none!important;text-transform:uppercase;white-space:nowrap}
body:not(.home) .borg-cinema-topnav a:hover{color:#ffc75d!important}
body:not(.home) .borg-cinema-topnav .borg-exact-cart,body:not(.home) .borg-cinema-topnav .borg-exact-account{border:1px solid #bc8d3f;border-radius:6px;padding:9px 12px;color:#f9dfac!important}
body:not(.home) .borg-exact-dropdown a{font:normal 13px Georgia,serif!important;color:#f8e8cb!important;padding:8px 10px!important;text-decoration:none!important}
body:not(.home) .borg-exact-dropdown a:hover{background:#243247!important}
body:not(.home) .borg-primary-editable .borg-primary-menu{display:flex;align-items:center;gap:clamp(9px,1.6vw,28px);margin:0;padding:0;list-style:none;flex-wrap:wrap}
body:not(.home) .borg-primary-editable .borg-primary-menu .sub-menu a{font:normal 13px Georgia,serif!important;text-transform:none!important}
body:not(.home) .borg-cinema-topnav .borg-exact-active{color:#ffd27a!important;position:relative}
body:not(.home) .borg-cinema-topnav .borg-exact-active:after{content:'';position:absolute;bottom:-12px;left:-6px;right:-6px;height:2px;background:#ffcf61;box-shadow:0 0 10px #ffc557}
body:not(.home) .borg-quick-menu,body:not(.home) .borg-theme-quick{display:none!important}
@media(max-width:1270px){body:not(.home) .borg-exact-brand-words strong{font-size:20px}body:not(.home) .borg-cinema-topnav{gap:10px!important}body:not(.home) .borg-cinema-topnav .borg-exact-navdrop>a,body:not(.home) .borg-cinema-topnav>a{font-size:11px!important}.borg-exact-search{flex-basis:120px}}
@media(max-width:1020px){body:not(.home) #header-core{flex-wrap:wrap!important;justify-content:center!important;padding:8px 14px!important}body:not(.home) #header-links{margin:0!important;flex:0 0 100%}body:not(.home) .borg-cinema-topnav{justify-content:center!important;flex-wrap:wrap!important}}
@media(max-width:760px){body:not(.home) #header-core{width:calc(100% - 20px)!important;min-height:0!important}body:not(.home) .borg-cinema-topnav{gap:12px!important;flex-wrap:wrap!important}body:not(.home) .borg-exact-search{flex:1 1 180px}}
/* Keep sticky navigation consistent with the gold-on-dark homepage header. */
#header-sticky{background:#0d1420!important;border-bottom:1px solid #ad7e32!important}
#header-sticky-links-inner>ul.menu>li>a{color:#f8e8cb!important;font-family:Georgia,serif!important}
#header-sticky-links-inner>ul.menu>li>a:hover{color:#ffc75d!important}
#header-sticky-links-inner .sub-menu{background:#0a1423!important;border:1px solid #b7893b!important}
#header-sticky-links-inner .sub-menu a{color:#f8e8cb!important}

/* v3.2: All Books catalog, matching the existing gold-on-dark storefront. */
.borg-all-books-page{max-width:1200px;margin:0 auto;padding:48px 24px 70px;color:#e8d7b7}
.borg-all-books-intro{text-align:center;margin-bottom:36px}
.borg-all-books-intro h1{color:#d2a84a;margin-bottom:12px}
.borg-all-books-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:26px}
.borg-all-books-card{background:rgba(20,17,17,.88);border:1px solid #9a6a24;border-radius:10px;padding:20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.borg-all-books-cover{display:block;width:100%;max-width:230px;aspect-ratio:2/3}
.borg-all-books-cover img{width:100%;height:100%;object-fit:contain}
.borg-all-books-card h2{font-size:1.2rem;margin:0}
.borg-all-books-card h2 a,.borg-all-books-back a{color:#d2a84a}
.borg-all-books-price{font-weight:700;color:#f0d59d}
.borg-all-books-card .borg-shop-button{margin-top:auto}
.borg-all-books-pagination{text-align:center;margin:32px 0}
.borg-all-books-pagination .page-numbers{display:inline-block;padding:8px 13px;margin:3px;border:1px solid #9a6a24;color:#d2a84a;border-radius:5px}
.borg-all-books-pagination .current{background:#9a6a24;color:#15100d}
.borg-all-books-back{margin-top:38px;text-align:center}

.borg-all-books-upcoming{margin-top:56px;padding-top:32px;border-top:1px solid #8c692f}.borg-all-books-upcoming>h2{color:#d2a84a;text-align:center}.borg-all-books-upcoming>p{text-align:center}.borg-upcoming-badge{color:#ead4a7;border:1px solid #8c692f;border-radius:20px;padding:5px 12px;font-size:.85rem}

/* v3.4: trilogy heading is distinct from clickable book links. */
.borg-primary-menu .borg-trilogy-heading>a,
#header-sticky-links .borg-trilogy-heading>a,
.borg-exact-dropdown .borg-trilogy-heading-link {color:#e7b95c!important;font-weight:700!important;letter-spacing:.09em;text-transform:uppercase;border-bottom:1px solid #8b6938}
.borg-exact-dropdown .borg-trilogy-book-link {padding-left:18px!important;color:#f8e8cb!important}
.borg-primary-menu .sub-menu .sub-menu {left:100%;top:0;}
@media(max-width:760px){.borg-primary-menu .sub-menu .sub-menu{left:0;top:100%;position:relative}}
.borg-cover-placeholder{display:flex;min-height:250px;align-items:center;justify-content:center;color:#d9af65;background:linear-gradient(140deg,#20170f,#10202d);font:700 30px Georgia,serif;border:1px solid #99723a}

/* 4.9 approved independently layered homepage; all image assets are exact user files. */
body.home .borg-layered-home{background:#101827;color:#f9e3ae;min-height:100vh}
body.home .borg-layered-stage{position:relative;width:100%;max-width:1920px;margin:0 auto;overflow:hidden;background:#101827}
body.home .borg-layered-background{display:block;width:100%;height:auto;object-fit:contain}
body.home .borg-layered-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
body.home .borg-layered-crest{display:block;width:60%;height:auto;max-height:42%;object-fit:contain;object-position:top center;margin:1.1% auto 0;filter:drop-shadow(0 5px 12px rgba(4,10,20,.35))}
body.home .borg-layered-tagline{font-family:Georgia,serif;color:#ffe4a5;text-align:center;font-size:clamp(14px,2.35vw,42px);letter-spacing:.15em;text-shadow:0 3px 10px #08101f;margin:1% 0 0;line-height:1.25}
body.home .borg-layered-books{width:81%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3%;align-items:start;margin:1.1% auto 0}
body.home .borg-layered-book{text-align:center;min-width:0}
body.home .borg-layered-book-image{height:clamp(150px,20vw,345px);display:flex;align-items:flex-end;justify-content:center;transition:transform .24s ease,filter .24s ease;will-change:transform}
body.home .borg-layered-book-image img{display:block;max-width:100%;width:auto;height:100%;object-fit:contain;object-position:center bottom}
body.home .borg-layered-book-image:hover,body.home .borg-layered-book-image:focus-visible{transform:translateY(-19px);filter:drop-shadow(0 12px 13px rgba(249,193,88,.45))}
body.home .borg-layered-book-details{font-family:Georgia,serif;color:#f9e6bd;text-shadow:0 2px 6px #080c17;margin-top:.4em}
body.home .borg-layered-book-details>span{font-size:clamp(10px,1vw,17px)}
body.home .borg-layered-book-details h2{font-family:Georgia,serif;font-size:clamp(12px,1.3vw,21px);margin:.2em 0}
body.home .borg-layered-book-details h2 a{color:#f9e6bd;text-decoration:none}
body.home .borg-layered-book-details p{font-size:clamp(9px,.82vw,13px);margin:.35em 0 .8em}
body.home .borg-layered-explore{display:inline-block;border:1px solid #e7b961;background:linear-gradient(#653526,#391b1a);color:#ffe5a6!important;font-size:clamp(10px,.9vw,15px);padding:.55em 1.2em;text-decoration:none}
body.home .borg-layered-features{display:flex;justify-content:space-evenly;flex-wrap:wrap;gap:12px;background:#0d1725;border-top:1px solid #9c7538;padding:20px;color:#e7c589;font-family:Georgia,serif;font-size:clamp(11px,1vw,15px)}
#header-sticky-links-inner .sub-menu,#header-sticky-links-inner .children{display:none!important;visibility:hidden!important}
@media(max-width:760px){body.home .borg-layered-background{min-height:880px;object-fit:cover;object-position:center}body.home .borg-layered-crest{width:92%;max-height:none;margin-top:24px}body.home .borg-layered-tagline{font-size:clamp(16px,4vw,28px);margin-top:24px;padding:0 10px}body.home .borg-layered-overlay{position:relative;inset:auto;margin-top:-875px;min-height:875px}body.home .borg-layered-books{width:96%;gap:8px;margin-top:32px}body.home .borg-layered-book-image{height:clamp(125px,32vw,235px)}body.home .borg-layered-book-details p{display:none}body.home .borg-layered-explore{font-size:10px;padding:6px 4px}}
@media(max-width:470px){body.home .borg-layered-books{grid-template-columns:1fr;gap:25px}body.home .borg-layered-background{min-height:1500px}body.home .borg-layered-overlay{margin-top:-1490px;min-height:1490px}body.home .borg-layered-book-image{height:270px}body.home .borg-layered-book-details p{display:block;font-size:11px}}
@media(prefers-reduced-motion:reduce){body.home .borg-layered-book-image{transition:none}}

/* Separate 3D covers; approved background and user crest. */
body.home .borg-layered-crest{width:53%;max-height:39%;margin-top:1.2%}
body.home .borg-layered-books{margin-top:6%;width:82%}
body.home .borg-layered-book-image{height:clamp(160px,22vw,375px)}
body.home .borg-layered-book-image img{filter:drop-shadow(9px 13px 9px rgba(0,0,0,.6))}
body.home .borg-layered-book-image:hover,body.home .borg-layered-book-image:focus-visible{transform:translateY(-24px) scale(1.035)}
@media(max-width:760px){body.home .borg-layered-crest{width:92%;max-height:none;margin-top:24px}body.home .borg-layered-books{margin-top:50px;width:96%}body.home .borg-layered-book-image{height:clamp(125px,32vw,235px)}}
@media(max-width:470px){body.home .borg-layered-books{margin-top:35px}body.home .borg-layered-book-image{height:270px}}

/* v5.2 — independent crest and 3D book image layers */
.borg-layered-background { filter:none!important; }
.borg-layered-crest { width:min(72%,950px)!important; height:auto!important; object-fit:contain!important; }
.borg-layered-book-image { overflow:visible!important; }
.borg-layered-book-image img { object-fit:contain!important; width:100%; height:100%; filter:drop-shadow(8px 13px 8px rgba(0,0,0,.45)); }
.borg-layered-book-image:hover, .borg-layered-book-image:focus-visible {
 transform:translateY(-25px) scale(1.045)!important;
}
@media(max-width:760px){ .borg-layered-crest {width:95%!important;} }

/* 5.4.0 — exact supplied individual artwork; no artwork embedded in backdrop. */
body.home .borg-layered-crest{width:44%!important;max-width:760px!important;max-height:42%!important;height:auto!important;object-fit:contain!important;margin:0.6% auto 0!important;}
body.home .borg-layered-books{width:82%!important;margin:0.5% auto 0!important;gap:3%!important;align-items:start!important;}
body.home .borg-layered-book-image{height:clamp(165px,25vw,410px)!important;overflow:visible!important;}
body.home .borg-layered-book-image img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;}
@media(max-width:760px){body.home .borg-layered-crest{width:80%!important;max-height:none!important;margin:20px auto 0!important;}body.home .borg-layered-books{width:96%!important;margin:25px auto 0!important;gap:8px!important;}body.home .borg-layered-book-image{height:clamp(135px,33vw,240px)!important;}}
@media(max-width:470px){body.home .borg-layered-crest{width:96%!important;}body.home .borg-layered-books{grid-template-columns:1fr!important;width:86%!important;gap:22px!important;margin:22px auto 0!important;}body.home .borg-layered-book-image{height:270px!important;}body.home .borg-layered-overlay{min-height:1650px!important;margin-top:-1640px!important;}body.home .borg-layered-background{min-height:1650px!important;}}


/* V5.5 — approved trilogy artwork everywhere + clean animated homepage Explore buttons */
body.home .borg-layered-explore{
  transition:transform .2s ease,background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease;
  will-change:transform;
}
body.home .borg-layered-book:nth-child(1) .borg-layered-explore{background:linear-gradient(#653526,#391b1a);border-color:#d2a84a;color:#ffe5a6!important;}
body.home .borg-layered-book:nth-child(2) .borg-layered-explore{background:linear-gradient(#25496a,#142b43);border-color:#8fb9e0;color:#f4dfbd!important;}
body.home .borg-layered-book:nth-child(3) .borg-layered-explore{background:linear-gradient(#405336,#202d1e);border-color:#9a6a24;color:#f4dfbd!important;}
body.home .borg-layered-explore:hover,body.home .borg-layered-explore:focus-visible{
  transform:translateY(-7px) scale(1.035);
  background:linear-gradient(#9a6a24,#5c3c18)!important;
  border-color:#d2a84a!important;
  color:#fff4d0!important;
  box-shadow:0 9px 18px rgba(0,0,0,.38),0 0 12px rgba(210,168,74,.28);
}
@media(prefers-reduced-motion:reduce){body.home .borg-layered-explore{transition:none;}body.home .borg-layered-explore:hover,body.home .borg-layered-explore:focus-visible{transform:none;}}


/* V5.6 — sticky scroll menu only: remove logo and right-align navigation. */
#header-sticky-core{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  padding-left:24px!important;
  padding-right:96px!important; /* approximately one inch from the viewport edge */
  justify-content:flex-end!important;
}
#header-sticky-links{
  margin-left:auto!important;
  margin-right:0!important;
}
#header-sticky-links-inner>ul.menu{
  justify-content:flex-end!important;
}
@media(max-width:1024px){
  #header-sticky-core{padding-right:28px!important;padding-left:18px!important;}
}


/* V5.7 — front-page fixed background + red Book I Explore button. */
body.home .borg-layered-stage{
  background-image:url('assets/borg-approved-background.png')!important;
  background-repeat:no-repeat!important;
  background-position:center top!important;
  background-size:cover!important;
  background-attachment:fixed!important;
}
body.home .borg-layered-background{
  visibility:hidden!important; /* preserves the exact stage dimensions while the fixed background shows behind it */
}
body.home .borg-layered-book:nth-child(1) .borg-layered-explore{
  background:linear-gradient(#9b2020,#560d12)!important;
  border-color:#d2a84a!important;
  color:#ffe5a6!important;
}
body.home .borg-layered-book:nth-child(1) .borg-layered-explore:hover,
body.home .borg-layered-book:nth-child(1) .borg-layered-explore:focus-visible{
  background:linear-gradient(#9a6a24,#5c3c18)!important;
  border-color:#d2a84a!important;
  color:#fff4d0!important;
}
@media(max-width:760px){
  body.home .borg-layered-stage{background-attachment:scroll!important;background-size:cover!important;}
}

/* 5.8.1: Purchased-book reading controls only. Existing homepage styling unchanged. */
.borg-book-viewer{background:#211b17;border:2px solid #a77b3f;border-radius:8px;padding:14px;max-width:100%;}
.borg-book-toolbar{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:14px;color:#f2d6a4}
.borg-book-toolbar button{cursor:pointer;background:#35291e;color:#f2d6a4;border:1px solid #a77b3f;border-radius:4px;padding:9px 15px;font:inherit}
.borg-book-toolbar button:disabled{opacity:.4;cursor:default}.borg-book-canvas-wrap{overflow:auto;text-align:center;max-height:75vh;background:#4c4238;padding:10px}.borg-book-canvas-wrap canvas{max-width:100%;height:auto!important;background:#fff;box-shadow:0 4px 18px #0008}
.borg-book-viewer:fullscreen{display:flex;flex-direction:column}.borg-book-viewer:fullscreen .borg-book-canvas-wrap{max-height:none;flex:1}.borg-reader-floating{max-width:1100px;margin:auto}.borg-reader-floating .borg-book-canvas-wrap{max-height:70vh}

/* v5.8.4: Standalone-looking floating reader. Only applies to ?floating=1 reader pages. */
body.borg-floating-window{background:#211b17!important;color:#e7d1ae;}
body.borg-floating-window #header,body.borg-floating-window #header-sticky,body.borg-floating-window #intro,body.borg-floating-window #footer,body.borg-floating-window #sub-footer,body.borg-floating-window .woocommerce-MyAccount-navigation,body.borg-floating-window .woocommerce-notices-wrapper{display:none!important;}
body.borg-floating-window #content,body.borg-floating-window #content-core,body.borg-floating-window .entry-content,body.borg-floating-window .woocommerce,body.borg-floating-window .woocommerce-MyAccount-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-height:0!important;background:#211b17!important;float:none!important;}
body.borg-floating-window .borg-reader-floating{max-width:none!important;margin:0!important;padding:12px!important;color:#e7d1ae;}
body.borg-floating-window .borg-reader-floating h2{font-size:clamp(19px,3vw,28px)!important;margin:8px 0!important;color:#f0ca8e;}
body.borg-floating-window .borg-reader-controls{margin:8px 0 12px!important;gap:9px!important;}
body.borg-floating-window .borg-book-viewer{padding:9px!important;}
body.borg-floating-window .borg-book-canvas-wrap{max-height:calc(100vh - 220px)!important;min-height:320px;}
.borg-floating-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #987446;padding:2px 0 9px;}
.borg-floating-label{font:700 11px Georgia,serif;letter-spacing:.13em;color:#e4bd79;}
.borg-floating-close{border:1px solid #c7a061;border-radius:5px;background:#b99755;color:#211b17;font:bold 15px Georgia,serif;padding:10px 17px;cursor:pointer;}
.borg-floating-close:hover,.borg-floating-close:focus-visible{background:#e2c184;}
@media(max-width:550px){body.borg-floating-window .borg-book-canvas-wrap{max-height:calc(100vh - 290px)!important;}}

/* v5.8.5: Minimal popup reader has no theme or WP admin chrome. */
body.borg-reader-only{margin:0!important;padding:0!important;background:#211b17!important;}
body.borg-reader-only #wpadminbar{display:none!important;}
body.borg-reader-only #borg-floating-main{width:100%;margin:0;padding:0;}
body.borg-reader-only .borg-reader-floating{padding:10px!important;box-sizing:border-box;}
body.borg-reader-only .borg-reader-floating h2{margin:7px 0!important;}
body.borg-reader-only .borg-book-canvas-wrap{max-height:calc(100vh - 215px)!important;}

/* Borg Reads 5.9.0 — The Book Vault; scoped to the WooCommerce account dashboard. */
.borg-vault{position:relative;isolation:isolate;overflow:hidden;max-width:1250px;margin:30px auto;padding:36px 20px 25px!important;color:#f6e8c5!important;text-align:center;border:7px ridge #a67a3a;border-radius:22px;background:radial-gradient(ellipse at 50% 4%,#a5783e66,transparent 44%),linear-gradient(90deg,#181b2c,#34405a 49%,#191b2b)!important;box-shadow:inset 0 0 90px #050508,0 14px 35px #1115}
.borg-vault:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.17;background:url('assets/borg-approved-background.png') center/cover no-repeat;filter:sepia(.4)}
.borg-vault-header{position:relative;z-index:2}.borg-vault-eyebrow,.borg-vault-header>p{letter-spacing:.25em;font-size:12px;color:#e2bd70}.borg-vault h2{font:clamp(22px,3.4vw,40px)/1.2 Georgia,serif!important;color:#f8df9e!important;text-shadow:0 3px 14px #090806;margin:14px auto!important}.borg-vault-window{width:min(280px,46vw);height:175px;margin:5px auto -10px;display:grid;place-items:center;border:9px double #caa254;border-radius:50% 50% 7% 7%;background:radial-gradient(circle,#f1d4939c,#2c4977 64%,#121d35);box-shadow:0 0 65px #d9ad5170,inset 0 0 28px #ebd397}.borg-vault-window img{max-width:90%;max-height:150px;object-fit:contain;filter:drop-shadow(0 2px 6px #120d06)}
.borg-vault-hall{display:grid;grid-template-columns:1fr 1.17fr 1fr;align-items:end;gap:clamp(5px,1.5vw,24px);margin:0 auto;max-width:1120px;padding-top:22px}.borg-vault-alcove{min-width:0;position:relative}.borg-vault-alcove-2{padding-bottom:22px}.borg-vault-arch{position:relative;height:clamp(205px,29vw,360px);border:clamp(6px,1vw,13px) ridge #b28c52;border-radius:49% 49% 5px 5px/23% 23% 5px 5px;background:radial-gradient(ellipse at 50% 48%,#b8a66c55,transparent 50%),linear-gradient(120deg,#111827,#3c3450 49%,#0c1426);box-shadow:inset 0 0 35px #06060b,0 0 0 2px #48391e,0 14px 25px #0c0b16}.borg-vault-alcove-2 .borg-vault-arch{height:clamp(235px,34vw,415px);border-color:#e2b869}.borg-vault-arch:before{content:"";position:absolute;inset:5px;border:1px solid #d1b16b;border-radius:inherit;pointer-events:none}.borg-vault-arch-glow{position:absolute;inset:22% 8% 14%;background:radial-gradient(ellipse,#e7b55d50,transparent 68%);pointer-events:none}.borg-vault-alcove-2 .borg-vault-arch-glow{background:radial-gradient(ellipse,#b3bce05c,transparent 68%)}.borg-vault-alcove-3 .borg-vault-arch-glow{background:radial-gradient(ellipse,#ac7ad858,transparent 68%)}.borg-vault-select{position:absolute;inset:10% 4% 12%;border:0;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;width:92%;padding:0}.borg-vault-select:focus-visible{outline:3px solid #f7d787;outline-offset:-5px}.borg-vault-book{width:auto!important;max-width:90%;height:72%!important;object-fit:contain;filter:drop-shadow(0 17px 10px #0009);animation:borg-vault-float 5s ease-in-out infinite}.borg-vault-alcove-2 .borg-vault-book{animation-delay:-1.5s}.borg-vault-alcove-3 .borg-vault-book{animation-delay:-3s}.borg-vault-select:hover .borg-vault-book,.borg-vault-select[aria-expanded=true] .borg-vault-book{filter:drop-shadow(0 0 19px #ffe5a4) drop-shadow(0 15px 9px #000a);transform:translateY(-10px) scale(1.06);animation-play-state:paused}.borg-vault-padlock{position:absolute;bottom:9%;left:50%;transform:translateX(-50%);color:#f1cf85;font-size:32px;text-shadow:0 0 12px #f8d17b;background:#221c29bd;border:1px solid #bd9855;border-radius:50%;padding:0 10px}.borg-vault-padlock span{display:block;font:9px Georgia,serif;letter-spacing:.1em}.borg-vault-plinth{position:absolute;bottom:-8px;left:5%;width:90%;padding:8px;background:linear-gradient(#d9bb7b,#72502c 55%,#241b1c);border:2px ridge #e7c785;box-shadow:0 8px 10px #0008;font:12px Georgia,serif;letter-spacing:.16em;color:#fff1cb}.borg-vault-alcove h3{font:clamp(13px,1.7vw,21px)/1.3 Georgia,serif!important;color:#f8e5b5!important;min-height:2.6em;margin:21px 0 3px!important}.borg-vault-state{display:block;font-size:10px;letter-spacing:.13em;color:#e8c584}.borg-vault-manuscript{position:relative;display:grid;grid-template-columns:minmax(110px,29%) 1fr;align-items:center;gap:20px;max-width:890px;margin:32px auto 12px;padding:28px 34px;background:linear-gradient(115deg,#e5cb92,#f9e8bf 47%,#d4af70);color:#402b20;border:12px ridge #8f6b3c;border-radius:16px;box-shadow:0 14px 40px #000a;text-align:left}.borg-vault-manuscript[hidden]{display:none!important}.borg-vault-manuscript-book img{width:100%;max-height:260px;object-fit:contain;filter:drop-shadow(0 9px 9px #38250a55)}.borg-vault-manuscript-kicker{font:12px Georgia,serif;letter-spacing:.18em;color:#76512e}.borg-vault-manuscript h3{font:clamp(23px,3vw,35px) Georgia,serif!important;color:#5c331c!important;margin:9px 0!important}.borg-vault-manuscript p{color:#543d29!important}.borg-vault-manuscript .borg-purchased-buttons{display:flex;gap:10px;flex-wrap:wrap}.borg-vault-manuscript .borg-library-button{white-space:normal}.borg-vault-close{position:absolute;right:8px;top:4px;border:0;background:transparent;color:#55371b;font-size:33px;cursor:pointer;line-height:1}.borg-vault-bottom{display:flex;justify-content:center;flex-wrap:wrap;gap:24px;margin:20px auto 0}.borg-vault-bottom a,.borg-vault-extra a{color:#f8df9e!important}.borg-vault-extra{margin:20px auto}.borg-vault-extra a{display:inline-block;margin:6px}.borg-vault-mist{position:absolute;inset:0;z-index:8;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,#fff3cebb,#f2c98566 48%,transparent 78%);animation:borg-vault-mist 2s ease-out both}@keyframes borg-vault-mist{0%{opacity:1;filter:blur(6px)}100%{opacity:0;filter:blur(25px);visibility:hidden}}@keyframes borg-vault-float{0%,100%{transform:translateY(4px)}50%{transform:translateY(-10px)}}@media(max-width:680px){.borg-vault{padding:20px 9px!important}.borg-vault-hall{grid-template-columns:1fr;max-width:350px;gap:24px}.borg-vault-alcove-2{padding-bottom:0;order:2}.borg-vault-alcove-3{order:3}.borg-vault-arch,.borg-vault-alcove-2 .borg-vault-arch{height:300px}.borg-vault-manuscript{grid-template-columns:1fr;padding:25px 16px;text-align:center}.borg-vault-manuscript-book img{max-height:175px}.borg-vault-manuscript .borg-purchased-buttons{justify-content:center}}@media(prefers-reduced-motion:reduce){.borg-vault-book,.borg-vault-mist{animation:none!important}.borg-vault-mist{display:none!important}}

/* v5.9.2 — Book Vault contrast and hover refinements. Scoped to the vault. */
.borg-vault .borg-vault-select,
.borg-vault .borg-vault-select:hover,
.borg-vault .borg-vault-select:active,
.borg-vault .borg-vault-select:focus {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
}
.borg-vault .borg-vault-select:focus-visible {
  outline: 2px solid #f7d787 !important;
  outline-offset: -5px;
  border-radius: 48% 48% 5px 5px / 24% 24% 5px 5px;
}
.borg-vault .borg-vault-manuscript .borg-purchased-buttons .borg-library-button,
.borg-vault .borg-vault-manuscript .borg-purchased-buttons .borg-library-button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 11px 17px;
  background: linear-gradient(180deg,#cda968 0%,#a57b40 100%) !important;
  border: 1px solid #785322 !important;
  color: #25170c !important;
  font-weight: 700;
  text-shadow: none !important;
  opacity: 1 !important;
  box-shadow: inset 0 1px 0 #f9e5b7, 0 2px 4px #51381833;
}
.borg-vault .borg-vault-manuscript .borg-purchased-buttons .borg-library-button:hover,
.borg-vault .borg-vault-manuscript .borg-purchased-buttons .borg-library-button:focus-visible {
  background: linear-gradient(180deg,#f7dca0 0%,#d7ae64 100%) !important;
  border-color: #704718 !important;
  color: #201307 !important;
  box-shadow: 0 0 0 2px #fff1cb, 0 3px 8px #51381844;
}


/* v5.9.5 — Royal Archives: cohesive styling for standard interior pages.
   Intentionally excludes the homepage, account vault and Observatory. */
body:not(.home):not(.borg-account-page):not(.page-template-page-observatory){
 background:#0b111e url('assets/borgreads-clean-cities.png') center top / cover fixed no-repeat;
 color:#eedfbd;
}
body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #content{
 background:transparent;
 min-height:65vh;
}
body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #content-core{
 width:min(1320px,calc(100% - 40px));max-width:none;padding:48px 0 84px;
}
body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #intro{
 background:linear-gradient(95deg,#151b2b,#1c2336 50%,#111927);border-block:1px solid #a97b35;
 box-shadow:0 8px 25px rgba(0,0,0,.27);
}
body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #intro h1{
 font-family:Georgia,serif;color:#f4d48e;font-size:clamp(27px,3vw,40px);letter-spacing:.035em;
 text-shadow:0 2px 12px #000;
}
body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #intro .breadcrumbs,
body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #intro .breadcrumbs a{color:#e4c58c}
body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) .entry-content,
body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) .entry-title{color:#f0e0bd}
body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) .entry-content a{color:#f3cc7c}
body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) .entry-content a:hover{color:#fff2cc}
body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) article.page>.entry-content{
 background:linear-gradient(140deg,rgba(24,29,47,.93),rgba(13,19,34,.95));
 border:1px solid rgba(211,166,86,.54);border-radius:16px;padding:clamp(22px,4vw,52px);
 box-shadow:inset 0 0 0 4px rgba(9,13,24,.7),0 18px 45px rgba(0,0,0,.27);
}
/* All Books: royal archive presentation, no white void around cards. */
.borg-all-books-page{max-width:1280px!important;padding:16px 16px 70px!important;color:#f0dfb8!important}
.borg-all-books-intro{max-width:850px;margin:12px auto 35px!important;padding:32px 24px;
 border:1px solid rgba(223,178,96,.62);border-radius:18px;
 background:radial-gradient(ellipse at top,rgba(52,67,103,.82),rgba(11,18,33,.95) 76%);
 box-shadow:0 14px 38px rgba(0,0,0,.35),inset 0 0 0 5px rgba(6,11,23,.5);
}
.borg-all-books-intro:before{content:'✦  THE ROYAL ARCHIVES  ✦';display:block;color:#edc984;
 font:700 12px Georgia,serif;letter-spacing:.28em;margin-bottom:12px}
.borg-all-books-intro h1{font:normal clamp(35px,4.2vw,58px) Georgia,serif!important;color:#ffdc8d!important;
 text-shadow:0 3px 18px #050912;margin:0 0 10px!important}
.borg-all-books-intro p{color:#ead9b7!important;font:16px/1.8 Georgia,serif;max-width:680px;margin:auto}
.borg-all-books-upcoming{border-top:1px solid rgba(218,166,73,.72)!important;position:relative}
.borg-all-books-upcoming:before{content:'✧';position:absolute;top:-19px;left:50%;transform:translateX(-50%);
 background:#111b2e;color:#f6d28b;padding:0 17px;font-size:22px}
.borg-all-books-upcoming>h2{font:normal clamp(27px,3vw,40px) Georgia,serif!important;color:#f5d48b!important;
 text-shadow:0 3px 12px #05070d;margin:8px 0 30px!important}
.borg-all-books-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(16px,2.5vw,32px)!important}
.borg-all-books-card{position:relative;overflow:hidden;min-width:0;padding:30px 20px 26px!important;gap:15px!important;
 background:radial-gradient(ellipse at 50% 22%,rgba(55,64,94,.92),rgba(18,24,42,.97) 66%,#111622)!important;
 border:2px solid #c59a4b!important;border-radius:17px!important;
 box-shadow:inset 0 0 0 5px rgba(12,17,32,.92),inset 0 0 0 6px rgba(227,179,84,.42),0 15px 36px rgba(0,0,0,.42);
 transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.borg-all-books-card:before{content:'✦';position:absolute;top:9px;left:13px;color:#f2d18b;font-size:17px}
.borg-all-books-card:after{content:'✦';position:absolute;top:9px;right:13px;color:#f2d18b;font-size:17px}
.borg-all-books-card:hover{transform:translateY(-6px);border-color:#ffe1a0!important;
 box-shadow:inset 0 0 0 5px rgba(12,17,32,.92),inset 0 0 0 6px rgba(227,179,84,.6),0 0 27px rgba(102,157,226,.28),0 22px 38px rgba(0,0,0,.55)}
.borg-all-books-cover{width:100%!important;max-width:290px!important;aspect-ratio:1/1.25!important;display:grid!important;place-items:center;
 border-radius:130px 130px 12px 12px;background:radial-gradient(ellipse,rgba(127,137,175,.21),transparent 67%);
 border:1px solid rgba(213,171,95,.26);padding:12px!important;
}
.borg-all-books-cover img{object-fit:contain!important;filter:drop-shadow(0 13px 14px rgba(0,0,0,.75));
 transition:transform .3s ease,filter .3s ease}
.borg-all-books-card:hover .borg-all-books-cover img{transform:scale(1.055);filter:drop-shadow(0 16px 17px rgba(0,0,0,.8)) drop-shadow(0 0 12px rgba(118,164,231,.25))}
.borg-all-books-card h3{font:normal clamp(20px,1.8vw,26px)/1.3 Georgia,serif!important;margin:0!important;min-height:2.5em}
.borg-all-books-card h3 a{color:#ffe0a0!important;text-decoration:none!important}
.borg-all-books-card h3 a:hover{color:#fff5d8!important}
.borg-all-books-price{font:700 20px Georgia,serif!important;color:#ffdc8d!important}
.borg-upcoming-badge{border:1px solid #d5aa61!important;background:#342b29;color:#f9dc9d!important;padding:6px 17px!important}
.borg-all-books-card .borg-shop-button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;
 border:1px solid #e4c17e!important;border-radius:7px;padding:10px 23px!important;
 background:linear-gradient(#dfbd7a,#98713c)!important;color:#21170d!important;
 font:700 15px Georgia,serif!important;text-decoration:none!important;
 box-shadow:inset 0 1px 0 #fff0bf,0 4px 10px #090b12;transition:background .2s,transform .2s}
.borg-all-books-card .borg-shop-button:hover,.borg-all-books-card .borg-shop-button:focus{
 background:linear-gradient(#ffe5a5,#c79449)!important;color:#21170d!important;transform:translateY(-2px)}
.borg-all-books-back a{color:#f5cf83!important;font:18px Georgia,serif}
/* WooCommerce standard catalog and product pages share the same illuminated style. */
body:not(.home):not(.borg-account-page) .woocommerce ul.products li.product{
 padding:20px!important;background:linear-gradient(155deg,#253048,#111827)!important;
 border:1px solid #b48b4b;border-radius:13px;text-align:center;
 box-shadow:0 10px 25px #0007;transition:transform .2s,border-color .2s}
body:not(.home):not(.borg-account-page) .woocommerce ul.products li.product:hover{transform:translateY(-4px);border-color:#f5d68e}
body:not(.home):not(.borg-account-page) .woocommerce ul.products li.product .woocommerce-loop-product__title{color:#ffe0a0;font:normal 21px Georgia,serif!important}
body:not(.home):not(.borg-account-page) .woocommerce ul.products li.product img{object-fit:contain;filter:drop-shadow(0 9px 10px #0009)}
body:not(.home):not(.borg-account-page) .woocommerce div.product{color:#f3e0bd}
body:not(.home):not(.borg-account-page) .woocommerce div.product .product_title{color:#ffdda0;font-family:Georgia,serif}
body:not(.home):not(.borg-account-page) .woocommerce div.product .woocommerce-tabs,
body:not(.home):not(.borg-account-page) .woocommerce div.product .summary{background:rgba(20,28,45,.75);border:1px solid #947340;border-radius:12px;padding:22px}
body:not(.home):not(.borg-account-page) .woocommerce a.button,
body:not(.home):not(.borg-account-page) .woocommerce button.button,
body:not(.home):not(.borg-account-page) .woocommerce input.button{background:#b99051!important;color:#20160d!important;border:1px solid #e4c17e!important}
body:not(.home):not(.borg-account-page) .woocommerce a.button:hover,
body:not(.home):not(.borg-account-page) .woocommerce button.button:hover{background:#f1cf8a!important}
@media(max-width:850px){.borg-all-books-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:570px){
 .borg-all-books-grid{grid-template-columns:1fr!important}
 .borg-all-books-page{padding-inline:0!important}
 .borg-all-books-card{max-width:410px;width:100%;margin-inline:auto}
 body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #content-core{width:calc(100% - 24px)}
}
@media(prefers-reduced-motion:reduce){.borg-all-books-card,.borg-all-books-cover img{transition:none!important}.borg-all-books-card:hover,.borg-all-books-card:hover img{transform:none!important}}


/* v5.9.6 — Royal Account Hall. Scoped to Woo account and shared commerce UI.
   Keep the Book Vault, homepage, Observatory, reader and floating window untouched. */
body.borg-account-page:not(.borg-floating-window){background:#0b1120 url('assets/borgreads-clean-cities.png') center top/cover fixed no-repeat;color:#f2e3c4}
body.borg-account-page:not(.borg-floating-window) #intro{background:linear-gradient(100deg,#151b2b,#25304a 48%,#141b2c);border-block:1px solid #b78a42;box-shadow:0 7px 24px #0006}
body.borg-account-page:not(.borg-floating-window) #intro h1{color:#ffe0a0;font:normal clamp(29px,3vw,42px) Georgia,serif;letter-spacing:.035em;text-shadow:0 2px 14px #000}
body.borg-account-page:not(.borg-floating-window) #intro .breadcrumbs,body.borg-account-page:not(.borg-floating-window) #intro .breadcrumbs a{color:#efd09a}
body.borg-account-page:not(.borg-floating-window) #content{background:linear-gradient(180deg,rgba(9,15,29,.92),rgba(15,20,36,.96));min-height:70vh}
body.borg-account-page:not(.borg-floating-window) #content-core{max-width:1260px;width:calc(100% - 36px);padding:42px 0 90px}
body.borg-account-page:not(.borg-floating-window) .entry-content{color:#f0dfbf}
body.borg-account-page:not(.borg-floating-window) .woocommerce{color:#f2e1c0;font:16px/1.65 Georgia,'Times New Roman',serif}
body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-navigation{margin-bottom:24px}
body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-navigation ul{gap:10px}
body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-navigation li a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:11px 19px;border:1px solid #b88e4e;border-radius:8px;background:linear-gradient(180deg,#34405a,#1b2539);box-shadow:inset 0 1px 0 #ffffff18,0 4px 12px #0005;color:#f5dfb5!important;font:700 15px Georgia,serif;transition:background .2s,border-color .2s,transform .2s}
body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-navigation li.is-active a{background:linear-gradient(180deg,#f2d596,#b88a47);border-color:#f6dda4;color:#26190b!important}
body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-navigation li a:hover,body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-navigation li a:focus-visible{background:linear-gradient(180deg,#f4daa0,#b99052);border-color:#ffedc0;color:#21170c!important;transform:translateY(-2px);outline-offset:3px}
body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content{width:100%;min-height:240px;padding:clamp(22px,3vw,42px);border:1px solid #b68c4a;border-radius:17px;background:radial-gradient(ellipse at 50% 0%,#36415b 0%,#202b42 42%,#101a2b 100%);box-shadow:inset 0 0 0 5px #10182a,inset 0 0 0 6px #bd934d66,0 16px 45px #0007;color:#f4e2c1}
body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content>p:first-child{font:normal clamp(20px,2vw,25px)/1.6 Georgia,serif;color:#ffdf9e}
body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content p{color:#f0dec0}
body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content a{color:#ffdb90;text-decoration-color:#d5a95d;text-underline-offset:3px}
body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content a:hover{color:#fff2cc}
body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content h2,body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content h3{color:#ffe0a0;font-family:Georgia,serif}
body.borg-account-page:not(.borg-floating-window) .woocommerce table.shop_table{border:1px solid #a78248;border-radius:9px;background:#111a2bcc;color:#f2dfba;overflow:hidden}
body.borg-account-page:not(.borg-floating-window) .woocommerce table.shop_table th{background:#36405a;color:#ffe0a0;border-color:#a78248}
body.borg-account-page:not(.borg-floating-window) .woocommerce table.shop_table td{border-color:#a7824866;color:#f1dfbf}
body.borg-account-page:not(.borg-floating-window) .woocommerce .woocommerce-Address,body.borg-account-page:not(.borg-floating-window) .woocommerce .woocommerce-customer-details address{background:#152037;border:1px solid #947343;border-radius:10px;padding:20px;color:#f0debd}
body.borg-account-page:not(.borg-floating-window) .woocommerce form.edit-account,body.borg-account-page:not(.borg-floating-window) .woocommerce form.login,body.borg-account-page:not(.borg-floating-window) .woocommerce form.register{background:linear-gradient(145deg,#26334b,#131c2f);border:1px solid #ad8548;border-radius:13px;padding:clamp(18px,3vw,32px);color:#f1dfbf}
body.borg-account-page:not(.borg-floating-window) .woocommerce label{color:#f5dfb7}
body.borg-account-page:not(.borg-floating-window) .woocommerce input.input-text,body.borg-account-page:not(.borg-floating-window) .woocommerce textarea,body.borg-account-page:not(.borg-floating-window) .woocommerce select{background:#fff6e7;color:#241a12;border:1px solid #b58d4e;border-radius:6px;padding:11px;max-width:100%}
body.borg-account-page:not(.borg-floating-window) .woocommerce button.button,body.borg-account-page:not(.borg-floating-window) .woocommerce a.button,body.borg-account-page:not(.borg-floating-window) .woocommerce input.button{background:linear-gradient(#e8c985,#a47a40)!important;border:1px solid #f3d99f!important;border-radius:7px;color:#21170c!important;font-weight:700;min-height:43px;padding:11px 18px;text-shadow:none;box-shadow:inset 0 1px #fff1c3,0 3px 9px #0005}
body.borg-account-page:not(.borg-floating-window) .woocommerce button.button:hover,body.borg-account-page:not(.borg-floating-window) .woocommerce a.button:hover{background:linear-gradient(#ffebb5,#c59a53)!important;color:#21170c!important}
body.borg-account-page:not(.borg-floating-window) .woocommerce .woocommerce-message,body.borg-account-page:not(.borg-floating-window) .woocommerce .woocommerce-info{background:#1d3042;border-top-color:#d6ac66;color:#f5e3c0}
body.borg-account-page:not(.borg-floating-window) .woocommerce .woocommerce-error{background:#3b2430;color:#fff0df}
/* Preserve the Vault's manuscript and controls: the account panel is its backdrop only. */
body.borg-account-page:not(.borg-floating-window) .borg-vault{margin-inline:auto}
/* Shared commerce forms on cart and checkout, without altering custom immersive pages. */
body.woocommerce-cart:not(.home),body.woocommerce-checkout:not(.home){color:#f1dfbc}
body.woocommerce-cart .woocommerce table.shop_table,body.woocommerce-checkout .woocommerce table.shop_table{background:#172238;color:#f3dfbc;border:1px solid #ac854c}
body.woocommerce-cart .woocommerce table.shop_table th,body.woocommerce-checkout .woocommerce table.shop_table th{color:#f9dc9e}
body.woocommerce-cart .woocommerce table.shop_table td,body.woocommerce-checkout .woocommerce table.shop_table td{border-color:#ae874955}
body.woocommerce-checkout .woocommerce-checkout-review-order,body.woocommerce-checkout #payment,body.woocommerce-cart .cart_totals{background:#1b2840;color:#f0dfbd;border:1px solid #a7844c;border-radius:12px;padding:20px}
body.woocommerce-checkout #payment div.payment_box{background:#2d3b52;color:#f7e6c9}
body.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:#2d3b52}
@media(max-width:680px){body.borg-account-page:not(.borg-floating-window) #content-core{width:calc(100% - 24px);padding:24px 0 55px}body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-navigation li a{padding:10px 8px;text-align:center}body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content{padding:20px 16px}}
@media(prefers-reduced-motion:reduce){body.borg-account-page .woocommerce-MyAccount-navigation a{transition:none!important;transform:none!important}}

/* v5.9.7 — The Chronicles: scoped journal and post design */
body.borg-chronicles-page,body.blog,body.single-post,body.archive.category{background:#0c1323;color:#f4e5c7}
body.borg-chronicles-page #intro,body.blog #intro,body.single-post #intro,body.archive.category #intro{background:linear-gradient(110deg,#131a2b,#26324c,#151b2b);border-block:1px solid #b88e4f}
body.borg-chronicles-page #intro h1,body.blog #intro h1,body.single-post #intro h1,body.archive.category #intro h1{font-family:Georgia,serif;color:#ffdea1}
body.borg-chronicles-page #content,body.blog #content,body.single-post #content,body.archive.category #content{background:url('assets/borgreads-clean-cities.png') center top/cover fixed;min-height:70vh}
body.borg-chronicles-page #content-core,body.blog #content-core,body.single-post #content-core,body.archive.category #content-core{padding-block:38px 85px}
.borg-chronicles{color:#f5e4c5;font:16px/1.65 Georgia,serif}.borg-chronicles *{box-sizing:border-box}
.borg-chronicles a{color:#ffda90}.borg-chronicles-hero{position:relative;overflow:hidden;text-align:center;border:1px solid #c59a52;border-radius:18px;padding:clamp(35px,6vw,76px) 24px;margin-bottom:26px;background:linear-gradient(90deg,#101827e8,#1a2540c9,#101827e8),url('assets/borgreads-approved-banner.png') center/cover;box-shadow:inset 0 0 0 6px #111a2c,inset 0 0 0 7px #ad844d70,0 20px 50px #0008}
.borg-chronicles-eyebrow{color:#edca80;font:700 12px/1.5 Georgia,serif;letter-spacing:.24em;text-transform:uppercase}
.borg-chronicles-hero h2{font:normal clamp(34px,5vw,64px)/1.15 Georgia,serif;color:#ffe2a4;text-shadow:0 3px 20px #000;margin:12px auto}
.borg-chronicles-hero p{color:#f4dfb8;font-size:clamp(15px,2vw,19px);margin:0}
.borg-chronicles-filters{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:26px auto 38px}
.borg-chronicles-filters a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:11px 18px;border:1px solid #aa854b;border-radius:50px;background:#1d2a42;color:#f8dfaa;font-weight:700;transition:transform .2s,background .2s}
.borg-chronicles-filters a:hover,.borg-chronicles-filters a:focus-visible,.borg-chronicles-filters a[aria-current=page]{background:linear-gradient(#f5db9c,#b68a4b);color:#24170b;transform:translateY(-2px)}
.borg-chronicles-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.borg-chronicles-card{min-width:0;overflow:hidden;border:1px solid #b48b4a;border-radius:13px;background:linear-gradient(155deg,#27324b,#111b2e);box-shadow:0 12px 30px #0007;transition:transform .2s,box-shadow .2s}
.borg-chronicles-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.borg-chronicles-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px #0009,0 0 20px #d2aa5933}
.borg-chronicles-card-image{display:block;aspect-ratio:16/9;background:linear-gradient(#10172750,#101727ad),url('assets/borgreads-approved-banner.png') center/cover}
.borg-chronicles-card:first-child .borg-chronicles-card-image{aspect-ratio:auto;min-height:275px}
.borg-chronicles-card-image img{display:block;width:100%;height:100%;object-fit:cover}
.borg-chronicles-card-body{padding:clamp(20px,3vw,34px)}
.borg-chronicles-tag{display:inline-block;font:700 11px Georgia,serif;letter-spacing:.12em;text-transform:uppercase;color:#251809;background:#e5c27c;border-radius:30px;padding:7px 12px}
.borg-chronicles-card h3{font:normal clamp(24px,2.5vw,34px)/1.25 Georgia,serif;margin:17px 0 10px;color:#ffdfa0}
.borg-chronicles-card h3 a{text-decoration:none;color:inherit}.borg-chronicles-card h3 a:hover{text-decoration:underline}
.borg-chronicles-card time{font-size:13px;color:#dbc18d}.borg-chronicles-card p{color:#f1dfbf}
.borg-chronicles-read{display:inline-block;text-decoration:none;background:linear-gradient(#f1d593,#ad8041);border:1px solid #f8dfa7;border-radius:6px;padding:10px 17px;color:#24180a!important;font-weight:bold}
.borg-chronicles-empty{text-align:center;max-width:760px;margin:35px auto;padding:40px 24px;border:1px solid #b68b4b;border-radius:14px;background:#1b2740e8}
.borg-chronicles-empty h3{font:normal 31px Georgia,serif;color:#ffe0a1}
.borg-chronicles-pagination{margin:30px auto;text-align:center}.borg-chronicles-pagination .page-numbers{display:inline-block;margin:4px;padding:8px 13px;border:1px solid #b58d4e;border-radius:6px;color:#fbe0a5}
body.single-post .borg-chronicle-article{max-width:900px;margin:0 auto;background:linear-gradient(#f6e8c5,#dfc894);border:8px double #a67b3b;border-radius:13px;padding:clamp(22px,5vw,60px);color:#322319;box-shadow:0 20px 50px #0008;font:18px/1.8 Georgia,serif}
body.single-post .borg-chronicle-article h1,body.single-post .borg-chronicle-article h2,body.single-post .borg-chronicle-article h3{color:#55391a;font-family:Georgia,serif}
body.single-post .borg-chronicle-article a{color:#654316;text-decoration:underline}
body.single-post .borg-chronicle-article img{border-radius:7px}body.single-post .borg-chronicle-article .borg-post-meta{color:#70532b}
body.single-post .borg-chronicle-back{display:inline-block;margin-bottom:20px;color:#f6d593!important}
@media(max-width:720px){.borg-chronicles-grid{grid-template-columns:1fr}.borg-chronicles-card:first-child{display:block}.borg-chronicles-card:first-child .borg-chronicles-card-image{aspect-ratio:16/9;min-height:0}.borg-chronicles-hero{padding:36px 15px}}
@media(prefers-reduced-motion:reduce){.borg-chronicles-card,.borg-chronicles-filters a{transition:none}.borg-chronicles-card:hover,.borg-chronicles-filters a:hover{transform:none}}

/* v5.9.8: user's original clean city background, interior pages only. */
body:not(.home):not(.page-template-page-observatory):not(.borg-floating-window) #content {
 background-image:linear-gradient(180deg,rgba(7,12,24,.75),rgba(11,17,31,.79)),url('assets/borgreads-clean-cities.png') !important;
 background-position:center top !important;background-size:cover !important;
 background-repeat:no-repeat !important;background-attachment:scroll,fixed !important;
}
body.borg-account-page:not(.borg-floating-window) #content {
 background-image:linear-gradient(180deg,rgba(9,15,29,.82),rgba(15,20,36,.86)),url('assets/borgreads-clean-cities.png') !important;
}
body.single-post .borg-chronicle-article,body.single-post .borg-chronicle-article .entry-content,
body.single-post .borg-chronicle-article .entry-content p,body.single-post .borg-chronicle-article .entry-content li,
body.single-post .borg-chronicle-article .entry-content blockquote{color:#392817!important;text-shadow:none!important}
body.single-post .borg-chronicle-article .entry-content a{color:#694113!important;text-decoration:underline}
body.single-post .borg-chronicle-article .entry-content a:hover{color:#3b250c!important}
body.single-post .borg-chronicle-article .entry-content h1,body.single-post .borg-chronicle-article .entry-content h2,
body.single-post .borg-chronicle-article .entry-content h3{color:#513416!important}
@media(max-width:760px){body:not(.home):not(.page-template-page-observatory):not(.borg-floating-window) #content{background-attachment:scroll!important}}

/* v5.9.9: A solid royal-navy Chronicles masthead without the old crest. */
.borg-chronicles-hero {
  background: radial-gradient(ellipse at 50% 10%, #334464 0%, #1b2944 43%, #10182b 100%) !important;
  border: 2px solid #c9a35d !important;
  box-shadow: inset 0 0 0 6px #121c30, inset 0 0 0 7px #c9a35d77,
              0 16px 42px #0009 !important;
}
.borg-chronicles-hero::before {
  content:""; position:absolute; inset:16px; border:1px solid #b997555c;
  border-radius:10px; pointer-events:none;
}
.borg-chronicles-hero > * {position:relative;z-index:1}
#chronicles-dispatches {scroll-margin-top:95px}

/* v5.9.10 — Chronicles: no crest behind masthead or article image placeholders. */
body.borg-chronicles-page .borg-chronicles-hero,
body.blog .borg-chronicles-hero,
body.home.blog .borg-chronicles-hero {
 background:radial-gradient(ellipse at 50% 5%,#334564 0%,#1c2b48 48%,#10182c 100%) !important;
 border:2px solid #cba65f !important;
 box-shadow:inset 0 0 0 6px #121d33,inset 0 0 0 7px #cba65f88,0 18px 40px #0008 !important;
}
.borg-chronicles-card-image {
 background:radial-gradient(ellipse at 50% 15%,#334564,#1b2945 58%,#10182b) !important;
 border-bottom:1px solid #a7854e;
}
.borg-chronicles-card-image:empty::after {
 content:'THE BORG READS CHRONICLES';display:flex;align-items:center;justify-content:center;
 width:100%;height:100%;min-height:225px;text-align:center;padding:24px;
 font:normal clamp(18px,2vw,29px)/1.4 Georgia,serif;letter-spacing:.08em;color:#e9cb8b;
}

/* v5.9.11 — single-line desktop navigation and compact Chronicles panels. */
@media (min-width:1101px) {
  #header-core, body.home #header-core {
    width:100%!important;max-width:none!important;
    padding-left:clamp(14px,2vw,32px)!important;
    padding-right:clamp(14px,2vw,32px)!important;
    gap:clamp(12px,1.4vw,24px)!important;
    flex-wrap:nowrap!important;
  }
  #logo {flex:0 0 auto!important;}
  .borg-exact-brand img {max-width:76px!important;}
  .borg-exact-brand-words strong {font-size:clamp(21px,2.1vw,31px)!important;white-space:nowrap;}
  .borg-exact-brand-words small {font-size:clamp(8px,.78vw,11px)!important;white-space:nowrap;}
  #header-links {flex:1 1 0!important;min-width:0!important;margin-left:auto!important;}
  #header-links-inner {min-width:0!important;}
  .borg-cinema-topnav, body.home .borg-cinema-topnav,
  body:not(.home) .borg-cinema-topnav {
    display:flex!important;align-items:center!important;flex-wrap:nowrap!important;
    justify-content:flex-end!important;gap:clamp(8px,1vw,17px)!important;
    width:100%!important;
  }
  .borg-primary-editable .borg-primary-menu,
  body.home .borg-primary-editable .borg-primary-menu,
  body:not(.home) .borg-primary-editable .borg-primary-menu {
    display:flex!important;align-items:center!important;flex-wrap:nowrap!important;
    gap:clamp(8px,1vw,17px)!important;min-width:0!important;
  }
  .borg-primary-menu>li {flex:0 0 auto;white-space:nowrap;}
  .borg-cinema-topnav>a, .borg-primary-menu>li>a,
  .borg-cinema-topnav .borg-exact-navdrop>a {font-size:clamp(11px,.86vw,14px)!important;white-space:nowrap!important;}
  .borg-exact-search {flex:0 1 150px!important;min-width:95px!important;max-width:160px!important;}
  .borg-exact-cart,.borg-exact-account {flex:0 0 auto!important;white-space:nowrap!important;}
}
@media (min-width:1101px) and (max-width:1320px) {
  .borg-exact-brand img {max-width:60px!important;}
  .borg-exact-brand-words strong {font-size:20px!important;}
  .borg-primary-editable .borg-primary-menu,
  body.home .borg-primary-editable .borg-primary-menu,
  body:not(.home) .borg-primary-editable .borg-primary-menu,
  .borg-cinema-topnav,body.home .borg-cinema-topnav,
  body:not(.home) .borg-cinema-topnav {gap:8px!important;}
  .borg-exact-search {flex-basis:105px!important;}
}
/* Keep a comfortable two-row/mobile layout when the viewport is genuinely narrow. */
@media (max-width:1100px) {
  #header-core {flex-wrap:wrap!important;justify-content:center!important;}
  #header-links {flex:1 1 100%!important;margin-left:0!important;}
  .borg-cinema-topnav {justify-content:center!important;flex-wrap:wrap!important;}
}
/* Approx. 35% smaller desktop hero and featured dispatch; preserve mobile readability. */
@media (min-width:850px) {
  .borg-chronicles-hero {
    width:65%!important;max-width:900px!important;margin:0 auto 24px!important;
    padding:clamp(20px,3vw,44px) 22px!important;
  }
  .borg-chronicles-hero h2 {font-size:clamp(29px,3.3vw,43px)!important;}
  .borg-chronicles-grid {max-width:1050px!important;margin-inline:auto!important;}
  .borg-chronicles-card:first-child {
    width:65%!important;max-width:850px!important;grid-column:1/-1!important;
    justify-self:center!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  }
  .borg-chronicles-card:first-child .borg-chronicles-card-image {min-height:190px!important;}
  .borg-chronicles-card:first-child .borg-chronicles-card-body {padding:clamp(15px,2vw,23px)!important;}
  .borg-chronicles-card:first-child h3 {font-size:clamp(21px,2vw,28px)!important;margin:10px 0 6px!important;}
}
@media (min-width:850px) and (max-width:1050px) {
  .borg-chronicles-hero,.borg-chronicles-card:first-child {width:82%!important;}
}

/* v5.9.12: one Chronicles title, placed inside the featured dispatch panel. */
.borg-chronicles-card:first-child .borg-chronicles-card-image:empty::after {
  content:"THE ROYAL ARCHIVES PRESENT\\A THE BORG READS CHRONICLES\\A Records of the Past. Visions of the Future.";
  white-space:pre-line;
  font:normal clamp(17px,2.1vw,29px)/1.7 Georgia,serif;
  letter-spacing:.035em;
  text-decoration:none;
  color:#f4dba5;
  padding:32px;
}
.borg-chronicles-card:first-child .borg-chronicles-card-image:empty {
  background:radial-gradient(ellipse at 50% 12%,#334564,#1b2945 60%,#10182b) !important;
}
.borg-chronicles {padding-top:0}
.borg-chronicles-filters {margin-top:8px}

/* v5.9.13 — properly typeset, non-linked Chronicles inscription. */
.borg-chronicles-card:first-child .borg-chronicles-inscription {
  display:flex!important; flex-direction:column!important;
  justify-content:center!important; align-items:center!important;
  gap:14px!important; box-sizing:border-box!important;
  padding:24px 20px!important; text-align:center!important;
  text-decoration:none!important;
  background:radial-gradient(ellipse at 50% 10%,#334564,#1c2944 65%,#131d33)!important;
}
.borg-chronicles-inscription::before,
.borg-chronicles-inscription::after {content:none!important;display:none!important}
.borg-chronicles-inscription > span {
  display:block!important;position:relative!important;
  width:100%;max-width:100%;margin:0!important;padding:0!important;
  color:#f3dba4!important;text-decoration:none!important;
  text-shadow:none!important;overflow-wrap:normal!important;
}
.borg-chronicles-inscription .borg-chronicles-eyebrow {
  font:700 clamp(9px,.85vw,12px)/1.5 Georgia,serif!important;
  letter-spacing:.15em!important;
}
.borg-chronicles-inscription .borg-chronicles-inscription-title {
  font:normal clamp(20px,2.1vw,30px)/1.17 Georgia,serif!important;
  letter-spacing:.01em!important;
}
.borg-chronicles-inscription .borg-chronicles-inscription-subtitle {
  font:normal clamp(12px,1vw,15px)/1.5 Georgia,serif!important;
  letter-spacing:0!important;
}
@media(max-width:700px) {
 .borg-chronicles-card:first-child .borg-chronicles-inscription {min-height:225px!important}
}

/* v5.9.16 Scribe's Desk: frontend-only member publishing */
.borg-reader-desk{max-width:1180px;margin:30px auto;padding:18px;color:#f4e3bf;font-family:Georgia,serif}
.borg-reader-desk-header{text-align:center;background:radial-gradient(ellipse at 50% 0,#35476a,#1a2844 55%,#111a2e);
border:2px solid #c7a35d;border-radius:14px;padding:32px 20px;margin-bottom:24px;box-shadow:0 14px 40px #0009}
.borg-reader-desk-header span{font-size:12px;letter-spacing:.22em;color:#d7b873}
.borg-reader-desk-header h1{font-size:clamp(30px,4vw,54px);color:#f7df9f;margin:10px 0}
.borg-reader-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:22px}
.borg-reader-panel{background:linear-gradient(145deg,#1c2a47,#111b30);border:1px solid #c4a15d;border-radius:12px;padding:24px;margin-bottom:24px}
.borg-reader-panel h2{color:#f4dba0;margin:0 0 16px}
.borg-reader-panel label{display:block;margin:18px 0 7px;color:#f4dba0;font-weight:bold}
.borg-reader-panel input[name="reader_title"],.borg-reader-panel textarea{display:block;box-sizing:border-box;width:100%;padding:12px;border:1px solid #c8a665;border-radius:6px;background:#fff7e8!important;color:#302314!important;font:16px/1.5 Georgia,serif}
.borg-reader-panel textarea{resize:vertical}
.borg-reader-button,.borg-reader-panel button[type=submit]:not(.borg-reader-entry-actions button){display:inline-block;margin:14px 10px 0 0;padding:11px 18px;border:1px solid #e8c982;border-radius:6px;background:linear-gradient(#f5e1ad,#bd934d);color:#2a1b0b!important;font:bold 15px Georgia,serif;text-decoration:none!important;cursor:pointer}
.borg-reader-secondary{color:#f0d99e!important}
.borg-reader-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.borg-reader-notice{padding:14px;border:1px solid #d7bb78;background:#263b54;color:#f9e4ad;border-radius:8px}
.borg-reader-entry,.borg-reader-community-entry{padding:14px 0;border-bottom:1px solid #aa8d5570}
.borg-reader-entry h3,.borg-reader-community-entry h3{color:#f5dfad;margin:0 0 8px}
.borg-reader-entry-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.borg-reader-entry-actions a,.borg-reader-community-entry a{color:#f1d28b!important}
.borg-reader-entry-actions form{display:inline;margin:0}
.borg-reader-entry-actions button{padding:6px 12px;background:#522c34;color:#ffe4d7;border:1px solid #bb8180;border-radius:5px;cursor:pointer}
.borg-reader-status{display:inline-block;padding:4px 8px;border:1px solid #c6a35e;border-radius:12px;font-size:12px;color:#f7dc9c}
.borg-reader-community{margin-top:0}
@media(max-width:780px){.borg-reader-layout{grid-template-columns:1fr}.borg-reader-desk{padding:10px}}

/* v5.9.17 — visible reader access and functional dispatch navigation */
.borg-chronicles-filters .borg-community-link{margin-left:12px;background:linear-gradient(#f4dc9d,#c49b51)!important;color:#25190a!important;border:1px solid #e4c77b;border-radius:25px;padding:12px 20px;text-decoration:none!important}
.borg-reader-invite{display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap;max-width:1080px;margin:12px auto 28px;padding:22px 28px;background:linear-gradient(120deg,#1a2845,#28375a);border:1px solid #d0a858;border-radius:12px;color:#f3deb4}
.borg-reader-invite span{font-size:12px;letter-spacing:.15em;color:#f2d595}
.borg-reader-invite h2{font:normal 29px Georgia,serif;color:#f5dca4;margin:7px 0}
.borg-reader-invite p{max-width:620px;margin:0;line-height:1.5}
.borg-reader-article-invite{max-width:900px;margin:14px auto;padding:18px 24px;background:#1b2845;border:1px solid #b99454;border-radius:9px;color:#f7dfaa}
.borg-reader-article-invite p{margin:0 0 4px}


/* v5.9.20 — Single book/product pages: royal blue, gold and aged parchment. */
body.single-product .woocommerce div.product .product_title,
body.single-product .woocommerce div.product .summary h1,
body.single-product .woocommerce div.product .summary h2,
body.single-product .woocommerce div.product .summary h3,
body.single-product .woocommerce div.product .summary h4 {
 color:#f4d795!important;text-shadow:0 2px 8px #080c17!important;
 font-family:Georgia,serif!important;
}
body.single-product .woocommerce div.product .summary,
body.single-product .woocommerce div.product .woocommerce-tabs {
 background:linear-gradient(145deg,rgba(27,37,61,.95),rgba(17,25,43,.97))!important;
 border:1px solid #bb9656!important;color:#f5e4c7!important;
 box-shadow:0 10px 32px #080d1980;border-radius:12px;
}
body.single-product .woocommerce div.product .summary p,
body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description,
body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description p,
body.single-product .woocommerce div.product .woocommerce-tabs p{color:#f5e4c7!important}
body.single-product .woocommerce div.product .summary .price,
body.single-product .woocommerce div.product .summary .price *,
body.single-product .woocommerce div.product .summary .amount{color:#f4d795!important}
body.single-product .woocommerce div.product form.cart {
 background:linear-gradient(140deg,#25334f,#19253d)!important;
 border:1px solid #b99858!important;border-radius:9px!important;
 padding:19px!important;margin:22px 0 18px!important;color:#f4dfb5!important;
}
body.single-product .woocommerce div.product form.cart::before,
body.single-product .woocommerce div.product form.cart::after{content:'';display:table;clear:both}
body.single-product .woocommerce div.product form.cart .quantity input.qty{
 background:#f2e3c1!important;color:#251a0c!important;border:1px solid #c7a360!important;
 border-radius:5px;min-height:42px;
}
body.single-product .woocommerce div.product form.cart .button,
body.single-product .woocommerce div.product .single_add_to_cart_button{
 background:linear-gradient(#f7e3ad,#b9904a)!important;color:#281b0a!important;
 border:1px solid #e5c47b!important;border-radius:6px!important;
 font-family:Georgia,serif!important;font-weight:700!important;min-height:42px;
}
body.single-product .woocommerce div.product form.cart .button:hover,
body.single-product .woocommerce div.product .single_add_to_cart_button:hover{
 background:#ffe9b5!important;color:#211607!important;
}
body.single-product .woocommerce div.product .woocommerce-product-gallery {
 background:linear-gradient(135deg,#dfc99b,#c6a875)!important;
 border:2px solid #b99250;border-radius:10px;padding:13px!important;
 box-sizing:border-box;box-shadow:0 10px 30px #080b1580;
}
/* Multiply replaces white image pixels with the parchment-colored gallery backing,
   preserving the original cover art and image file. */
body.single-product .woocommerce div.product .woocommerce-product-gallery img{
 mix-blend-mode:multiply;border-radius:3px;max-width:100%;height:auto;
}
body.single-product .woocommerce div.product .woocommerce-product-gallery__trigger{
 background:#f4d99e!important;color:#30210b!important;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a{
 color:#f4d795!important;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active{
 background:#26344d!important;border-color:#b99858!important;
}
body.single-product .woocommerce div.product a:not(.button){color:#f0d18a}
@media(max-width:767px){
 body.single-product .woocommerce div.product .woocommerce-product-gallery{margin-bottom:18px!important;padding:9px!important}
 body.single-product .woocommerce div.product .summary{padding:16px!important}
 body.single-product .woocommerce div.product form.cart{padding:13px!important}
}


/* v5.9.21: Correct the NATIVE [borg_book] and [borg_trilogy] pages.
   Previous release only targeted WooCommerce .single-product pages. */
.borg-book-page, .borg-library {
 color:#f4e4c5!important;
}
.borg-library {
 background:linear-gradient(145deg,#1b253e,#111b30)!important;
 border:1px solid #b99655;
 border-radius:12px;
 padding:30px clamp(16px,3vw,38px) 42px;
}
.borg-book-kicker, .borg-book-number {
 color:#d8b16b!important;
}
.borg-book-page-title, .borg-library-title,
.borg-book-copy h2, .borg-library-card h2,
.borg-library-card h2 a {
 color:#f6daa0!important;
 text-shadow:0 2px 6px #090e1b;
}
.borg-book-copy, .borg-book-copy p,
.borg-book-copy strong {
 color:#f4e4c5!important;
}
.borg-library-grid{gap:clamp(16px,3vw,34px)}
.borg-library-card {
 background:transparent!important;
 padding:14px 10px 20px;
 border:1px solid #b9965580;
 border-radius:10px;
 text-align:center;
}
.borg-library-card h2{line-height:1.4}
.borg-library-card h2 a:hover{color:#ffe9bb!important}
.borg-library-cover,.borg-book-cover-panel,.borg-book-cover-native {
 background:linear-gradient(135deg,#dfc99c,#c2a16e)!important;
 border:1px solid #bd9756;
 border-radius:8px;
 overflow:hidden;
}
.borg-library-cover,.borg-book-cover-native {
 display:block;
 padding:10px;
}
.borg-library-cover img,.borg-book-cover-native img {
 background:transparent!important;
 mix-blend-mode:multiply;
 border:0;
 width:100%;
 height:auto;
 display:block;
}
.borg-book-purchase {
 background:linear-gradient(140deg,#273754,#19263f)!important;
 border:1px solid #d2ab65!important;
 box-shadow:0 9px 25px #080c1880;
 border-radius:9px;
 color:#f5e3be!important;
}
.borg-book-price-label,.borg-book-availability{color:#e5c789!important}
.borg-book-price,.borg-book-price *{color:#f8dfa6!important}
.borg-book-cart-form .quantity input.qty {
 background:#f2e2c2!important;
 color:#2b1d0d!important;
 border-color:#bd9656!important;
}
.borg-book-purchase .borg-book-add-to-cart,
.borg-book-actions .borg-button {
 background:linear-gradient(#f5e0a8,#bc924c)!important;
 border:1px solid #e6c780!important;
 border-radius:6px!important;
 color:#2d1d0b!important;
 font-family:Georgia,serif;
}
.borg-book-purchase .borg-book-add-to-cart:hover,
.borg-book-actions .borg-button:hover {
 background:#ffebbb!important;
 color:#201508!important;
}
.borg-book-cart-link,.borg-book-nav a{color:#f0cf89!important}
.borg-book-nav{border-top-color:#a78752!important}
.borg-trilogy-card{border-color:#b9965580!important}
@media(max-width:767px){
 .borg-library{padding:20px 12px 28px}
 .borg-library-card{padding:10px}
 .borg-book-cover-native{padding:8px}
}


/* v5.9.22 — native book and trilogy pages match the All Books royal archive cards.
   Book artwork itself is untouched. No hover magnification anywhere. */
.borg-library {
 background:transparent!important;
 border:0!important;
 box-shadow:none!important;
 padding:18px 0 42px!important;
}
.borg-library-title,.borg-book-page-title {
 color:#ffe2a0!important;
 font-family:Georgia,serif!important;
}
.borg-library-card {
 position:relative;
 background:radial-gradient(ellipse at 50% 22%,rgba(55,64,94,.92),rgba(18,24,42,.97) 66%,#111622)!important;
 border:2px solid #c59a4b!important;
 border-radius:17px!important;
 padding:28px 18px 25px!important;
 box-shadow:inset 0 0 0 5px rgba(12,17,32,.92),inset 0 0 0 6px rgba(227,179,84,.42),0 15px 36px rgba(0,0,0,.42)!important;
}
.borg-library-card:before,.borg-library-card:after {
 content:'✦';position:absolute;top:9px;color:#f2d18b;font-size:17px;
}
.borg-library-card:before{left:13px}
.borg-library-card:after{right:13px}
.borg-library-cover {
 display:grid!important;place-items:center;
 width:100%;max-width:290px;margin:0 auto;
 aspect-ratio:1/1.25;
 background:radial-gradient(ellipse,rgba(127,137,175,.21),transparent 67%)!important;
 border:1px solid rgba(213,171,95,.35)!important;
 border-radius:130px 130px 12px 12px!important;
 padding:12px!important;
 box-sizing:border-box;
 overflow:hidden;
}
.borg-library-cover img {
 background:transparent!important;
 mix-blend-mode:normal!important;
 object-fit:contain!important;
 max-height:100%;
 filter:drop-shadow(0 13px 14px rgba(0,0,0,.75));
}
.borg-library-card h2,.borg-library-card h2 a {
 font:normal clamp(20px,1.8vw,26px)/1.3 Georgia,serif!important;
 color:#ffe0a0!important;
 text-shadow:none!important;
}
.borg-library-card .borg-book-number{color:#eacb8e!important}
.borg-book-cover-panel {
 background:radial-gradient(ellipse at 50% 22%,rgba(55,64,94,.92),rgba(18,24,42,.97) 66%,#111622)!important;
 border:1px solid rgba(213,171,95,.5)!important;
 border-radius:130px 130px 12px 12px!important;
 padding:18px!important;
 box-sizing:border-box;
}
.borg-book-cover-native {
 background:transparent!important;
 border:0!important;
 padding:0!important;
 border-radius:0!important;
 overflow:visible!important;
}
.borg-book-cover-native img {
 background:transparent!important;
 mix-blend-mode:normal!important;
 object-fit:contain!important;
 filter:drop-shadow(0 13px 14px rgba(0,0,0,.75));
}
.borg-book-purchase {
 background:radial-gradient(ellipse at 50% 0,rgba(55,64,94,.92),rgba(18,24,42,.97) 78%)!important;
 border:2px solid #c59a4b!important;
 border-radius:14px!important;
 box-shadow:inset 0 0 0 4px rgba(12,17,32,.9),0 12px 28px #0006!important;
}
.borg-book-actions .borg-button {
 background:linear-gradient(#f5e1a6,#bb9149)!important;
 border:1px solid #e5c981!important;
 border-radius:7px!important;
 color:#30220d!important;
}
/* Disable enlargement, magnifying cursors and hover zoom on every book image.
   Preserve ordinary link clicks, the vault's floating animation and hover focus. */
.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce div.product div.images img,
.borg-library-cover img,.borg-book-cover-native img,
.borg-all-books-cover img,.borg-home-book img,.borg-book-cover img,
.borg-book-card img,.borg-trilogy-book img,.borg-cinema-cover img,
.borg-layered-book-image,.borg-vault-book {
 cursor:inherit!important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image img:hover,
.woocommerce div.product div.images img:hover,
.borg-library-cover:hover img,.borg-book-cover-native:hover img,
.borg-all-books-card:hover .borg-all-books-cover img,
.borg-home-book:hover img,.borg-book-cover:hover img,
.borg-book-card:hover img,.borg-trilogy-book:hover img,
.borg-cinema-cover:hover,.borg-layered-book-image:hover,
body.home .borg-layered-book-image:hover,
body.home .borg-layered-book-image:focus-visible {
 scale:1!important;
}
.borg-all-books-card:hover .borg-all-books-cover img,
.borg-library-cover:hover img,.borg-book-cover-native:hover img {
 transform:none!important;
}
.borg-cinema-cover:hover {transform:translateY(-7px)!important}
body.home .borg-layered-book-image:hover,
body.home .borg-layered-book-image:focus-visible {
 transform:translateY(-24px)!important;
}
.borg-vault-select:hover .borg-vault-book,
.borg-vault-select[aria-expanded=true] .borg-vault-book {
 scale:1!important;
 transform:translateY(-10px)!important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
 display:none!important;
}
@media(max-width:760px){
 .borg-library-grid{grid-template-columns:1fr!important;max-width:440px;margin:auto}
 .borg-book-layout{grid-template-columns:1fr!important;gap:25px}
 .borg-book-cover-panel{max-width:440px;margin:auto}
}


/* v5.9.28: book sizing is scoped to each display; preserve jump below. */
:root{--borg-book-jump:16px}


/* Individual book pages: allow breathing room inside the same arched frame. */
.borg-book-cover-native{display:grid!important;place-items:center!important;min-height:0}
.borg-book-cover-native img{margin-inline:auto!important}
/* Native trilogy cards: the book rises, while its arched frame stays in place. */
.borg-library-cover img,.borg-book-cover-native img,
.borg-all-books-cover img,.borg-layered-book-image,
.borg-cinema-cover,.borg-vault-book,
.borg-book-card img,.borg-home-book img,.borg-trilogy-book img {
 transition:transform .26s cubic-bezier(.2,.8,.2,1),filter .26s ease!important;
}
.borg-library-card:hover .borg-library-cover img,
.borg-library-cover:hover img,
.borg-library-cover:focus-visible img,
.borg-book-cover-panel:hover .borg-book-cover-native img,
.borg-all-books-card:hover .borg-all-books-cover img,
.borg-all-books-cover:focus-visible img,
.borg-book-card:hover img,.borg-home-book:hover img,
.borg-trilogy-book:hover img {
 transform:translateY(calc(-1 * var(--borg-book-jump)))!important;
 scale:1!important;
 filter:drop-shadow(0 20px 15px rgba(0,0,0,.8)) drop-shadow(0 0 10px rgba(243,200,115,.22))!important;
}
/* Keep the card frame stationary: only the artwork jumps. */
.borg-all-books-card:hover,.borg-library-card:hover{transform:none!important}
body.home .borg-layered-book-image:hover,
body.home .borg-layered-book-image:focus-visible,
.borg-layered-book-image:hover,.borg-layered-book-image:focus-visible {
 transform:translateY(calc(-1 * var(--borg-book-jump)))!important;
 scale:1!important;
}
/* Book Vault selection still works; the hover jump doesn't enlarge the book. */
.borg-vault-select:hover .borg-vault-book,
.borg-vault-select:focus-visible .borg-vault-book,
.borg-vault-select[aria-expanded=true] .borg-vault-book {
 animation-play-state:paused!important;
 transform:translateY(calc(-1 * var(--borg-book-jump)))!important;
 scale:1!important;
}
/* Standalone covers used by the carousel / book displays. */
.borg-cinema-cover:hover{transform:translateY(calc(-1 * var(--borg-book-jump)))!important;scale:1!important}
/* The magnifying glass and WooCommerce image zoom remain disabled. */
.woocommerce-product-gallery__trigger{display:none!important}
@media(prefers-reduced-motion:reduce){
 .borg-library-cover img,.borg-book-cover-native img,.borg-all-books-cover img,
 .borg-layered-book-image,.borg-cinema-cover,.borg-vault-book,
 .borg-book-card img,.borg-home-book img,.borg-trilogy-book img{transition:none!important}
 .borg-library-card:hover .borg-library-cover img,
 .borg-book-cover-panel:hover .borg-book-cover-native img,
 .borg-all-books-card:hover .borg-all-books-cover img,
 .borg-layered-book-image:hover,.borg-cinema-cover:hover,
 .borg-vault-select:hover .borg-vault-book{transform:none!important}
}


/* v5.9.24 — Match the All Books hover border and restrained shadow everywhere
   a book is presented. The existing book jump stays intact; no image zoom. */
:where(.borg-library-card,.borg-all-books-card,.borg-shop-card,
       .borg-book-card,.borg-home-book,.borg-trilogy-book,
       .borg-book-cover-panel,.borg-cinema-book,
       .borg-vault-alcove,.borg-layered-book) {
  transition:border-color .24s ease,box-shadow .24s ease,filter .24s ease;
}
:where(.borg-library-card,.borg-all-books-card,.borg-shop-card,
       .borg-book-card,.borg-home-book,.borg-trilogy-book,
       .borg-book-cover-panel,.borg-cinema-book,
       .borg-vault-alcove,.borg-layered-book):is(:hover,:focus-within) {
  border-color:#ffe1a0!important;
  box-shadow:0 10px 24px rgba(0,0,0,.45),0 0 13px rgba(224,181,98,.26)!important;
}
/* Where the outer wrapper has no border, illuminate the actual book frame. */
.borg-library-card:is(:hover,:focus-within) .borg-library-cover,
.borg-all-books-card:is(:hover,:focus-within) .borg-all-books-cover,
.borg-book-cover-panel:is(:hover,:focus-within) .borg-book-cover-native,
.borg-home-book:is(:hover,:focus-within) .borg-home-book-cover,
.borg-vault-alcove:is(:hover,:focus-within) .borg-vault-book {
  border-color:#ffe1a0!important;
  box-shadow:0 8px 18px rgba(0,0,0,.32),0 0 10px rgba(224,181,98,.19);
}
@media(prefers-reduced-motion:reduce){
 :where(.borg-library-card,.borg-all-books-card,.borg-shop-card,
 .borg-book-card,.borg-home-book,.borg-trilogy-book,.borg-book-cover-panel,
 .borg-cinema-book,.borg-vault-alcove,.borg-layered-book){transition:none!important}
}


/* v5.9.26: Reduce the page-header title directly above breadcrumbs by ~35%.
   Applies to All Books, Chronicles, About, Trilogy and all other inner pages.
   The main page content headings, breadcrumb text and homepage are unchanged. */
body:not(.home) #intro h1,
body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #intro h1,
body.borg-account-page:not(.borg-floating-window) #intro h1 {
  font-size:clamp(18px,1.95vw,26px)!important;
  line-height:1.25;
}
@media(max-width:600px) {
 body:not(.home) #intro h1,
 body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #intro h1,
 body.borg-account-page:not(.borg-floating-window) #intro h1 {
   font-size:18px!important;
 }
}



/* v5.9.28 — Correct stacked size overrides. Use a consistent *frame* and
   matching visible book heights; do not apply blanket reductions to assets. */
.borg-all-books-cover img[src*="borgreads-uploaded-trilogy-book-"],
.borg-library-cover img[src*="borgreads-uploaded-trilogy-book-"] {
 width:100%!important;height:100%!important;max-width:100%!important;
 object-fit:contain!important;object-position:center!important;
}
/* Red book is broader within its source canvas; the blue and green source
   assets are taller, so a slight reduction equalizes their visible heights. */
.borg-all-books-cover img[src*="borgreads-uploaded-trilogy-book-2"],
.borg-all-books-cover img[src*="borgreads-uploaded-trilogy-book-3"],
.borg-library-cover img[src*="borgreads-uploaded-trilogy-book-2"],
.borg-library-cover img[src*="borgreads-uploaded-trilogy-book-3"] {
 width:96%!important;height:96%!important;
}
/* All other cover placements: eliminate the old global 82% shrink and let
   their own matching container dimensions determine image size. */
.borg-book-cover-native img[src*="borgreads-uploaded-trilogy-book-"],
.borg-layered-books img[src*="borgreads-uploaded-trilogy-book-"],
.borg-vault-book[src*="borgreads-uploaded-trilogy-book-"] {object-fit:contain!important}
/* Preserve Book Vault's independent floating display geometry. */


/* v5.9.29 — Use an explicit visible height, not percentage width/height.
   The approved PNGs have different aspect ratios. A common pixel height
   gives all three books a common apparent height while retaining proportions.
   These rules override old percentage rules (including v5.9.28). */
.borg-all-books-page .borg-all-books-cover img[src*="borgreads-uploaded-trilogy-book-"],
.borg-library .borg-library-cover img[src*="borgreads-uploaded-trilogy-book-"] {
  display:block!important;
  width:auto!important;
  height:255px!important;
  max-height:78%!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:auto!important;
  scale:1!important;
}
/* All Books uses a slightly smaller frame at narrow screen widths. */
@media(max-width:760px){
 .borg-all-books-page .borg-all-books-cover img[src*="borgreads-uploaded-trilogy-book-"],
 .borg-library .borg-library-cover img[src*="borgreads-uploaded-trilogy-book-"] {
   height:210px!important;
   max-height:76%!important;
 }
}
/* Existing hover lift and gold border stay active. */
.borg-all-books-card:hover .borg-all-books-cover img[src*="borgreads-uploaded-trilogy-book-"],
.borg-library-card:hover .borg-library-cover img[src*="borgreads-uploaded-trilogy-book-"] {
 transform:translateY(-16px)!important;
 scale:1!important;
}


/* v5.9.30 — Every WooCommerce single-product cover displays at 60% of
   the previous width (40% reduction). Applies automatically to new books.
   Do not alter archive/trilogy cards, gallery thumbnails, or vault covers. */
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child {
  display:flex!important;
  justify-content:center!important;
  align-items:flex-start!important;
}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child > a,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child > a {
  display:block!important;
  width:60%!important;
  max-width:60%!important;
  margin:0 auto!important;
}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child img {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto!important;
  object-fit:contain!important;
}
/* WooCommerce themes that render the primary product image without its wrapper. */
body.single-product .woocommerce div.product div.images > a:first-child > img,
body.single-product .woocommerce div.product div.images > img.wp-post-image {
  display:block!important;
  width:60%!important;
  max-width:60%!important;
  height:auto!important;
  margin:0 auto!important;
  object-fit:contain!important;
}
@media(max-width:600px){
 body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child > a,
 body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child > a,
 body.single-product .woocommerce div.product div.images > a:first-child > img,
 body.single-product .woocommerce div.product div.images > img.wp-post-image{
   width:60%!important;max-width:60%!important;
 }
}


/* v5.9.31: Real WooCommerce gallery image, including themes/plugins that
   bypass the usual gallery wrapper. All future products use this rule. */
body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product div.images {
  text-align:center!important;
}
body.single-product div.product div.images img.wp-post-image,
body.single-product div.product .woocommerce-product-gallery img.wp-post-image,
body.single-product div.product div.images .woocommerce-product-gallery__wrapper img,
body.single-product div.product div.images > a > img,
body.single-product div.product div.images > img,
body.single-product div.product .woocommerce-product-gallery > a > img {
  display:block!important;
  width:60%!important;
  max-width:60%!important;
  height:auto!important;
  max-height:390px!important;
  object-fit:contain!important;
  margin:0 auto!important;
  transform:none!important;
  scale:1!important;
}
body.single-product div.product div.images .woocommerce-product-gallery__image,
body.single-product div.product div.images .woocommerce-product-gallery__image > a,
body.single-product div.product div.images .woocommerce-product-gallery__wrapper,
body.single-product div.product div.images figure {
  text-align:center!important;
}
body.single-product div.product div.images .woocommerce-product-gallery__image > a {
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  max-width:100%!important;
}
body.single-product div.product div.images .woocommerce-product-gallery__image > a > img {
  width:60%!important;
  max-width:60%!important;
}
/* Royal gold primary actions on the entire site, including WooCommerce's
   add-to-cart buttons. Exclude admin, tab controls and reader removal. */
body:not(.wp-admin) .woocommerce a.button,
body:not(.wp-admin) .woocommerce button.button,
body:not(.wp-admin) .woocommerce button.button.alt,
body:not(.wp-admin) .woocommerce button.single_add_to_cart_button,
body:not(.wp-admin) .woocommerce input.button,
body:not(.wp-admin) .woocommerce #respond input#submit,
body:not(.wp-admin) .borg-button,
body:not(.wp-admin) .borg-reader-button,
body:not(.wp-admin) .borg-reader-panel button[type="submit"]:not(.borg-reader-entry-actions button) {
  background:linear-gradient(180deg,#f5e1ab 0%,#c49d5b 100%)!important;
  color:#2d200f!important;
  border:1px solid #e6c77e!important;
  border-radius:7px!important;
  font-weight:700!important;
  box-shadow:0 2px 5px rgba(0,0,0,.22)!important;
  text-decoration:none!important;
  text-shadow:none!important;
}
body:not(.wp-admin) .woocommerce a.button:hover,
body:not(.wp-admin) .woocommerce button.button:hover,
body:not(.wp-admin) .woocommerce button.button.alt:hover,
body:not(.wp-admin) .woocommerce button.single_add_to_cart_button:hover,
body:not(.wp-admin) .woocommerce input.button:hover,
body:not(.wp-admin) .woocommerce #respond input#submit:hover,
body:not(.wp-admin) .borg-button:hover,
body:not(.wp-admin) .borg-reader-button:hover {
  background:linear-gradient(180deg,#ffedbe,#d8af67)!important;
  color:#231708!important;
  border-color:#ffe3a2!important;
  box-shadow:0 4px 12px rgba(0,0,0,.32),0 0 8px rgba(232,193,110,.22)!important;
}


/* v5.9.32 — WooCommerce buttons may render outside a .woocommerce wrapper.
   Match the button itself, regardless of wrapper or plugin markup. */
body.single-product form.cart button[type="submit"],
body.single-product form.cart .button,
body.single-product button.single_add_to_cart_button,
body.single-product .single_add_to_cart_button,
body.woocommerce-page button.button,
body.woocommerce-page a.button,
body.woocommerce-page input.button,
body.woocommerce-cart button.button,
body.woocommerce-checkout button.button,
body .woocommerce button.button.alt,
body .woocommerce a.button.alt,
body .woocommerce input.button.alt,
body .wc-block-components-button:not(.is-link) {
  appearance:none!important;
  background:#d7b16b!important;
  background-image:linear-gradient(180deg,#f5e1ab,#bd9149)!important;
  background-color:#d7b16b!important;
  color:#2d200f!important;
  border:1px solid #e6c77e!important;
  border-radius:7px!important;
  font-weight:700!important;
  text-shadow:none!important;
  box-shadow:0 2px 5px rgba(0,0,0,.22)!important;
}
body.single-product form.cart button[type="submit"]:hover,
body.single-product form.cart .button:hover,
body.single-product button.single_add_to_cart_button:hover,
body.single-product .single_add_to_cart_button:hover,
body.woocommerce-page button.button:hover,
body.woocommerce-page a.button:hover,
body.woocommerce-page input.button:hover,
body .woocommerce button.button.alt:hover,
body .woocommerce a.button.alt:hover,
body .wc-block-components-button:not(.is-link):hover {
  background:#ffedbe!important;
  background-image:linear-gradient(180deg,#ffedbe,#d8af67)!important;
  color:#231708!important;
  border-color:#ffe3a2!important;
}

/* v5.9.33: custom purchase presentation for future simple book products. */
.borg-generic-product{max-width:1400px;margin:40px auto;padding:0 22px}
.borg-generic-product .borg-book-cover-native img{width:100%;height:auto;max-height:430px;object-fit:contain}
.borg-generic-product-description:empty{display:none}
@media(max-width:760px){.borg-generic-product{padding:0 12px;margin:20px auto}}

/* V5.9.60 — homepage trilogy books: identical displayed height. */
@media (min-width:761px){
  body.home .borg-layered-book-image{height:clamp(165px,24vw,385px)!important;}
  body.home .borg-layered-book-image img{
    width:auto!important;
    height:100%!important;
    max-width:100%!important;
    object-fit:contain!important;
    object-position:center bottom!important;
    margin:0 auto!important;
  }
}


/* V5.9.61 — Trilogy I sitewide image-size normalization.
   Every reference to the three approved 3D trilogy covers uses a common
   display height within each layout. Artwork and aspect ratios stay intact. */
:root{--borg-trilogy-cover-height:385px;--borg-trilogy-card-height:255px;--borg-trilogy-mobile-height:270px}

/* Homepage: one identical display frame for Books I, II and III. */
body.home .borg-layered-book-image{
  height:clamp(165px,24vw,var(--borg-trilogy-cover-height))!important;
  display:flex!important;align-items:flex-end!important;justify-content:center!important;
}
body.home .borg-layered-book-image img[src*="borgreads-uploaded-trilogy-book-"]{
  display:block!important;width:auto!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;object-fit:contain!important;
  object-position:center bottom!important;margin:0 auto!important;
}

/* All Books, trilogy/library cards: identical cover height. */
.borg-all-books-page .borg-all-books-cover img[src*="borgreads-uploaded-trilogy-book-"],
.borg-library .borg-library-cover img[src*="borgreads-uploaded-trilogy-book-"]{
  display:block!important;width:auto!important;height:var(--borg-trilogy-card-height)!important;
  max-width:100%!important;max-height:78%!important;object-fit:contain!important;
  object-position:center!important;margin:auto!important;scale:1!important;
}

/* Individual Book I / II / III pages and [borg_book_cover] references. */
.borg-book-cover-native img[src*="borgreads-uploaded-trilogy-book-"],
.borg-book-cover img[src*="borgreads-uploaded-trilogy-book-"]{
  display:block!important;width:auto!important;height:var(--borg-trilogy-cover-height)!important;
  max-width:100%!important;max-height:100%!important;object-fit:contain!important;
  object-position:center!important;margin:0 auto!important;
}

/* My Borgreads Library / vault: use a fixed common image height rather than
   percentages of differently sized alcoves. */
.borg-vault-book[src*="borgreads-uploaded-trilogy-book-"]{
  width:auto!important;height:260px!important;max-width:90%!important;max-height:72%!important;
  object-fit:contain!important;object-position:center bottom!important;
}
.borg-vault-manuscript-book img[src*="borgreads-uploaded-trilogy-book-"]{
  width:auto!important;height:260px!important;max-width:100%!important;object-fit:contain!important;margin:auto!important;
}

/* Any trilogy artwork used by cinema/home/card components gets the same frame. */
.borg-cinema-cover img[src*="borgreads-uploaded-trilogy-book-"],
.borg-home-book img[src*="borgreads-uploaded-trilogy-book-"],
.borg-book-card img[src*="borgreads-uploaded-trilogy-book-"],
.borg-trilogy-book img[src*="borgreads-uploaded-trilogy-book-"]{
  display:block!important;width:auto!important;height:var(--borg-trilogy-card-height)!important;
  max-width:100%!important;max-height:100%!important;object-fit:contain!important;margin:0 auto!important;
}

/* WooCommerce shop/card thumbnails share a consistent image frame. */
.borg-shop-card img{display:block!important;width:auto!important;height:255px!important;max-width:100%!important;object-fit:contain!important;margin:0 auto 14px!important;}

@media(max-width:760px){
  .borg-all-books-page .borg-all-books-cover img[src*="borgreads-uploaded-trilogy-book-"],
  .borg-library .borg-library-cover img[src*="borgreads-uploaded-trilogy-book-"]{height:210px!important;max-height:76%!important;}
  .borg-book-cover-native img[src*="borgreads-uploaded-trilogy-book-"],
  .borg-book-cover img[src*="borgreads-uploaded-trilogy-book-"]{height:var(--borg-trilogy-mobile-height)!important;}
  .borg-vault-book[src*="borgreads-uploaded-trilogy-book-"]{height:230px!important;max-height:76%!important;}
}
@media(max-width:470px){
  body.home .borg-layered-book-image{height:270px!important;}
}


/* v5.9.65 — Borg Reads Cinema + final sitewide equal book artwork sizing */
:root{--borg-equal-book-h:clamp(230px,29vw,360px)}
.borg-library-cover,.borg-all-books-cover,.borg-book-cover-native,
.borg-home-book,.borg-book-card,.borg-trilogy-book,.borg-vault-select,
.borg-vault-manuscript-book{display:flex!important;align-items:flex-end!important;justify-content:center!important}
.borg-library-cover img,.borg-all-books-cover img,.borg-book-cover-native img,
.borg-home-book img,.borg-book-card img,.borg-trilogy-book img,
.borg-vault-book,.borg-vault-manuscript-book img{
 width:auto!important;max-width:100%!important;height:var(--borg-equal-book-h)!important;
 object-fit:contain!important;object-position:center bottom!important
}
.borg-vault-book{height:72%!important}
.borg-vault-manuscript-book img{height:260px!important}

.borg-cinema-page{min-height:75vh;background:radial-gradient(circle at 50% 0,#26324a 0,#101522 42%,#07090e 100%);color:#ead7ae;padding:clamp(26px,5vw,64px) 18px 70px}
.borg-cinema-shell{width:min(1180px,100%);margin:auto}
.borg-cinema-mast{text-align:center;margin-bottom:24px}
.borg-cinema-mast .eyebrow{font:600 11px/1.3 Georgia,serif;letter-spacing:.3em;color:#c69a50;text-transform:uppercase}
.borg-cinema-mast h1{margin:8px 0 0;font:normal clamp(34px,6vw,68px)/1 Georgia,serif;color:#f2d99f;text-shadow:0 3px 16px #000}
.borg-cinema-mast h2{margin:10px 0 0;font:normal clamp(18px,3vw,30px)/1.2 Georgia,serif;color:#fff0cb}
.borg-cinema-mast p{margin:8px 0;color:#bcae94;letter-spacing:.14em;font-size:11px;text-transform:uppercase}
.borg-cinema-screen{position:relative;aspect-ratio:16/9;background:#020304;border:2px solid #b78a43;border-radius:10px;overflow:hidden;box-shadow:0 24px 60px #000b,0 0 0 5px #15100b,0 0 28px #b98b3b33}
.borg-cinema-screen video{display:block;width:100%;height:100%;background:#000;object-fit:contain}
.borg-cinema-placeholder{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:28px;background:linear-gradient(#02040a99,#02040add),url('assets/borgreads-exact-scene.webp') center/cover no-repeat}
.borg-cinema-placeholder strong{display:block;font:normal clamp(25px,4vw,48px) Georgia,serif;color:#f2d59a}.borg-cinema-placeholder span{display:block;max-width:650px;margin:10px auto;color:#d4c3a3}
.borg-cinema-lock{font-size:34px;margin-bottom:8px}
.borg-cinema-controls{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:20px 0}
.borg-cinema-action{display:inline-block;padding:11px 19px;border:1px solid #d0a55e;border-radius:6px;background:linear-gradient(#d6ad68,#9d7136);color:#1b1309!important;text-decoration:none!important;font:600 12px Georgia,serif;letter-spacing:.08em;text-transform:uppercase}
.borg-cinema-action:hover,.borg-cinema-action:focus{background:#f0d398;color:#1b1309!important}
.borg-cinema-action.is-ghost{background:transparent;color:#e7c98d!important}.borg-cinema-action.is-ghost:hover{background:#e7c98d;color:#17100a!important}
.borg-cinema-scenes{margin-top:28px;padding:20px;border:1px solid #65502d;border-radius:9px;background:#0c1019cc}
.borg-cinema-scenes h3{margin:0 0 14px;color:#e9c986;font:normal 21px Georgia,serif}.borg-cinema-scene-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.borg-cinema-scene{padding:12px;border:1px solid #3d4658;border-radius:5px;background:#131a27;color:#d8c7a6}.borg-cinema-scene b{display:block;color:#f1d69d;font-family:Georgia,serif}.borg-cinema-note{text-align:center;color:#9f927c;font-size:12px;margin-top:14px}
@media(max-width:700px){.borg-cinema-scene-grid{grid-template-columns:1fr}.borg-cinema-page{padding-inline:10px}:root{--borg-equal-book-h:280px}}

/* v6.16V — Trilogy I unified artwork baseline */
img[src*="borgreads-uploaded-trilogy-book-1-v68.png"],
img[src*="borgreads-uploaded-trilogy-book-2-v68.png"],
img[src*="borgreads-uploaded-trilogy-book-3-v68.png"] {
  object-fit: contain !important;
  object-position: center bottom !important;
}


/* v6.16V — Borg Reads Cinema implementation + homepage marketing */
.borg-home-cinema{position:relative;padding:clamp(38px,6vw,82px) 22px;background:
 radial-gradient(circle at 78% 38%,rgba(41,80,136,.30),transparent 34%),
 linear-gradient(135deg,#080b12 0%,#14111a 46%,#07111d 100%);border-top:1px solid #725526;border-bottom:1px solid #725526;color:#f1dfb8;overflow:hidden}
.borg-home-cinema:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(212,166,42,.07) 1px,transparent 1px),linear-gradient(rgba(212,166,42,.035) 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(to right,transparent,#000 30%,#000 70%,transparent)}
.borg-home-cinema-inner{position:relative;width:min(1320px,100%);margin:auto;display:grid;grid-template-columns:minmax(0,.86fr) minmax(420px,1.14fr);gap:clamp(28px,5vw,72px);align-items:center}
.borg-home-cinema-kicker,.borg-cinema-premiere{display:inline-block;color:#d4a62a;font:700 11px/1.2 Georgia,serif;letter-spacing:.22em;text-transform:uppercase}
.borg-home-cinema h2{margin:8px 0 2px;color:#f3d99b;font:normal clamp(35px,5vw,67px)/1 Georgia,serif;text-shadow:0 3px 16px #000}
.borg-home-cinema h3{margin:8px 0 15px;color:#fff0ce;font:normal clamp(19px,2.2vw,30px)/1.25 Georgia,serif}
.borg-home-cinema p{max-width:650px;color:#d5c6aa;font-size:clamp(14px,1.15vw,17px);line-height:1.7}
.borg-home-cinema-modes{display:flex;align-items:center;gap:12px;margin:20px 0;color:#f0ce87;font:700 13px Georgia,serif;letter-spacing:.18em}.borg-home-cinema-modes i{font-style:normal;color:#75582a}
.borg-home-cinema-cta{display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:0 23px;border:1px solid #d4a62a;border-radius:7px;background:linear-gradient(#9c1723,#4a0710);color:#fff0ca!important;text-decoration:none!important;font:700 12px Georgia,serif;letter-spacing:.08em;box-shadow:0 7px 20px #0008}
.borg-home-cinema-cta:hover{background:linear-gradient(#d4a62a,#9a6a24);color:#171008!important;transform:translateY(-2px)}
.borg-home-cinema-screen{position:relative;aspect-ratio:16/9;border:2px solid #bd9149;border-radius:10px;overflow:hidden;background:#020305;box-shadow:0 20px 55px #000c,0 0 30px rgba(212,166,42,.12)}
.borg-home-cinema-screen img{width:100%;height:100%;object-fit:cover;display:block;filter:brightness(.65) saturate(.9)}
.borg-home-cinema-screen:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 48%,rgba(0,0,0,.88))}
.borg-home-cinema-play{position:absolute;z-index:2;left:50%;top:46%;translate:-50% -50%;display:grid;place-items:center;width:74px;height:74px;border:1px solid #e4c477;border-radius:50%;background:#090b10c9;color:#f5d997;font-size:27px;padding-left:5px;box-shadow:0 0 28px #000}
.borg-home-cinema-screen>div{position:absolute;z-index:2;left:25px;right:25px;bottom:19px;color:#f7e1ae}.borg-home-cinema-screen b{display:block;font:normal clamp(18px,2vw,29px) Georgia,serif}.borg-home-cinema-screen small{letter-spacing:.14em;color:#bda97e}
.borg-cinema-feature{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:35px;align-items:center;margin:0 0 26px;padding:25px;border:1px solid #5c4728;border-radius:10px;background:linear-gradient(135deg,#101725e8,#151019e8);box-shadow:0 12px 30px #0006}
.borg-cinema-feature-copy h2{font:normal clamp(30px,4vw,48px)/1 Georgia,serif;color:#f2d99f;margin:8px 0}.borg-cinema-subtitle{color:#c7ad79!important;letter-spacing:.12em;text-transform:uppercase;font-size:11px}.borg-cinema-feature-copy>p{color:#d2c3a7;line-height:1.65}
.borg-cinema-feature-book{text-align:center}.borg-cinema-feature-book img{height:290px;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 16px 12px #000b)}
.borg-cinema-feature-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.borg-cinema-inline-link{display:inline-block;margin-top:16px;color:#f0cf8d!important;text-decoration:underline!important}
.borg-cinema-action.is-locked{background:#171a20;color:#9e927d!important;border-color:#4a4235;cursor:default}
.borg-cinema-experience{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.borg-cinema-experience article{padding:18px;border:1px solid #5e4b2d;border-radius:8px;background:#0c111bcc;text-align:center}.borg-cinema-experience b{display:block;color:#efce89;font:normal 22px Georgia,serif;margin-bottom:7px}.borg-cinema-experience span{color:#c6b99f;font-size:13px;line-height:1.5}
@media(max-width:850px){.borg-home-cinema-inner{grid-template-columns:1fr}.borg-home-cinema-art{order:-1}.borg-cinema-feature{grid-template-columns:1fr}.borg-cinema-feature-book{order:-1}.borg-cinema-feature-book img{height:230px}.borg-cinema-experience{grid-template-columns:1fr}}

/* v6.16V — transparent Cinema promotion over the left castle */
.borg-layered-stage{position:relative}
.borg-layered-overlay{position:absolute;inset:0}
.borg-castle-cinema{
 position:absolute;z-index:12;left:clamp(18px,4vw,70px);top:clamp(26px,5vw,82px);
 width:clamp(225px,23vw,355px);padding:0;background:transparent!important;
 border:0!important;box-shadow:none!important;text-align:center;color:#f5e4b9;
 filter:drop-shadow(0 3px 3px rgba(0,0,0,.95));pointer-events:auto
}
.borg-castle-cinema-kicker{display:block;margin-bottom:6px;color:#e3b95d;font:700 10px/1.2 Georgia,serif;letter-spacing:.23em}
.borg-castle-cinema h2{margin:0;color:#f3d38a;font:normal clamp(27px,3.2vw,47px)/.91 Georgia,serif;letter-spacing:.035em;text-shadow:0 2px 2px #000,0 0 10px #000}
.borg-castle-cinema-tagline{margin:9px 0 11px;color:#f8ecd2;font:italic clamp(12px,1.1vw,16px)/1.35 Georgia,serif;text-shadow:0 2px 3px #000}
.borg-castle-cinema-tagline strong{color:#efc76c;font-weight:normal}
.borg-castle-cinema-title{color:#fff0c7;font:700 clamp(13px,1.35vw,19px)/1.2 Georgia,serif;letter-spacing:.065em;text-shadow:0 2px 3px #000}
.borg-castle-cinema-status{margin-top:4px;color:#d8c49b;font:700 9px/1.2 Georgia,serif;letter-spacing:.12em}
.borg-castle-cinema-modes{display:flex;justify-content:center;gap:8px;margin:11px 0 12px;color:#f2cf82;font:700 10px Georgia,serif;letter-spacing:.13em}
.borg-castle-cinema-modes i{font-style:normal;color:#ad7c2f}
.borg-castle-cinema-button{display:inline-flex;align-items:center;justify-content:center;min-width:145px;min-height:35px;padding:0 15px;border:1px solid #d5a84e;border-radius:5px;background:rgba(63,5,12,.78);color:#fff0c9!important;text-decoration:none!important;font:700 10px Georgia,serif;letter-spacing:.09em;box-shadow:0 3px 12px #0009}
.borg-castle-cinema-button:hover{background:rgba(190,133,34,.92);color:#130d05!important;transform:translateY(-2px)}
@media(max-width:900px){.borg-castle-cinema{left:12px;top:22px;width:215px}.borg-castle-cinema h2{font-size:27px}.borg-castle-cinema-tagline{font-size:11px}}
@media(max-width:650px){.borg-castle-cinema{position:absolute;left:10px;top:14px;width:185px}.borg-castle-cinema-kicker,.borg-castle-cinema-status{display:none}.borg-castle-cinema h2{font-size:22px}.borg-castle-cinema-tagline{margin:5px 0;font-size:10px}.borg-castle-cinema-title{font-size:11px}.borg-castle-cinema-modes{margin:6px 0;font-size:8px}.borg-castle-cinema-button{min-width:115px;min-height:29px;font-size:8px}}

/* v6.16V — Cinema castle window: Borg Reads navy/gold translucent panel */
.borg-castle-cinema{
 padding:clamp(16px,1.8vw,25px) clamp(15px,1.8vw,24px)!important;
 background:rgba(7,17,31,.36)!important;
 border:1px solid rgba(212,166,42,.78)!important;
 border-radius:9px!important;
 box-shadow:0 12px 30px rgba(0,0,0,.42),inset 0 0 24px rgba(255,255,255,.025)!important;
 backdrop-filter:blur(2px);
 -webkit-backdrop-filter:blur(2px);
}
.borg-castle-cinema:before{
 content:"";position:absolute;inset:5px;border:1px solid rgba(154,106,36,.34);
 border-radius:5px;pointer-events:none
}
@media(max-width:650px){
 .borg-castle-cinema{
  padding:11px 9px!important;
  background:rgba(7,17,31,.36)!important;
  border:1px solid rgba(212,166,42,.78)!important
 }
}

/* v6.16V — Cinema window 25% smaller and raised clear of Book I */
.borg-castle-cinema{
 left:clamp(20px,4.4vw,74px)!important;
 top:clamp(10px,2.1vw,32px)!important;
 width:clamp(190px,18vw,266px)!important;
 padding:clamp(12px,1.35vw,19px) clamp(11px,1.35vw,18px)!important;
}
.borg-castle-cinema-kicker{font-size:8px!important;margin-bottom:5px!important}
.borg-castle-cinema h2{font-size:clamp(22px,2.4vw,35px)!important}
.borg-castle-cinema-tagline{font-size:clamp(10px,.85vw,12px)!important;margin:7px 0 8px!important}
.borg-castle-cinema-title{font-size:clamp(11px,1vw,14px)!important}
.borg-castle-cinema-status{font-size:7px!important}
.borg-castle-cinema-modes{font-size:8px!important;margin:8px 0 9px!important}
.borg-castle-cinema-button{min-width:112px!important;min-height:28px!important;padding:0 11px!important;font-size:8px!important}
.borg-authors-expo-credit{padding:10px 15px;text-align:center;background:#070b12;border-top:1px solid rgba(154,106,36,.42);color:#8e826c;font:11px Georgia,serif;letter-spacing:.04em}
.borg-authors-expo-credit a{color:#c89b45!important;text-decoration:none!important;letter-spacing:.09em;font-weight:700}
.borg-authors-expo-credit a:hover{color:#e2bc68!important}
@media(max-width:650px){
 .borg-castle-cinema{left:8px!important;top:8px!important;width:165px!important;padding:8px!important}
 .borg-castle-cinema h2{font-size:19px!important}
}

/* v6.16V — matching Alike Minds + Trilogy I Cinema */
.borg-alike-minds{position:absolute;z-index:12;right:clamp(20px,4.4vw,74px);top:clamp(10px,2.1vw,32px);width:clamp(190px,18vw,266px);padding:clamp(12px,1.35vw,19px) clamp(11px,1.35vw,18px);background:rgba(7,17,31,.18);border:1px solid rgba(212,166,42,.78);border-radius:9px;box-shadow:0 12px 30px rgba(0,0,0,.3),inset 0 0 24px rgba(255,255,255,.02);backdrop-filter:blur(1px);text-align:center;color:#f5e4b9;filter:drop-shadow(0 3px 3px rgba(0,0,0,.9));pointer-events:auto}
.borg-alike-minds:before{content:"";position:absolute;inset:5px;border:1px solid rgba(154,106,36,.34);border-radius:5px;pointer-events:none}
.borg-alike-kicker{display:block;margin-bottom:5px;color:#e3b95d;font:700 8px Georgia,serif;letter-spacing:.23em}.borg-alike-minds h2{margin:0;color:#f3d38a;font:normal clamp(22px,2.4vw,35px)/.91 Georgia,serif}.borg-alike-cap{text-transform:none}.borg-alike-tagline{margin:7px 0 8px;color:#f8ecd2;font:italic clamp(10px,.85vw,12px)/1.35 Georgia,serif}.borg-alike-tagline strong{color:#efc76c;font-weight:normal}.borg-alike-copy{margin:6px auto 10px;max-width:220px;color:#eee1c6;font:10px/1.4 Georgia,serif}.borg-alike-button{display:inline-flex;align-items:center;justify-content:center;min-width:112px;min-height:28px;padding:0 11px;border:1px solid #d5a84e;border-radius:5px;background:rgba(63,5,12,.78);color:#fff0c9!important;text-decoration:none!important;font:700 8px Georgia,serif;letter-spacing:.09em}
.borg-alike-page{min-height:72vh;padding:80px 20px;background:radial-gradient(circle at center,#17243a,#060a11 70%);display:grid;place-items:center}.borg-alike-page-panel{width:min(720px,94vw);padding:55px 30px;text-align:center;border:1px solid #9a6a24;border-radius:10px;background:rgba(7,17,31,.82);color:#e8d7b1}.borg-alike-page-panel>span{color:#d4a62a;letter-spacing:.22em;font:700 10px Georgia,serif}.borg-alike-page-panel h1{color:#f1d18a;font:normal clamp(40px,7vw,72px) Georgia,serif}.borg-alike-coming{margin:28px 0;color:#d4a62a;letter-spacing:.28em;font:700 14px Georgia,serif}
.borg-cinema-library{min-height:80vh;padding:48px 20px 70px;background:transparent}.borg-cinema-library-shell{width:min(1280px,96vw);margin:auto;padding:52px 45px;border:1px solid #9a6a24;border-radius:13px;background:rgba(10,18,34,.88);box-shadow:0 18px 50px #0007}.borg-cinema-library-head{text-align:center;margin-bottom:34px}.borg-cinema-library-head span{color:#d4a62a;font:700 12px Georgia,serif;letter-spacing:.18em}.borg-cinema-library-head h1{margin:14px 0;color:#f2d48d;font:normal 34px Georgia,serif}.borg-cinema-library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px}.borg-cinema-library-card{padding:7px 7px 22px;text-align:center;border:2px solid #a97c2d;border-radius:15px;background:#10172b;box-shadow:inset 0 0 0 5px #11192c,inset 0 0 0 6px rgba(212,166,42,.35)}.borg-cinema-library-art{position:relative;height:360px;margin:14px 35px 10px;border:1px solid rgba(212,166,42,.38);border-radius:50% 50% 9px 9px/32% 32% 9px 9px;display:grid;place-items:center;background:radial-gradient(circle,#30344d,#101728 68%)}.borg-cinema-library-art img{height:235px;width:auto;max-width:88%;object-fit:contain;filter:drop-shadow(0 12px 10px #000b)}.borg-cinema-star{position:absolute;top:-13px;color:#ffd76c}.borg-cinema-star.left{left:-32px}.borg-cinema-star.right{right:-32px}.borg-cinema-library-card h2{margin:8px 5px 4px;color:#f4d78c;font:normal 25px Georgia,serif}.borg-cinema-booknum{color:#ffd66d;font:700 13px Georgia,serif;letter-spacing:.08em}.borg-cinema-lock{position:absolute;bottom:17px;padding:5px 14px;border:1px solid #98722d;background:#090d16cc;color:#d0b36f;font:700 9px Georgia,serif;letter-spacing:.12em}.borg-cinema-watch{display:inline-block;margin-top:12px;padding:8px 22px;border:1px solid #d4a62a;border-radius:5px;background:#520913;color:#fff0ca!important;text-decoration:none!important;font:700 10px Georgia,serif}.borg-cinema-notowned{display:block;margin-top:13px;color:#a99978;font:700 9px Georgia,serif;letter-spacing:.1em}.borg-cinema-library-foot{text-align:center;margin-top:30px}.borg-cinema-library-foot a{color:#e7c46e!important}
.borg-movie-page{min-height:80vh;padding:55px 20px;background:#050912}.borg-movie-shell{width:min(1180px,96vw);margin:auto;text-align:center;color:#dfd0af}.borg-movie-kicker{color:#d4a62a;letter-spacing:.17em;font:700 11px Georgia,serif}.borg-movie-shell h1{color:#f2d38b;font:normal 48px Georgia,serif;margin:12px}.borg-movie-screen{aspect-ratio:16/9;margin:28px auto;border:2px solid #a97b2b;border-radius:10px;overflow:hidden;background:#020306;display:grid;place-items:center;box-shadow:0 20px 55px #000}.borg-movie-screen video{width:100%;height:100%}.borg-movie-ready{display:grid;gap:12px;color:#d8c59e}.borg-movie-ready b{color:#f1d084;font:normal 25px Georgia,serif}.borg-movie-nav a{color:#e8c670!important}
@media(max-width:850px){.borg-cinema-library-grid{grid-template-columns:1fr}.borg-cinema-library-art{height:300px}.borg-alike-minds{right:8px;top:8px;width:165px;padding:8px}.borg-alike-copy,.borg-alike-kicker{display:none}}

/* v6.16V — final approved matching Cinema / Alike Minds hero windows */
.borg-castle-cinema,
.borg-alike-minds{
 top:clamp(10px,2.1vw,32px)!important;
 width:clamp(190px,18vw,266px)!important;
 min-height:236px!important;
 box-sizing:border-box!important;
 padding:clamp(12px,1.35vw,19px) clamp(11px,1.35vw,18px)!important;
 background:rgba(7,17,31,.40)!important;
 border:1px solid rgba(212,166,42,.78)!important;
 border-radius:9px!important;
 box-shadow:0 12px 30px rgba(0,0,0,.38),inset 0 0 24px rgba(255,255,255,.022)!important;
 backdrop-filter:blur(1px)!important;
 -webkit-backdrop-filter:blur(1px)!important;
}
.borg-castle-cinema{left:clamp(20px,4.4vw,74px)!important}
.borg-alike-minds{right:clamp(20px,4.4vw,74px)!important}
.borg-castle-cinema:before,
.borg-alike-minds:before{
 content:"";position:absolute;inset:5px;
 border:1px solid rgba(154,106,36,.34);
 border-radius:5px;pointer-events:none
}
@media(max-width:650px){
 .borg-castle-cinema,.borg-alike-minds{
  top:8px!important;width:165px!important;min-height:190px!important;padding:8px!important;
  background:rgba(7,17,31,.40)!important
 }
 .borg-castle-cinema{left:8px!important}
 .borg-alike-minds{right:8px!important}
}

/* v6.16V — exact matched homepage feature windows and aligned buttons */
.borg-castle-cinema,
.borg-alike-minds{
 top:clamp(10px,2.1vw,32px)!important;
 width:clamp(190px,18vw,266px)!important;
 height:280px!important;
 min-height:280px!important;
 padding:16px 14px 17px!important;
 box-sizing:border-box!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 background:rgba(7,17,31,.40)!important;
 border:1px solid rgba(212,166,42,.78)!important;
 border-radius:9px!important;
}
.borg-castle-cinema{left:clamp(20px,4.4vw,74px)!important}
.borg-alike-minds{right:clamp(20px,4.4vw,74px)!important}
.borg-castle-cinema-button,
.borg-alike-button{
 margin-top:auto!important;
 margin-bottom:0!important;
 width:112px!important;
 min-width:112px!important;
 height:29px!important;
 min-height:29px!important;
 padding:0 10px!important;
 box-sizing:border-box!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 font:700 8px/1 Georgia,serif!important;
 letter-spacing:.06em!important;
}
@media(max-width:650px){
 .borg-castle-cinema,.borg-alike-minds{
  width:165px!important;height:205px!important;min-height:205px!important;
  padding:9px 8px 10px!important
 }
 .borg-castle-cinema-button,.borg-alike-button{
  width:100px!important;min-width:100px!important;height:27px!important;min-height:27px!important
 }
}

/* v6.16V — Cinema navigation + polished main Cinema Trilogy page */
.borg-menu-cinema>a,.borg-menu-cinema-direct{color:inherit}
.borg-cinema-library-head:after{content:"";display:block;width:92px;height:1px;margin:18px auto 0;background:linear-gradient(90deg,transparent,#d4a62a,transparent)}
.borg-cinema-library-card{position:relative;overflow:hidden}
.borg-cinema-library-card:before,.borg-cinema-library-card:after{content:"✦";position:absolute;top:8px;color:#d4a62a;font-size:14px}
.borg-cinema-library-card:before{left:10px}.borg-cinema-library-card:after{right:10px}
.borg-cinema-card-lock{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);min-width:95px;padding:6px 10px;border:1px solid rgba(212,166,42,.58);border-radius:4px;background:rgba(5,9,16,.86);color:#c8aa66;font:700 9px Georgia,serif;letter-spacing:.11em}
.borg-cinema-card-lock span{margin-right:5px;color:#e4bd64}
.borg-cinema-watch{transition:transform .18s ease,background .18s ease}
.borg-cinema-watch:hover{background:#b47c20;color:#130d05!important;transform:translateY(-2px)}

/* v6.16V — Cinema collection labels and Observatory Cinema references */
.borg-cinema-edition{
 margin:7px 0 12px;
 color:#d4a62a;
 font:700 10px/1.2 Georgia,serif;
 letter-spacing:.12em;
 text-transform:uppercase;
}
.borg-observatory-cinema-links{
 margin:18px 0 16px;
 padding:14px 16px;
 border:1px solid rgba(212,166,42,.58);
 background:rgba(7,17,31,.58);
 text-align:center;
}
.borg-observatory-cinema-kicker{
 margin-bottom:10px;
 color:#d4a62a;
 font:700 10px/1.2 Georgia,serif;
 letter-spacing:.15em;
}
.borg-observatory-cinema-links a{
 display:inline-block;
 margin:4px 5px;
 padding:8px 11px;
 border:1px solid rgba(212,166,42,.62);
 color:#f2d58a!important;
 background:rgba(20,13,8,.72);
 font:700 10px/1 Georgia,serif;
 text-decoration:none!important;
}
.borg-observatory-cinema-links a:hover{
 background:#9a6a24;
 color:#fff!important;
}
.borg-observatory-cinema-links .borg-observatory-main-cinema{
 background:#4b1717;
}

/* v6.16V Cinema entitlement buttons */
.borg-cinema-purchase,.borg-vault-watch-cinema,.borg-vault-purchase-cinema{
 display:inline-flex;align-items:center;justify-content:center;min-width:128px;min-height:34px;
 padding:8px 14px;border:1px solid #d4a62a;border-radius:4px;background:#5a1717;
 color:#f7dda0!important;font:700 10px/1 Georgia,serif;letter-spacing:.08em;
 text-decoration:none!important;text-transform:uppercase;transition:transform .18s ease,background .18s ease
}
.borg-cinema-purchase:hover,.borg-vault-watch-cinema:hover,.borg-vault-purchase-cinema:hover{
 background:#9a6a24;color:#fff!important;transform:translateY(-2px)
}
.borg-vault-cinema-access{margin-top:10px;text-align:center}

/* v6.16V — Book I Cinema control built into the Book Vault arch */
.borg-vault-alcove-1 .borg-vault-arch{
 padding-bottom:34px!important;
}
.borg-vault-cinema-plinth{
 position:absolute!important;
 left:8%!important;
 right:8%!important;
 bottom:-25px!important;
 z-index:8!important;
 height:28px!important;
 box-sizing:border-box!important;
 border:1px solid #d4a62a!important;
 border-top:0!important;
 background:linear-gradient(180deg,#6d531e 0%,#3a270d 52%,#171006 100%)!important;
 box-shadow:0 4px 10px rgba(0,0,0,.55),inset 0 1px rgba(255,225,139,.25)!important;
}
.borg-vault-cinema-plinth a{
 width:100%!important;
 height:100%!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 padding:0 8px!important;
 box-sizing:border-box!important;
 color:#f6dfa1!important;
 text-decoration:none!important;
 font:700 10px/1 Georgia,serif!important;
 letter-spacing:.12em!important;
 text-transform:uppercase!important;
}
.borg-vault-cinema-plinth:hover{
 background:linear-gradient(180deg,#b07b27 0%,#6e4514 55%,#2b1907 100%)!important;
}
.borg-vault-cinema-plinth a:hover{color:#fff4cf!important}

/* v6.16V — navigation consistency.
   CINEMA is positioned after BOOKS by PHP; scroll/dropdown menu labels render uppercase. */
.borg-menu-cinema>a,.borg-menu-cinema-direct{
 text-transform:uppercase!important;
}
/* Sticky / scroll-down / popdown navigation only: make every link label uppercase. */
.borg-scroll-header nav a,
.borg-scroll-header .menu a,
.borg-popdown nav a,
.borg-popdown .menu a,
.sticky-header nav a,
.sticky-header .menu a,
.is-sticky nav a,
.is-sticky .menu a{
 text-transform:uppercase!important;
}

/* v6.16V — exact menu behavior requested */
.borg-menu-cinema>a,.borg-menu-cinema-direct{ text-transform:uppercase!important; }

/* The scrolling/drop-down header: every visible navigation label is uppercase. */
.borg-scroll-header a,
.borg-scroll-header nav a,
.borg-scroll-header .menu a,
.borg-popdown a,
.borg-popdown nav a,
.borg-popdown .menu a,
.sticky-header a,
.sticky-header nav a,
.sticky-header .menu a,
.is-sticky nav a,
.is-sticky .menu a,
body .borg-sticky-header a,
body .borg-sticky-nav a{
 text-transform:uppercase!important;
}

/* v6.16V — homepage READ/WATCH pairing beneath each Trilogy I title */
.borg-home-cinema-explore{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 width:164px!important;
 min-height:38px!important;
 margin:8px auto 0!important;
 padding:7px 12px!important;
 box-sizing:border-box!important;
 border:1px solid #d4a62a!important;
 border-radius:3px!important;
 background:rgba(7,17,31,.92)!important;
 color:#f3d995!important;
 font:700 12px/1 Georgia,serif!important;
 letter-spacing:.025em!important;
 text-decoration:none!important;
 text-transform:uppercase!important;
 box-shadow:0 5px 13px rgba(0,0,0,.32)!important;
 transition:transform .18s ease,background .18s ease,color .18s ease!important;
}
.borg-home-cinema-explore:hover{
 background:#9a6a24!important;
 color:#fff!important;
 transform:translateY(-2px)!important;
}

/* v6.16V — jump-down/scroll menu: all navigation labels uppercase. */
#header-sticky #header-sticky-links-inner a,
#header-sticky #header-sticky-links-inner > ul.menu > li > a {
 text-transform:uppercase!important;
}

/* Homepage: EXPLORE heading with equal BOOK / CINEMA choices. */
.borg-home-explore-pair{display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important;margin-top:12px!important}
.borg-home-explore-label{font:700 12px/1 Georgia,serif!important;letter-spacing:.16em!important;color:#f8e3b0!important;text-shadow:0 1px 3px #000!important}
.borg-home-explore-buttons{display:flex!important;justify-content:center!important;gap:7px!important;flex-wrap:nowrap!important}
.borg-home-explore-buttons .borg-layered-explore,.borg-home-cinema-choice{display:flex!important;align-items:center!important;justify-content:center!important;width:126px!important;min-height:38px!important;margin:0!important;padding:7px 10px!important;box-sizing:border-box!important;border:1px solid #d4a62a!important;border-radius:2px!important;color:#f7dda0!important;font:700 12px/1 Georgia,serif!important;text-decoration:none!important;letter-spacing:.035em!important}
.borg-home-cinema-choice{background:rgba(7,17,31,.94)!important}
.borg-home-cinema-choice:hover{background:#9a6a24!important;color:#fff!important;transform:translateY(-2px)!important}

/* Vault: separate Cinema choice and separate BOOK/CINEMA ownership. */
.borg-vault-cinema-plinth{position:absolute!important;left:5%!important;width:90%!important;bottom:-39px!important;height:29px!important;z-index:9!important;box-sizing:border-box!important;border:1px solid #d4a62a!important;background:linear-gradient(#3c321d,#16130d)!important;box-shadow:0 6px 10px #0008!important}
.borg-vault-cinema-plinth a{display:flex!important;width:100%!important;height:100%!important;align-items:center!important;justify-content:center!important;color:#f8dfa1!important;text-decoration:none!important;font:700 10px/1 Georgia,serif!important;letter-spacing:.12em!important}
.borg-vault-cinema-plinth:hover{background:linear-gradient(#9a6a24,#3b260b)!important}
.borg-vault-alcove h3{margin-top:48px!important}
.borg-vault-ownership{display:flex!important;flex-direction:column!important;gap:5px!important;align-items:center!important}
.borg-vault-ownership .borg-vault-state b{color:#f8dfa1!important}

/* v6.16V — Vault controls and Cinema navigation. */
.borg-vault-plinth a{display:flex!important;width:100%!important;height:100%!important;align-items:center!important;justify-content:center!important;color:inherit!important;text-decoration:none!important}
.borg-vault-plinth:hover{filter:brightness(1.14)}
.borg-menu-cinema{position:relative}
.borg-menu-cinema>.sub-menu{display:none;position:absolute;z-index:99999;min-width:250px}
.borg-menu-cinema:hover>.sub-menu,.borg-menu-cinema:focus-within>.sub-menu{display:block}
.borg-menu-cinema .sub-menu .menu-item-has-children{position:relative}
.borg-menu-cinema .sub-menu .menu-item-has-children>.sub-menu{display:none;position:absolute;left:100%;top:0;min-width:330px}
.borg-menu-cinema .sub-menu .menu-item-has-children:hover>.sub-menu,.borg-menu-cinema .sub-menu .menu-item-has-children:focus-within>.sub-menu{display:block}
#header-sticky #header-sticky-links-inner a{text-transform:uppercase!important}

/* v6.16V — Enter MINDS uses the standard Borg Reads gold hover. */
.borg-alike-button:hover,
.borg-alike-button:focus,
a.borg-alike-button:hover,
a.borg-alike-button:focus,
.borg-alike-minds a.borg-alike-button:hover,
.borg-alike-minds a.borg-alike-button:focus{
 background:#D4A62A!important;
 background-color:#D4A62A!important;
 border-color:#D4A62A!important;
 color:#0b0d12!important;
 text-decoration:none!important;
 transform:translateY(-2px)!important;
 box-shadow:0 5px 14px rgba(0,0,0,.35)!important;
}


/* v6.16V — Trilogy II is intentionally empty until its books are ready. */
.borg-trilogy-two-empty{min-height:110px}

/* Keep SHOP dropdown's ALL CINEMA visually identical to the other menu links. */
.borg-shop-all-cinema > a{text-transform:uppercase}


/* v6.16V — CINEMA mirrors BOOKS nested dropdown */
.borg-cinema-menu { position: relative; }
.borg-cinema-menu > .sub-menu,
.borg-cinema-menu .menu-item-has-children > .sub-menu {
    display: none;
    position: absolute;
    z-index: 99999;
}
.borg-cinema-menu:hover > .sub-menu,
.borg-cinema-menu:focus-within > .sub-menu {
    display: block;
}
.borg-cinema-menu > .sub-menu .menu-item-has-children {
    position: relative;
}
.borg-cinema-menu > .sub-menu .menu-item-has-children:hover > .sub-menu,
.borg-cinema-menu > .sub-menu .menu-item-has-children:focus-within > .sub-menu {
    display: block;
    left: 100%;
    top: 0;
}
.borg-cinema-menu .sub-menu a {
    white-space: nowrap;
}


/* =========================================================
   v6.16V — HEADER DROPDOWN REPAIR
   Keep BOOKS / CINEMA / SHOP submenus out of normal header flow.
   ========================================================= */
.site-header nav ul,
.site-header .main-navigation ul,
header nav ul,
header .main-navigation ul {
    list-style: none;
}

/* Every nested menu starts hidden and positioned outside normal layout. */
.site-header nav li > ul,
.site-header .main-navigation li > ul,
header nav li > ul.sub-menu,
header .main-navigation li > ul.sub-menu,
.borg-cinema-menu > ul,
.borg-cinema-menu ul.sub-menu {
    display: none !important;
    position: absolute !important;
    top: 100%;
    left: 0;
    z-index: 999999 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: max-content;
    min-width: 190px;
}

/* Direct child only: opening one menu must not open every nested level. */
.site-header nav li:hover > ul,
.site-header nav li:focus-within > ul,
.site-header .main-navigation li:hover > ul,
.site-header .main-navigation li:focus-within > ul,
header nav li:hover > ul.sub-menu,
header nav li:focus-within > ul.sub-menu,
header .main-navigation li:hover > ul.sub-menu,
header .main-navigation li:focus-within > ul.sub-menu,
.borg-cinema-menu:hover > ul,
.borg-cinema-menu:focus-within > ul {
    display: block !important;
}

/* Second level flies to the right of TRILOGY I. */
.site-header nav li > ul li > ul,
.site-header .main-navigation li > ul li > ul,
header nav li > ul.sub-menu li > ul.sub-menu,
header .main-navigation li > ul.sub-menu li > ul.sub-menu,
.borg-cinema-menu > ul li > ul {
    top: 0 !important;
    left: 100% !important;
}

/* Nested parents must establish the flyout positioning context. */
.site-header nav li,
.site-header .main-navigation li,
header nav li,
header .main-navigation li,
.borg-cinema-menu,
.borg-cinema-menu li {
    position: relative;
}

/* Keep dropdown entries as menu rows, not part of the horizontal header. */
.site-header nav li > ul > li,
.site-header .main-navigation li > ul > li,
header nav li > ul.sub-menu > li,
header .main-navigation li > ul.sub-menu > li,
.borg-cinema-menu ul > li {
    display: block !important;
    float: none !important;
    width: 100%;
}

/* SHOP and CINEMA dropdown text should not wrap into the header. */
.site-header nav li > ul a,
.site-header .main-navigation li > ul a,
header nav li > ul.sub-menu a,
header .main-navigation li > ul.sub-menu a,
.borg-cinema-menu ul a {
    display: block;
    white-space: nowrap;
}

/* v6.16V — primary menu containment and compact utilities */
.borg-primary-menu{display:flex;align-items:center;flex-wrap:nowrap}
.borg-primary-menu>li{display:block;position:relative;flex:0 0 auto}
.borg-primary-menu>li>ul.sub-menu{display:none!important;position:absolute!important;top:100%!important;left:0!important;z-index:1000000!important}
.borg-primary-menu>li:hover>ul.sub-menu,.borg-primary-menu>li:focus-within>ul.sub-menu{display:block!important}
.borg-primary-menu ul.sub-menu li{display:block!important;position:relative;float:none!important}
.borg-primary-menu ul.sub-menu li>ul.sub-menu{display:none!important;position:absolute!important;top:0!important;left:100%!important}
.borg-primary-menu ul.sub-menu li:hover>ul.sub-menu,.borg-primary-menu ul.sub-menu li:focus-within>ul.sub-menu{display:block!important}
.borg-primary-menu ul.sub-menu a{display:block;white-space:nowrap}
.borg-exact-search input::placeholder{color:transparent!important;opacity:0!important}

/* v6.16V — public Cinema storefront ownership status */
.borg-cinema-owned{display:block;margin:12px auto 8px;color:#e7c45d;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}


/* v6.16V — protected floating Cinema viewer */
.borg-cinema-viewer-controls{display:flex;justify-content:center;gap:14px;margin:18px 0 4px}
.borg-cinema-viewer-controls button{appearance:none;border:1px solid #b98b31;border-radius:5px;background:#62141a;color:#f2d57d;padding:11px 24px;font-family:inherit;font-size:.78rem;font-weight:800;letter-spacing:.12em;cursor:pointer;text-transform:uppercase}
.borg-cinema-viewer-controls button:hover,.borg-cinema-viewer-controls button:focus{background:#8a1c24;color:#fff0b0;transform:translateY(-1px)}
.borg-cinema-float-body{margin:0!important;background:#02070d!important;min-height:100vh;overflow:auto}
.borg-cinema-float-body .borg-movie-page{min-height:100vh;padding:18px!important;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 35%,#102338 0,#06101b 52%,#02070d 100%)}
.borg-cinema-float-body .borg-movie-shell{width:min(1100px,100%);margin:0 auto}
.borg-cinema-float-body .borg-movie-kicker{display:block;text-align:center}
.borg-cinema-float-body .borg-movie-shell h1,.borg-cinema-float-body .borg-movie-shell>p{text-align:center}
.borg-cinema-float-body .borg-movie-nav{margin-top:12px;text-align:center}
.borg-cinema-float-body .borg-movie-screen:fullscreen{display:flex;align-items:center;justify-content:center;background:#000}
.borg-cinema-float-body .borg-movie-screen:fullscreen video{width:100vw;height:100vh;object-fit:contain}
.borg-movie-screen:fullscreen{display:flex;align-items:center;justify-content:center;background:#000}
.borg-movie-screen:fullscreen video{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;object-fit:contain}


/* v6.16V — true public Borg Reads Cinema landing page */
.borg-cinema-main{background:#050b15;color:#f4dc91;min-height:100vh}
.borg-cinema-main-hero{min-height:500px;display:flex;align-items:center;justify-content:center;padding:70px 24px;background:linear-gradient(rgba(2,7,14,.28),rgba(2,7,14,.78)),url("assets/borg-cinematic-stage.webp") center/cover no-repeat;border-bottom:1px solid #a87820}
.borg-cinema-main-overlay{width:min(760px,92%);text-align:center;padding:44px 52px;background:rgba(4,10,22,.72);border:1px solid #c29332;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.55),inset 0 0 40px rgba(205,157,55,.06)}
.borg-cinema-main-kicker,.borg-cinema-main-library header span,.borg-cinema-main-series,.borg-cinema-main-coming>span{display:block;color:#d6aa48;font-size:.72rem;font-weight:800;letter-spacing:.24em}
.borg-cinema-main-overlay h1{margin:12px 0 8px;font-size:clamp(3rem,7vw,6.2rem);line-height:.84;letter-spacing:.02em;color:#f5df9b;text-shadow:0 4px 18px #000}
.borg-cinema-main-overlay h1 strong{color:#e6bd58}
.borg-cinema-main-tagline{font-size:1.3rem;color:#fff0c1}
.borg-cinema-main-rule{width:120px;height:1px;background:#b8892e;margin:24px auto}
.borg-cinema-main-copy{max-width:620px;margin:0 auto;color:#d8d7d1;line-height:1.75}
.borg-cinema-main-library{width:min(1180px,92%);margin:0 auto;padding:70px 0 90px}
.borg-cinema-main-library header{text-align:center;margin-bottom:34px}
.borg-cinema-main-library h2{margin:8px 0;color:#f2d47c;font-size:2.2rem}
.borg-cinema-main-collections{display:grid;grid-template-columns:2fr 1fr;gap:28px}
.borg-cinema-main-trilogy,.borg-cinema-main-coming{border:1px solid #9d741f;border-radius:16px;background:linear-gradient(145deg,#10182d,#080e1b);padding:36px;text-align:center;box-shadow:0 18px 50px rgba(0,0,0,.35)}
.borg-cinema-main-books{display:flex;align-items:flex-end;justify-content:center;gap:16px;min-height:245px;margin-bottom:24px}
.borg-cinema-main-books img{width:min(28%,180px);height:auto;filter:drop-shadow(0 12px 12px rgba(0,0,0,.5));transition:.2s ease}
.borg-cinema-main-books img:hover{transform:translateY(-8px)}
.borg-cinema-main-trilogy h3,.borg-cinema-main-coming h3{font-size:2rem;margin:8px 0 10px;color:#f4d77e}
.borg-cinema-main-trilogy p,.borg-cinema-main-coming p{color:#c9c9c4;line-height:1.6}
.borg-cinema-main-trilogy>a{display:inline-block;margin-top:15px;padding:13px 24px;border:1px solid #c69b3c;border-radius:5px;background:#65161c;color:#f5dd91;text-decoration:none;font-size:.76rem;font-weight:800;letter-spacing:.1em}
.borg-cinema-main-trilogy>a:hover{background:#8b2027;color:#fff0b5}
.borg-cinema-main-coming{display:flex;flex-direction:column;justify-content:center;min-height:360px}
@media(max-width:800px){.borg-cinema-main-collections{grid-template-columns:1fr}.borg-cinema-main-overlay{padding:35px 22px}.borg-cinema-main-books{gap:6px}.borg-cinema-main-books img{width:31%}}

/* v6.16V — Cinema I product details uses the official Book I artwork */
.borg-generic-product .borg-book-cover-native img{max-width:78%;max-height:430px;width:auto;height:auto;object-fit:contain;display:block;margin:auto;filter:drop-shadow(0 14px 14px rgba(0,0,0,.42))}

/* v6.16V — clean Trilogy II queue state */
.borg-trilogy-next{text-align:center;padding:42px 20px 70px!important;min-height:0!important}
.borg-trilogy-next .borg-next-in-queue{margin:10px 0 0;color:#e5c66e;font-family:Georgia,serif;font-size:1.35rem;letter-spacing:.08em}
.borg-trilogy-next-page{text-align:center;max-width:900px;margin:70px auto;padding:70px 24px}
.borg-trilogy-next-page h1{margin:0 0 14px;color:#f0d47b;font-family:Georgia,serif;font-size:3rem}
.borg-trilogy-next-page p{margin:0;color:#e5c66e;font-family:Georgia,serif;font-size:1.5rem;letter-spacing:.08em}

/* v6.16V — Trilogy I Cinema collection identity */
.borg-cinema-collection-subtitle{text-align:center;margin:-8px 0 28px;color:#d5aa42;font-size:.75rem;font-weight:800;letter-spacing:.22em}

/* v6.16V — All Books Trilogy I adopts the compact Cinema Trilogy I presentation. */
.borg-all-books-page{padding-top:0!important}
.borg-books-cinema-format{margin-top:0!important;padding:54px max(18px,calc((100vw - 1400px)/2)) 50px!important;border-top:0!important;border-bottom:1px solid #8c692f;background:transparent}
.borg-books-collection-head{text-align:center;margin:0 auto 34px}
.borg-books-collection-head span{display:block;color:#d4a62a;font:700 12px Georgia,serif;letter-spacing:.20em}
.borg-books-collection-head h1{margin:15px 0 5px!important;color:#f2d48d!important;font:normal clamp(32px,3.2vw,43px) Georgia,serif!important;letter-spacing:.02em}
.borg-books-collection-head p{margin:0;color:#d5aa42;font:800 12px Georgia,serif;letter-spacing:.20em}
.borg-books-cinema-format .borg-all-books-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:34px!important;align-items:stretch}
.borg-books-cinema-format .borg-all-books-card{min-width:0!important;padding:7px 7px 22px!important;gap:8px!important;text-align:center!important;border:2px solid #a97c2d!important;border-radius:15px!important;background:#10172b!important;box-shadow:inset 0 0 0 5px #11192c,inset 0 0 0 6px rgba(212,166,42,.35)!important}
.borg-books-cinema-format .borg-all-books-card:before,.borg-books-cinema-format .borg-all-books-card:after{top:9px;color:#ffd76c}
.borg-books-cinema-format .borg-all-books-cover{position:relative;display:grid!important;place-items:center;width:auto!important;max-width:none!important;height:360px!important;aspect-ratio:auto!important;margin:14px 35px 10px!important;border:1px solid rgba(212,166,42,.38)!important;border-radius:50% 50% 9px 9px/32% 32% 9px 9px!important;background:radial-gradient(circle,#30344d,#101728 68%)!important;overflow:visible}
.borg-books-cinema-format .borg-all-books-cover img{width:auto!important;height:235px!important;max-width:88%!important;max-height:88%!important;object-fit:contain!important;filter:drop-shadow(0 12px 10px #000b)}
.borg-books-cinema-format .borg-all-books-card h3{min-height:0!important;margin:8px 5px 4px!important;font:normal 25px/1.18 Georgia,serif!important}
.borg-books-cinema-format .borg-all-books-price{margin:4px 0;color:#ffd66d;font:700 13px Georgia,serif;letter-spacing:.06em}
.borg-books-cinema-format .borg-upcoming-badge{display:block;margin:4px 0 2px;padding:0;border:0;border-radius:0;color:#a99978;font:700 9px Georgia,serif;letter-spacing:.1em;text-transform:uppercase}
.borg-books-cinema-format .borg-shop-button{display:inline-block!important;min-height:0!important;margin-top:8px!important;padding:8px 22px!important;border:1px solid #d4a62a!important;border-radius:5px!important;background:#520913!important;color:#fff0ca!important;font:700 10px Georgia,serif!important;letter-spacing:.04em}
.borg-books-cinema-format .borg-shop-button:hover{background:#6b101b!important;color:#fff6dc!important;transform:none!important}
@media(max-width:900px){.borg-books-cinema-format .borg-all-books-grid{grid-template-columns:1fr!important}.borg-books-cinema-format .borg-all-books-card{max-width:430px!important;margin-inline:auto!important;width:100%!important}}

/* v6.16V — sitewide Books/Cinema naming consistency.
   Top-level navigation remains uppercase; submenu hierarchy uses normal title case. */
.borg-exact-dropdown a,
.borg-primary-menu .sub-menu a,
#header-sticky .sub-menu a,
#header-sticky-links-inner .sub-menu a,
.borg-scroll-header .sub-menu a,
.borg-popdown .sub-menu a,
.sticky-header .sub-menu a,
.is-sticky .sub-menu a,
.borg-sticky-header .sub-menu a,
.borg-sticky-nav .sub-menu a,
.borg-trilogy-heading>a,
.borg-trilogy-heading-link,
.borg-shop-all-cinema>a{
  text-transform:none!important;
}
.borg-cinema-topnav>.borg-exact-navdrop>a,
.borg-cinema-topnav>a:not(.borg-exact-account):not(.borg-exact-cart){
  text-transform:uppercase;
}

/* v6.16V SHOP multi-level hover flyouts */
.borg-primary-menu .sub-menu .menu-item-has-children,#header-sticky .sub-menu .menu-item-has-children{position:relative}
.borg-primary-menu .sub-menu .menu-item-has-children>.sub-menu,#header-sticky .sub-menu .menu-item-has-children>.sub-menu{display:none!important;position:absolute!important;left:100%!important;top:-1px!important;min-width:285px!important;margin:0!important;z-index:10050!important}
.borg-primary-menu .sub-menu .menu-item-has-children:hover>.sub-menu,.borg-primary-menu .sub-menu .menu-item-has-children:focus-within>.sub-menu,#header-sticky .sub-menu .menu-item-has-children:hover>.sub-menu,#header-sticky .sub-menu .menu-item-has-children:focus-within>.sub-menu{display:block!important}
.borg-shop-dropdown .borg-exact-subdrop{position:relative}
.borg-shop-dropdown .borg-exact-subdrop>.borg-exact-flyout{display:none!important;position:absolute!important;left:100%!important;top:0!important;min-width:285px!important;z-index:10060!important}
.borg-shop-dropdown .borg-exact-subdrop:hover>.borg-exact-flyout,.borg-shop-dropdown .borg-exact-subdrop:focus-within>.borg-exact-flyout{display:block!important}
.borg-shop-dropdown .borg-exact-flyout>a,.borg-shop-dropdown .borg-exact-flyout>.borg-exact-subdrop>a{white-space:nowrap}

/* v6.16V — READ / WATCH purchase discovery */
.borg-experience-choice{margin:26px 0 8px;padding:20px;border:1px solid rgba(197,154,75,.72);border-radius:12px;background:linear-gradient(180deg,rgba(13,24,43,.94),rgba(7,13,25,.96));box-shadow:inset 0 0 0 4px rgba(8,14,27,.62)}
.borg-experience-kicker{text-align:center;margin:0 0 16px;color:#f0cb7b;font:700 12px Georgia,serif;letter-spacing:.18em}
.borg-experience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.borg-experience-option{min-width:0;padding:18px 14px;text-align:center;border:1px solid rgba(169,124,45,.75);border-radius:9px;background:rgba(16,23,43,.9)}
.borg-experience-option.is-current{box-shadow:inset 0 0 0 2px rgba(212,166,42,.22)}
.borg-experience-mode{display:block;margin-bottom:7px;color:#d4a62a;font:800 10px Georgia,serif;letter-spacing:.20em}
.borg-experience-option h3{margin:0 0 8px;color:#f4d78c;font:normal 20px/1.25 Georgia,serif}
.borg-experience-option p{margin:0 0 13px;color:#d8c9aa;font:14px/1.5 Georgia,serif}
.borg-experience-current{display:inline-block;padding:8px 13px;border:1px solid rgba(212,166,42,.62);border-radius:5px;color:#e8c979;font:700 10px Georgia,serif;letter-spacing:.08em}
.borg-experience-button{display:inline-flex!important;align-items:center;justify-content:center;min-height:38px;padding:8px 15px!important;font-size:11px!important}
@media(max-width:650px){.borg-experience-grid{grid-template-columns:1fr}}

/* v6.16V — SOLID NAVY INTERIORS RESTORED.
   IMPORTANT: HOME PAGE IS UNCHANGED.
   Transparency remains whatever the existing homepage already defines
   (including Borg Reads Cinema and Alike MINDS). Interior page boxes return
   to the original solid Borg Reads navy presentation. */
:root{--borg-solid-interior:#11182d;--borg-solid-card:#171f38;}

body:not(.home) article.page>.entry-content,
body:not(.home) .borg-book-page,
body:not(.home) .borg-library,
body:not(.home) .borg-generic-product .borg-book-page,
body:not(.home) .borg-trilogy-page,
body:not(.home) .borg-trilogy-wrap,
body:not(.home) .borg-shop-page,
body:not(.home) .borg-journal-page,
body:not(.home) .borg-chronicles,
body:not(.home) .borg-future-trilogy,
body:not(.home) .borg-reader-desk,
body:not(.home) .borg-reader-panel,
body:not(.home) .borg-series-page,
body:not(.home) .borg-cinema-library-shell,
body:not(.home) .borg-cinema-main{
 background:var(--borg-solid-interior)!important;
 background-image:none!important;
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}

/* Inner functional/card boxes remain solid and readable as well. */
body:not(.home) .borg-book-purchase,
body:not(.home) .borg-experience-choice,
body:not(.home) .borg-experience-option,
body:not(.home) .borg-library-card,
body:not(.home) .borg-all-books-card,
body:not(.home) .borg-cinema-library-card{
 background-color:var(--borg-solid-card)!important;
 background-image:none!important;
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}

/* Outer stages may show the site scenery; only the actual content boxes are
   solid. This does not affect the homepage. */
body:not(.home) .borg-cinema-library,
body:not(.home) .borg-generic-product,
body:not(.home) .site-main,
body:not(.home) #primary,
body:not(.home) .content-area{
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}

/* Navigation/header remains governed by its existing styling. */
body:not(.home) #header,
body:not(.home) #header-sticky,
body:not(.home) #intro,
body:not(.home) .borg-cinema-topnav{
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}

/* v6.16V — CINEMA COLOR STANDARD, SITEWIDE INTERIORS.
   Homepage is intentionally excluded and remains exactly as before.
   Interior hierarchy: dark solid navy outer content box + lighter solid navy
   cards/functional boxes + existing Borg Reads gold borders. No transparency. */
:root{
 --borg-interior-shell:#0d1428;
 --borg-interior-card:#1a213b;
}

/* Main/outer content boxes — match the richer dark Cinema shell. */
body:not(.home) article.page>.entry-content,
body:not(.home) .borg-book-page,
body:not(.home) .borg-library,
body:not(.home) .borg-generic-product .borg-book-page,
body:not(.home) .borg-trilogy-page,
body:not(.home) .borg-trilogy-wrap,
body:not(.home) .borg-shop-page,
body:not(.home) .borg-journal-page,
body:not(.home) .borg-chronicles,
body:not(.home) .borg-future-trilogy,
body:not(.home) .borg-reader-desk,
body:not(.home) .borg-reader-panel,
body:not(.home) .borg-series-page,
body:not(.home) .borg-cinema-library-shell,
body:not(.home) .borg-cinema-main{
 background-color:var(--borg-interior-shell)!important;
 background-image:none!important;
 opacity:1!important;
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}

/* Individual cards and purchase/choice boxes — slightly lighter Cinema-card navy. */
body:not(.home) .borg-book-purchase,
body:not(.home) .borg-experience-choice,
body:not(.home) .borg-experience-option,
body:not(.home) .borg-library-card,
body:not(.home) .borg-all-books-card,
body:not(.home) .borg-cinema-library-card,
body:not(.home) .borg-book-card,
body:not(.home) .borg-trilogy-card,
body:not(.home) .borg-shop-card,
body:not(.home) .borg-journal-card,
body:not(.home) .borg-chronicle-card,
body:not(.home) .borg-series-card{
 background-color:var(--borg-interior-card)!important;
 background-image:none!important;
 opacity:1!important;
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}

/* Never tint the page scenery itself; solid color belongs only to boxes. */
body:not(.home) .site-main,
body:not(.home) #primary,
body:not(.home) .content-area,
body:not(.home) .borg-cinema-library,
body:not(.home) .borg-generic-product{
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}

/* Preserve existing navigation/header styling and special private areas. */
body:not(.home) #header,
body:not(.home) #header-sticky,
body:not(.home) #intro,
body:not(.home) .borg-cinema-topnav,
body:not(.home) .borg-vault,
body:not(.home) .borg-my-library,
body:not(.home) .borg-vault-hall,
body:not(.home) .borg-cinema-theater,
body:not(.home) .borg-cinema-player-page,
body:not(.home) .borg-cinema-viewer{
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}

/* v6.34V — FULL INTERIOR SHELL SCAN FIX.
   Final interior hierarchy: clear scenery -> solid dark navy main content box
   -> lighter solid navy cards. Homepage is excluded. */
html body:not(.home) article.page>.entry-content,
html body:not(.home) article.page>.entry-content .borg-library,
html body:not(.home) article.page>.entry-content .borg-book-page,
html body:not(.home) article.page>.entry-content .borg-trilogy-page,
html body:not(.home) article.page>.entry-content .borg-trilogy-wrap,
html body:not(.home) article.page>.entry-content .borg-shop-page,
html body:not(.home) article.page>.entry-content .borg-journal-page,
html body:not(.home) article.page>.entry-content .borg-chronicles,
html body:not(.home) article.page>.entry-content .borg-chronicles-page,
html body:not(.home) article.page>.entry-content .borg-future-trilogy,
html body:not(.home) article.page>.entry-content .borg-reader-desk,
html body:not(.home) article.page>.entry-content .borg-reader-panel,
html body:not(.home) article.page>.entry-content .borg-series-page,
html body:not(.home) .borg-cinema-library-shell,
html body:not(.home) .borg-cinema-main,
html body:not(.home) .borg-books-cinema-format{
 background:#0d1428!important;
 background-color:#0d1428!important;
 background-image:none!important;
 opacity:1!important;
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}
html body:not(.home) .borg-library-card,
html body:not(.home) .borg-all-books-card,
html body:not(.home) .borg-cinema-library-card,
html body:not(.home) .borg-book-card,
html body:not(.home) .borg-trilogy-card,
html body:not(.home) .borg-shop-card,
html body:not(.home) .borg-journal-card,
html body:not(.home) .borg-chronicle-card,
html body:not(.home) .borg-series-card,
html body:not(.home) .borg-book-purchase,
html body:not(.home) .borg-experience-choice,
html body:not(.home) .borg-experience-option{
 background:#1a213b!important;
 background-color:#1a213b!important;
 background-image:none!important;
 opacity:1!important;
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}
html body:not(.home) .site-main,
html body:not(.home) #primary,
html body:not(.home) .content-area,
html body:not(.home) .borg-cinema-library,
html body:not(.home) .borg-generic-product{
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}

/* v6.34V — FINAL INTERIOR PRESENTATION + SERIES/CHRONICLES/FOOTER.
   Homepage remains untouched. Outside every interior content box is the
   original full-strength scenery: no overlay, tint, opacity, or glass layer. */
html body:not(.home) #content{
 background-color:transparent!important;
 background-image:var(--borg-page-scenery,none);
 opacity:1!important;
}
html body:not(.home) #content:before,
html body:not(.home) #content:after,
html body:not(.home) #content-core:before,
html body:not(.home) #content-core:after{
 background:transparent!important;
 opacity:0!important;
 pointer-events:none!important;
}
html body:not(.home) #content-core,
html body:not(.home) .site-main,
html body:not(.home) #primary,
html body:not(.home) .content-area,
html body:not(.home) .borg-cinema-library,
html body:not(.home) .borg-generic-product{
 background-color:transparent!important;
 background-image:none!important;
 opacity:1!important;
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}

/* Chronicles had its own historical page-wide translucent gradient. Remove it
   and use the same scenery treatment as the rest of Borg Reads. */
body.borg-chronicles-page #content,
body.blog #content,
body.single-post #content,
body.archive.category #content{
 background:url('assets/borgreads-clean-cities.png') center top/cover fixed!important;
 opacity:1!important;
}

/* Actual main boxes: solid Cinema-standard deep navy. */
html body:not(.home) article.page>.entry-content,
html body:not(.home) article.page>.entry-content .borg-library,
html body:not(.home) article.page>.entry-content .borg-book-page,
html body:not(.home) article.page>.entry-content .borg-trilogy-page,
html body:not(.home) article.page>.entry-content .borg-trilogy-wrap,
html body:not(.home) article.page>.entry-content .borg-shop-page,
html body:not(.home) article.page>.entry-content .borg-journal-page,
html body:not(.home) article.page>.entry-content .borg-chronicles,
html body:not(.home) article.page>.entry-content .borg-future-trilogy,
html body:not(.home) article.page>.entry-content .borg-reader-desk,
html body:not(.home) article.page>.entry-content .borg-reader-panel,
html body:not(.home) article.page>.entry-content .borg-series-page,
html body:not(.home) .borg-cinema-library-shell,
html body:not(.home) .borg-cinema-main{
 background:#0d1428!important;
 background-image:none!important;
 opacity:1!important;
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}

/* Secondary cards: lighter Cinema-standard navy. */
html body:not(.home) .borg-library-card,
html body:not(.home) .borg-all-books-card,
html body:not(.home) .borg-cinema-library-card,
html body:not(.home) .borg-book-card,
html body:not(.home) .borg-trilogy-card,
html body:not(.home) .borg-shop-card,
html body:not(.home) .borg-journal-card,
html body:not(.home) .borg-chronicle-card,
html body:not(.home) .borg-series-card,
html body:not(.home) .borg-book-purchase,
html body:not(.home) .borg-experience-choice,
html body:not(.home) .borg-experience-option{
 background:#1a213b!important;
 background-image:none!important;
 opacity:1!important;
}

/* Jazz up the editable Borgreads Series text links without changing content. */
body:not(.home) .entry-content h2:first-child{
 color:#f4d27d;
 font-family:Georgia,serif;
 letter-spacing:.02em;
}
body:not(.home) .entry-content h3{
 color:#f4d27d;
 font-family:Georgia,serif;
}
body:not(.home) .entry-content p>a[href*="overclocked-hearts"],
body:not(.home) .entry-content p>a[href*="barons-synchronicity"],
body:not(.home) .entry-content p>a[href*="sanctions-fracture"]{
 display:block;
 max-width:760px;
 padding:15px 18px;
 margin:9px 0;
 background:#1a213b;
 border:1px solid #9a6a24;
 border-radius:8px;
 color:#f3d787!important;
 text-decoration:none!important;
 font-weight:700;
 transition:transform .16s ease,border-color .16s ease,color .16s ease;
}
body:not(.home) .entry-content p>a[href*="overclocked-hearts"]:hover,
body:not(.home) .entry-content p>a[href*="barons-synchronicity"]:hover,
body:not(.home) .entry-content p>a[href*="sanctions-fracture"]:hover{
 transform:translateX(5px);
 border-color:#d4a62a;
 color:#ffe5a0!important;
}
body:not(.home) .entry-content p>a[href*="/trilogies"]{
 display:inline-block;
 margin-top:10px;
 padding:12px 24px;
 border:1px solid #d4a62a;
 border-radius:8px;
 background:#5b1b1b;
 color:#f6dfa0!important;
 text-decoration:none!important;
 font-weight:700;
}

/* Chronicles becomes a deliberate solid panel rather than a floating strip. */
body.borg-chronicles-page .borg-chronicles{
 max-width:1180px;
 margin:0 auto;
 padding:42px 34px;
 border:1px solid #9a6a24;
 border-radius:12px;
 background:#0d1428!important;
 box-shadow:0 12px 34px rgba(0,0,0,.24);
}
body.borg-chronicles-page .borg-chronicles-hero,
body.borg-chronicles-page .borg-chronicles-actions{
 background:transparent!important;
}

/* Sitewide information links moved to footer. */
.borg-footer-links{
 margin-top:16px;
 display:flex;
 justify-content:center;
 align-items:center;
 gap:12px;
 font-family:Georgia,serif;
}
.borg-footer-links a{color:#d4a62a!important;text-decoration:none;font-weight:700}
.borg-footer-links a:hover{color:#ffe080!important;text-decoration:underline}

/* v6.34V — REMOVE PUBLIC PAGE/STAGE GLASS AT THE SOURCE.
   Full-strength scenery must exist directly outside solid content boxes. */
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #content,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #content-core,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #primary,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) .site-main,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) .content-area,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) .borg-cinema-library,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) .borg-all-books-page,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) .borg-generic-product{
 background-color:transparent!important;
 background-image:none!important;
 opacity:1!important;
 filter:none!important;
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
 box-shadow:none;
}
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #content:before,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #content:after,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #content-core:before,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #content-core:after,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #primary:before,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) #primary:after,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) .borg-cinema-library:before,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) .borg-cinema-library:after,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) .borg-all-books-page:before,
html body:not(.home):not(.borg-account-page):not(.page-template-page-observatory) .borg-all-books-page:after{
 background:transparent!important;
 opacity:0!important;
 filter:none!important;
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
 pointer-events:none!important;
}

/* Reassert the only layers that should be navy: actual content shells and cards. */
html body:not(.home) .borg-cinema-library-shell,
html body:not(.home) .borg-books-cinema-format,
html body:not(.home) article.page>.entry-content .borg-library,
html body:not(.home) article.page>.entry-content .borg-book-page,
html body:not(.home) article.page>.entry-content .borg-trilogy-page,
html body:not(.home) article.page>.entry-content .borg-trilogy-wrap,
html body:not(.home) article.page>.entry-content .borg-shop-page,
html body:not(.home) article.page>.entry-content .borg-journal-page,
html body:not(.home) article.page>.entry-content .borg-chronicles,
html body:not(.home) article.page>.entry-content .borg-series-page{
 background:#0d1428!important;
 background-image:none!important;
 opacity:1!important;
 filter:none!important;
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}
html body:not(.home) .borg-cinema-library-card,
html body:not(.home) .borg-all-books-card,
html body:not(.home) .borg-library-card,
html body:not(.home) .borg-book-card,
html body:not(.home) .borg-trilogy-card,
html body:not(.home) .borg-shop-card,
html body:not(.home) .borg-journal-card,
html body:not(.home) .borg-chronicle-card,
html body:not(.home) .borg-series-card,
html body:not(.home) .borg-book-purchase,
html body:not(.home) .borg-experience-choice,
html body:not(.home) .borg-experience-option{
 background:#1a213b!important;
 background-image:none!important;
 opacity:1!important;
}

/* BOOKS and CINEMA collection stages are twins: transparent stage,
   dark solid collection shell, lighter solid cards. */
html body:not(.home) .borg-books-cinema-format{
 border:1px solid #9a6a24!important;
 border-radius:13px!important;
 box-shadow:0 18px 50px #0007!important;
}

/* v6.34V — Borgreads Series uses the EXISTING DEFAULT BORG SHOP BUTTON FORMAT.
   These values intentionally mirror .borg-shop-button; only width is content-sized. */
body:not(.home) .entry-content p>a[href*="overclocked-hearts"],
body:not(.home) .entry-content p>a[href*="barons-synchronicity"],
body:not(.home) .entry-content p>a[href*="sanctions-fracture"],
body:not(.home) .entry-content p>a[href*="/trilogies"]{
 display:inline-block!important;
 width:auto!important;
 min-width:0!important;
 max-width:none!important;
 background:#39280f!important;
 border:1px solid #c9a35a!important;
 border-radius:5px!important;
 padding:11px 18px!important;
 margin:6px 0!important;
 color:#ffe1a3!important;
 text-decoration:none!important;
 font:inherit!important;
 font-weight:inherit!important;
 letter-spacing:normal!important;
 box-shadow:none!important;
 transform:none;
}
body:not(.home) .entry-content p>a[href*="overclocked-hearts"]:hover,
body:not(.home) .entry-content p>a[href*="barons-synchronicity"]:hover,
body:not(.home) .entry-content p>a[href*="sanctions-fracture"]:hover,
body:not(.home) .entry-content p>a[href*="/trilogies"]:hover{
 background:#60421a!important;
 color:#ffe1a3!important;
 border-color:#c9a35a!important;
 transform:none!important;
}


/* v6.34V — Vault controls: artwork is display-only; BOOK/CINEMA buttons open collection panels. */
.borg-vault-artwork{cursor:default!important;pointer-events:none!important;}
.borg-vault-artwork:hover .borg-vault-book{filter:drop-shadow(0 17px 10px #0009)!important;transform:none!important;animation-play-state:running!important;}
.borg-vault-plinth button,.borg-vault-cinema-plinth button{appearance:none;-webkit-appearance:none;border:0;background:transparent;display:flex;width:100%;height:100%;align-items:center;justify-content:center;color:inherit;font:inherit;letter-spacing:inherit;cursor:pointer;padding:0;text-decoration:none;}
.borg-vault-plinth button{color:#fff1cb;}
.borg-vault-cinema-plinth button{color:#f8dfa1!important;font:700 10px/1 Georgia,serif!important;letter-spacing:.12em!important;}
.borg-vault-plinth button:focus-visible,.borg-vault-cinema-plinth button:focus-visible{outline:2px solid #ffe1a3;outline-offset:-3px;}

/* v6.34V — Account Vault finish: solid main backdrop and consistent BOOK/CINEMA controls. */
body.borg-account-page:not(.borg-floating-window) #content{
  background:#0d1428!important;
}
body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content{
  background:#0d1428!important;
}
body.borg-account-page:not(.borg-floating-window) .borg-vault{
  background:#0d1428!important;
}
body.borg-account-page:not(.borg-floating-window) .borg-vault:before{
  display:none!important;
  content:none!important;
}
.borg-vault-plinth,.borg-vault-cinema-plinth{
  padding:0!important;
  overflow:hidden!important;
}
.borg-vault-plinth button,.borg-vault-cinema-plinth button{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:flex!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0 10px!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff1cb!important;
  font:700 11px/1 Georgia,serif!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  text-shadow:0 1px 2px #000!important;
  cursor:pointer!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.borg-vault-plinth:hover,.borg-vault-plinth:focus-within{
  background:linear-gradient(#e2c27e,#80592d 55%,#2b1e16)!important;
}
.borg-vault-cinema-plinth:hover,.borg-vault-cinema-plinth:focus-within{
  background:linear-gradient(#9a6a24,#3b260b)!important;
}
.borg-vault-plinth button:focus,.borg-vault-cinema-plinth button:focus{
  background:transparent!important;
  color:#fff1cb!important;
}
.borg-vault-plinth button:focus-visible,.borg-vault-cinema-plinth button:focus-visible{
  outline:2px solid #ffe1a3!important;
  outline-offset:-3px!important;
}

/* v6.34V — Vault visual cleanup: fully opaque surfaces, clean arches, proper controls. */
body.borg-account-page:not(.borg-floating-window) #content,
body.borg-account-page:not(.borg-floating-window) #content-core,
body.borg-account-page:not(.borg-floating-window) #primary,
body.borg-account-page:not(.borg-floating-window) .site-main,
body.borg-account-page:not(.borg-floating-window) .woocommerce,
body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content,
body.borg-account-page:not(.borg-floating-window) .borg-vault{
  background:#0d1428!important;
  background-image:none!important;
  opacity:1!important;
  backdrop-filter:none!important;
  filter:none!important;
}
body.borg-account-page:not(.borg-floating-window) .borg-vault:before,
body.borg-account-page:not(.borg-floating-window) .borg-vault:after{display:none!important;content:none!important;}

/* Alcoves are solid lighter navy — no glass, glow, or hover wash. */
.borg-vault .borg-vault-arch,
.borg-vault .borg-vault-arch:hover,
.borg-vault .borg-vault-arch:focus-within{
  background:#1a213b!important;
  background-image:none!important;
  border:7px solid #caa254!important;
  border-radius:49% 49% 5px 5px / 23% 23% 5px 5px!important;
  box-shadow:0 0 0 3px #6f5126, inset 0 0 0 2px #efd083, inset 0 0 30px #080b16, 0 14px 25px #080b16!important;
  opacity:1!important;
  filter:none!important;
}
.borg-vault .borg-vault-alcove-2 .borg-vault-arch{border-color:#d9b45f!important;}
.borg-vault .borg-vault-arch:before{
  content:""!important;display:block!important;position:absolute!important;inset:8px!important;
  border:1px solid #d8b86c!important;border-radius:inherit!important;background:transparent!important;
  box-shadow:none!important;pointer-events:none!important;
}
.borg-vault .borg-vault-arch:after{display:none!important;content:none!important;}
.borg-vault .borg-vault-arch-glow{display:none!important;background:none!important;}
.borg-vault .borg-vault-select,
.borg-vault .borg-vault-select:hover,
.borg-vault .borg-vault-select:focus,
.borg-vault .borg-vault-select:active{background:transparent!important;background-image:none!important;box-shadow:none!important;outline:none!important;}

/* Crest window is opaque too. */
.borg-vault .borg-vault-window{
  background:#1a213b!important;background-image:none!important;opacity:1!important;
  border:7px solid #caa254!important;box-shadow:0 0 0 2px #6f5126,inset 0 0 0 1px #efd083!important;
}

/* BOOK / CINEMA controls: real Borg Reads buttons, not thin plinth strips. */
.borg-vault .borg-vault-plinth,
.borg-vault .borg-vault-cinema-plinth{
  position:absolute!important;left:6%!important;width:88%!important;height:34px!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
.borg-vault .borg-vault-plinth{bottom:-17px!important;}
.borg-vault .borg-vault-cinema-plinth{bottom:-55px!important;}
.borg-vault .borg-vault-plinth button,
.borg-vault .borg-vault-cinema-plinth button{
  box-sizing:border-box!important;display:flex!important;width:100%!important;height:34px!important;min-height:34px!important;
  align-items:center!important;justify-content:center!important;margin:0!important;padding:8px 14px!important;
  background:#39280f!important;background-image:none!important;border:1px solid #c9a35a!important;border-radius:5px!important;
  color:#ffe1a3!important;font:700 11px/1 Georgia,serif!important;letter-spacing:.10em!important;text-transform:uppercase!important;
  box-shadow:none!important;text-shadow:none!important;outline:none;cursor:pointer!important;
}
.borg-vault .borg-vault-plinth button:hover,
.borg-vault .borg-vault-cinema-plinth button:hover,
.borg-vault .borg-vault-plinth button:focus-visible,
.borg-vault .borg-vault-cinema-plinth button:focus-visible{
  background:#60421a!important;background-image:none!important;border-color:#d4a62a!important;color:#ffe1a3!important;
  box-shadow:none!important;outline:2px solid #d4a62a!important;outline-offset:1px!important;
}
.borg-vault .borg-vault-alcove h3{margin-top:68px!important;}
@media(max-width:680px){.borg-vault .borg-vault-alcove h3{margin-top:68px!important;}}

/* v6.34V — Account/Vault final scenery + hover cleanup.
   The page stage itself carries the original scenery at full strength; the
   account/Vault panels are opaque navy. No translucent veil sits over scenery. */
html body.borg-account-page:not(.borg-floating-window){
  background:#0b1120 url('assets/borgreads-clean-cities.png') center top/cover fixed no-repeat!important;
  background-blend-mode:normal!important;
  opacity:1!important;
  filter:none!important;
}
html body.borg-account-page:not(.borg-floating-window) #content{
  background:transparent url('assets/borgreads-clean-cities.png') center top/cover fixed no-repeat!important;
  background-blend-mode:normal!important;
  opacity:1!important;
  filter:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html body.borg-account-page:not(.borg-floating-window) #content:before,
html body.borg-account-page:not(.borg-floating-window) #content:after{
  content:none!important;display:none!important;background:none!important;opacity:0!important;
}
html body.borg-account-page:not(.borg-floating-window) #content-core{
  background:#0d1428!important;background-image:none!important;opacity:1!important;filter:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
html body.borg-account-page:not(.borg-floating-window) .woocommerce,
html body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content,
html body.borg-account-page:not(.borg-floating-window) .borg-vault{
  background:#0d1428!important;background-image:none!important;opacity:1!important;filter:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
/* No rectangular hover/focus wash around an alcove or its cover artwork. */
html .borg-vault .borg-vault-alcove,
html .borg-vault .borg-vault-alcove:hover,
html .borg-vault .borg-vault-artwork,
html .borg-vault .borg-vault-artwork:hover,
html .borg-vault .borg-vault-select,
html .borg-vault .borg-vault-select:hover,
html .borg-vault .borg-vault-select:focus,
html .borg-vault .borg-vault-select:focus-visible,
html .borg-vault .borg-vault-select:active{
  background:transparent!important;background-image:none!important;border-color:transparent!important;
  box-shadow:none!important;outline:none!important;filter:none!important;
}
html .borg-vault .borg-vault-select:before,
html .borg-vault .borg-vault-select:after,
html .borg-vault .borg-vault-artwork:before,
html .borg-vault .borg-vault-artwork:after,
html .borg-vault .borg-vault-alcove:before,
html .borg-vault .borg-vault-alcove:after{
  content:none!important;display:none!important;background:none!important;box-shadow:none!important;
}
html .borg-vault .borg-vault-artwork:hover .borg-vault-book,
html .borg-vault .borg-vault-select:hover .borg-vault-book,
html .borg-vault .borg-vault-select[aria-expanded=true] .borg-vault-book{
  background:transparent!important;box-shadow:none!important;outline:none!important;
  filter:drop-shadow(0 17px 10px #0009)!important;
}
/* Keep the arches themselves stable on hover/focus. */
html .borg-vault .borg-vault-arch:hover,
html .borg-vault .borg-vault-arch:focus,
html .borg-vault .borg-vault-arch:focus-within{
  background:#1a213b!important;background-image:none!important;
  border-color:#caa254!important;
  box-shadow:0 0 0 3px #6f5126,inset 0 0 0 2px #efd083,inset 0 0 30px #080b16,0 14px 25px #080b16!important;
}
html .borg-vault .borg-vault-alcove-2 .borg-vault-arch:hover,
html .borg-vault .borg-vault-alcove-2 .borg-vault-arch:focus-within{border-color:#d9b45f!important;}

/* v6.34V — Account/Vault scenery at source + clean book jump.
   The page stage is transparent so the original city scenery is shown at full
   strength. Solid navy belongs only to the actual Account/Vault panels. */
html body.borg-account-page:not(.borg-floating-window){
  background:#0b1120 url('assets/borgreads-clean-cities.png') center top/cover fixed no-repeat!important;
  background-blend-mode:normal!important;
  opacity:1!important;filter:none!important;
}
html body.borg-account-page:not(.borg-floating-window) #content,
html body.borg-account-page:not(.borg-floating-window) #content-core,
html body.borg-account-page:not(.borg-floating-window) #primary,
html body.borg-account-page:not(.borg-floating-window) .site-main,
html body.borg-account-page:not(.borg-floating-window) .content-area,
html body.borg-account-page:not(.borg-floating-window) .woocommerce{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  opacity:1!important;filter:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
html body.borg-account-page:not(.borg-floating-window) #content:before,
html body.borg-account-page:not(.borg-floating-window) #content:after,
html body.borg-account-page:not(.borg-floating-window) #content-core:before,
html body.borg-account-page:not(.borg-floating-window) #content-core:after,
html body.borg-account-page:not(.borg-floating-window) #primary:before,
html body.borg-account-page:not(.borg-floating-window) #primary:after,
html body.borg-account-page:not(.borg-floating-window) .site-main:before,
html body.borg-account-page:not(.borg-floating-window) .site-main:after{
  content:none!important;display:none!important;background:none!important;opacity:0!important;
}
html body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content,
html body.borg-account-page:not(.borg-floating-window) .borg-vault{
  background:#0d1428!important;background-image:none!important;
  opacity:1!important;filter:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
/* The cover itself has no interactive rectangle. Hovering its alcove simply
   lifts the artwork, matching the book motion elsewhere on Borg Reads. */
html .borg-vault .borg-vault-book,
html .borg-vault .borg-vault-book:hover,
html .borg-vault .borg-vault-alcove:is(:hover,:focus-within) .borg-vault-book{
  border:0!important;border-color:transparent!important;
  outline:0!important;background:transparent!important;
  box-shadow:none!important;
}
html .borg-vault .borg-vault-alcove:is(:hover,:focus-within) .borg-vault-book{
  transform:translateY(calc(-1 * var(--borg-book-jump)))!important;
  scale:1!important;
  filter:drop-shadow(0 20px 15px rgba(0,0,0,.8)) drop-shadow(0 0 10px rgba(243,200,115,.22))!important;
  animation-play-state:paused!important;
}
html .borg-vault .borg-vault-alcove,
html .borg-vault .borg-vault-alcove:is(:hover,:focus-within),
html .borg-vault .borg-vault-artwork,
html .borg-vault .borg-vault-artwork:hover{
  background:transparent!important;background-image:none!important;
  border-color:transparent!important;box-shadow:none!important;outline:none!important;
}

/* v6.34V — standard bottom actions and breathing room on book/product pages. */
.borg-book-actions{
 display:flex!important;flex-wrap:wrap!important;justify-content:center!important;
 align-items:center!important;gap:12px!important;margin-top:26px!important;margin-bottom:0!important;
}
.borg-book-actions .borg-shop-button{
 display:inline-flex!important;width:auto!important;min-width:0!important;min-height:0!important;
 align-items:center!important;justify-content:center!important;background:#39280f!important;
 border:1px solid #c9a35a!important;border-radius:5px!important;padding:11px 18px!important;
 color:#ffe1a3!important;text-decoration:none!important;font-weight:700!important;
 line-height:1.2!important;box-shadow:none!important;
}
.borg-book-actions .borg-shop-button:hover,.borg-book-actions .borg-shop-button:focus{
 background:#60421a!important;color:#ffe1a3!important;
}
html body:not(.home) .borg-book-page,
html body:not(.home) .borg-generic-product .borg-book-page{padding-bottom:38px!important;}
html body:not(.home) .borg-book-copy{padding-bottom:8px!important;}

/* v6.34V — quiet, sitewide PWA install control at the bottom of the page. */
.borg-pwa-install-wrap{text-align:center;padding:10px 16px 18px;background:#0d1428;}
.borg-pwa-install{cursor:pointer;font:inherit;}
@media (display-mode:standalone){.borg-pwa-install-wrap{display:none!important;}}


/* v6.35V — Search results use the standard Borg Reads interior palette. */
body.search #content,
body.search #content-core,
body.search #primary,
body.search .site-main{background:transparent!important;box-shadow:none!important;filter:none!important;backdrop-filter:none!important}
body.search .borg-search-shell{
  width:min(1180px,calc(100% - 48px));
  margin:42px auto 64px;
  padding:34px 38px 42px;
  box-sizing:border-box;
  background:#0d1428!important;
  border:1px solid #9a6a24;
  border-radius:8px;
  color:#f3dfb4;
  box-shadow:0 14px 34px rgba(0,0,0,.28);
}
body.search .borg-search-heading{
  margin:0 0 26px;
  padding:0 0 16px;
  border-bottom:1px solid #9a6a24;
  color:#d4a62a!important;
  font-family:Georgia,serif;
  font-size:clamp(26px,3vw,40px);
  font-weight:400;
  letter-spacing:.03em;
}
body.search .borg-post-card{
  margin:0 0 22px;
  padding:24px 26px 26px;
  background:#1a213b!important;
  border:1px solid #9a6a24!important;
  border-radius:7px;
  color:#f3dfb4!important;
}
body.search .borg-post-card:last-of-type{margin-bottom:0}
body.search .borg-post-card h2{margin:0 0 7px;font-family:Georgia,serif;font-size:clamp(22px,2vw,30px)}
body.search .borg-post-card h2 a,
body.search .borg-post-card a{color:#d4a62a!important;text-decoration:none!important}
body.search .borg-post-card h2 a:hover,
body.search .borg-post-card a:hover{color:#f2cf73!important}
body.search .borg-post-meta{margin:0 0 14px;color:#c7ad78!important;font-size:13px}
body.search .borg-post-card p{color:#f3dfb4!important;line-height:1.7;margin:0}
body.search .navigation a,
body.search .nav-links a{color:#d4a62a!important}
body.search .borg-search-empty{margin:0;color:#f3dfb4}
@media(max-width:700px){body.search .borg-search-shell{width:calc(100% - 24px);margin:24px auto 42px;padding:24px 18px 30px}body.search .borg-post-card{padding:20px 18px}}


/* v6.36V — Search title receives its own standard Borg Reads title panel. */
body.search .borg-search-heading{
  display:block!important;
  box-sizing:border-box!important;
  margin:0 0 28px!important;
  padding:20px 24px!important;
  background:#0d1428!important;
  background-image:none!important;
  border:1px solid #9a6a24!important;
  border-radius:7px!important;
  color:#d4a62a!important;
  box-shadow:0 10px 24px rgba(0,0,0,.24)!important;
  text-shadow:0 1px 1px rgba(0,0,0,.7)!important;
}
body.search .borg-search-heading span{color:#d4a62a!important;}
@media(max-width:700px){body.search .borg-search-heading{padding:16px 18px!important;margin-bottom:22px!important;}}

/* v6.37V — Search results are one continuous Borg Reads navy panel.
   Individual results are text rows, not separate cards. */
body.search .borg-search-shell{
  background:#0d1428!important;
  border:1px solid #9a6a24!important;
  border-radius:8px!important;
  padding:34px 38px 42px!important;
}
body.search .borg-search-heading{
  margin:0 0 22px!important;
  padding:0 0 20px!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid #9a6a24!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:#f2cf73!important;
}
body.search .borg-search-heading span{color:#f2cf73!important;}
body.search .borg-post-card{
  margin:0!important;
  padding:24px 0 26px!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.search .borg-post-card + .borg-post-card{
  border-top:1px solid rgba(154,106,36,.55)!important;
}
body.search .borg-post-card h2{
  margin:0 0 7px!important;
  color:#f2cf73!important;
}
body.search .borg-post-card h2 a,
body.search .borg-post-card a{
  color:#f2cf73!important;
  text-decoration:none!important;
}
body.search .borg-post-card h2 a:hover,
body.search .borg-post-card a:hover{color:#ffe1a3!important;}
body.search .borg-post-meta{color:#c7ad78!important;}
body.search .borg-post-card p{color:#f3dfb4!important;}
@media(max-width:700px){
  body.search .borg-search-shell{padding:24px 18px 30px!important;}
  body.search .borg-search-heading{padding:0 0 17px!important;margin-bottom:12px!important;}
  body.search .borg-post-card{padding:20px 0 22px!important;}
}

/* v6.38V — Search results: one solid navy panel behind the entire text list.
   #primary is the search shell itself, so this intentionally outranks the
   earlier generic transparent interior-stage rule without changing scenery
   outside the panel. */
html body.search #primary.borg-search-shell,
html body.search main#primary.borg-search-shell{
  background:#0d1428!important;
  background-color:#0d1428!important;
  background-image:none!important;
  opacity:1!important;
  filter:none!important;
  backdrop-filter:none!important;
  isolation:isolate;
}
html body.search #primary.borg-search-shell:before,
html body.search #primary.borg-search-shell:after{
  display:none!important;
  content:none!important;
}
\n\n/* v6.39V — Search template owns the navy panel directly.\n   This wrapper is deliberately separate from #primary so generic public-stage\n   transparency rules can never make the search results scenery-transparent. */\nhtml body.search #primary.borg-search-stage{\n  width:auto!important;max-width:none!important;margin:0!important;padding:0!important;\n  background:transparent!important;border:0!important;box-shadow:none!important;\n}\nhtml body.search .borg-search-solid-panel{\n  display:block!important;\n  width:min(1180px,calc(100% - 48px))!important;\n  margin:42px auto 64px!important;\n  padding:34px 38px 42px!important;\n  box-sizing:border-box!important;\n  background:#0d1428!important;\n  background-color:#0d1428!important;\n  background-image:none!important;\n  border:1px solid #9a6a24!important;\n  border-radius:8px!important;\n  color:#f3dfb4!important;\n  opacity:1!important;\n  filter:none!important;\n  backdrop-filter:none!important;\n  box-shadow:0 14px 34px rgba(0,0,0,.28)!important;\n  isolation:isolate!important;\n}\nhtml body.search .borg-search-solid-panel:before,\nhtml body.search .borg-search-solid-panel:after{display:none!important;content:none!important;}\nhtml body.search .borg-search-solid-panel .borg-search-heading{\n  margin:0 0 22px!important;padding:0 0 20px!important;background:transparent!important;\n  border:0!important;border-bottom:1px solid #9a6a24!important;border-radius:0!important;box-shadow:none!important;\n}\nhtml body.search .borg-search-solid-panel .borg-post-card{\n  margin:0!important;padding:24px 0 26px!important;background:transparent!important;\n  border:0!important;border-radius:0!important;box-shadow:none!important;\n}\nhtml body.search .borg-search-solid-panel .borg-post-card + .borg-post-card{border-top:1px solid rgba(154,106,36,.55)!important;}\n@media(max-width:700px){html body.search .borg-search-solid-panel{width:calc(100% - 24px)!important;margin:24px auto 42px!important;padding:24px 18px 30px!important;}}\n\n\n/* v6.40V — Floating Cinema opens as a focused video viewport.\n   The complete 16:9 picture and FULL SCREEN control are the initial view;\n   the existing Back link and PWA install control remain below and are reached by scrolling. */\nhtml body.borg-cinema-float-body{\n  min-height:100vh!important;\n  overflow-y:auto!important;\n  overflow-x:hidden!important;\n  background:#02070d!important;\n}\nbody.borg-cinema-float-body .borg-movie-page{\n  min-height:0!important;\n  padding:8px 10px 28px!important;\n  display:block!important;\n  background:radial-gradient(circle at 50% 35%,#102338 0,#06101b 52%,#02070d 100%)!important;\n}\nbody.borg-cinema-float-body .borg-movie-shell{width:min(940px,100%)!important;margin:0 auto!important;}\nbody.borg-cinema-float-body .borg-movie-kicker,\nbody.borg-cinema-float-body .borg-movie-shell>h1,\nbody.borg-cinema-float-body .borg-movie-shell>p{display:none!important;}\nbody.borg-cinema-float-body .borg-movie-screen{\n  width:100%!important;\n  aspect-ratio:16/9!important;\n  margin:0 auto 7px!important;\n  border-radius:7px!important;\n}\nbody.borg-cinema-float-body .borg-cinema-viewer-controls{margin:0!important;padding:0!important;text-align:center!important;}\nbody.borg-cinema-float-body .borg-cinema-viewer-controls #borgCinemaFullscreen{margin:0!important;}\nbody.borg-cinema-float-body .borg-movie-nav{margin:30px 0 12px!important;text-align:center!important;}\nbody.borg-cinema-float-body .borg-pwa-install-wrap{margin:12px auto 24px!important;text-align:center!important;}\n

/* v6.41V — Floating Cinema actual popup viewport sizing.
   The popup is sized by JavaScript; this keeps the float content compact so the
   complete 16:9 player plus FULL SCREEN fills the opening view while lower links scroll. */
body.borg-cinema-float-body .borg-movie-shell{max-width:880px!important;}
body.borg-cinema-float-body .borg-movie-page{padding-top:6px!important;}
body.borg-cinema-float-body .borg-movie-nav{margin-top:34px!important;}


/* v6.68V — purchaser-dashboard-only Borg Reads App controls. */
.borg-dashboard-app-controls{
  width:min(1120px,calc(100% - 32px));margin:0 auto 28px;padding:18px 20px;
  box-sizing:border-box;border:1px solid #c9a35a;border-radius:8px;background:#0d1428;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}
.borg-dashboard-app-copy{display:flex;flex-direction:column;gap:3px;color:#f3dfb4;}
.borg-dashboard-app-copy strong{color:#d4a62a;letter-spacing:.08em;font-size:1.08rem;}
.borg-dashboard-app-copy span{opacity:.9;}
.borg-dashboard-app-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;}
.borg-dashboard-app-actions .borg-shop-button{text-decoration:none!important;white-space:nowrap;}
.borg-dashboard-app-actions .borg-pwa-install{font-weight:800;padding:13px 22px;box-shadow:0 0 0 1px rgba(212,166,42,.28),0 0 18px rgba(212,166,42,.16);}
.borg-pwa-remove,.borg-pwa-visit{display:none!important;}
html.borgreads-installed-app .borg-dashboard-app-actions .borg-pwa-install{display:none!important;}
html.borgreads-installed-app .borg-dashboard-app-actions .borg-pwa-remove,
html.borgreads-installed-app .borg-dashboard-app-actions .borg-pwa-visit{display:inline-flex!important;align-items:center;justify-content:center;}
@media(max-width:760px){
 .borg-dashboard-app-controls{flex-direction:column;text-align:center;padding:18px 14px;}
 .borg-dashboard-app-actions{justify-content:center;width:100%;}
 .borg-dashboard-app-actions .borg-shop-button{width:100%;max-width:340px;}
}


/* v6.71V — unify former rustic-brown site chrome with the front-page navy palette. */
#footer{background:#0d1428!important;color:#d8ccb2!important;border-top-color:#9a6a24!important;}
#sub-footer{background:#080e1b!important;color:#c7b994!important;border-top:1px solid rgba(154,106,36,.34);}
body.home #footer{background:#0d1428!important;}
body.home #sub-footer{background:#080e1b!important;}
.borg-home-previews{display:flex;justify-content:center;align-items:center;padding:18px 20px;background:#0d1725;border-top:1px solid #9c7538;}
.borg-home-previews a{display:inline-flex;align-items:center;justify-content:center;min-width:260px;padding:12px 24px;border:1px solid #c9a35a;border-radius:5px;background:#111b30;color:#ffe1a3!important;text-decoration:none!important;font:700 14px Georgia,serif;letter-spacing:.08em;}
.borg-home-previews a:hover,.borg-home-previews a:focus{background:#1a2945;color:#fff0c5!important;border-color:#d4a62a;}

/* v6.72V — keep SHOP cascading menus inside the viewport.
   The final Trilogy book/cinema list opens back toward the left instead of
   continuing off the right edge on narrower desktop windows. */
.borg-primary-menu > li > ul.sub-menu .menu-item-has-children > ul.sub-menu .menu-item-has-children > ul.sub-menu,
#header-sticky .menu > li > ul.sub-menu .menu-item-has-children > ul.sub-menu .menu-item-has-children > ul.sub-menu {
  left:auto!important;
  right:100%!important;
}
.borg-shop-dropdown .borg-exact-subdrop > .borg-exact-flyout .borg-exact-subdrop > .borg-exact-flyout {
  left:auto!important;
  right:100%!important;
}

/* v6.78V — Scribe's Desk dispatches action */
.borg-reader-dispatches-action{margin:22px 0 0;text-align:center}
.borg-reader-dispatches-action .borg-reader-button{display:inline-block}

/* v6.80.1V — direct Dispatches archive header */
.borg-dispatches-header{text-align:center;margin:0 auto 24px;max-width:900px}.borg-dispatches-header>span{display:block;color:#c9a35a;letter-spacing:.12em;font-size:.82rem}.borg-dispatches-header h1{margin:.35em 0 .25em}.borg-dispatches-header p{margin:.25em auto 1em}


/* Borg Reads v6.80.2V — Book Vault GO TO APP launcher. */
.borg-vault-go-app-wrap{display:flex;justify-content:center;margin:14px 0 18px;}
.borg-vault-go-app{min-width:150px;cursor:pointer;font-weight:700;letter-spacing:.05em;}
html.borgreads-installed-app .borg-vault-go-app-wrap{display:none!important;}
@media(max-width:700px){.borg-vault-go-app{width:min(240px,100%);}}


/* v6.80.3V — requested dashboard/app placement + subtle homepage depth. */
body.home .borg-layered-stage::before{content:"";position:absolute;inset:0;background:rgba(13,20,40,.10);pointer-events:none;z-index:1;}
body.home .borg-layered-overlay{z-index:2;}
.borg-dashboard-app-actions .borg-pwa-open{font-weight:800;padding:13px 22px;}
/* OPEN APP remains available in the browser dashboard; INSTALL remains beside it. */


/* v6.80.4V — repairs confirmed from live screenshots. */
body.home .borg-layered-stage{isolation:isolate!important;}
body.home .borg-layered-background{position:relative!important;z-index:0!important;}
body.home .borg-layered-stage::after{content:"";position:absolute;inset:0;z-index:1;background:rgba(13,20,40,.10);pointer-events:none;}
body.home .borg-layered-overlay{position:absolute;z-index:2!important;}
/* Retire any legacy launcher markup that survived an earlier theme revision. */
.borg-vault-go-app-wrap,.borg-vault-go-app{display:none!important;}
.borg-reader-panel select#reader_category{display:block;width:100%;box-sizing:border-box;margin:6px 0 4px;padding:12px 14px;border:1px solid #c9a35a;border-radius:5px;background:#fff8e8;color:#171717;font:inherit;}
.borg-reader-category-note{display:block;margin:0 0 16px;color:#c8b98f;font-size:.86em;}


/* v6.80.5V — live-source fixes: untouched scenery + individual translucent book showcases. */
body.home .borg-layered-stage::before,
body.home .borg-layered-stage::after{
  content:none!important;
  display:none!important;
  background:none!important;
}
body.home .borg-layered-background{
  filter:none!important;
  opacity:1!important;
}
body.home .borg-layered-book{
  position:relative!important;
  padding:clamp(12px,1.25vw,18px) clamp(10px,1.15vw,16px) clamp(14px,1.35vw,20px)!important;
  background:rgba(7,17,31,.40)!important;
  border:1px solid rgba(212,166,42,.78)!important;
  border-radius:9px!important;
  box-shadow:0 12px 30px rgba(0,0,0,.38),inset 0 0 24px rgba(255,255,255,.022)!important;
  backdrop-filter:blur(1px)!important;
  -webkit-backdrop-filter:blur(1px)!important;
  overflow:hidden!important;
}
body.home .borg-layered-book::before{
  content:"";position:absolute;inset:5px;border:1px solid rgba(154,106,36,.34);
  border-radius:5px;pointer-events:none;z-index:0;
}
body.home .borg-layered-book > *{position:relative;z-index:1;}
body.home .borg-layered-book-image{margin-top:0!important;}
body.home .borg-layered-book-details{margin-top:.65em!important;}
@media(max-width:470px){
  body.home .borg-layered-book{padding:14px 12px 17px!important;}
}

/* Keep the purchaser app actions together in the actual dashboard control bar. */
.borg-dashboard-app-actions .borg-pwa-open{display:inline-flex!important;align-items:center;justify-content:center;font-weight:800;padding:13px 22px;}
.borg-vault-go-app-wrap,.borg-vault-go-app{display:none!important;}


/* v6.80.6V — unified homepage glass panels + breathing room below book actions. */
body.home .borg-castle-cinema,
body.home .borg-alike-minds,
body.home .borg-layered-book{
  background:rgba(7,17,31,.40)!important;
  border:1px solid rgba(212,166,42,.78)!important;
  border-radius:9px!important;
  box-shadow:0 12px 30px rgba(0,0,0,.38),inset 0 0 24px rgba(255,255,255,.022)!important;
  backdrop-filter:blur(1px)!important;
  -webkit-backdrop-filter:blur(1px)!important;
}
body.home .borg-layered-book{
  padding-bottom:42px!important;
}
/* Keep the added transparent scenery band inside the existing hero artwork. */
@media(min-width:761px){
  body.home .borg-layered-books{transform:translateY(-24px)!important;}
}
@media(max-width:760px){
  body.home .borg-layered-book{padding-bottom:30px!important;}
}

/* v6.80.7V — approved homepage finishing pass.
   Keep the scenery untouched; visually lighten the two upper glass windows,
   end each book card above the preview bar, and give CINEMA buttons the
   same lift/jump interaction as the BOOK buttons. */
body.home .borg-castle-cinema,
body.home .borg-alike-minds{
  background:rgba(7,17,31,.18)!important;
  backdrop-filter:blur(1px)!important;
  -webkit-backdrop-filter:blur(1px)!important;
}
body.home .borg-layered-book{
  padding-bottom:24px!important;
}
body.home .borg-home-cinema-choice{
  transition:transform .2s ease,background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease!important;
  will-change:transform;
}
body.home .borg-home-cinema-choice:hover,
body.home .borg-home-cinema-choice:focus-visible{
  transform:translateY(-7px) scale(1.035)!important;
  background:linear-gradient(#9a6a24,#5c3c18)!important;
  border-color:#d2a84a!important;
  color:#fff4d0!important;
  box-shadow:0 9px 18px rgba(0,0,0,.38),0 0 12px rgba(210,168,74,.28)!important;
}
@media(max-width:760px){
  body.home .borg-layered-book{padding-bottom:20px!important;}
}
@media(prefers-reduced-motion:reduce){
  body.home .borg-home-cinema-choice{transition:none!important;}
  body.home .borg-home-cinema-choice:hover,
  body.home .borg-home-cinema-choice:focus-visible{transform:none!important;}
}


/* v6.80.8V — final homepage book-card bottom spacing refinement.
   Keep the controls comfortably inside each glass card, then expose a clear
   band of untouched hero scenery below the card before the preview bar. */
@media(min-width:761px){
  body.home .borg-layered-book{
    padding-bottom:28px!important;
  }
  body.home .borg-layered-books{
    transform:translateY(-46px)!important;
  }
}
@media(max-width:760px){
  body.home .borg-layered-book{
    padding-bottom:24px!important;
  }
}

/* v6.80.9V — lower the complete three-book glass-panel row so the center
   panel's top gold border clears the bottom ornament of the main crest.
   No crest, book, scenery, panel-transparency, or internal typography changes. */
@media(min-width:761px){
  body.home .borg-layered-books{
    transform:translateY(-8px)!important;
  }
}

/* v6.80.10V — extend only the homepage scenic stage below the locked book row.
   The top of all three book panels stays exactly at the v6.80.9V position.
   This adds untouched background scenery before the navy Free Previews bar. */
@media(min-width:761px){
  body.home .borg-layered-stage{
    padding-bottom:30px!important;
  }
}

/* v6.80.11V — preserve the now-approved book-panel top position and extend
   the scenic stage far enough below the panels to create a clearly visible
   strip of untouched homepage scenery before the Free Previews bar. */
@media(min-width:761px){
  body.home .borg-layered-stage{
    padding-bottom:70px!important;
  }
}


/* v6.80.24V — match homepage Cinema heading to Books panel */
.borg-cinema-cap{white-space:nowrap!important;display:inline-block!important}

/* v6.80.25V — developed public Read Free Previews destination. */
.borg-free-previews-page{padding:38px 18px 64px;color:#efe3c7}
.borg-free-previews-shell{max-width:1220px;margin:0 auto;background:#0d1725;border:1px solid #9a6a24;border-radius:8px;padding:30px;box-shadow:0 18px 44px rgba(0,0,0,.35)}
.borg-free-previews-head{text-align:center;max-width:820px;margin:0 auto 34px}
.borg-free-previews-head>span,.borg-preview-section-title>span,.borg-preview-reader-intro>span{display:block;color:#d4a62a;font:700 12px Georgia,serif;letter-spacing:.2em;text-transform:uppercase}
.borg-free-previews-head h1{margin:9px 0 12px;color:#f4dba0;font:700 clamp(34px,5vw,58px) Georgia,serif;letter-spacing:.035em}
.borg-free-previews-head p{margin:0 auto;color:#d8d0bf;font:17px/1.65 Georgia,serif}
.borg-preview-trilogy{border-top:1px solid rgba(201,163,90,.42);padding-top:28px}
.borg-preview-section-title{text-align:center;margin-bottom:25px}.borg-preview-section-title h2{margin:7px 0 3px;color:#f4dba0;font:700 32px Georgia,serif}.borg-preview-section-title p{margin:0;color:#b9ab8c;font:12px Georgia,serif;letter-spacing:.16em}
.borg-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.borg-preview-card{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;background:#111b30;border:1px solid #c9a35a;border-radius:7px;padding:22px 18px 20px;box-shadow:0 10px 26px rgba(0,0,0,.28)}
.borg-preview-card.is-coming{opacity:.78}.borg-preview-book-number{color:#d4a62a;font:700 12px Georgia,serif;letter-spacing:.17em;margin-bottom:14px}.borg-preview-cover{display:block;min-height:290px}.borg-preview-cover img{display:block;width:auto;max-width:100%;height:300px;object-fit:contain;transition:transform .22s ease;filter:drop-shadow(0 13px 12px rgba(0,0,0,.45))}.borg-preview-card.is-available .borg-preview-cover:hover img{transform:translateY(-7px)}
.borg-preview-card h3{color:#f4dba0;font:700 22px/1.2 Georgia,serif;margin:15px 0 8px}.borg-preview-card p{color:#cfc6b3;font:14px/1.55 Georgia,serif;min-height:44px;margin:0 0 16px}
.borg-preview-action,.borg-preview-buy{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:210px;padding:11px 18px;border:1px solid #c9a35a;border-radius:5px;background:#39280f;color:#ffe1a3!important;text-decoration:none!important;font:700 13px Georgia,serif;letter-spacing:.06em}.borg-preview-action[href]:hover,.borg-preview-buy:hover{background:#60421a;color:#fff0c5!important;transform:translateY(-2px)}
.borg-preview-disabled{cursor:default;opacity:.62;background:#202334}.borg-preview-ready{cursor:default}.borg-preview-note{display:block;max-width:250px;margin:10px auto 0;color:#9e927b;font:12px/1.4 Georgia,serif}
.borg-preview-reader-intro{text-align:center;margin:30px auto 0;padding:28px 24px;background:#111b30;border:1px solid #c9a35a;border-radius:7px}.borg-preview-reader-intro h2{margin:8px 0;color:#f4dba0;font:700 28px Georgia,serif}.borg-preview-reader-intro p{max-width:720px;margin:0 auto 20px;color:#d2c8b4;font:15px/1.6 Georgia,serif}.borg-preview-reader-intro .borg-preview-action,.borg-preview-reader-intro .borg-preview-buy{margin:5px}.borg-preview-buy{background:#4b1714}
@media(max-width:850px){.borg-preview-grid{grid-template-columns:1fr}.borg-preview-card{max-width:520px;width:100%;box-sizing:border-box;margin:0 auto}.borg-preview-cover{min-height:0}.borg-preview-cover img{height:280px}.borg-free-previews-shell{padding:22px 14px}}


/* v6.80.26V — public Book I three-chapter preview reader */
html{scroll-behavior:smooth}
.borg-public-preview-reader{max-width:860px;margin:34px auto 0;background:#111b30;border:1px solid #c9a35a;border-radius:7px;padding:clamp(24px,5vw,54px);box-shadow:0 16px 38px rgba(0,0,0,.34)}
.borg-public-preview-reader-head{text-align:center;padding-bottom:28px;border-bottom:1px solid rgba(201,163,90,.45);margin-bottom:36px}
.borg-public-preview-reader-head>span,.borg-public-preview-finale>span{display:block;color:#d4a62a;font:700 12px Georgia,serif;letter-spacing:.2em;text-transform:uppercase}
.borg-public-preview-reader-head h2{margin:8px 0 7px;color:#f4dba0;font:700 clamp(31px,5vw,48px)/1.08 Georgia,serif;letter-spacing:.035em}
.borg-public-preview-reader-head p{margin:0;color:#b9ab8c;font:700 12px Georgia,serif;letter-spacing:.16em}
.borg-public-preview-chapter{max-width:720px;margin:0 auto;padding:10px 0 40px}
.borg-public-preview-chapter+.borg-public-preview-chapter{border-top:1px solid rgba(201,163,90,.34);padding-top:42px}
.borg-public-preview-chapter-label{text-align:center;color:#d4a62a;font:700 11px Georgia,serif;letter-spacing:.2em}
.borg-public-preview-chapter h2{text-align:center;color:#f4dba0;font:700 clamp(27px,4vw,36px) Georgia,serif;margin:8px 0 28px}
.borg-public-preview-chapter p{color:#e4dccb;font:17px/1.82 Georgia,serif;margin:0 0 1.15em;text-align:left}
.borg-public-preview-chapter p:first-of-type:first-letter{float:left;color:#d4a62a;font:700 58px/.78 Georgia,serif;padding:8px 8px 0 0}
.borg-public-preview-finale{text-align:center;max-width:720px;margin:4px auto 0;padding:46px 24px 12px;border-top:1px solid #c9a35a}
.borg-public-preview-finale h2{color:#f4dba0;font:700 clamp(28px,4vw,39px)/1.15 Georgia,serif;margin:9px 0 17px}
.borg-public-preview-finale p{color:#d8d0bf;font:17px/1.65 Georgia,serif;margin:7px auto;max-width:620px}
.borg-public-preview-finale .borg-preview-buy{margin-top:23px;min-width:min(100%,360px)}
.borg-public-preview-finale small{display:block;margin-top:12px;color:#a99b80;font:12px Georgia,serif;letter-spacing:.04em}
@media(max-width:650px){.borg-public-preview-reader{padding:24px 17px}.borg-public-preview-chapter p{font-size:16px;line-height:1.72}.borg-public-preview-finale{padding-left:0;padding-right:0}.borg-public-preview-finale .borg-preview-buy{min-width:0;width:100%}}

/* v6.80.27V: Free Preview now demonstrates the Vault-style reader. */
.borg-public-preview-vault-demo{max-width:1060px!important;margin-left:auto!important;margin-right:auto!important;}
.borg-preview-reader-intro{max-width:760px;margin:0 auto 18px;text-align:center;color:#e7d1ae;line-height:1.7;}
.borg-public-preview-controls{justify-content:center;margin:0 0 14px!important;}
.borg-public-book-viewer{background:#211b17!important;border:2px solid #a77b3f!important;border-radius:8px!important;padding:14px!important;}
.borg-public-preview-canvas-wrap{position:relative;min-height:520px;display:flex;align-items:flex-start;justify-content:center;background:#4c4238!important;}
.borg-public-preview-canvas-wrap canvas{display:block;max-width:100%;height:auto!important;background:#fff;box-shadow:0 4px 18px #0008;}
.borg-preview-final-reader-page{box-sizing:border-box;width:min(780px,100%);min-height:620px;margin:0 auto;padding:80px 54px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:#0d1725;border:1px solid #c9a35a;color:#f5e6c8;box-shadow:0 4px 18px #0008;}
.borg-preview-final-reader-page[hidden]{display:none!important;}
.borg-preview-final-reader-page span{color:#d4a62a;font-weight:700;letter-spacing:.16em;font-size:12px;}
.borg-preview-final-reader-page h2{color:#ffe1a3;font-family:Georgia,serif;font-size:clamp(30px,5vw,50px);line-height:1.05;margin:18px 0 24px;}
.borg-preview-final-reader-page p{max-width:610px;font-size:18px;line-height:1.7;margin:5px auto;}
.borg-preview-final-reader-page .borg-preview-buy{margin-top:30px;}
.borg-preview-final-reader-page small{margin-top:14px;color:#cbb992;}
.borg-public-book-viewer:fullscreen{background:#211b17!important;padding:12px!important;}
.borg-public-book-viewer:fullscreen .borg-public-preview-canvas-wrap{max-height:none!important;flex:1;overflow:auto;}
@media(max-width:700px){.borg-public-preview-canvas-wrap{min-height:380px}.borg-preview-final-reader-page{min-height:500px;padding:50px 22px}.borg-public-book-viewer{padding:8px!important}}

/* v6.80.28V: standard preview-page title scale + reveal Vault-style reader only on preview click. */
.borg-free-previews-head h1{font-size:clamp(30px,3.1vw,42px)!important;line-height:1.12!important;letter-spacing:.03em!important;}
.borg-public-preview-reader[hidden]{display:none!important;}
@media(max-width:650px){.borg-free-previews-head h1{font-size:clamp(28px,8vw,36px)!important;}}


/* v6.80.29V — center the homepage feature row vertically without changing band thickness; add preview reader close control. */
body.home .borg-layered-features{
  box-sizing:border-box!important;
  min-height:100px!important;
  padding:0 20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-evenly!important;
  align-content:center!important;
}
#borg-preview-close{white-space:nowrap;}
@media(max-width:760px){body.home .borg-layered-features{padding:14px 16px!important;min-height:100px!important;}}

/* v6.80.30V — purchaser Vault in-place reader. Open Book now expands the real protected reader inside the Vault; Floating Book remains separate. */
.borg-vault-inline-reader{max-width:1120px;margin:34px auto 18px;padding:12px;background:#0d1725;border:1px solid #c9a35a;border-radius:7px;box-shadow:0 18px 42px #0008;scroll-margin-top:90px}
.borg-vault-inline-reader[hidden]{display:none!important}
.borg-vault-inline-reader-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:2px 2px 12px;color:#f5d998;font:normal 18px Georgia,serif;letter-spacing:.04em}
.borg-vault-inline-reader-head .borg-library-button{margin:0!important;flex:0 0 auto}
.borg-vault-inline-reader iframe{display:block;width:100%;height:min(82vh,940px);min-height:620px;border:1px solid #80662f;border-radius:5px;background:#211b17}
.borg-vault-inline-reader-open{font-family:Georgia,serif;cursor:pointer}
@media(max-width:680px){.borg-vault-inline-reader{margin-top:24px;padding:8px}.borg-vault-inline-reader iframe{height:76vh;min-height:500px}.borg-vault-inline-reader-head{font-size:15px}}

/* v6.80.31V — direct Vault reader controls */
.borg-reader-embedded .borg-book-toolbar{flex-wrap:wrap}
.borg-reader-embedded .borg-reader-toolbar-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.borg-reader-embedded .borg-book-toolbar button,.borg-reader-embedded .borg-reader-toolbar-link{min-height:38px}


/* v6.80.32V — streamline inline Vault reader: no duplicate navy title shell; book actions live at the top-right of the brown reader. */
.borg-vault-inline-reader{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.borg-vault-inline-reader iframe{border:1px solid #80662f!important;}
.borg-reader-embedded{padding-top:0!important;}
.borg-reader-embedded .borg-reader-controls{margin-top:10px!important;}
.borg-reader-embedded .borg-book-viewer{position:relative;padding-top:58px!important;}
.borg-reader-embedded-actions{position:absolute;top:9px;right:10px;z-index:5;display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;}
.borg-reader-embedded-actions button,.borg-reader-embedded-actions .borg-reader-download-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 16px;border:1px solid #a77b3f;border-radius:5px;background:#211b17;color:#f3d99e!important;text-decoration:none!important;font:16px Georgia,serif;cursor:pointer;}
.borg-reader-embedded-actions button:hover,.borg-reader-embedded-actions .borg-reader-download-button:hover{background:#39280f;color:#ffe1a3!important;}
@media(max-width:700px){.borg-reader-embedded .borg-book-viewer{padding-top:105px!important}.borg-reader-embedded-actions{left:9px;right:9px;justify-content:center}.borg-reader-embedded-actions button,.borg-reader-embedded-actions .borg-reader-download-button{font-size:14px;padding:8px 11px}}
/* v6.80.33V — Vault inline Cinema pop-down viewer */
.borg-vault-inline-cinema{margin:24px 18px 10px;border:1px solid #c9a35a;background:#111827;overflow:hidden}
.borg-vault-inline-cinema[hidden]{display:none!important}
.borg-vault-inline-cinema-bar{display:flex;justify-content:flex-end;padding:10px 12px;background:#1c1813;border-bottom:1px solid #8e6b2a}
.borg-vault-inline-cinema-bar button{background:#39280f;border:1px solid #c9a35a;border-radius:5px;padding:10px 18px;color:#ffe1a3;font:700 13px Georgia,serif;cursor:pointer}
.borg-vault-inline-cinema-bar button:hover{background:#60421a}
.borg-vault-inline-cinema iframe{display:block;width:100%;height:min(76vh,850px);border:0;background:#090d15}

/* v6.80.34V — clean embedded purchaser reader and Cinema viewer. */
.borg-reader-embedded{padding:0!important;margin:0!important}
.borg-reader-embedded-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:10px 12px;background:#211b17;border:1px solid #80662f;border-bottom:0;border-radius:6px 6px 0 0}
.borg-reader-embedded-top .borg-reader-controls{margin:0!important;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.borg-reader-embedded .borg-reader-embedded-actions{position:static!important;display:flex!important;align-items:center;gap:10px;margin-left:auto}
.borg-reader-embedded .borg-book-viewer{padding-top:0!important;border-radius:0 0 6px 6px!important}
.borg-reader-embedded .borg-book-toolbar{margin:0!important;border-radius:0!important;justify-content:center!important}
.borg-reader-embedded-actions button,.borg-reader-embedded-actions .borg-reader-download-button{min-height:39px!important;padding:8px 16px!important;background:#39280f!important;border:1px solid #c9a35a!important;color:#ffe1a3!important;font:700 14px Georgia,serif!important}
.borg-reader-embedded-actions button:hover,.borg-reader-embedded-actions .borg-reader-download-button:hover{background:#60421a!important}
.borg-cinema-embedded-body{margin:0!important;background:#090d15!important;overflow:hidden!important}
body.borg-cinema-embedded-body #wpadminbar{display:none!important}
html:has(body.borg-cinema-embedded-body){margin-top:0!important}
.borg-movie-embedded{min-height:0!important;padding:0!important;background:#090d15!important}
.borg-movie-embedded .borg-movie-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:#090d15!important;box-shadow:none!important}
.borg-cinema-embedded-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px;background:#211b17;border-bottom:1px solid #80662f;color:#f4d99b;font:700 13px Georgia,serif;letter-spacing:.08em}
.borg-cinema-embedded-top>div{display:flex;gap:10px}
.borg-cinema-embedded-top button{padding:9px 15px;border:1px solid #c9a35a;border-radius:5px;background:#39280f;color:#ffe1a3;font:700 12px Georgia,serif;cursor:pointer}
.borg-cinema-embedded-top button:hover{background:#60421a}
.borg-movie-embedded .borg-movie-screen{margin:0!important;border:0!important;border-radius:0!important;width:100%!important;max-width:none!important;background:#000!important}
.borg-movie-embedded .borg-movie-screen video{display:block;width:100%!important;height:auto!important;max-height:calc(76vh - 58px)!important;background:#000!important}
.borg-vault-inline-cinema{background:#090d15!important}
.borg-vault-inline-cinema iframe{height:min(70vh,760px)!important}
@media(max-width:760px){.borg-reader-embedded-top{align-items:stretch}.borg-reader-embedded .borg-reader-embedded-actions{width:100%;margin-left:0;justify-content:center}.borg-cinema-embedded-top{align-items:flex-start;flex-direction:column}.borg-cinema-embedded-top>div{width:100%;flex-wrap:wrap}}


/* v6.80.35V — match purchaser dashboard OPEN APP / INSTALL APP button height. */
.borg-dashboard-app-actions .borg-pwa-open,
.borg-dashboard-app-actions .borg-pwa-install{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  min-height:46px!important;
  height:46px!important;
  padding:0 22px!important;
  line-height:1.15!important;
}


/* v6.80.36V — Floating Cinema matches the Book reader surface. */
html body.borg-cinema-float-body{background:#211b17!important;}
body.borg-cinema-float-body .borg-movie-page{background:#211b17!important;background-image:none!important;}
body.borg-cinema-float-body .borg-movie-shell{background:#211b17!important;}
body.borg-cinema-float-body .borg-movie-nav{display:none!important;}


/* v6.80.41V — Dispatches featured-card cleanup.
   Remove the legacy oversized linked inscription from the image side and
   keep the actual post title clean, readable, and un-underlined. */
.borg-dispatches-direct .borg-chronicles-card:first-child .borg-chronicles-card-image:empty::after{
  content:none!important;
  display:none!important;
}
.borg-dispatches-direct .borg-chronicles-card:first-child .borg-chronicles-card-image:empty{
  min-height:275px!important;
  background:
    linear-gradient(rgba(9,18,35,.12),rgba(9,18,35,.28)),
    url('assets/borgreads-approved-banner.png') center/cover no-repeat!important;
}
.borg-dispatches-direct .borg-chronicles-card h3{
  font:normal clamp(24px,2.35vw,34px)/1.22 Georgia,serif!important;
  margin:16px 0 8px!important;
  color:#f4e5c7!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.borg-dispatches-direct .borg-chronicles-card h3 a,
.borg-dispatches-direct .borg-chronicles-card h3 a:hover,
.borg-dispatches-direct .borg-chronicles-card h3 a:focus{
  color:inherit!important;
  text-decoration:none!important;
  border-bottom:0!important;
}
.borg-dispatches-direct .borg-chronicles-card h3 a:hover,
.borg-dispatches-direct .borg-chronicles-card h3 a:focus-visible{
  color:#ffe1a3!important;
}
.borg-dispatches-direct .borg-chronicles-card-body > p{
  font-size:16px!important;
  line-height:1.55!important;
  margin:16px 0 20px!important;
  color:#f1dfbf!important;
}
@media(max-width:720px){
  .borg-dispatches-direct .borg-chronicles-card:first-child .borg-chronicles-card-image:empty{min-height:190px!important;}
}


/* v6.80.43V — restore Book I Cinema action on the Free Previews card using the established public Cinema I product route. */
.borg-preview-card-actions{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%}
.borg-preview-cinema-action{background:#39280f}

/* v6.80.43V — restore inline Cinema I preview on Free Previews */
.borg-preview-cinema-action{font:inherit;cursor:pointer}
.borg-public-cinema-preview{max-width:980px;margin:34px auto 0;padding:22px;border:1px solid #c9a35a;border-radius:8px;background:#0d1428;scroll-margin-top:110px}
.borg-public-cinema-preview[hidden]{display:none!important}
.borg-public-cinema-preview-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px}
.borg-public-cinema-preview-head span,.borg-public-cinema-preview-head p{color:#d8b766;letter-spacing:.12em}
.borg-public-cinema-preview-head h2{margin:5px 0;color:#ffe1a3}
.borg-public-cinema-preview-head p{margin:0}
.borg-public-cinema-preview-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.borg-public-cinema-preview-actions button{background:#39280f;border:1px solid #c9a35a;border-radius:5px;padding:11px 18px;color:#ffe1a3;font-weight:700;cursor:pointer}
.borg-public-cinema-preview-actions button:hover{background:#60421a}
.borg-public-cinema-screen{background:#000;aspect-ratio:16/9;width:100%;overflow:hidden}
.borg-public-cinema-screen video{display:block;width:100%;height:100%;object-fit:contain;background:#000}
@media(max-width:700px){.borg-public-cinema-preview-head{flex-direction:column}.borg-public-cinema-preview-actions{justify-content:flex-start}}


/* v6.80.44V — matched preview buttons + brown Book/Cinema pop-down viewers + floating preview windows. */
.borg-preview-card-actions .borg-preview-action{
  width:220px!important;min-width:220px!important;min-height:40px!important;
  padding:11px 18px!important;margin:0!important;box-sizing:border-box!important;
  appearance:none!important;-webkit-appearance:none!important;
  font:700 13px/1.2 Georgia,serif!important;letter-spacing:.06em!important;
  text-align:center!important;
}
.borg-preview-cinema-action:hover{background:#60421a!important;color:#fff0c5!important;transform:translateY(-2px)}
.borg-public-preview-reader,.borg-public-cinema-preview{background:#211b17!important;border-color:#a77b3f!important;color:#e7d1ae!important;box-shadow:0 16px 38px rgba(0,0,0,.34)}
.borg-public-preview-reader-head{border-bottom-color:#987446!important}
.borg-public-cinema-preview-head{padding-bottom:14px;border-bottom:1px solid #987446}
.borg-public-cinema-screen{border:1px solid #a77b3f;border-radius:6px}
.borg-public-cinema-preview-actions button,.borg-book-toolbar button,#borg-preview-float{
  background:#39280f;border:1px solid #c9a35a;border-radius:5px;color:#ffe1a3;font:700 12px Georgia,serif;letter-spacing:.04em;cursor:pointer
}
.borg-public-cinema-preview-actions button:hover,.borg-book-toolbar button:hover,#borg-preview-float:hover{background:#60421a;color:#fff0c5}
body.borg-public-preview-floating{background:#211b17!important;min-height:100vh!important}
body.borg-public-preview-floating #header,body.borg-public-preview-floating #header-sticky,body.borg-public-preview-floating #footer,body.borg-public-preview-floating #sub-footer,body.borg-public-preview-floating .borg-free-previews-head,body.borg-public-preview-floating .borg-preview-trilogy{display:none!important}
body.borg-public-preview-floating .borg-free-previews-page,body.borg-public-preview-floating .borg-free-previews-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#211b17!important}
body.borg-public-preview-floating-book .borg-public-cinema-preview{display:none!important}
body.borg-public-preview-floating-cinema .borg-public-preview-reader{display:none!important}
body.borg-public-preview-floating .borg-public-preview-reader,body.borg-public-preview-floating .borg-public-cinema-preview{max-width:none!important;width:auto!important;margin:0!important;border-radius:0!important;border:0!important;min-height:100vh!important;box-sizing:border-box!important}
body.borg-public-preview-floating .borg-public-preview-reader{padding:18px!important}
body.borg-public-preview-floating .borg-public-cinema-preview{padding:18px!important}
body.borg-public-preview-floating .borg-public-preview-reader-head{padding-bottom:12px!important;margin-bottom:16px!important}
body.borg-public-preview-floating .borg-public-preview-reader-head h2{font-size:clamp(24px,4vw,34px)!important}
body.borg-public-preview-floating .borg-preview-reader-intro{margin-bottom:10px!important}
body.borg-public-preview-floating .borg-public-preview-canvas-wrap{min-height:calc(100vh - 290px)!important}


/* v6.80.45V — streamline public preview reader controls and floating-window chrome. */
.borg-public-preview-controls,.borg-preview-reader-intro{display:none!important}
#borg-preview-status{display:inline-flex;align-items:center;min-height:36px;color:#e7d1ae;font-size:13px}
body.borg-public-preview-floating-book #borg-preview-float,
body.borg-public-preview-floating-cinema #borg-public-cinema-float{display:none!important}


/* v6.80.49V — unify public Book/Cinema viewers and make inline modes mutually exclusive. */
.borg-public-preview-reader,.borg-public-cinema-preview{
  width:min(100%,980px)!important;max-width:980px!important;margin:34px auto 0!important;
  padding:22px!important;box-sizing:border-box!important;background:#211b17!important;
  border:1px solid #a77b3f!important;border-radius:8px!important;color:#e7d1ae!important;
  box-shadow:0 16px 38px rgba(0,0,0,.34)!important;scroll-margin-top:110px!important;
}
.borg-public-preview-reader-head,.borg-public-cinema-preview-head{
  min-height:110px;box-sizing:border-box;padding:0 0 14px!important;margin:0 0 16px!important;
  border-bottom:1px solid #987446!important;
}
.borg-public-preview-reader-head{text-align:left!important}
.borg-public-preview-reader-head>span,.borg-public-cinema-preview-head span,
.borg-public-preview-reader-head p,.borg-public-cinema-preview-head p{color:#d8b766!important;letter-spacing:.12em!important}
.borg-public-preview-reader-head h2,.borg-public-cinema-preview-head h2{margin:5px 0!important;color:#ffe1a3!important;font-size:24px!important;line-height:1.2!important}
.borg-book-toolbar,.borg-public-cinema-preview-actions{gap:10px!important}
.borg-book-toolbar button,.borg-public-cinema-preview-actions button{
  min-height:38px!important;padding:10px 16px!important;box-sizing:border-box!important;
  background:#39280f!important;border:1px solid #c9a35a!important;border-radius:5px!important;
  color:#ffe1a3!important;font:700 12px/1.2 Georgia,serif!important;letter-spacing:.04em!important;
  text-transform:uppercase!important;cursor:pointer!important;
}
.borg-book-toolbar button:hover,.borg-public-cinema-preview-actions button:hover{background:#60421a!important;color:#fff0c5!important}
.borg-public-book-viewer,.borg-public-cinema-screen{width:100%!important;box-sizing:border-box!important}
@media(max-width:700px){.borg-public-preview-reader,.borg-public-cinema-preview{padding:16px!important}.borg-public-preview-reader-head,.borg-public-cinema-preview-head{min-height:0}}

/* v6.80.49V — unified READ/WATCH collection pages + viewer header controls. */
.borg-public-preview-reader-head,.borg-public-cinema-preview-head{
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:22px!important;
}
.borg-public-preview-reader-title,.borg-public-cinema-preview-head>div:first-child{min-width:0;flex:1 1 auto}
.borg-public-preview-header-actions,.borg-public-cinema-preview-actions{
  flex:0 0 auto;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;
}
.borg-public-preview-header-actions button,.borg-public-cinema-preview-actions button,.borg-public-cinema-controls button{
  min-height:38px!important;padding:10px 16px!important;box-sizing:border-box!important;background:#39280f!important;
  border:1px solid #c9a35a!important;border-radius:5px!important;color:#ffe1a3!important;
  font:700 12px/1.2 Georgia,serif!important;letter-spacing:.04em!important;text-transform:uppercase!important;cursor:pointer!important;
}
.borg-public-preview-header-actions button:hover,.borg-public-cinema-preview-actions button:hover,.borg-public-cinema-controls button:hover{background:#60421a!important;color:#fff0c5!important}
.borg-public-cinema-controls{display:flex;justify-content:center;align-items:center;margin:0 0 14px}
.borg-book-toolbar{justify-content:center!important;align-items:center!important;flex-wrap:wrap!important}
body.borg-public-preview-floating-book .borg-public-preview-header-actions,
body.borg-public-preview-floating-cinema .borg-public-cinema-preview-actions{display:none!important}
@media(max-width:760px){.borg-public-preview-reader-head,.borg-public-cinema-preview-head{flex-direction:column!important}.borg-public-preview-header-actions,.borg-public-cinema-preview-actions{width:100%;justify-content:flex-start!important}}

/* BOOKS and CINEMA are companion collection interfaces: identical shell/grid/card geometry. */
.borg-books-cinema-format,.borg-cinema-library-shell{
  width:min(1280px,96vw)!important;max-width:1280px!important;margin:0 auto!important;padding:52px 45px!important;
  box-sizing:border-box!important;border:1px solid #9a6a24!important;border-radius:13px!important;
  background:rgba(10,18,34,.88)!important;box-shadow:0 18px 50px #0007!important;
}
.borg-books-cinema-format{margin-top:48px!important;margin-bottom:48px!important}
.borg-cinema-library{padding:48px 20px 70px!important}
.borg-books-collection-head,.borg-cinema-library-head{text-align:center!important;margin:0 auto 34px!important}
.borg-books-collection-head span,.borg-cinema-library-head span{color:#d4a62a!important;font:700 12px Georgia,serif!important;letter-spacing:.18em!important}
.borg-books-collection-head h1,.borg-cinema-library-head h1{margin:14px 0!important;color:#f2d48d!important;font:normal 34px Georgia,serif!important;letter-spacing:.02em!important}
.borg-books-collection-head p,.borg-cinema-collection-subtitle{margin:-8px 0 28px!important;color:#d5aa42!important;font:800 12px Georgia,serif!important;letter-spacing:.22em!important}
.borg-books-cinema-format .borg-all-books-grid,.borg-cinema-library-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:34px!important;align-items:stretch!important}
.borg-books-cinema-format .borg-all-books-card,.borg-cinema-library-card{
  min-width:0!important;min-height:500px!important;padding:7px 7px 22px!important;box-sizing:border-box!important;text-align:center!important;
  border:2px solid #a97c2d!important;border-radius:15px!important;background:#10172b!important;
  box-shadow:inset 0 0 0 5px #11192c,inset 0 0 0 6px rgba(212,166,42,.35)!important;
}
.borg-books-cinema-format .borg-all-books-cover,.borg-cinema-library-art{
  position:relative!important;display:grid!important;place-items:center!important;width:auto!important;max-width:none!important;height:360px!important;
  margin:14px 35px 10px!important;border:1px solid rgba(212,166,42,.38)!important;border-radius:50% 50% 9px 9px/32% 32% 9px 9px!important;
  background:radial-gradient(circle,#30344d,#101728 68%)!important;overflow:visible!important;
}
.borg-books-cinema-format .borg-all-books-cover img,.borg-cinema-library-art img{width:auto!important;height:235px!important;max-width:88%!important;max-height:88%!important;object-fit:contain!important;filter:drop-shadow(0 12px 10px #000b)!important}
.borg-books-cinema-format .borg-all-books-card h3,.borg-cinema-library-card h2{min-height:59px!important;margin:8px 5px 4px!important;color:#f4d78c!important;font:normal 25px/1.18 Georgia,serif!important;display:flex!important;align-items:center!important;justify-content:center!important}
.borg-books-cinema-format .borg-shop-button,.borg-cinema-purchase{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:170px!important;min-height:34px!important;margin-top:8px!important;padding:8px 18px!important;box-sizing:border-box!important;border:1px solid #d4a62a!important;border-radius:5px!important;background:#520913!important;color:#fff0ca!important;text-decoration:none!important;font:700 10px Georgia,serif!important;letter-spacing:.04em!important}
.borg-books-cinema-format .borg-shop-button:hover,.borg-cinema-purchase:hover{background:#6b101b!important;color:#fff6dc!important}
@media(max-width:900px){.borg-books-cinema-format,.borg-cinema-library-shell{padding:38px 24px!important}.borg-books-cinema-format .borg-all-books-grid,.borg-cinema-library-grid{grid-template-columns:1fr!important}.borg-books-cinema-format .borg-all-books-card,.borg-cinema-library-card{max-width:430px!important;margin-inline:auto!important;width:100%!important}}

/* v6.80.49V — move CLOSE into Reader/Cinema header action groups; rename Cinema preview CTA. */


/* v6.80.49V — Home/Books/Cinema chrome and READ/WATCH collection parity. */
html body #header{
  background:#08101c!important;
  background-image:none!important;
  border-bottom:1px solid #d09b43!important;
}
html body #header-core{
  width:100%!important;max-width:none!important;min-height:76px!important;height:auto!important;
  padding:4px clamp(12px,2.5vw,44px)!important;gap:clamp(12px,2vw,38px)!important;
}
html body #header-links{min-width:0!important;flex:1!important;margin-left:auto!important;transform:none!important}
html body #header-links-inner{min-height:58px!important}

/* The two collection pages intentionally share one geometry and one card grammar. */
.borg-all-books-page .borg-books-cinema-format,
.borg-cinema-matched-collection .borg-books-cinema-format{
  width:min(1280px,96vw)!important;max-width:1280px!important;
  margin:48px auto!important;padding:52px 45px!important;
}
.borg-cinema-matched-collection{padding:0 20px 22px!important}
.borg-all-books-page .borg-all-books-grid,
.borg-cinema-matched-collection .borg-all-books-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:34px!important;align-items:stretch!important;
}
.borg-all-books-page .borg-all-books-card,
.borg-cinema-matched-collection .borg-all-books-card{
  min-height:565px!important;display:flex!important;flex-direction:column!important;align-items:center!important;
  padding:7px 7px 22px!important;
}
.borg-all-books-page .borg-all-books-cover,
.borg-cinema-matched-collection .borg-all-books-cover{
  width:calc(100% - 70px)!important;height:360px!important;margin:14px 35px 10px!important;
}
.borg-all-books-page .borg-all-books-card h3,
.borg-cinema-matched-collection .borg-all-books-card h2{
  width:100%!important;min-height:70px!important;margin:8px 5px 4px!important;
  font:normal 25px/1.18 Georgia,serif!important;text-align:center!important;
}
.borg-all-books-page .borg-upcoming-badge,
.borg-cinema-matched-collection .borg-upcoming-badge{
  margin:4px auto 4px!important;min-height:24px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
.borg-all-books-page .borg-shop-button,
.borg-cinema-matched-collection .borg-shop-button{
  margin-top:auto!important;min-width:190px!important;min-height:36px!important;
}
.borg-cinema-matched-collection .borg-cinema-star{display:block!important}
.borg-cinema-matched-collection .borg-cinema-card-lock,
.borg-cinema-matched-collection .borg-cinema-booknum,
.borg-cinema-matched-collection .borg-cinema-edition,
.borg-cinema-matched-collection .borg-cinema-notowned,
.borg-all-books-page .borg-all-books-price{display:none!important}
@media(max-width:900px){
 .borg-all-books-page .borg-books-cinema-format,.borg-cinema-matched-collection .borg-books-cinema-format{padding:38px 24px!important}
 .borg-all-books-page .borg-all-books-grid,.borg-cinema-matched-collection .borg-all-books-grid{grid-template-columns:1fr!important}
}

/* v6.80.50V — Scribe's Desk major-section header matches Books/Cinema */
.borg-reader-desk-header{
  text-align:center!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:38px 20px 34px!important;
  margin:0 auto 34px!important;
  box-shadow:none!important;
}
.borg-reader-desk-header span{
  display:block!important;
  color:#d4a62a!important;
  font:700 12px Georgia,serif!important;
  letter-spacing:.18em!important;
}
.borg-reader-desk-header h1{
  margin:14px 0!important;
  color:#f2d48d!important;
  font:normal 34px Georgia,serif!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
}
.borg-reader-desk-header > p:not(.borg-reader-dispatches-action){
  margin:-8px 0 28px!important;
  color:#d5aa42!important;
  font:800 12px Georgia,serif!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  line-height:1.5!important;
}
.borg-reader-desk-header .borg-reader-dispatches-action{margin:0!important}
@media(max-width:700px){
 .borg-reader-desk-header{padding:30px 12px 28px!important}
 .borg-reader-desk-header h1{font-size:30px!important}
}


/* v6.80.51V — compact Scribe's Desk intro + unified lighter functional panels */
.borg-reader-desk-header{
  padding:20px 20px 18px!important;
  margin:0 auto 22px!important;
}
.borg-reader-desk-header h1{margin:12px 0!important}
.borg-reader-desk-header > p:not(.borg-reader-dispatches-action){
  margin:-7px 0 8px!important;
}
.borg-reader-desk-header .borg-reader-dispatches-action{margin:0!important}
.borg-reader-desk-header .borg-reader-dispatches-action .borg-reader-button{
  margin:12px 0 0!important;
}
.borg-reader-panel{
  background:#10172b!important;
}
@media(max-width:700px){
 .borg-reader-desk-header{padding:18px 12px 16px!important;margin-bottom:18px!important}
}


/* v6.80.52V — exact Books/Cinema parity + final Scribe's Desk visual rhythm. */
/* One collection geometry for READ and WATCH. */
.borg-all-books-page,
.borg-cinema-library.borg-cinema-matched-collection{
  width:100%!important;max-width:none!important;margin:0!important;padding:48px 20px 70px!important;box-sizing:border-box!important;
}
.borg-all-books-page .borg-books-cinema-format,
.borg-cinema-library.borg-cinema-matched-collection .borg-books-cinema-format{
  width:min(1280px,96vw)!important;max-width:1280px!important;margin:0 auto!important;padding:52px 45px!important;
  box-sizing:border-box!important;border:1px solid #9a6a24!important;border-radius:13px!important;
  background:var(--borg-solid-interior,#11182d)!important;box-shadow:0 18px 50px #0007!important;
}
.borg-all-books-page .borg-books-collection-head,
.borg-cinema-library.borg-cinema-matched-collection .borg-books-collection-head{
  position:relative!important;text-align:center!important;margin:0 auto 34px!important;padding:0 0 30px!important;
}
.borg-all-books-page .borg-books-collection-head::after,
.borg-cinema-library.borg-cinema-matched-collection .borg-books-collection-head::after{
  content:""!important;display:block!important;width:82px!important;height:1px!important;margin:26px auto 0!important;
  background:linear-gradient(90deg,transparent,#9a6a24,transparent)!important;
}
.borg-all-books-page .borg-books-collection-head span,
.borg-cinema-library.borg-cinema-matched-collection .borg-books-collection-head span{
  display:block!important;color:#d4a62a!important;font:700 12px Georgia,serif!important;letter-spacing:.18em!important;
}
.borg-all-books-page .borg-books-collection-head h1,
.borg-cinema-library.borg-cinema-matched-collection .borg-books-collection-head h1{
  margin:14px 0!important;color:#f2d48d!important;font:normal 34px Georgia,serif!important;letter-spacing:.02em!important;
}
.borg-all-books-page .borg-books-collection-head p,
.borg-cinema-library.borg-cinema-matched-collection .borg-books-collection-head p{
  margin:-8px 0 0!important;color:#d5aa42!important;font:800 12px Georgia,serif!important;letter-spacing:.22em!important;
}
.borg-all-books-page .borg-all-books-grid,
.borg-cinema-library.borg-cinema-matched-collection .borg-all-books-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:34px!important;align-items:stretch!important;
}
.borg-all-books-page .borg-all-books-card,
.borg-cinema-library.borg-cinema-matched-collection .borg-all-books-card{
  min-height:565px!important;height:565px!important;padding:7px 7px 22px!important;box-sizing:border-box!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important;
  background:var(--borg-solid-card,#171f38)!important;
}
.borg-all-books-page .borg-all-books-cover,
.borg-cinema-library.borg-cinema-matched-collection .borg-all-books-cover{
  width:calc(100% - 70px)!important;height:360px!important;margin:14px 35px 10px!important;box-sizing:border-box!important;
}
.borg-all-books-page .borg-all-books-card h3,
.borg-cinema-library.borg-cinema-matched-collection .borg-all-books-card h2{
  width:100%!important;min-height:70px!important;margin:8px 5px 4px!important;
  font:normal 25px/1.18 Georgia,serif!important;text-align:center!important;display:flex!important;align-items:center!important;justify-content:center!important;
}
.borg-all-books-page .borg-upcoming-badge,
.borg-cinema-library.borg-cinema-matched-collection .borg-upcoming-badge{
  margin:4px auto 4px!important;min-height:24px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
.borg-all-books-page .borg-shop-button,
.borg-cinema-library.borg-cinema-matched-collection .borg-shop-button{
  margin-top:auto!important;min-width:190px!important;min-height:36px!important;
}
/* The old Books-only top ornament must not shift its collection geometry. */
.borg-all-books-page .borg-all-books-upcoming::before{display:none!important}

/* Scribe's Desk uses the same compact major-section rhythm as Books/Cinema. */
.borg-reader-desk{max-width:1280px!important;margin:0 auto!important;padding:48px 20px 70px!important;box-sizing:border-box!important}
.borg-reader-desk-header{
  position:relative!important;padding:0 20px 30px!important;margin:0 auto 34px!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
.borg-reader-desk-header span{display:block!important;color:#d4a62a!important;font:700 12px Georgia,serif!important;letter-spacing:.18em!important}
.borg-reader-desk-header h1{margin:14px 0!important;color:#f2d48d!important;font:normal 34px Georgia,serif!important;letter-spacing:.02em!important;text-transform:uppercase!important}
.borg-reader-desk-header > p:not(.borg-reader-dispatches-action){margin:-8px 0 0!important;color:#d5aa42!important;font:800 12px Georgia,serif!important;letter-spacing:.12em!important;line-height:1.5!important;text-transform:uppercase!important}
.borg-reader-desk-header .borg-reader-dispatches-action{margin:18px 0 0!important}
.borg-reader-desk-header .borg-reader-dispatches-action .borg-reader-button{margin:0!important}
.borg-reader-desk-header::after{content:""!important;display:block!important;width:82px!important;height:1px!important;margin:26px auto 0!important;background:linear-gradient(90deg,transparent,#9a6a24,transparent)!important}
.borg-reader-layout{margin-top:0!important}
.borg-reader-panel,
.borg-reader-community{
  background:var(--borg-solid-card,#171f38)!important;background-image:none!important;
  border:1px solid #c4a15d!important;
}
@media(max-width:900px){
 .borg-all-books-page,.borg-cinema-library.borg-cinema-matched-collection,.borg-reader-desk{padding:34px 14px 50px!important}
 .borg-all-books-page .borg-books-cinema-format,.borg-cinema-library.borg-cinema-matched-collection .borg-books-cinema-format{padding:38px 24px!important}
 .borg-all-books-page .borg-all-books-grid,.borg-cinema-library.borg-cinema-matched-collection .borg-all-books-grid{grid-template-columns:1fr!important}
 .borg-all-books-page .borg-all-books-card,.borg-cinema-library.borg-cinema-matched-collection .borg-all-books-card{height:auto!important;min-height:565px!important;max-width:430px!important;width:100%!important;margin-inline:auto!important}
}


/* v6.80.53V — final parity correction: Cinema uses the approved Books cover scale;
   Chronicles uses the actual lighter collection-card navy and compact header rhythm. */

/* Cinema cover artwork must match the Books page's approved 255px visible book height. */
html body .borg-cinema-library.borg-cinema-matched-collection .borg-all-books-cover img[src*="borgreads-uploaded-trilogy-book-"],
html body .borg-cinema-library.borg-cinema-matched-collection .borg-cinema-library-art img[src*="borgreads-uploaded-trilogy-book-"]{
  display:block!important;
  width:auto!important;
  height:255px!important;
  max-height:78%!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:auto!important;
  scale:1!important;
}

/* Scribe's Desk: remove the excess vertical air and use the same compact section rhythm. */
html body .borg-reader-desk{
  padding-top:18px!important;
}
html body .borg-reader-desk .borg-reader-desk-header{
  padding:0 20px 14px!important;
  margin:0 auto 16px!important;
}
html body .borg-reader-desk .borg-reader-desk-header h1{
  margin:10px 0!important;
}
html body .borg-reader-desk .borg-reader-desk-header > p:not(.borg-reader-dispatches-action){
  margin:-5px 0 0!important;
}
html body .borg-reader-desk .borg-reader-desk-header .borg-reader-dispatches-action{
  margin:12px 0 0!important;
}
html body .borg-reader-desk .borg-reader-desk-header::after{
  margin:14px auto 0!important;
}
html body .borg-reader-desk .borg-reader-layout{
  margin-top:0!important;
}

/* Use the exact lighter navy already used by Borg Reads collection cards. */
html body .borg-reader-desk .borg-reader-panel,
html body .borg-reader-desk .borg-reader-community,
html body article.page > .entry-content .borg-reader-desk .borg-reader-panel,
html body article.page > .entry-content .borg-reader-desk .borg-reader-community{
  background:#1a213b!important;
  background-color:#1a213b!important;
  background-image:none!important;
  opacity:1!important;
  border-color:#c4a15d!important;
}

@media(max-width:760px){
 html body .borg-cinema-library.borg-cinema-matched-collection .borg-all-books-cover img[src*="borgreads-uploaded-trilogy-book-"],
 html body .borg-cinema-library.borg-cinema-matched-collection .borg-cinema-library-art img[src*="borgreads-uploaded-trilogy-book-"]{
   height:210px!important;max-height:76%!important;
 }
 html body .borg-reader-desk{padding-top:14px!important}
 html body .borg-reader-desk .borg-reader-desk-header{padding:0 12px 12px!important;margin-bottom:14px!important}
}

/* v6.80.54V — approved lion-tail-fixed crest sitewide + full-view Chronicle crest cards. */
.borg-chronicles-card-image{
  background:#11182d!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.borg-chronicles-card-image img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:10px!important;
  box-sizing:border-box!important;
  background:#11182d!important;
}

/* v6.80.58V — show the existing card background behind the transparent crest. */
.borg-dispatches-direct .borg-chronicles-card-image,
.borg-dispatches-direct .borg-chronicles-card-image img{
  background:transparent!important;
}

/* v6.80.60V — a single book offering, with included visual chapters. */
.borg-home-cinema-choice{white-space:normal;line-height:1.3;padding:9px 12px;font-size:13px}
.borg-unified-formats{margin:22px 0;padding:18px;border:1px solid #9a6a24;border-radius:8px}
.borg-unified-formats h3{margin:0 0 12px}.borg-unified-pending{display:block;padding:10px 5px;font-size:13px;color:#d9d1c1}
.borg-unified-download{display:inline-block;margin:8px 0}.borg-vault-cinema-plinth button{font-size:15px}
.borg-unified-chapters{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:14px 0}.borg-unified-chapters select{max-width:100%;padding:10px;background:#171b25;color:#eee;border:1px solid #9a6a24}

/* v6.80.63V: homepage book controls inside the navy vault alcoves. */
html .borg-vault .borg-vault-arch { min-height:300px!important; }
html .borg-vault .borg-vault-select { inset:9% 6% 126px!important;width:88%!important; }
html .borg-vault .borg-vault-book { height:100%!important;max-height:100%!important;max-width:90%!important; }
html .borg-vault .borg-vault-plinth,
html .borg-vault .borg-vault-cinema-plinth { left:50%!important;width:min(126px,calc(100% - 32px))!important;transform:translateX(-50%)!important; }
html .borg-vault .borg-vault-plinth { bottom:66px!important;height:38px!important; }
html .borg-vault .borg-vault-cinema-plinth { bottom:20px!important;height:34px!important; }
html .borg-vault .borg-vault-plinth button { height:38px!important;min-height:38px!important;padding:7px 10px!important;border:1px solid #d4a62a!important;border-radius:2px!important;font:700 12px/1 Georgia,serif!important;letter-spacing:.035em!important;color:#f7dda0!important; }
html .borg-vault .borg-vault-alcove-1 .borg-vault-plinth button { background:linear-gradient(#9b2020,#560d12)!important; }
html .borg-vault .borg-vault-alcove-2 .borg-vault-plinth button { background:linear-gradient(#25496a,#142b43)!important; }
html .borg-vault .borg-vault-alcove-3 .borg-vault-plinth button { background:linear-gradient(#405336,#202d1e)!important; }
html .borg-vault .borg-vault-plinth button:hover,
html .borg-vault .borg-vault-plinth button:focus-visible { background:linear-gradient(#9a6a24,#5c3c18)!important;color:#fff4d0!important;transform:translateY(-2px)!important;outline-offset:2px!important; }
html .borg-vault .borg-vault-cinema-plinth .borg-unified-pending { display:block;line-height:1.3;font-size:11px; }

/* v6.80.64V: matching homepage reading controls and explicit cache refresh. */
html body .borg-vault .borg-vault-plinth button { border-radius:2px!important;letter-spacing:.035em!important;text-transform:none!important; }
html body .borg-vault .borg-vault-alcove-1 .borg-vault-plinth button { background-image:linear-gradient(#9b2020,#560d12)!important; }
html body .borg-vault .borg-vault-alcove-2 .borg-vault-plinth button { background-image:linear-gradient(#25496a,#142b43)!important; }
html body .borg-vault .borg-vault-alcove-3 .borg-vault-plinth button { background-image:linear-gradient(#405336,#202d1e)!important; }

/* v6.80.65V: exact homepage hover motion, gold finish and glow. */
html body .borg-vault .borg-vault-plinth,
html body .borg-vault .borg-vault-plinth:hover,
html body .borg-vault .borg-vault-plinth:focus-within { background:transparent!important;filter:none!important; }
html body .borg-vault .borg-vault-plinth button {
 transition:transform .2s ease,background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease!important;
 will-change:transform;
}
html body .borg-vault .borg-vault-alcove .borg-vault-plinth button:hover,
html body .borg-vault .borg-vault-alcove .borg-vault-plinth button:focus-visible {
 transform:translateY(-7px) scale(1.035)!important;
 background:linear-gradient(#9a6a24,#5c3c18)!important;
 border-color:#d2a84a!important;color:#fff4d0!important;
 box-shadow:0 9px 18px rgba(0,0,0,.38),0 0 12px rgba(210,168,74,.28)!important;
}
@media(prefers-reduced-motion:reduce){
 html body .borg-vault .borg-vault-plinth button{transition:none!important;}
 html body .borg-vault .borg-vault-alcove .borg-vault-plinth button:hover,
 html body .borg-vault .borg-vault-alcove .borg-vault-plinth button:focus-visible{transform:none!important;}
}

/* v6.80.66V: remove legacy second gold hover outline; retain homepage border/glow. */
html body .borg-vault .borg-vault-alcove .borg-vault-plinth button,
html body .borg-vault .borg-vault-alcove .borg-vault-plinth button:hover,
html body .borg-vault .borg-vault-alcove .borg-vault-plinth button:focus,
html body .borg-vault .borg-vault-alcove .borg-vault-plinth button:focus-visible {
 outline:none!important;outline-offset:0!important;
}

/* v6.80.68V: lower Book I cover and reading button by 12px together. */
html body .borg-vault .borg-vault-alcove-1 .borg-vault-select {
 top:calc(9% + 12px)!important;bottom:114px!important;
}
html body .borg-vault .borg-vault-alcove-1 .borg-vault-plinth { bottom:54px!important; }

/* v6.80.69V: vault-door format chooser and shared Text/Media tabs. */
html body .borg-vault .borg-vault-format-chooser { max-width:1120px;margin:34px auto 18px;aspect-ratio:2.8;min-height:240px;background:#705034 url('assets/vault-door-chooser.jpg') center/cover no-repeat;border:1px solid #a77b3f;border-radius:5px;scroll-margin-top:90px; }
html body .borg-vault [data-vault-format-chooser][hidden]{display:none!important;}
html body .borg-vault .borg-vault-format-bar { display:flex;justify-content:space-between;gap:16px;padding:12px;box-sizing:border-box;background:#211b17;border:1px solid #80662f;border-bottom:0;border-radius:5px 5px 0 0; }
html body .borg-vault .borg-vault-format-chooser .borg-vault-format-bar { background:transparent;border:0; }
html body .borg-vault .borg-vault-format-bar button { display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 16px;border:1px solid #a77b3f;border-radius:5px;background:#211b17;color:#f3d99e;font:700 16px Georgia,serif;cursor:pointer; }
html body .borg-vault .borg-vault-format-bar button:hover,
html body .borg-vault .borg-vault-format-bar button[aria-pressed="true"] { background:#39280f;color:#ffe1a3; }
html body .borg-vault .borg-vault-format-bar button:focus-visible { outline:2px solid #f3d99e;outline-offset:2px; }
html body .borg-vault .borg-vault-inline-cinema { max-width:1120px;margin:34px auto 18px;background:#211b17;border:0;border-radius:5px;scroll-margin-top:90px; }
@media(max-width:680px){html body .borg-vault .borg-vault-format-chooser{margin-top:24px;min-height:200px;}html body .borg-vault .borg-vault-format-bar button{font-size:14px;padding:8px 12px;}}

/* v6.80.70V: choices inside flat door panels, clear of rivets and trim. */
html body .borg-vault .borg-vault-format-chooser { position:relative;aspect-ratio:2048/730;min-height:0!important;background-size:100% 100%; }
html body .borg-vault .borg-vault-format-chooser .borg-vault-format-bar { position:absolute;inset:0;padding:0;display:block; }
html body .borg-vault .borg-vault-format-chooser .borg-vault-format-bar button { position:absolute;top:17%;width:11%;min-height:0;height:9%;padding:0;border-radius:4px;font-size:clamp(8px,1.15vw,14px);white-space:nowrap;transform:translate(-50%,-50%); }
html body .borg-vault .borg-vault-format-chooser [data-vault-format="text"]{left:38%;}
html body .borg-vault .borg-vault-format-chooser [data-vault-format="media"]{left:61%;}
.borg-reader-download-menu { position:relative;display:inline-flex; }
.borg-reader-download-options { display:none;position:absolute;top:100%;right:0;min-width:190px;background:#18120c;border:1px solid #a77a37;z-index:9999;box-shadow:0 8px 24px #000a; }
.borg-reader-download-menu:hover .borg-reader-download-options,
.borg-reader-download-menu:focus-within .borg-reader-download-options,
.borg-reader-download-menu.is-open .borg-reader-download-options { display:block; }
html body .borg-reader-download-options a,
html body .borg-reader-download-options span { display:block;padding:10px 15px!important;color:#f8e8cb!important;white-space:nowrap;font:normal 13px Georgia,serif!important;text-decoration:none!important; }
html body .borg-reader-download-options a:hover,
html body .borg-reader-download-options a:focus-visible { background:#352312;color:#ffd27a!important; }
html body .borg-reader-download-options span[aria-disabled="true"] { opacity:.55;cursor:default; }

/* v6.80.72V: replace the collection with chooser/viewer in the same vault area. */
html body .borg-vault.borg-vault-view-active > .borg-vault-header,
html body .borg-vault.borg-vault-view-active > .borg-vault-hall,
html body .borg-vault.borg-vault-view-active > .borg-vault-panels,
html body .borg-vault.borg-vault-view-active > .borg-vault-extra,
html body .borg-vault.borg-vault-view-active > .borg-vault-bottom { display:none!important; }
html body .borg-vault.borg-vault-view-active > .borg-vault-format-chooser,
html body .borg-vault.borg-vault-view-active > .borg-vault-inline-reader,
html body .borg-vault.borg-vault-view-active > .borg-vault-inline-cinema { margin:0 auto!important;width:100%;box-sizing:border-box; }
html body .borg-vault .borg-vault-format-chooser { border:5px solid #a77b3f;box-shadow:inset 0 0 0 1px #f3d99e;box-sizing:border-box;background-size:100% 100%; }
html body .borg-vault .borg-vault-return { position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:3;padding:8px 16px;border:1px solid #a77b3f;border-radius:5px;background:#211b17;color:#f3d99e;font:700 14px Georgia,serif;cursor:pointer; }
html body .borg-vault .borg-vault-return:hover { background:#39280f;color:#ffe1a3; }

/* v6.80.87V: approved centered translucent vault menu. */
html body .borg-vault .borg-vault-format-chooser { aspect-ratio:auto;min-height:420px!important;display:flex;align-items:center;justify-content:center;padding:32px 16px;background-size:100% 100%;background-position:center; }
html body .borg-vault .borg-vault-door-menu { --door-button-height:38px;display:flex;flex-direction:column;align-items:stretch;gap:12px;width:230px;max-width:80%;padding:28px 24px;border:1px solid #ba9b61;border-radius:12px;background:rgba(33,27,23,.48);box-shadow:0 4px 16px #0003;box-sizing:border-box; }
html body .borg-vault .borg-vault-door-menu button { position:static;display:flex;align-items:center;justify-content:center;width:100%;min-height:var(--door-button-height);height:var(--door-button-height);padding:8px 12px;border:1px solid #a77b3f;border-radius:5px;background:#211b17;color:#f3d99e;font:700 14px Georgia,serif;cursor:pointer;white-space:nowrap; }
html body .borg-vault .borg-vault-door-menu button:hover { background:#39280f;color:#ffe1a3; }
html body .borg-vault .borg-vault-door-menu button:focus-visible { outline:2px solid #f3d99e;outline-offset:2px; }
html body .borg-vault .borg-vault-door-menu .borg-vault-door-return { margin-top:calc(var(--door-button-height) - 12px); }
@media(max-width:680px){html body .borg-vault .borg-vault-format-chooser{min-height:360px!important;}html body .borg-vault .borg-vault-door-menu{width:220px;padding:24px 20px;}}

/* v6.80.87V — crest menu and compact dashboard app controls. */
html body .borg-vault .borg-vault-format-chooser{align-items:flex-start;padding:8px 16px 24px;min-height:480px!important;}
html body .borg-vault .borg-vault-door-menu{width:280px;padding:16px 24px 24px;}
html body .borg-vault .borg-vault-door-crest{display:block;width:100%;height:auto;max-height:220px;object-fit:contain;margin:0 auto 2px;}
html body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content{position:relative;}
html body .borg-dashboard-app-controls{position:absolute;top:12px;right:12px;width:auto;max-width:calc(100% - 24px);margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;display:block;}
html body .borg-dashboard-app-actions{justify-content:flex-end;gap:10px;}
html body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content:has(.borg-dashboard-app-controls){padding-top:82px;}
@media(max-width:680px){html body .borg-vault .borg-vault-format-chooser{padding-top:8px;min-height:440px!important;}html body .borg-vault .borg-vault-door-menu{width:260px;padding:14px 20px 22px;}html body .borg-dashboard-app-actions .borg-shop-button{padding:0 12px!important;font-size:12px;}html body .borg-dashboard-app-actions{width:auto;}}

/* v6.80.87V — bring the dashboard greeting two lines closer to the border. */
html body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content:has(.borg-dashboard-app-controls){padding-top:42px;}
@media(min-width:761px){html body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content:has(.borg-dashboard-app-controls)>p:first-child{padding-right:300px;}}
@media(max-width:760px){html body .borg-dashboard-app-controls{position:static;max-width:none;margin:0 0 16px;}html body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content:has(.borg-dashboard-app-controls){padding-top:42px;}}

/* v6.80.87V — embedded text reader begins directly at its controls. */
html:has(body.borg-reader-embedded-body){margin:0!important;padding:0!important;}
html body.borg-reader-embedded-body,html body.borg-reader-embedded-body #borg-floating-main,html body.borg-reader-embedded-body .borg-reader-embedded{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
body.borg-reader-embedded-body:before,body.borg-reader-embedded-body:after,body.borg-reader-embedded-body #borg-floating-main:before,body.borg-reader-embedded-body #borg-floating-main:after,body.borg-reader-embedded-body .borg-reader-embedded:before,body.borg-reader-embedded-body .borg-reader-embedded:after{display:none!important;content:none!important;}
html body.borg-reader-embedded-body .borg-reader-embedded-top{margin-top:0!important;border-top:0!important;border-radius:0!important;}
html body .borg-vault-inline-reader iframe{border-top:0!important;border-radius:0!important;}

/* v6.80.87V — raise dashboard contents another two lines. */
html body.borg-account-page:not(.borg-floating-window) .woocommerce-MyAccount-content:has(.borg-dashboard-app-controls){padding-top:2px;}

/* v6.80.87V — matching default text for both dashboard app buttons. */
html body .borg-dashboard-app-actions .borg-pwa-open,
html body .borg-dashboard-app-actions .borg-pwa-install{font-family:Georgia,serif!important;font-size:16px!important;font-weight:700!important;font-style:normal!important;letter-spacing:normal!important;line-height:1.15!important;}

/* v6.80.87V — PDF and EPUB choices in each purchased book row. */
.borg-download-format-buttons{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
html body .borg-download-format-buttons .button{font:700 16px Georgia,serif!important;white-space:nowrap;}
html body .borg-download-format-buttons .borg-download-unavailable{opacity:.45;cursor:default;pointer-events:none;}
.borg-download-format-detail{margin:4px 0;}

/* v6.80.87V — Scribe's Desk follows the Dispatches heading style. */
html body .borg-reader-desk .borg-reader-desk-header .borg-dispatches-art-title{display:block;width:280px;max-width:100%;height:auto;margin:0 auto;}
html body .borg-reader-desk .borg-reader-desk-header h1{font:700 34px/1.25 Georgia,serif!important;color:#f4dfbd!important;text-transform:none!important;letter-spacing:normal!important;margin:20px 0 14px!important;}
html body .borg-reader-desk .borg-reader-desk-header>p:not(.borg-reader-dispatches-action){font:400 16px/1.6 Georgia,serif!important;color:#f4dfbd!important;text-transform:none!important;letter-spacing:normal!important;margin:0 auto 18px!important;}
html body .borg-reader-desk .borg-reader-desk-header .borg-reader-dispatches-action{margin:20px 0!important;}
html body .borg-reader-desk .borg-reader-desk-header:after{display:none!important;content:none!important;}
@media(max-width:680px){html body .borg-reader-desk .borg-reader-desk-header h1{font-size:28px!important;}}

/* v6.80.87V — align Scribe's Desk title art with Dispatches. */
html body #content-core:has(.borg-reader-desk){padding-top:0!important;}
html body .entry-content:has(.borg-reader-desk),html body article.page:has(.borg-reader-desk){margin-top:0!important;padding-top:0!important;}
html body .borg-reader-desk{padding-top:0!important;}
html body .borg-reader-desk .borg-reader-desk-header{padding-top:0!important;margin-top:0!important;}

/* v6.80.87V — floating media fits its complete picture within the window. */
html:has(body.borg-cinema-float-body){margin-top:0!important;}
html body.borg-cinema-float-body{margin:0!important;padding:0!important;overflow:hidden!important;min-height:0!important;}
body.borg-cinema-float-body #wpadminbar{display:none!important;}
html body.borg-cinema-float-body .borg-movie-page{height:100vh;height:100dvh;min-height:0!important;padding:8px!important;box-sizing:border-box;}
html body.borg-cinema-float-body .borg-movie-shell{display:flex;flex-direction:column;width:100%!important;max-width:none!important;height:100%;min-height:0;padding:0!important;margin:0!important;}
body.borg-cinema-float-body .borg-movie-kicker,body.borg-cinema-float-body .borg-movie-shell>h1,body.borg-cinema-float-body .borg-movie-shell>p{display:none!important;}
body.borg-cinema-float-body .borg-cinema-embedded-top,body.borg-cinema-float-body .borg-unified-chapters{flex:0 0 auto;}
body.borg-cinema-float-body .borg-unified-chapters{margin:0!important;padding:8px 12px!important;}
html body.borg-cinema-float-body .borg-movie-screen{flex:1 1 0;min-height:0;width:100%!important;height:auto!important;aspect-ratio:auto!important;margin:0!important;display:flex;align-items:center;justify-content:center;background:#000;overflow:hidden;}
html body.borg-cinema-float-body .borg-movie-screen video{display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;}
html body.borg-cinema-float-body .borg-movie-screen:fullscreen{height:100vh!important;height:100dvh!important;}

/* Matching title case for text and media viewer controls. */
.borg-book-toolbar button,.borg-reader-embedded-actions button,.borg-cinema-embedded-top button{ text-transform:none!important; }

.borg-vault-format-bar button:disabled{opacity:.45;cursor:not-allowed;}

/* Compact phone QR panels; standard black/white codes with a clear quiet zone. */
.borg-mobile-qr{margin:16px 0;padding:10px 14px;border:1px solid #aa8b48;border-radius:8px;background:rgba(27,23,17,.85);color:#f4e3bd;text-align:left;}
.borg-mobile-qr summary{cursor:pointer;font:700 16px Georgia,serif;color:#f4d38c;}
.borg-mobile-qr-body{padding-top:14px;text-align:center;}
.borg-mobile-qr-code{display:table;margin:0 auto 12px;padding:16px;background:#fff;border-radius:4px;}
.borg-mobile-qr-code canvas,.borg-mobile-qr-code img{width:192px!important;height:192px!important;max-width:none!important;margin:0!important;border:0!important;}
.borg-mobile-qr p,.borg-vault-install-guide p{font:16px/1.5 Georgia,serif;text-transform:none;}
.borg-mobile-qr a{color:#f4d38c;text-decoration:underline;}
.borg-download-format-buttons>.borg-mobile-qr{width:100%;box-sizing:border-box;margin:6px 0 14px;}
.borg-vault-install-guide{padding:16px;border:1px solid #aa8b48;background:#211c15;color:#f4e3bd;}

/* Email/password checkout for digital books. */
body.woocommerce-checkout .woocommerce-billing-fields h3{font:700 24px Georgia,serif;text-transform:none;color:#f4d38c;}
.borg-checkout-contact-note{font:16px/1.5 Georgia,serif;color:#f1dfbc;text-transform:none;}
body.woocommerce-checkout .woocommerce-account-fields .create-account{display:block!important;}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,body.woocommerce-checkout .woocommerce-account-fields .create-account{max-width:600px;}
body.woocommerce-checkout .woocommerce-shipping-fields,body.woocommerce-checkout .woocommerce-additional-fields{display:none;}
