/* Issue 16: a shared title/loader voice, with each theme's identity retained.
   Batch26 issue19: Default uses locally bundled Cinzel Decorative Regular.
   Only the hero title and loading title consume this token; no external font service. */
@layer ar-simple {
 html {--ar-title-font:Georgia,'Times New Roman',serif}
 html[data-ar-theme="standard"] {--ar-title-font:ARExplorerCinzelDecorative26,'Cinzel Decorative',Georgia,serif}
 html[data-ar-theme="mono"] {--ar-title-font:ARExplorerCinzel,Cinzel,Georgia,serif}
 html:not([data-ar-theme="simple"]) body:not(.ar-simple):not(.ar-cyber) :is(#ar-library-title,#ar-explorer-startup-cover .ar-startup-label) {
  position:relative;font-family:var(--ar-title-font)!important;
  font-weight:400!important;letter-spacing:.025em!important;line-height:1.25!important;
  opacity:var(--ar-title-opacity,.86)!important;text-shadow:var(--ar-title-shadow,0 1px 18px #0004)!important;
 }
 html[data-ar-explorer-startup-theme="grim"] #ar-explorer-startup-cover .ar-startup-label,
 html:not([data-ar-theme="simple"]) body.ar-monochrome :is(#ar-library-title,#sidebar h1,#ar-site-header .ar-site-brand-title) {
  font-family:ARExplorerCinzel,Cinzel,Georgia,serif!important;font-weight:400!important;letter-spacing:.025em!important;
 }
 html:not([data-ar-theme="simple"]) body:not(.ar-simple):not(.ar-cyber) :is(#ar-library-title,#ar-explorer-startup-cover .ar-startup-label)::after {
  content:'';display:var(--ar-title-accent-display,block)!important;position:absolute;left:24%;right:24%;bottom:-.12em;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,currentColor,transparent 62%),transparent);
 }
 /* Keep Simple entirely plain; its existing system type and flat contrast win. */
 html[data-ar-theme="simple"] #ar-explorer-startup-cover .ar-startup-label {opacity:1!important;text-shadow:none!important;letter-spacing:0!important}
 html[data-ar-theme="simple"] #ar-explorer-startup-cover .ar-startup-label::after {content:none!important}
 /* Cyber keeps its current monospace/accent language on title and boot text. */
 body.ar-cyber :is(#ar-site-header .ar-site-brand-title,#ar-explorer-startup-cover .ar-startup-label,#ar-cyber-takeover .ar-take-title) {
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;font-weight:800!important;letter-spacing:.08em!important;
 }
 html[data-ar-startup-font="pending"] #ar-explorer-startup-cover .ar-startup-label {visibility:hidden!important}
 html body[data-reading-contrast="high"] :is(#ar-library-title,#ar-explorer-startup-cover .ar-startup-label,#ar-cyber-takeover .ar-take-title) {--ar-title-opacity:1!important;--ar-title-shadow:none!important;--ar-title-accent-display:none!important;opacity:1!important;text-shadow:none!important}
 html body[data-reading-contrast="high"] :is(#ar-library-title,#ar-explorer-startup-cover .ar-startup-label)::after {content:none!important}
 @media(forced-colors:active),(prefers-contrast:more) {
  html body :is(#ar-library-title,#ar-explorer-startup-cover .ar-startup-label,#ar-cyber-takeover .ar-take-title) {--ar-title-opacity:1!important;--ar-title-shadow:none!important;--ar-title-accent-display:none!important;opacity:1!important;text-shadow:none!important}
  html body :is(#ar-library-title,#ar-explorer-startup-cover .ar-startup-label)::after {content:none!important}
 }
}
