/* Official founder-supplied Greyveil wordmark. Header theme and navigation remain unchanged. */
.gv-global-brand,.wordmark,.gv-brand{
 display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
 width:156px!important;min-width:0!important;height:42px!important;flex:0 0 156px!important;
 overflow:hidden!important;font-size:0!important;line-height:0!important;
}
.gv-global-brand::before,.wordmark::before,.gv-brand::before{
 content:"";display:block;width:100%;height:100%;flex:0 0 100%;
 background-color:#F3F0E8;background-image:url("/assets/images/greyveil-official-wordmark.svg?v=20261115");border-radius:2px;
 background-repeat:no-repeat;background-position:left center;background-size:contain;
}
.site-header .wordmark::before{
 background-image:url("/assets/images/greyveil-logo.png?v=20261116");
}
.gv-global-brand>* ,.wordmark>* ,.gv-brand>*{display:none!important}
.gv-global-brand .gv-global-logo,.wordmark .gv-global-logo,.gv-brand .gv-global-logo{display:none!important}
@media(max-width:1120px){
 .gv-global-brand,.wordmark,.gv-brand{width:132px!important;height:36px!important;flex-basis:132px!important}
}
@media(max-width:380px){
 .gv-global-brand,.wordmark,.gv-brand{width:124px!important;height:34px!important;flex-basis:124px!important}
}

/* Publisher identity on book-cover artwork throughout the site. */
.gv-cover-publisher-mark{
 position:absolute;z-index:3;right:8px;bottom:8px;display:block;
 width:clamp(68px,22%,104px);height:24px;padding:4px 7px;
 background:#F3F0E8 url("/assets/images/greyveil-official-wordmark.svg?v=20261115") center/contain no-repeat;
 border:1px solid rgba(255,255,255,.18);border-radius:2px;
 pointer-events:none;box-sizing:border-box;
}
.reader-cover-page__frame,.library-card__cover,.cover-placeholder{position:relative}
@media(max-width:480px){.gv-cover-publisher-mark{width:64px;height:20px;right:6px;bottom:6px}}


/* Shared navigation: readable spacing on desktop and a clear stacked panel on phones. */
.gv-global-header{
 position:sticky;top:0;z-index:1000;width:100%;min-height:76px;
 display:flex;align-items:center;justify-content:space-between;
 gap:24px;padding:14px clamp(18px,4vw,64px);
 background:rgba(13,17,23,.97);color:#f3f0e8;
 border-bottom:1px solid rgba(255,255,255,.12);
 box-sizing:border-box;backdrop-filter:blur(14px);
}
.gv-global-brand,.gv-brand{flex:0 0 156px;min-width:0}
.gv-global-nav{
 display:flex;flex:1 1 auto;align-items:center;justify-content:flex-end;
 flex-wrap:wrap;column-gap:clamp(12px,1.45vw,22px);row-gap:10px;
 min-width:0;
}
.gv-global-nav a{
 display:inline-flex;align-items:center;min-height:32px;padding:5px 0;
 color:rgba(243,240,232,.82);font:500 10px/1.45 Inter,Arial,sans-serif;
 letter-spacing:.025em;text-decoration:none;white-space:nowrap;
}
.gv-global-nav a:hover,.gv-global-nav a:focus-visible{color:#c4cfad}
.gv-global-nav .gv-global-account{
 margin-left:4px;padding:7px 11px;border:1px solid rgba(196,207,173,.42);
 color:#f3f0e8;gap:7px;
}
.gv-global-toggle{
 display:none;align-items:center;justify-content:center;min-height:40px;
 padding:8px 14px;border:1px solid rgba(196,207,173,.45);
 background:transparent;color:#f3f0e8;font:500 11px/1 Inter,Arial,sans-serif;
 letter-spacing:.06em;cursor:pointer;
}
@media(max-width:1120px){
 .gv-global-header{flex-wrap:wrap;gap:10px 18px;padding:12px 5vw}
 .gv-global-toggle{display:inline-flex;margin-left:auto}
 .gv-global-nav{
  display:none;flex:1 0 100%;width:100%;justify-content:flex-start;
  align-items:stretch;flex-direction:column;flex-wrap:nowrap;gap:0;
  padding:8px 0 5px;border-top:1px solid rgba(255,255,255,.12);
 }
 .gv-global-header.is-open .gv-global-nav{display:flex}
 .gv-global-nav a{
  width:100%;min-height:42px;padding:10px 4px;
  border-bottom:1px solid rgba(255,255,255,.08);
  white-space:normal;font-size:12px;line-height:1.5;
 }
 .gv-global-nav .gv-global-account{width:fit-content;margin:10px 0 2px;padding:10px 12px}
}
@media(max-width:420px){
 .gv-global-header{padding:11px 18px}
 .gv-global-brand,.gv-brand{flex-basis:132px;width:132px;height:36px}
 .gv-global-nav a{font-size:12px;min-height:44px}
}
