/* Explorer-only startup. Load in <head>, before any content can paint.
   Scrollbar colors are hidden, not their width: unlocking never changes layout. */
#ar-explorer-startup-cover {display:none!important}
html[data-ar-explorer-startup="pending"] #ar-explorer-startup-cover {
 display:grid!important;position:fixed!important;inset:0!important;
 z-index:2147483000!important;isolation:isolate;box-sizing:border-box;overflow:hidden!important;
 place-items:center;margin:0!important;padding:24px!important;border:0!important;
 background:radial-gradient(ellipse at 22% 12%,rgba(91,66,36,.16),transparent 52%),
  radial-gradient(ellipse at 80% 90%,rgba(67,46,28,.12),transparent 60%),#0e0b08!important;
 color:#e8d6b5!important;touch-action:none;overscroll-behavior:none;
}
html[data-ar-explorer-startup="pending"] #ar-explorer-startup-cover::before {
 content:"";position:absolute;z-index:-1;left:clamp(18px,3vw,52px);top:clamp(18px,3vw,42px);
 width:clamp(150px,24vw,340px);aspect-ratio:1;
 background:url('/assets/ebeed9d9b9d20195916760b6.webp') center/contain no-repeat;
 opacity:.14;filter:brightness(.75) saturate(.74);pointer-events:none;
}
html[data-ar-explorer-startup="pending"] #ar-explorer-startup-cover::after {
 content:"";position:absolute;z-index:-1;inset:-12px;pointer-events:none;opacity:.45;
 background:radial-gradient(circle at 7% 14%,#c49d60 0 1px,transparent 2px),
  radial-gradient(circle at 24% 62%,#b48b50 0 .8px,transparent 1.8px),
  radial-gradient(circle at 38% 26%,#d1b17a 0 1px,transparent 2.2px),
  radial-gradient(circle at 61% 73%,#ac8650 0 .8px,transparent 2px),
  radial-gradient(circle at 79% 18%,#bd9a64 0 1px,transparent 2px),
  radial-gradient(circle at 92% 52%,#b29362 0 .8px,transparent 2px);
 background-size:67% 83%,89% 77%,100% 100%,71% 97%,100% 100%,93% 88%;
 animation:ar-explorer-startup-drift 11s ease-in-out infinite alternate;
}
#ar-explorer-startup-cover .ar-startup-label {
 display:flex;align-items:baseline;justify-content:center;gap:0;margin:0;padding:0;
 font:400 clamp(2.3rem,5vw,4.2rem)/1.25 Georgia,'Times New Roman',serif;
 letter-spacing:.025em;text-shadow:0 2px 24px rgba(184,143,77,.14);
}
#ar-explorer-startup-cover .ar-startup-dots {display:inline-flex;margin-left:.035em}
#ar-explorer-startup-cover .ar-startup-dots > span {
 display:inline-block;animation:ar-explorer-startup-dot 1.3s ease-in-out infinite;
}
#ar-explorer-startup-cover .ar-startup-dots > span:nth-child(2) {animation-delay:.14s}
#ar-explorer-startup-cover .ar-startup-dots > span:nth-child(3) {animation-delay:.28s}
html[data-ar-explorer-startup="pending"] #ar-embed-scroll > :not(#ar-site-header):not(#ar-explorer-startup-cover):not(.ar-site-top-runner):not(.skip-link) {
 /* The opaque fixed cover conceals construction. Keep descendants measurable
    for saved-palette and High Contrast owners before first reveal. */
 pointer-events:none!important;
}
html[data-ar-explorer-startup="pending"],
html[data-ar-explorer-startup="pending"] :is(body,#ar-embed-scroll,#workspace,#sidebar,#study-tree) {
 scrollbar-color:transparent transparent!important;
}
html[data-ar-explorer-startup="pending"]::-webkit-scrollbar,
html[data-ar-explorer-startup="pending"]::-webkit-scrollbar-track,
html[data-ar-explorer-startup="pending"]::-webkit-scrollbar-thumb,
html[data-ar-explorer-startup="pending"] *::-webkit-scrollbar,
html[data-ar-explorer-startup="pending"] *::-webkit-scrollbar-track,
html[data-ar-explorer-startup="pending"] *::-webkit-scrollbar-thumb {
 background:transparent!important;border-color:transparent!important;box-shadow:none!important;
}
@keyframes ar-explorer-startup-dot {0%,38%,100%{transform:translateY(0);opacity:.55}19%{transform:translateY(-.13em);opacity:1}}
@keyframes ar-explorer-startup-drift {from{transform:translate3d(0,5px,0);opacity:.3}to{transform:translate3d(5px,-7px,0);opacity:.55}}
@media(prefers-reduced-motion:reduce) {
 html[data-ar-explorer-startup="pending"] #ar-explorer-startup-cover::after,
 #ar-explorer-startup-cover .ar-startup-dots > span {animation:none!important;transform:none!important}
}
@media(forced-colors:active) {
 html[data-ar-explorer-startup="pending"] #ar-explorer-startup-cover {background:Canvas!important;color:CanvasText!important}
 html[data-ar-explorer-startup="pending"] #ar-explorer-startup-cover::before,
 html[data-ar-explorer-startup="pending"] #ar-explorer-startup-cover::after {display:none!important}
}
@media print {
 html[data-ar-explorer-startup="pending"] #ar-explorer-startup-cover {display:none!important}
 html[data-ar-explorer-startup="pending"] #ar-embed-scroll > * {opacity:1!important;visibility:visible!important;pointer-events:auto!important}
}

/* Final batch20 direction: a much larger dim seal and generous, translucent
   lettering. Root theme is chosen synchronously before body construction. */
html[data-ar-explorer-startup="pending"][data-ar-explorer-startup-theme="default"] #ar-explorer-startup-cover::before{
 /* Same crowned AR artwork, encoded from the existing authentic 2048px master.
    Never await this decorative background in the readiness controller. */
 left:50%;top:50%;width:min(96vw,calc((100vh - 0px) * 1.04),1180px);
 width:min(96vw,calc((100dvh - 0px) * 1.04),1180px);
 background-image:url('/assets/explorer-startup-r13/ar-exact-2048.webp');
 transform:translate(-50%,-50%);opacity:.105;filter:brightness(.82) saturate(.7);
}
html[data-ar-explorer-startup-theme="default"] #ar-explorer-startup-cover .ar-startup-label{
 position:relative;z-index:1;font-size:clamp(3rem,min(12vw,28vh),15rem);text-align:center;color:var(--ar-startup-label-accent,var(--ar-colors-accent,#dec9a3));opacity:.72;max-width:100%;
}
/* R14 atmosphere stays decorative, local and Default-only. The verses cross
   the viewport in slow, staggered lanes; only transforms animate. Negative
   phases populate the first paint, with no script or readiness dependency. */
#ar-explorer-startup-cover .ar-startup-scripture {display:none!important}
html[data-ar-explorer-startup="pending"][data-ar-explorer-startup-theme="default"] #ar-explorer-startup-cover .ar-startup-scripture {
 display:block!important;position:absolute;inset:0;z-index:0;overflow:hidden;
 pointer-events:none;user-select:none;-webkit-user-select:none;
 /* Half of the label's 1.25 line box keeps the inner lanes out of its way. */
 --ar-startup-label-half:calc(clamp(3rem,min(12vw,28vh),15rem) * .625);
}
#ar-explorer-startup-cover .ar-startup-verse {
 position:absolute;display:block;left:6%;margin:0;padding:0;
 inline-size:max-content;max-inline-size:none;white-space:nowrap;
 color:rgba(195,170,127,.105);font:400 clamp(15px,1.5vw,28px)/1.75 Georgia,'Times New Roman',serif;
 letter-spacing:.012em;unicode-bidi:isolate;
 animation:ar-explorer-scripture-travel 176s linear infinite;
}
#ar-explorer-startup-cover .ar-startup-verse[lang="he"] {
 direction:rtl;font-family:'Noto Serif Hebrew','SBL Hebrew','Times New Roman',serif;
 font-size:clamp(19px,1.85vw,36px);letter-spacing:normal;line-height:1.9;
}
#ar-explorer-startup-cover .ar-startup-verse[lang="grc"] {
 font-family:'Palatino Linotype','Book Antiqua',Georgia,'Times New Roman',serif;
 font-size:clamp(17px,1.7vw,32px);letter-spacing:normal;
}
#ar-explorer-startup-cover .ar-startup-verse:nth-child(1) {top:calc(10% - var(--ar-startup-label-half) / 5);animation-duration:164s;animation-delay:-43s}
#ar-explorer-startup-cover .ar-startup-verse:nth-child(2) {top:calc(25% - var(--ar-startup-label-half) / 2 - 12px);animation-duration:188s;animation-delay:-63s;animation-direction:reverse}
#ar-explorer-startup-cover .ar-startup-verse:nth-child(3) {bottom:calc(50% + var(--ar-startup-label-half) + 18px);animation-duration:176s;animation-delay:-65s}
#ar-explorer-startup-cover .ar-startup-verse:nth-child(4) {top:calc(50% + var(--ar-startup-label-half) + 18px);animation-duration:204s;animation-delay:-74s;animation-direction:reverse}
#ar-explorer-startup-cover .ar-startup-verse:nth-child(5) {bottom:calc(25% - var(--ar-startup-label-half) / 2 - 18px);animation-duration:172s;animation-delay:-117s}
#ar-explorer-startup-cover .ar-startup-verse:nth-child(6) {bottom:calc(10% - var(--ar-startup-label-half) / 5);animation-duration:220s;animation-delay:-106s;animation-direction:reverse}
/* Each reset occurs beyond the clipped edges. Physical X travel is independent
   of reading direction, so Hebrew remains shaped and ordered right-to-left. */
@keyframes ar-explorer-scripture-travel {
 from{transform:translate3d(calc(-100% - 14vw),0,0)}
 to{transform:translate3d(102vw,0,0)}
}
@media(max-width:600px){
 #ar-explorer-startup-cover .ar-startup-verse {font-size:14px;line-height:1.7}
}
@media(max-height:500px),(min-width:1440px) and (max-height:800px),(min-aspect-ratio:2/1) and (max-height:900px){
 #ar-explorer-startup-cover .ar-startup-verse:nth-child(3),
 #ar-explorer-startup-cover .ar-startup-verse:nth-child(5) {display:none}
 #ar-explorer-startup-cover .ar-startup-verse:nth-child(2) {top:calc(50% - var(--ar-startup-label-half) - 1.9em - 18px)}
}
@media(max-width:360px) and (max-height:700px){
 #ar-explorer-startup-cover .ar-startup-verse:nth-child(3) {display:none}
}
@media(max-height:420px){
 html[data-ar-explorer-startup="pending"][data-ar-explorer-startup-theme="default"] #ar-explorer-startup-cover .ar-startup-scripture {--ar-startup-label-half:calc(clamp(28px,8vw,64px) * .625)}
 #ar-explorer-startup-cover .ar-startup-verse:nth-child(1) {top:3%}
 #ar-explorer-startup-cover .ar-startup-verse:nth-child(6) {bottom:3%}
}
@media(prefers-reduced-motion:reduce){
 #ar-explorer-startup-cover .ar-startup-verse {animation:none!important;transform:none!important;max-inline-size:86vw;white-space:normal;text-wrap:balance}
 #ar-explorer-startup-cover .ar-startup-verse:nth-child(2),
 #ar-explorer-startup-cover .ar-startup-verse:nth-child(5) {left:auto;right:6%;text-align:right}
}
@media(prefers-reduced-motion:reduce) and (max-width:360px) and (max-height:700px){
 #ar-explorer-startup-cover .ar-startup-verse:nth-child(5) {bottom:22%}
}
@media(forced-colors:active){
 html[data-ar-explorer-startup="pending"][data-ar-explorer-startup-theme="default"] #ar-explorer-startup-cover .ar-startup-scripture {display:none!important}
}
@media(max-height:420px){html[data-ar-explorer-startup-theme="default"] #ar-explorer-startup-cover .ar-startup-label{font-size:clamp(28px,8vw,64px)}}
/* Saved Cyber never paints the warm cover. The existing takeover renderer
   takes over this same readiness gate once its synchronous owner is available. */
html[data-ar-explorer-startup="pending"][data-ar-explorer-startup-theme="cyber"] #ar-explorer-startup-cover{
 background:radial-gradient(ellipse at center,color-mix(in srgb,var(--ar-startup-accent,#c5142f),transparent 93%),transparent 64%),#030407!important;color:color-mix(in srgb,var(--ar-startup-accent,#c5142f),white 65%)!important;
}
html[data-ar-explorer-startup-theme="cyber"] #ar-explorer-startup-cover::before,
html[data-ar-explorer-startup-theme="cyber"] #ar-explorer-startup-cover::after{display:none!important}
html[data-ar-explorer-startup-theme="cyber"] #ar-explorer-startup-cover .ar-startup-label{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(22px,4vw,50px);letter-spacing:.1em;text-transform:uppercase;text-shadow:0 0 16px color-mix(in srgb,var(--ar-startup-accent,#c5142f),transparent 55%)}
html[data-ar-explorer-cyber-boot="active"] #ar-explorer-startup-cover .ar-startup-label{visibility:hidden}
#ar-cyber-takeover[data-startup="true"]{top:0px!important;background:#010203!important}
#ar-cyber-takeover[data-startup="true"] .ar-take-meter{display:none!important}
#ar-cyber-takeover[data-startup="true"] .ar-take-corner.br{font-size:0!important}
#ar-cyber-takeover[data-startup="true"] .ar-take-corner.br::after{content:'ESC // SKIP EFFECT';font-size:10px}
#ar-cyber-takeover[data-startup="true"][data-startup-still="true"] *{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){#ar-cyber-takeover[data-startup="true"].ar-run{display:block!important}#ar-cyber-takeover[data-startup="true"] *{animation:none!important;transition:none!important}}
@media(forced-colors:active){
 html[data-ar-explorer-startup="pending"] #ar-explorer-startup-cover{background:Canvas!important;color:CanvasText!important}
 html[data-ar-explorer-startup-theme="default"] #ar-explorer-startup-cover .ar-startup-label{color:CanvasText!important;opacity:1}
 #ar-cyber-takeover[data-startup="true"]{background:Canvas!important;color:CanvasText!important}
 #ar-cyber-takeover[data-startup="true"] :is(.ar-take-scan,.ar-take-grid,.ar-take-sweep,.ar-take-band,.ar-take-codefield){display:none!important}
 #ar-cyber-takeover[data-startup="true"] :is(.ar-take-title,.ar-take-kicker,.ar-take-status,.ar-take-corner){color:CanvasText!important;text-shadow:none!important}
}
@media print{#ar-cyber-takeover[data-startup="true"].ar-run{display:none!important}}

/* Loading edge finish: a static photographic vignette beneath the label.
   The existing full-cover decorative plane keeps the runner and lifecycle intact.
   Percent-based gradients stay soft at every aspect ratio; no extra asset or wait. */
html[data-ar-explorer-startup="pending"][data-ar-explorer-startup-theme="default"]:not([data-ar-theme="simple"]) #ar-explorer-startup-cover .ar-startup-scripture::after {
 content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
 background:linear-gradient(180deg,#000 0%,rgba(0,0,0,.56) 4%,rgba(0,0,0,.16) 12%,transparent 26%),
  radial-gradient(ellipse at 50% 48%,transparent 40%,rgba(0,0,0,.10) 64%,rgba(0,0,0,.42) 100%);
}
@media(forced-colors:active){
 #ar-explorer-startup-cover .ar-startup-scripture::after{content:none!important;display:none!important}
}

/* R22: the same loading design now includes the complete runner. */
html[data-ar-explorer-startup="pending"] #ar-site-header,
html[data-ar-explorer-startup="pending"] .ar-site-top-runner {pointer-events:none!important}
html[data-ar-explorer-startup="pending"] body[data-reading-sprites="off"] #ar-explorer-startup-cover *,
html[data-ar-explorer-startup="pending"] body[data-reading-sprites="off"] #ar-explorer-startup-cover::after {animation:none!important}
html[data-ar-explorer-startup="pending"] body[data-reading-contrast="high"] #ar-explorer-startup-cover .ar-startup-label {opacity:1!important;color:var(--simple-ink,#fff)!important;text-shadow:none!important}
