/* Rauk–Vaghr global navigation. Kept independent of every reader's theme. */
html.rv-unified { --rv-nav-h:72px; --header-h:72px; scroll-padding-top:calc(var(--rv-nav-h) + 70px); }
html.rv-unified.rv-dossier { --header-h:124px; }
html.rv-unified .rv-legacy-global { display:none !important; }
html.rv-menu-open,html.rv-menu-open body { overflow:hidden !important; }
.rv-sigil { display:inline-block; width:22px; height:22px; flex:0 0 auto; vertical-align:middle; overflow:visible; color:currentColor; }
.rv-character-sten { --rv-character:#bb9ade; }
.rv-character-han { --rv-character:#e3c578; }
.rv-character-soren { --rv-character:#89b9eb; }
.rv-character-mark { color:var(--rv-character,currentColor); margin-inline-end:.5em; }
.rv-identified-link { display:inline-flex; align-items:center; gap:.4em; }
.rv-identified-link > .rv-sigil { width:18px; height:18px; margin:0; }
#rv-site-header, #rv-site-menu, .rv-noscript { font:400 14px/1.4 Inter,system-ui,sans-serif; color:#eeeae3; box-sizing:border-box; text-align:left; letter-spacing:normal; text-transform:none; }
#rv-site-header *, #rv-site-menu *, .rv-noscript * { box-sizing:border-box; }
#rv-nav-space { height:var(--rv-nav-h); flex-shrink:0; }
#rv-site-header { position:fixed; top:0; left:0; z-index:150; width:100%; height:var(--rv-nav-h); margin:0; padding:12px clamp(16px,3vw,48px); display:flex; align-items:center; gap:clamp(16px,2vw,28px); border:0; border-bottom:1px solid #eee3cc24; background:#08090ef2; backdrop-filter:blur(18px); box-shadow:0 6px 24px #00000018; }
#rv-site-header a, #rv-site-menu a, .rv-noscript a { color:inherit; text-decoration:none; border:0; box-shadow:none; background:none; }
#rv-site-header button, #rv-site-menu button { cursor:pointer; font:inherit; letter-spacing:inherit; text-transform:none; }
#rv-site-header .rv-brand { display:inline-flex; align-items:center; gap:11px; padding:0; flex-shrink:0; }
#rv-site-header .rv-brand-star { font-size:24px; line-height:1; color:#e2c675; }
#rv-site-header .rv-brand strong { display:block; font:500 18px/1.2 Georgia,serif; letter-spacing:.12em; color:#eeeae3; }
#rv-site-header .rv-brand small { display:block; margin-top:3px; color:#aba7b3; font:400 10px/1.3 Inter,system-ui,sans-serif; letter-spacing:.17em; text-transform:uppercase; }
#rv-site-header .rv-primary { display:flex; align-items:center; gap:22px; margin-left:auto; padding:0; }
#rv-site-header .rv-primary a { display:inline-flex; align-items:center; position:relative; min-height:44px; padding:8px 0; color:#c5c1cd; font:400 13px/1.4 Inter,system-ui,sans-serif; }
#rv-site-header .rv-primary a.rv-current-section { color:#efdaad; }
#rv-site-header .rv-primary a.rv-current-section::after { content:''; position:absolute; bottom:2px; left:0; right:0; height:1px; background:#d6b86e; }
#rv-site-header .rv-pack-shortcuts { display:flex; align-items:center; gap:5px; margin:0; padding-left:18px; border-left:1px solid #ffffff1c; }
#rv-site-header .rv-pack-shortcuts a { display:flex; gap:7px; align-items:center; min-height:44px; padding:8px; color:#c5c1cd; font-size:12px; }
#rv-site-header .rv-pack-shortcuts .rv-sigil { color:var(--rv-character); width:20px; height:20px; }
#rv-site-header .rv-pack-shortcuts a.rv-current-character { background:#ffffff08; color:#f2ede5; border-radius:3px; }
#rv-site-header .rv-menu-trigger { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:44px; min-width:44px; padding:8px 12px; margin:0; color:#ead7a5; border:1px solid #e2c6755a; border-radius:3px; background:#e2c67508; box-shadow:none; flex-shrink:0; font-size:12px; }
#rv-site-header .rv-menu-bars { position:relative; width:17px; height:10px; border-top:1px solid currentColor; border-bottom:1px solid currentColor; }
#rv-site-header .rv-menu-bars::before { position:absolute; content:''; top:4px; left:0; width:11px; border-top:1px solid currentColor; }
#rv-site-header a:hover,#rv-site-menu a:hover { color:#f3dc9f; }
#rv-site-header a:focus-visible,#rv-site-header button:focus-visible,#rv-site-menu a:focus-visible,#rv-site-menu button:focus-visible { outline:2px solid #e3c879; outline-offset:3px; }
#rv-site-menu { position:fixed; inset:0; width:min(760px,calc(100% - 32px)); max-width:none; max-height:calc(100dvh - 32px); height:auto; margin:auto; padding:26px; overflow:auto; background:#0c0d14; border:1px solid #b7a18170; border-top:2px solid #dec37e; border-radius:5px; box-shadow:0 30px 120px #000a; color:#eeeae3; z-index:10000; }
#rv-site-menu:not([open]) { display:none; }
#rv-site-menu::backdrop { background:#020309ce; backdrop-filter:blur(8px); }
#rv-site-menu .rv-menu-heading { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:0 0 20px; border-bottom:1px solid #ffffff1c; margin:0 0 22px; }
#rv-site-menu h2 { margin:0; font:400 28px/1.25 Georgia,serif; color:#f0e4c9; letter-spacing:0; text-transform:none; }
#rv-site-menu .rv-close { display:flex; align-items:center; justify-content:center; width:44px; height:44px; flex-shrink:0; padding:0; background:none; color:#d4c8b4; border:1px solid #ffffff28; border-radius:50%; font-size:24px; }
#rv-site-menu .rv-menu-grid { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:30px; }
#rv-site-menu h3 { margin:0 0 12px; color:#a5a1af; font:500 11px/1.5 Inter,system-ui,sans-serif; letter-spacing:.14em; text-transform:uppercase; }
#rv-site-menu .rv-explore { display:grid; align-content:start; gap:3px; }
#rv-site-menu .rv-explore a { display:flex; align-items:center; min-height:44px; padding:10px 12px; border-radius:3px; color:#d3ceda; }
#rv-site-menu .rv-explore a[aria-current] { background:#dec37e0e; color:#ead393; }
#rv-site-menu .rv-pack-person { padding:12px 0; border-bottom:1px solid #ffffff18; }
#rv-site-menu .rv-pack-person:first-of-type { padding-top:0; }
#rv-site-menu .rv-person-name { display:flex; align-items:center; gap:12px; min-height:44px; font:400 21px/1.3 Georgia,serif; color:#eeeae3; }
#rv-site-menu .rv-person-name .rv-sigil { width:26px; height:26px; color:var(--rv-character); }
#rv-site-menu .rv-person-links { display:flex; flex-wrap:wrap; gap:4px 14px; padding-left:38px; }
#rv-site-menu .rv-person-links a { display:inline-flex; align-items:center; min-height:40px; color:#b8b1c4; font-size:12px; }
#rv-site-menu .rv-person-links a[aria-current="page"] { color:var(--rv-character); text-decoration:underline; text-underline-offset:5px; }
#rv-site-menu .rv-begin { display:flex; justify-content:space-between; gap:12px; align-items:center; min-height:48px; margin-top:24px; padding:14px 16px; background:#d2b6730c; border:1px solid #d2b6734d; border-radius:3px; color:#ead393; font-size:13px; }
.rv-noscript { padding:12px 16px; background:#0c0d14; display:flex; gap:16px; flex-wrap:wrap; }

/* Keep the original functional controls as a second, local toolbar. */
html.rv-unified .dossier-header[data-rv-local] { position:sticky; top:var(--rv-nav-h); z-index:100; display:flex; flex-wrap:nowrap; min-height:52px; gap:12px; padding:5px clamp(16px,3vw,48px); background:#08090eef; }
html.rv-unified .dossier-header[data-rv-local] .brand { display:none !important; }
html.rv-unified .dossier-header[data-rv-local] nav { flex:1 1 auto; min-width:0; margin:0; display:flex; gap:22px; overflow:auto; scrollbar-width:thin; }
html.rv-unified .dossier-header[data-rv-local] nav a:not([href^="#"]) { display:none !important; }
html.rv-unified .dossier-header[data-rv-local] nav a[href^="#"] { display:inline-flex !important; align-items:center; flex-shrink:0; min-height:40px; font-size:12px; white-space:nowrap; }
html.rv-unified .reader-bar[data-rv-local] { position:sticky; inset:auto; top:var(--rv-nav-h); display:flex; justify-content:space-between; min-height:50px; padding:4px 20px; background:#08090ee8; z-index:100; pointer-events:auto; }
html.rv-unified .reader-bar[data-rv-local] .reader-brand { display:none !important; }
html.rv-unified .reading-progress,html.rv-unified .reading-bar,html.rv-unified body > .progress { top:var(--rv-nav-h); z-index:155; }
html.rv-unified .rv-offset-topbar { top:var(--rv-nav-h) !important; }
html.rv-unified .rv-reader-tools { top:calc(var(--rv-nav-h) + 12px) !important; }
html.rv-unified .rv-sticky-image { top:calc(var(--rv-nav-h) + 82px) !important; }
html.rv-unified .rv-intimacy-image { top:calc(var(--rv-nav-h) + 36px) !important; }
html.rv-unified .lightbox,html.rv-unified .lb { z-index:9998; }
html.rv-unified .skip-link { z-index:200; }
html.rv-unified .gateway { min-height:max(680px,calc(100svh - var(--rv-nav-h))); padding-top:2.4rem; }
html.rv-unified .pack-profile__index > .rv-sigil { width:21px; height:21px; }
html.rv-unified .pack-member__label strong > .rv-sigil { width:.72em; height:.72em; }
html.rv-unified .invocation-dialog .eyebrow > .rv-sigil { width:24px; height:24px; }
@media(max-width:1100px) { #rv-site-header .rv-pack-shortcuts { display:none; } }
@media(max-width:760px) {
  html.rv-unified { --rv-nav-h:64px; --header-h:64px; }
  html.rv-unified.rv-dossier { --header-h:116px; }
  #rv-site-header { padding:9px 16px; gap:12px; }
  #rv-site-header .rv-primary { display:none; }
  #rv-site-header .rv-menu-trigger { margin-left:auto; }
  #rv-site-header .rv-brand strong { font-size:16px; }
  #rv-site-header .rv-brand small { font-size:9px; }
  #rv-site-menu { padding:20px; }
  #rv-site-menu .rv-menu-grid { grid-template-columns:1fr; gap:20px; }
  #rv-site-menu .rv-explore { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 12px; }
  #rv-site-menu .rv-explore h3 { grid-column:1/-1; }
  #rv-site-menu .rv-pack-person { display:grid; grid-template-columns:1fr auto; align-items:center; gap:8px; }
  #rv-site-menu .rv-person-links { padding-left:0; gap:12px; }
}
@media(max-width:370px) {
  #rv-site-header .rv-brand { gap:8px; }
  #rv-site-header .rv-brand strong { font-size:14px; }
  #rv-site-header .rv-brand small { font-size:8px; }
  #rv-site-header .rv-menu-trigger { padding-inline:10px; }
  #rv-site-menu { padding:16px; }
  #rv-site-menu .rv-person-name { font-size:18px; gap:8px; }
  #rv-site-menu .rv-person-links { gap:8px; }
}
@media(prefers-reduced-motion:reduce) { #rv-site-menu { scroll-behavior:auto; } }
@media print { #rv-site-header,#rv-site-menu,#rv-nav-space,.rv-noscript { display:none !important; } html.rv-unified { --rv-nav-h:0px; } }

/* The Pack is a fourth primary destination. */
@media(max-width:1260px){#rv-site-header .rv-pack-shortcuts{display:none;}}
