/* E3: style only the existing Scripture preview while the phone enhancement is active. */
#ar-scripture-popover-v18[data-ar-verse-phone] {
  --e3-bg:#292016; --e3-surface:#392b1e; --e3-text:#fff0d8; --e3-muted:#d7c2a4; --e3-accent:#d7ad69;
  --e3-px:var(--ar-verse-phone-unit,1px);
  width:var(--ar-verse-phone-width)!important; max-width:none;
  height:auto; max-height:var(--ar-verse-phone-height)!important;
  left:var(--ar-verse-phone-left)!important; top:var(--ar-verse-phone-top)!important;
  transform:translateY(-50%);
  gap:calc(10 * var(--e3-px)); padding:calc(15 * var(--e3-px));
  border:calc(1 * var(--e3-px)) solid var(--e3-accent);
  border-radius:calc(15 * var(--e3-px));
  background:var(--e3-bg)!important; color:var(--e3-text);
  font:calc(16 * var(--e3-px))/1.48 Georgia,serif;
  box-shadow:0 calc(12 * var(--e3-px)) calc(36 * var(--e3-px)) #000b;
  overflow:hidden;
}
body.ar-cyber #ar-scripture-popover-v18[data-ar-verse-phone] {
  --e3-bg:#101318; --e3-surface:color-mix(in srgb, var(--cyber-accent,var(--cyber-bright,#85e4ff)) 12%, #141416); --e3-text:#f2fbff; --e3-muted:#d1d5da; --e3-accent:var(--cyber-bright,#85e4ff);
}
body.ar-simple #ar-scripture-popover-v18[data-ar-verse-phone] {
  --e3-bg:#202221; --e3-surface:#292d2a; --e3-text:#f8f4eb; --e3-muted:#d6d2c9; --e3-accent:#cfb47a;
}
body.ar-simple[data-ar-simple-palette=light] #ar-scripture-popover-v18[data-ar-verse-phone] {
  --e3-bg:#fffdf8; --e3-surface:#f2eee6; --e3-text:#2f281f; --e3-muted:#5f564a; --e3-accent:#805e2c;
}
#ar-scripture-popover-v18[data-ar-verse-phone] .ar-scripture-popover-head {justify-content:flex-end; flex-shrink:0}
#ar-scripture-popover-v18[data-ar-verse-phone] .ar-scripture-popover-head button:first-child {display:none}
#ar-scripture-popover-v18[data-ar-verse-phone] h3 {font-size:calc(20 * var(--e3-px)); line-height:1.25; flex-shrink:0}
#ar-scripture-popover-v18[data-ar-verse-phone] .ar-scripture-popover-body {
  background:var(--e3-surface)!important; padding:calc(11 * var(--e3-px));
  border-radius:calc(8 * var(--e3-px)); scrollbar-color:var(--e3-accent) transparent;
}
#ar-scripture-popover-v18[data-ar-verse-phone] .ar-scripture-popover-verse {gap:calc(8 * var(--e3-px)); margin-bottom:calc(9 * var(--e3-px))}
#ar-scripture-popover-v18[data-ar-verse-phone] .ar-scripture-popover-verse:last-child {margin-bottom:0}
#ar-scripture-popover-v18[data-ar-verse-phone] .scripture-quotation {font-size:inherit; line-height:inherit}
#ar-scripture-popover-v18[data-ar-verse-phone] .ar-scripture-popover-number {font-size:calc(12 * var(--e3-px)); color:var(--e3-muted)}
#ar-scripture-popover-v18[data-ar-verse-phone] .ar-scripture-popover-note {font-size:calc(12 * var(--e3-px)); color:var(--e3-muted)}
#ar-scripture-popover-v18[data-ar-verse-phone] :is(button,.ar-scripture-popover-reader) {
  flex-shrink:0; box-sizing:border-box; min-height:calc(44 * var(--e3-px)); border-color:var(--e3-accent);
  border-radius:calc(7 * var(--e3-px)); padding:calc(8 * var(--e3-px)) calc(11 * var(--e3-px));
  display:grid; place-content:center; background:var(--e3-surface)!important; color:var(--e3-text);
  font-size:calc(14 * var(--e3-px)); line-height:1.2;
}
#ar-scripture-popover-v18[data-ar-verse-phone] .ar-scripture-popover-reader {
  background:var(--e3-accent)!important; color:var(--e3-bg)!important; font-weight:700;
}
#ar-scripture-popover-v18[data-ar-verse-phone] :focus-visible {
 outline:calc(2 * var(--e3-px)) solid var(--e3-accent); outline-offset:calc(2 * var(--e3-px));
}
body.ar-simple[data-ar-simple-palette=light] #ar-scripture-popover-v18[data-ar-verse-phone] .words-of-jesus {--jesus-color:#8a2823}
/* Resolve theme-specific important base rules without making Cyber's action low contrast. */
html body.ar-cyber #ar-scripture-popover-v18[data-ar-verse-phone] .ar-scripture-popover-reader {
  background:var(--e3-surface)!important; color:var(--e3-text)!important;
}
