/* ATVQ opening — gold/white (no black backgrounds); green=selected; red=attention; blue=ATN */
.rfv{max-width:none;width:100%;margin:0;padding:0 8px;box-sizing:border-box;font-size:18px;line-height:1.45}
.rfv *{box-sizing:border-box}.rf-hidden{display:none!important}.rfv [hidden]{display:none!important}
.rfv-card{width:100%;max-width:none;box-sizing:border-box;background:#ffffff;color:#111111;border:2px solid #d4a017;border-radius:14px;padding:16px;margin-bottom:16px}
.rfv h2{font-size:0.85rem!important;margin:0 0 12px;color:#111111;text-align:center;background:#ffffff;border:2px solid #d4a017;border-radius:10px;padding:12px 14px}.rfv label{display:block;font-size:15px;color:#5c4a12;margin:10px 0 4px}
.rfv input{width:100%;font-size:18px;padding:12px;border-radius:10px;border:2px solid #d4a017;background:#ffffff;color:#111111}
/* Match AUTO-SEARCH / KEYWORD / AI SEARCH tab font-size (15px) */
.rfv input::placeholder{color:#8a7020;font-style:normal;opacity:1;text-transform:none}
.rfv #rfv-q,
.rfv #rfv-q::placeholder{
  font-size:15px!important;
  line-height:1.35!important;
  text-transform:none;
}
.rfv-or{text-align:center;color:#5c4a12;font-size:14px;margin:8px 0}.rfv-row2{display:flex;gap:8px}.rfv-row2>div{flex:1}
.rfv-note{font-size:14px;color:#5c4a12;margin-top:8px}.rfv-hp{position:absolute;left:-9999px}
.rfv button{font-size:17px;font-weight:700;border-radius:10px;border:0;padding:12px 14px;cursor:pointer}
.rfv-primary{width:100%;margin-top:14px;background:#c41e3a;color:#fff}.rfv-dim{opacity:.55}
.rfv-msg{margin-top:10px;color:#c41e3a;font-weight:700}
.rfv-mics{margin:12px 0;display:flex;flex-wrap:nowrap;gap:6px;align-items:stretch;width:100%}
#rfv-mic{display:block;flex:0 0 auto;width:auto;max-width:none;min-width:0;min-height:40px;padding:10px 6px;font-size:var(--rfv-btn-fs,0.85rem)!important;line-height:1.05!important;font-weight:700!important;background:#c41e3a;color:#fff;border:2px solid #9b1830;border-radius:12px;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
#rfv-mic.on{background:#2e8b3d;color:#fff;border-color:#4ade80}
.rfv-srow{display:flex;gap:8px;margin-top:8px}.rfv-srow input{flex:1;width:100%}
.rfv-enter{background:#b91c1c!important;color:#fff!important;-webkit-text-fill-color:#fff!important;flex:0 1 auto;width:auto;max-width:none;min-width:0;padding:14px 12px;font-size:var(--rfv-btn-fs,0.85rem)!important;line-height:1.15!important;font-weight:700!important;border-radius:12px;border:2px solid #b91c1c!important;outline:none!important;box-shadow:none!important;box-sizing:border-box;align-self:stretch;min-height:72px;cursor:pointer;white-space:nowrap}
.rfv-startover,#rfv-startover{background:transparent!important;color:#111111!important;flex:1 1 0;width:auto;max-width:none;min-width:0;padding:10px 6px;font-size:var(--rfv-btn-fs,0.85rem)!important;line-height:1.1!important;font-weight:700!important;border-radius:12px;border:2px solid #d4a017!important;outline:none!important;box-shadow:none!important;box-sizing:border-box;align-self:stretch;min-height:64px;white-space:normal!important;text-align:center;cursor:pointer;-webkit-text-fill-color:#111111!important}
.rfv-seg{display:flex;gap:8px;margin-top:10px;border:0;border-radius:0;overflow:visible;background:transparent;align-items:stretch}
.rfv-seg button{flex:1;min-width:0;border-radius:12px;background:transparent;color:#111111;font-size:0.85rem!important;font-weight:700;padding:10px 4px;line-height:1.15!important;white-space:normal!important;border:2px solid #d4a017!important;box-shadow:none;min-height:52px}
.rfv-seg button.sel{background:#2e8b3d!important;color:#fff!important;border-color:#2e8b3d!important}
#rfv-helper{font-size:14px;color:#5c4a12;min-height:20px;margin-top:8px}
#rfv-status{margin-top:8px;color:#c41e3a;font-weight:700}
#rfv-ans{margin-top:10px;white-space:pre-wrap;color:#111111}#rfv-src{font-size:15px;margin-top:8px;color:#111111}#rfv-src a{color:#2563eb}
.rfv-links{display:flex;gap:10px}.rfv-links a{flex:1;text-align:center;padding:12px;border-radius:10px;background:#ffffff;color:#b8860b;font-weight:700;border:2px solid #d4a017}
.rfv-welcome{letter-spacing:0!important;-webkit-text-spacing:0;display:block;width:100%;max-width:100%;position:relative;left:auto;right:auto;margin-left:0;margin-right:0;box-sizing:border-box;font-size:19px;font-weight:600;color:#111111;background:#f2c94c;border:2px solid #d4a017;border-radius:10px;padding:16px 12px;margin-top:0;margin-bottom:16px;text-align:center}
.rfv-welcome .rfv-w1,.rfv-welcome .rfv-w2{display:block;white-space:normal;overflow:hidden;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word}
.rfv-welcome .rfv-am{color:#c41e3a}
.rfv-welcome .rfv-tv{color:#2e8b3d}
.rfv-welcome .rfv-q{color:#2563eb}

/* Opening page: header on; no title hero; WHITE/gold content (no black) */
body.rfv-opening #masthead{display:block!important}
body.rfv-opening .entry-hero.page-hero-section,
body.rfv-opening section.entry-hero{display:none!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important}
body.rfv-opening .content-area{margin-top:0!important;margin-bottom:1.25rem!important}
body.rfv-opening .entry-content-wrap{padding-top:0!important;padding-bottom:12px!important}
body.rfv-opening,
body.rfv-opening #wrapper,
body.rfv-opening #inner-wrap,
body.rfv-opening .content-bg,
body.rfv-opening .entry.single-entry,
body.rfv-opening .content-container,
body.rfv-opening #primary,
body.rfv-opening .entry-content-wrap,
body.rfv-opening .site-container,
body.rfv-opening .site-content,
body.rfv-opening .content-wrap{
  background:#fff8e1!important;
  box-shadow:none!important;
}
body.rfv-opening .entry-content{background:transparent!important}

/* Full-width mobile-first: no narrow column */
body.rfv-opening .content-container,
body.rfv-opening .content-width-narrow .content-container,
body.rfv-opening .entry-content-wrap,
body.rfv-opening #primary,
body.rfv-opening .entry-content,
body.rfv-opening .rfv,
body.rfv-opening .rfv-card{
  max-width:none!important;
  width:100%!important;
}
body.rfv-opening .site-container,
body.rfv-opening .content-wrap,
body.rfv-opening .site-content{
  max-width:none!important;
  width:100%!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* HOME-GREEN: front page Home selected (desktop+mobile) */
/* Home = current on front (page 236) and /home/ (page 7) — desktop + mobile drawer */
body.home #menu-item-10 > a,
body.page-id-236 #menu-item-10 > a,
body.page-id-7 #menu-item-10 > a,
body.home #primary-menu > li.menu-item-10 > a,
body.page-id-236 #primary-menu > li.menu-item-10 > a,
body.page-id-7 #primary-menu > li.menu-item-10 > a,
body.home #mobile-menu > li.menu-item-10 > a,
body.page-id-236 #mobile-menu > li.menu-item-10 > a,
body.page-id-7 #mobile-menu > li.menu-item-10 > a,
body.home .mobile-navigation li.menu-item-10 > a,
body.page-id-236 .mobile-navigation li.menu-item-10 > a,
body.page-id-7 .mobile-navigation li.menu-item-10 > a,
body.home .mobile-navigation li.menu-item-10 > .drawer-nav-drop-wrap,
body.home #site-navigation a[href="https://atvq.org/home/"],
body.page-id-236 #site-navigation a[href="https://atvq.org/home/"],
body.page-id-7 #site-navigation a[href="https://atvq.org/home/"],
body.home .mobile-navigation a[href="https://atvq.org/home/"],
body.page-id-236 .mobile-navigation a[href="https://atvq.org/home/"],
body.page-id-7 .mobile-navigation a[href="https://atvq.org/home/"] {
  background: #2e8b3d !important;
  border-color: #2e8b3d !important;
  color: #ffffff !important;
}

#rfv-enter,.rfv-enter{outline:none!important}

.rfv-browse-h a.rfv-signin-h{color:inherit;text-decoration:none;display:block}
.rfv-browse-h a.rfv-signin-h:hover,.rfv-browse-h a.rfv-signin-h:focus{text-decoration:underline}


/* 1.1.91: ENTER uses red/green rules below (no transparent/black override) */

/* Field stays 1.15rem; mics-row buttons share --rfv-btn-fs (never lock ENTER larger) */
html body .rfv #rfv-q,
html body .rfv #rfv-q::placeholder{
  font-size:1.15rem!important;
  line-height:1.15!important;
}
html body .rfv #rfv-seg button[data-m],
html body .rfv .rfv-seg button{
  font-size:0.85rem!important;
  line-height:1.15!important;
  white-space:normal!important;
}


.rfv-confirm-wrap{margin-top:10px;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.rfv-confirm-ok,#rfv-confirm-ok{background:transparent!important;color:#111111!important;flex:0 0 auto;padding:14px 18px;font-size:1.05rem!important;line-height:1.15!important;font-weight:700!important;border-radius:12px;border:2px solid #d4a017!important;outline:none!important;box-shadow:none!important;box-sizing:border-box;min-height:52px;white-space:nowrap;cursor:pointer;-webkit-text-fill-color:#111111!important}
.rfv-confirm-wrap[hidden]{display:none!important}

.rfv-confirm-startover,#rfv-confirm-startover{background:transparent!important;color:#111111!important;flex:0 0 auto;padding:14px 18px;font-size:1.05rem!important;line-height:1.15!important;font-weight:700!important;border-radius:12px;border:2px solid #d4a017!important;outline:none!important;box-shadow:none!important;box-sizing:border-box;min-height:52px;white-space:nowrap;cursor:pointer;-webkit-text-fill-color:#111111!important}

.rfv-soundtest,#rfv-soundtest{background:transparent!important;color:#111111!important;flex:1 1 0;width:auto;max-width:none;min-width:0;padding:10px 6px;font-size:var(--rfv-btn-fs,0.85rem)!important;line-height:1.1!important;font-weight:700!important;border-radius:12px;border:2px solid #d4a017!important;outline:none!important;box-shadow:none!important;box-sizing:border-box;align-self:stretch;min-height:64px;white-space:normal!important;text-align:center;cursor:pointer;-webkit-text-fill-color:#111111!important}

/* READ ALOUD toggle — green when on (stays until toggled off) */
.rfv-readaloud,#rfv-readaloud{background:transparent!important;color:#111111!important;flex:1 1 0;width:auto;max-width:none;min-width:0;padding:10px 6px;font-size:var(--rfv-btn-fs,0.85rem)!important;line-height:1.1!important;font-weight:700!important;border-radius:12px;border:2px solid #d4a017!important;outline:none!important;box-shadow:none!important;box-sizing:border-box;align-self:stretch;min-height:64px;white-space:normal!important;text-align:center;cursor:pointer;-webkit-text-fill-color:#111111!important}
#rfv-readaloud.on,.rfv-readaloud.on{background:#2e8b3d!important;color:#fff!important;border-color:#2e8b3d!important;-webkit-text-fill-color:#fff!important}
#rfv-readaloud.off,.rfv-readaloud.off,#rfv-readaloud:not(.on){background:#b91c1c!important;color:#fff!important;border-color:#b91c1c!important;-webkit-text-fill-color:#fff!important}



/* 1.1.90: red = off, green = on for main action buttons */
html body .rfv #rfv-mic:not(.on),html body #rfv-mic:not(.on),
html body #rfv-readaloud:not(.on),html body #rfv-readaloud.off,
html body #rfv-soundtest:not(.on),html body .rfv-soundtest:not(.on),
html body #rfv-startover:not(.on),html body .rfv-startover:not(.on),
html body #rfv-confirm-startover:not(.on),
html body .rfv #rfv-enter.rfv-enter:not(.on),html body .rfv-mics #rfv-enter:not(.on),html body #rfv-enter:not(.on),
html body #rfv-confirm-ok:not(.on),html body .rfv-confirm-ok:not(.on){
  background:#b91c1c!important;color:#fff!important;border:2px solid #b91c1c!important;-webkit-text-fill-color:#fff!important;
}
html body .rfv #rfv-mic.on,html body #rfv-mic.on,
html body #rfv-readaloud.on,
html body #rfv-soundtest.on,html body .rfv-soundtest.on,
html body #rfv-startover.on,html body .rfv-startover.on,
html body #rfv-confirm-startover.on,
html body .rfv #rfv-enter.rfv-enter.on,html body .rfv-mics #rfv-enter.on,html body #rfv-enter.on,
html body #rfv-confirm-ok.on,html body .rfv-confirm-ok.on{
  background:#2e8b3d!important;color:#fff!important;border:2px solid #2e8b3d!important;-webkit-text-fill-color:#fff!important;
}

/* 1.1.118: READ/SOUND/START/ENTER fixed hug size; only PUSH TO TALK grows into leftover space */
.rfv-mics{margin:12px 0;display:flex;flex-wrap:nowrap;gap:4px;align-items:stretch;justify-content:flex-start;width:100%;box-sizing:border-box}
.rfv-mics.rfv-mics--stack{flex-wrap:wrap}
.rfv-mics.rfv-mics--stack #rfv-mic{flex:0 0 auto!important;width:auto!important;max-width:100%!important}
.rfv-mics.rfv-mics--stack .rfv-mics-side{flex:1 1 auto;width:auto;max-width:100%}
.rfv-mics{--rfv-btn-fs:0.85rem;--rfv-side-pad-y:10px;--rfv-side-pad-x:6px}
.rfv-mics-side{flex:0 0 auto;display:flex;flex-wrap:nowrap;gap:3px;align-items:stretch;min-width:0;width:auto;max-width:none;
  --rfv-side-fs:var(--rfv-btn-fs)}
.rfv-mics-side.rfv-mics-side--wrap{flex-wrap:wrap;max-width:100%}
html body .rfv .rfv-mics #rfv-mic,
html body .rfv #rfv-mic,
html body #rfv-mic{
  flex:1 1 auto!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  align-self:stretch!important;
  min-height:40px!important;
  height:auto!important;
  white-space:normal!important;
  text-align:center!important;
  line-height:1.05!important;
  font-size:var(--rfv-btn-fs)!important;
  padding:var(--rfv-side-pad-y) var(--rfv-side-pad-x)!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
html body .rfv .rfv-mics-side #rfv-readaloud,
html body .rfv .rfv-mics-side #rfv-soundtest,
html body .rfv .rfv-mics-side #rfv-startover,
html body .rfv .rfv-mics-side #rfv-enter,
html body .rfv-mics-side .rfv-readaloud,
html body .rfv-mics-side .rfv-soundtest,
html body .rfv-mics-side .rfv-startover,
html body .rfv-mics-side .rfv-enter{
  flex:0 0 auto!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  min-height:40px!important;
  max-height:none!important;
  padding:var(--rfv-side-pad-y) var(--rfv-side-pad-x)!important;
  font-size:var(--rfv-side-fs)!important;
  line-height:1.05!important;
  white-space:normal!important;
  text-align:center!important;
}
html body .rfv .rfv-mics-side #rfv-enter,
html body .rfv-mics-side #rfv-enter{
  white-space:nowrap!important;
  flex:0 0 auto!important;
  padding:var(--rfv-side-pad-y) calc(var(--rfv-side-pad-x) + 2px)!important;
}
/* 1.1.182: Read/Sound/Start must match Enter width — no extra padding/min-width vs Enter.
   JS sets --rfv-side-key-w; Enter stays hug (width:auto). */
html body .rfv .rfv-mics-side #rfv-readaloud,
html body .rfv .rfv-mics-side #rfv-soundtest,
html body .rfv .rfv-mics-side #rfv-startover,
html body .rfv-mics-side .rfv-readaloud,
html body .rfv-mics-side .rfv-soundtest,
html body .rfv-mics-side .rfv-startover{
  padding:var(--rfv-side-pad-y) var(--rfv-side-pad-x)!important;
  min-width:0!important;
  width:var(--rfv-side-key-w,auto)!important;
  max-width:var(--rfv-side-key-w,none)!important;
  flex:0 0 var(--rfv-side-key-w,auto)!important;
  box-sizing:border-box!important;
}
.rfv-mics-side.rfv-mics-side--wrap button{
  flex:0 0 auto!important;
}
html body .rfv #rfv-readaloud,
html body .rfv #rfv-soundtest,
html body .rfv #rfv-startover{
  white-space:normal!important;
  text-align:center!important;
}

/* 1.1.131: Browse mics buttons match AUTO/KEYWORD/AI SEARCH at 0.85rem */
html body .rfv .rfv-mics #rfv-mic,
html body .rfv .rfv-mics button#rfv-mic,
html body .rfv .rfv-mics #rfv-readaloud,
html body .rfv .rfv-mics button#rfv-readaloud,
html body .rfv .rfv-mics #rfv-soundtest,
html body .rfv .rfv-mics button#rfv-soundtest,
html body .rfv .rfv-mics #rfv-startover,
html body .rfv .rfv-mics button#rfv-startover,
html body .rfv .rfv-mics #rfv-enter,
html body .rfv .rfv-mics button#rfv-enter.rfv-enter,
html body .rfv-mics #rfv-mic,
html body .rfv-mics #rfv-readaloud,
html body .rfv-mics #rfv-soundtest,
html body .rfv-mics #rfv-startover,
html body .rfv-mics #rfv-enter,
html body .rfv .rfv-mics-side #rfv-readaloud,
html body .rfv .rfv-mics-side #rfv-soundtest,
html body .rfv .rfv-mics-side #rfv-startover,
html body .rfv .rfv-mics-side #rfv-enter{
  font-size:var(--rfv-btn-fs,0.85rem)!important;
  line-height:1.1!important;
}

/* 1.1.114: welcome-back buttons live ON the yellow welcome panel (not buried in the search card) */
.rfv-welcome-panel{display:block;width:100%;max-width:100%;position:relative;left:auto;right:auto;margin-left:0;margin-right:0;box-sizing:border-box;background:#f2c94c;border:2px solid #d4a017;border-radius:10px;overflow:hidden;margin-top:0;margin-bottom:16px;padding:0 0 12px;text-align:center}
.rfv-welcome-panel .rfv-welcome{width:100%;max-width:none;position:static;left:auto;right:auto;margin:0;margin-left:0;margin-right:0;border:0;background:transparent;padding:16px 12px 8px}
.rfv-welcome-panel .rfv-confirm-wrap{margin:4px 12px 0;display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.rfv-welcome-panel .rfv-confirm-wrap[hidden]{display:none!important}
.rfv-welcome-panel .rfv-confirm-ok,
.rfv-welcome-panel .rfv-confirm-startover,
.rfv-welcome-panel #rfv-confirm-ok,
.rfv-welcome-panel #rfv-confirm-startover{
  flex:0 0 auto;min-width:9em;padding:14px 18px;font-size:1.05rem!important;font-weight:700!important;
  border-radius:12px;cursor:pointer;white-space:nowrap;
}

/* 1.1.115: welcome-back — ALL CAPS narrow buttons on RIGHT of same row as text; wrap if needed */
.rfv-welcome-panel.rfv-welcome-panel--wb{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:8px 10px;padding:10px 12px;text-align:left;
}
.rfv-welcome-panel.rfv-welcome-panel--wb .rfv-welcome{
  flex:1 1 10em;width:auto;min-width:0;padding:6px 4px;text-align:left;font-size:1rem;line-height:1.25;
}
.rfv-welcome-panel.rfv-welcome-panel--wb .rfv-confirm-wrap{
  flex:0 1 auto;margin:0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;max-width:100%;
}
.rfv-welcome-panel.rfv-welcome-panel--wb .rfv-confirm-ok,
.rfv-welcome-panel.rfv-welcome-panel--wb .rfv-confirm-startover,
.rfv-welcome-panel.rfv-welcome-panel--wb #rfv-confirm-ok,
.rfv-welcome-panel.rfv-welcome-panel--wb #rfv-confirm-startover{
  flex:0 0 auto;min-width:0;width:auto;max-width:100%;
  padding:6px 8px;min-height:0;font-size:0.78rem!important;line-height:1.1!important;
  border-radius:8px;white-space:nowrap;
}



/* 1.1.125: sign-in confirm buttons — own row under Please confirm (not welcome-panel wrap) */
.rfv-signin-confirm,#rfv-signin-confirm{
  margin:10px 0 0;display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;
}
.rfv-signin-confirm[hidden],#rfv-signin-confirm[hidden]{display:none!important}
html body .rfv #rfv-signin-confirm-ok,
html body .rfv #rfv-signin-confirm-fix,
html body .rfv .rfv-signin-confirm-ok,
html body .rfv .rfv-signin-confirm-fix{
  flex:0 0 auto!important;min-width:9em!important;padding:14px 18px!important;
  font-size:1.05rem!important;font-weight:700!important;line-height:1.15!important;
  border-radius:12px!important;cursor:pointer!important;white-space:nowrap!important;
  box-sizing:border-box!important;min-height:52px!important;
}
html body .rfv #rfv-signin-confirm-ok:not(.on),
html body .rfv #rfv-signin-confirm-fix:not(.on),
html body .rfv .rfv-signin-confirm-ok:not(.on),
html body .rfv .rfv-signin-confirm-fix:not(.on){
  background:#b91c1c!important;color:#fff!important;border:2px solid #b91c1c!important;-webkit-text-fill-color:#fff!important;
}
html body .rfv #rfv-signin-confirm-ok.on,
html body .rfv #rfv-signin-confirm-fix.on,
html body .rfv .rfv-signin-confirm-ok.on,
html body .rfv .rfv-signin-confirm-fix.on{
  background:#2e8b3d!important;color:#fff!important;border:2px solid #2e8b3d!important;-webkit-text-fill-color:#fff!important;
}


/* 1.1.126: hide AUTO/KEYWORD/AI during guest SIGN IN */
#rfv-seg[hidden],.rfv-seg[hidden]{display:none!important}


/* 1.1.129: welcome-back must stay on-screen on phones (100vw breakout fails when a parent has transform) */
.rfv-welcome-panel.rfv-welcome-panel--wb{
  left:auto!important;right:auto!important;
  margin-left:0!important;margin-right:0!important;
  width:100%!important;max-width:100%!important;
  position:relative!important;
  z-index:30;
}
@media (max-width:640px){
  .rfv-welcome-panel,
  .rfv-welcome{
    left:auto!important;right:auto!important;
    margin-left:0!important;margin-right:0!important;
    width:100%!important;max-width:100%!important;
  }
  /* 1.1.130: PTT fills left; side buttons hug right; side text ~10% smaller again */
  html body .rfv .rfv-mics{
    display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:4px!important;
    justify-content:flex-start!important;
  }
  html body .rfv .rfv-mics #rfv-mic{
    flex:1 1 auto!important;min-width:0!important;width:auto!important;
    font-size:var(--rfv-btn-fs,0.85rem)!important;
    line-height:1.1!important;
    text-align:center!important;
  }
  html body .rfv .rfv-mics-side{
    display:flex!important;flex:0 0 auto!important;flex-wrap:nowrap!important;gap:4px!important;
    min-width:0!important;margin-left:auto!important;justify-content:flex-end!important;
  }
  html body .rfv .rfv-mics-side button{
    flex:0 0 auto!important;min-width:0!important;width:auto!important;
    font-size:var(--rfv-side-fs,0.85rem)!important;
    line-height:1.1!important;
    padding:var(--rfv-side-pad-y,6px) var(--rfv-side-pad-x,3px)!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    text-align:center!important;
  }
  html body .rfv .rfv-mics-side #rfv-enter,
  html body .rfv .rfv-mics #rfv-enter{
    text-align:right!important;
  }
}
.rfv-welcome-panel,.rfv-welcome-modal .rfv-welcome-panel{border-radius:10px!important}

/* 1.1.141: welcome box sits inside content column (no 100vw breakout) so 10px corners are visible and no horizontal overflow */
.rfv-welcome-panel,.rfv-welcome-modal .rfv-welcome-panel{width:100%!important;max-width:100%!important;left:auto!important;right:auto!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;border-radius:10px!important;overflow:hidden!important}
.rfv-welcome{width:100%!important;max-width:100%!important;left:auto!important;right:auto!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;border-radius:10px}
.rfv-welcome-panel .rfv-welcome{border-radius:0}

/* RFV 1.1.143 header title colors */
.site-title .rfv-ttl-am,.site-title .rfv-ttl-A{color:#c41e3a !important}
.site-title .rfv-ttl-tv,.site-title .rfv-ttl-T{color:#2e8b3d !important}
.site-title .rfv-ttl-q,.site-title .rfv-ttl-V{color:#2563eb !important}
.site-title .rfv-ttl-paren,.site-title .rfv-ttl-Q{color:#d4a017 !important}
.site-title .rfv-ttl-br{display:block}

/* 1.1.147 site footer */
#rfv-site-footer{width:100%;box-sizing:border-box;padding:1rem;font-size:.85rem;line-height:1.4;color:#4A5568;text-align:center;border-top:1px solid #e2e8f0;background:#f7fafc;display:flex;flex-direction:column;gap:.3rem;}
#rfv-site-footer a{color:#2e8b3d;text-decoration:underline;word-break:break-word;}
#rfv-site-footer .rfv-footer-ver{font-size:.78rem;opacity:.85;}
/* one footer only: hide Kadence credit + duplicate contact line */
.site-footer .footer-html,.site-footer .site-info,.footer-html-inner{display:none !important;}
#atvq-site-contact-wrap{display:none !important;}

/* 1.1.151: Rod avatar — only visible when READ ALOUD is on */
.rfv-avatar{display:flex;justify-content:center;margin:0 0 12px;width:100%}
.rfv-avatar[hidden]{display:none!important}
.rfv-avatar img{width:120px;height:120px;object-fit:cover;border-radius:50%;border:3px solid #d4a017;box-shadow:0 2px 8px rgba(0,0,0,.18);background:#f2c94c}
@media (min-width:700px){.rfv-avatar img{width:140px;height:140px}}

/* 1.1.154: phones — stop nowrap/button-row from widening the page (Samsung/Chrome shrink-to-fit = tiny desktop look). Desktop unchanged. */
@media (max-width: 640px) {
  html body.rfv-opening, html body.rfv-opening #wrapper, html body.rfv-opening #inner-wrap {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  html body.rfv-opening .rfv,
  html body.rfv-opening .rfv-card,
  html body.rfv-opening .rfv-welcome-panel,
  html body.rfv-opening .content-container,
  html body.rfv-opening .entry-content-wrap,
  html body.rfv-opening #primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  html body.rfv-opening .rfv-welcome .rfv-w1,
  html body.rfv-opening .rfv-welcome .rfv-w2,
  html body.rfv-opening .rfv-welcome {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
  }
  html body.rfv-opening .rfv {
    font-size: 1.125rem !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  /* 1.1.164: removed phone stack/column/wrap rules — mics row stays one line */
  html body.rfv-opening .rfv-mics-side button {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    font-size: 0.95rem !important;
  }
  html body.rfv-opening #rfv-mic {
    font-size: 0.95rem !important;
    min-height: 56px !important;
  }
  html body.rfv-opening .rfv-avatar img {
    width: 140px !important;
    height: 140px !important;
  }
}


/* 1.1.156: stronger phone layout — also catches desktop-site mode on phones via coarse pointer */
@media (max-width: 900px), ((hover: none) and (pointer: coarse)) {
  html, body, #wrapper, #inner-wrap, .site, .site-container {
    overflow-x: clip !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .custom-logo, .site-branding a.brand img, img.custom-logo {
    max-width: min(180px, 55vw) !important;
    width: auto !important;
    height: auto !important;
  }
  html body.rfv-opening .rfv-welcome .rfv-w1,
  html body.rfv-opening .rfv-welcome .rfv-w2,
  html body.rfv-opening .rfv-welcome,
  .rfv-welcome .rfv-w1, .rfv-welcome .rfv-w2 {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
  html body li.atvq-signin-item,
  html body #site-navigation li.atvq-signin-item,
  html body #mobile-site-navigation li.atvq-signin-item {
    flex-wrap: wrap !important;
    max-width: 100% !important;
  }
  html body li.atvq-signin-item::after,
  html body:not(.logged-in) li.atvq-signin-item::after {
    white-space: normal !important;
  }
  /* 1.1.164: removed phone stack/column/wrap rules — mics row stays one line */
}
/* Speaking pulse while Rod clone audio plays (interim until Simli lip-sync) */
.rfv-avatar.rfv-avatar--speaking img {
  animation: rfvSpeakPulse 0.55s ease-in-out infinite;
  box-shadow: 0 0 0 3px #d4a017, 0 0 16px rgba(212,160,23,.55);
}
@keyframes rfvSpeakPulse {
  /* 1.1.173: no scale — size must stay constant through all speech */
  0%, 100% { transform: none; box-shadow: 0 0 0 3px #d4a017, 0 0 12px rgba(212,160,23,.45); }
  50% { transform: none; box-shadow: 0 0 0 3px #d4a017, 0 0 18px rgba(212,160,23,.65); }
}
.rfv-avatar .rfv-mouth {
  position: absolute; left: 50%; bottom: 18%; width: 28%; height: 10%;
  margin-left: -14%; border-radius: 50%; background: #5a2a1a;
  transform-origin: center; transform: scaleY(0.25); opacity: 0; pointer-events: none;
}
.rfv-avatar.rfv-avatar--speaking .rfv-mouth {
  opacity: 0.85;
  animation: rfvMouth 0.22s ease-in-out infinite alternate;
}
/* 1.1.160: never show fake dark-oval mouth over Simli video */
.rfv-avatar.rfv-avatar--live .rfv-mouth,
.rfv-avatar.rfv-avatar--live.rfv-avatar--speaking .rfv-mouth {
  display: none !important;
  opacity: 0 !important;
  animation: none !important;
}
.rfv-avatar.rfv-avatar--live.rfv-avatar--speaking img {
  animation: none !important;
}
.rfv-avatar .rfv-mouth { z-index: 1; }
.rfv-avatar-video { z-index: 3 !important; }

@keyframes rfvMouth {
  from { transform: scaleY(0.2); }
  to { transform: scaleY(1); }
}
.rfv-avatar { position: relative; }
.rfv-avatar > div.rfv-avatar-wrap { position: relative; display: inline-block; }


/* 1.1.157: Simli talking avatar video + version at top */
/* 1.1.161: match footer .rfv-footer-ver; bar at document top */
#rfv-ver-top.rfv-ver-top{display:block;width:100%;box-sizing:border-box;text-align:center;font-size:.78rem;line-height:1.4;opacity:.85;color:#4A5568;padding:.35rem 1rem;margin:0;background:#f7fafc;border-bottom:1px solid #e2e8f0}
.rfv-avatar-wrap{position:relative;display:inline-block;width:160px;height:160px}
.rfv-avatar-video,.rfv-avatar img#rfv-avatar-img,.rfv-avatar img{
  width:160px;height:160px;object-fit:cover;border-radius:50%;border:3px solid #d4a017;
  box-shadow:0 2px 8px rgba(0,0,0,.18);background:#f2c94c;display:block
}
.rfv-avatar-video{position:absolute;inset:0;z-index:2}
.rfv-avatar:not(.rfv-avatar--live) .rfv-avatar-video{opacity:0;pointer-events:none}
.rfv-avatar.rfv-avatar--live img#rfv-avatar-img{opacity:0}
/* 1.1.205: NEVER display:none on Simli audio — iOS Safari stays silent; desktop still plays.
   Visually hide but keep in media pipeline. */
.rfv-avatar-audio,audio#rfv-avatar-audio{
  position:absolute!important;
  width:1px!important;height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
  left:-9999px!important;
  clip:rect(0 0 0 0)!important;
}
@media (min-width:700px){
  .rfv-avatar-wrap{width:180px;height:180px}
  .rfv-avatar-video,.rfv-avatar img#rfv-avatar-img,.rfv-avatar img{width:180px;height:180px}
}
/* 1.1.157: hard-kill logo-driven page widen on phones */
@media (max-width:900px), ((hover:none) and (pointer:coarse)){
  html body .custom-logo,
  html body .site-branding a.brand img,
  html body .mobile-site-branding img,
  html body img.custom-logo{
    max-width:120px !important;
    width:120px !important;
    height:auto !important;
  }
}


/* 1.1.163: phones keep narrow portrait (existing max-width:900px / coarse rules).
   Laptops/desktops: wide mode — fill full viewport width and height. */
/* 1.1.217: wide mode only for real laptop/desktop (fine pointer). Phones in desktop-site mode / wide CSS viewport no longer get wide rules. */
@media (min-width: 901px) and (any-pointer: fine) {
  :root {
    --global-content-width: 100% !important;
    --global-content-wide-width: 100% !important;
  }
  html, body.rfv-opening {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
  }
  body.rfv-opening #wrapper,
  body.rfv-opening .site.wp-site-blocks,
  body.rfv-opening .site-container,
  body.rfv-opening #inner-wrap,
  body.rfv-opening .content-container,
  body.rfv-opening .content-wrap,
  body.rfv-opening .site-content,
  body.rfv-opening #content,
  body.rfv-opening .entry-content-wrap,
  body.rfv-opening #primary,
  body.rfv-opening .entry-content,
  body.rfv-opening .content-width-normal .content-container,
  body.rfv-opening .content-style-boxed .entry-content-wrap {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  body.rfv-opening #wrapper.site,
  body.rfv-opening .site {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
  }
  body.rfv-opening #inner-wrap,
  body.rfv-opening .site-content,
  body.rfv-opening #content {
    flex: 1 1 auto !important;
    width: 100% !important;
  }
  body.rfv-opening .site-header,
  body.rfv-opening .site-main-header-wrap,
  body.rfv-opening .site-header-row-container-inner {
    width: 100% !important;
    max-width: none !important;
  }
  body.rfv-opening .rfv-sitewide,
  body.rfv-opening .rfv,
  body.rfv-opening .rfv-card,
  body.rfv-opening #rfv-ver-top {
    width: 100% !important;
    max-width: none !important;
  }
  body.rfv-opening #rfv-site-footer {
    width: 100% !important;
    margin-top: auto;
  }
}


/* 1.1.163: phone portrait — one mics row; only #rfv-mic flexes; side keys hug content */
@media (max-width:900px), ((hover:none) and (pointer:coarse)) {
  html body .rfv .rfv-mics,
  html body .rfv-mics {
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html body .rfv .rfv-mics.rfv-mics--stack,
  html body .rfv-mics.rfv-mics--stack {
    flex-wrap: nowrap !important;
  }
  html body .rfv .rfv-mics #rfv-mic,
  html body .rfv #rfv-mic,
  html body .rfv-mics.rfv-mics--stack #rfv-mic {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  html body .rfv .rfv-mics-side,
  html body .rfv-mics-side {
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    max-width: none !important;
  }
  html body .rfv .rfv-mics-side #rfv-readaloud,
  html body .rfv .rfv-mics-side #rfv-soundtest,
  html body .rfv .rfv-mics-side #rfv-startover,
  html body .rfv .rfv-mics-side #rfv-enter {
    flex: 0 0 auto !important;
  }
}

/* 1.1.164: phone/portrait — FINAL: all five keys on ONE row. Only #rfv-mic flexes; side keys fixed (content size). Stack class neutralized. */
@media (max-width:900px), ((hover:none) and (pointer:coarse)) {
  html body.rfv-opening .rfv .rfv-mics, html body.rfv-opening .rfv-mics, html body .rfv .rfv-mics, html body .rfv-mics,
  html body.rfv-opening .rfv-mics.rfv-mics--stack, html body .rfv-mics.rfv-mics--stack {
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
    align-items: stretch !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
  }
  html body.rfv-opening .rfv-mics #rfv-mic, html body.rfv-opening .rfv-mics.rfv-mics--stack #rfv-mic, html body .rfv-mics #rfv-mic {
    flex: 1 1 0 !important; width: auto !important; max-width: none !important; min-width: 0 !important; margin: 0 !important;
  }
  html body.rfv-opening .rfv-mics .rfv-mics-side, html body.rfv-opening .rfv-mics.rfv-mics--stack .rfv-mics-side, html body .rfv-mics .rfv-mics-side {
    flex: 0 0 auto !important; flex-wrap: nowrap !important; width: auto !important; max-width: none !important; margin-left: 0 !important;
  }
  html body.rfv-opening .rfv-mics .rfv-mics-side #rfv-enter, html body .rfv-mics .rfv-mics-side #rfv-enter {
    flex: 0 0 auto !important; width: auto !important; max-width: none !important;
  }
  html body.rfv-opening .rfv-mics .rfv-mics-side #rfv-readaloud,
  html body.rfv-opening .rfv-mics .rfv-mics-side #rfv-soundtest,
  html body.rfv-opening .rfv-mics .rfv-mics-side #rfv-startover,
  html body .rfv-mics .rfv-mics-side #rfv-readaloud,
  html body .rfv-mics .rfv-mics-side #rfv-soundtest,
  html body .rfv-mics .rfv-mics-side #rfv-startover {
    flex: 0 0 var(--rfv-side-key-w,auto) !important;
    width: var(--rfv-side-key-w,auto) !important;
    max-width: var(--rfv-side-key-w,none) !important;
    min-width: 0 !important;
  }
}


/* 1.1.165: opening avatar fade-out */
#rfv-avatar{transition:opacity .8s ease,max-height .8s ease,margin .8s ease,padding .8s ease;max-height:220px;overflow:hidden}
#rfv-avatar.rfv-avatar--fadeout{opacity:0!important;max-height:0!important;margin:0!important;padding:0!important;pointer-events:none!important}
.rfv-avatar[hidden],#rfv-avatar[hidden]{display:none!important;height:0!important;max-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
/* 1.1.165: phone one-row — #rfv-mic height locked to side-key row (stretch); only width flexes, filling space left of Read Aloud */
@media (max-width:900px), ((hover:none) and (pointer:coarse)) {
  html body .rfv .rfv-mics{align-items:stretch!important}
  html body .rfv .rfv-mics-side{align-items:stretch!important}
  html body .rfv .rfv-mics #rfv-mic,html body .rfv #rfv-mic{
    order:0!important;flex:1 1 0!important;min-width:0!important;width:auto!important;
    align-self:stretch!important;height:auto!important;min-height:0!important;max-height:none!important;
    padding-top:0!important;padding-bottom:0!important;display:flex!important;flex-direction:column!important;align-items:center;justify-content:center;box-sizing:border-box;
    contain:size!important;overflow:hidden!important;text-align:center}
  /* contain:size = mic content never sets row height; side keys define it */
  /* 1.1.177: br/spans must SHOW for PUSH/TO/TALK */
  html body .rfv #rfv-mic br{display:none!important} /* unused; spans used */
  html body .rfv #rfv-mic .rfv-mic-l{display:block!important;line-height:1.05!important;font-size:inherit!important}
  html body .rfv .rfv-mics .rfv-mics-side{order:1!important}
}

/* 1.1.168: welcome-back MODAL OVERLAY on top of the site welcome (site welcome stays in place underneath) */
.rfv-welcome-panel.rfv-welcome-panel--wbov{position:relative!important;overflow:hidden!important;min-height:0!important}
.rfv-wb-overlay{position:relative;left:auto;right:auto;top:auto;transform:none;z-index:2;display:flex;flex-direction:column;align-items:center;gap:8px;box-sizing:border-box;background:#fff8dc;color:#111;border:2px solid #b8860b;border-radius:8px;box-shadow:none;padding:10px 12px;text-align:center;width:auto;margin:0 10px 10px;align-self:stretch}
.rfv-wb-overlay[hidden]{display:none!important}
.rfv-wb-overlay .rfv-wb-text{font-size:1rem;font-weight:700;line-height:1.25;overflow-wrap:anywhere;word-break:break-word}
.rfv-wb-overlay .rfv-confirm-wrap{margin:0;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.rfv-wb-overlay #rfv-confirm-ok,.rfv-wb-overlay #rfv-confirm-startover{padding:6px 10px;font-size:0.8rem!important;line-height:1.1!important;border-radius:8px;white-space:nowrap;min-height:0;width:auto}

/* 1.1.170: PTT label PUSH / TO / TALK three lines */
html body .rfv #rfv-mic,html body #rfv-mic{
  line-height:1.05!important;
  white-space:normal!important;
}
@media (max-width:900px){
  html body .rfv #rfv-mic,html body #rfv-mic{
    line-height:1.05!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
  }
}

/* 1.1.173: lock avatar size constant (img + video + wrap) */
.rfv-avatar-wrap,
html body .rfv-avatar-wrap{
  width:160px!important;height:160px!important;
  max-width:160px!important;max-height:160px!important;
}
.rfv-avatar-video,
.rfv-avatar img#rfv-avatar-img,
.rfv-avatar img,
html body .rfv-avatar img,
html body.rfv-opening .rfv-avatar img{
  width:160px!important;height:160px!important;
  max-width:160px!important;max-height:160px!important;
  object-fit:cover!important;
  transform:none!important;
}
.rfv-avatar.rfv-avatar--speaking img,
.rfv-avatar.rfv-avatar--live img,
.rfv-avatar.rfv-avatar--live.rfv-avatar--speaking img{
  width:160px!important;height:160px!important;
  transform:none!important;
  animation:none!important;
}
.rfv-avatar.rfv-avatar--speaking:not(.rfv-avatar--live) img{
  /* glow only, no scale */
  animation:rfvSpeakPulse 0.55s ease-in-out infinite!important;
  transform:none!important;
}
@media (min-width:700px){
  .rfv-avatar-wrap,html body .rfv-avatar-wrap{width:180px!important;height:180px!important;max-width:180px!important;max-height:180px!important}
  .rfv-avatar-video,.rfv-avatar img#rfv-avatar-img,.rfv-avatar img,
  html body .rfv-avatar img,html body.rfv-opening .rfv-avatar img,
  .rfv-avatar.rfv-avatar--speaking img,.rfv-avatar.rfv-avatar--live img{
    width:180px!important;height:180px!important;max-width:180px!important;max-height:180px!important;transform:none!important
  }
}

/* 1.1.180: overlay modal enabled again */
.rfv-welcome-panel--wbov{min-height:0!important;position:relative!important;overflow:hidden!important}
.rfv-welcome-panel--wb .rfv-welcome{
  /* same yellow block — no alternate card */
}
/* 1.1.186: restore Simli video lip sync; never force-hide #rfv-avatar-video */
html body .rfv-avatar.rfv-avatar--live .rfv-avatar-video,
html body #rfv-avatar.rfv-avatar--live #rfv-avatar-video,
.rfv-avatar.rfv-avatar--live .rfv-avatar-video{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:none!important;
  z-index:3!important;
}
html body .rfv-avatar.rfv-avatar--live img#rfv-avatar-img,
.rfv-avatar.rfv-avatar--live img#rfv-avatar-img{
  opacity:0!important;
}
/* 1.1.186: permanently kill fake brown oval mouth (Simli provides real lips) */
html body .rfv-avatar .rfv-mouth,
.rfv-avatar .rfv-mouth,
.rfv-avatar.rfv-avatar--speaking .rfv-mouth{
  display:none!important;
  opacity:0!important;
  animation:none!important;
  visibility:hidden!important;
}

/* 1.1.176: avatar fade collapses layout */
#rfv-avatar{transition:opacity .8s ease,max-height .8s ease,margin .8s ease,padding .8s ease;max-height:220px;overflow:hidden}
#rfv-avatar.rfv-avatar--fadeout{opacity:0!important;max-height:0!important;margin:0!important;padding:0!important;pointer-events:none!important}
.rfv-avatar[hidden],#rfv-avatar[hidden]{display:none!important;height:0!important;max-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}

/* 1.1.177: force PTT three-line PUSH / TO / TALK (height locked to side keys) */
html body .rfv #rfv-mic,
html body #rfv-mic{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:normal!important;
  text-align:center!important;
  line-height:0.95!important;
  gap:0!important;
}
html body .rfv #rfv-mic .rfv-mic-l,
html body #rfv-mic .rfv-mic-l{
  display:block!important;
  line-height:0.95!important;
  width:100%;
  text-align:center;
  font-size:0.92em!important;
  padding:0!important;
  margin:0!important;
}
@media (max-width:900px), ((hover:none) and (pointer:coarse)) {
  html body .rfv .rfv-mics #rfv-mic,
  html body .rfv #rfv-mic{
    flex-direction:column!important;
    overflow:hidden!important;
  }
  html body .rfv #rfv-mic br{display:none!important}
  html body .rfv #rfv-mic .rfv-mic-l{display:block!important;line-height:0.92!important;font-size:0.88em!important}
}

/* 1.1.178: spoken phrase highlight */
.rfv-welcome .rfv-speaking-line{outline:2px solid #2e8b3d;outline-offset:2px;border-radius:4px}

/* 1.1.179: header title colors (force restore) */
html body .site-title .rfv-ttl-am,
html body .site-title .rfv-ttl-A,
html body #mobile-header .site-title .rfv-ttl-am,
html body #mobile-header .site-title .rfv-ttl-A{color:#c41e3a!important;-webkit-text-fill-color:#c41e3a!important}
html body .site-title .rfv-ttl-tv,
html body .site-title .rfv-ttl-T,
html body #mobile-header .site-title .rfv-ttl-tv,
html body #mobile-header .site-title .rfv-ttl-T{color:#2e8b3d!important;-webkit-text-fill-color:#2e8b3d!important}
html body .site-title .rfv-ttl-q,
html body .site-title .rfv-ttl-V,
html body #mobile-header .site-title .rfv-ttl-q,
html body #mobile-header .site-title .rfv-ttl-V{color:#2563eb!important;-webkit-text-fill-color:#2563eb!important}
html body .site-title .rfv-ttl-paren,
html body .site-title .rfv-ttl-Q,
html body #mobile-header .site-title .rfv-ttl-paren,
html body #mobile-header .site-title .rfv-ttl-Q{color:#d4a017!important;-webkit-text-fill-color:#d4a017!important}
html body .site-title .rfv-ttl-br{display:block!important}

/* 1.1.189: modal is a yellow-panel sibling under .rfv-w1; fills remaining panel (no nested-in-welcome, no bottom gold gap) */
html body .rfv-welcome-panel--wbov .rfv-welcome .rfv-w2,
.rfv-welcome-panel--wbov .rfv-welcome .rfv-w2{
  display:none!important;height:0!important;max-height:0!important;overflow:hidden!important;
  margin:0!important;padding:0!important;opacity:0!important;visibility:hidden!important;
  pointer-events:none!important;font-size:0!important;line-height:0!important;
}
html body .rfv-welcome-panel.rfv-welcome-panel--wbov,
.rfv-welcome-panel.rfv-welcome-panel--wbov{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  position:relative!important;
  overflow:hidden!important;
  min-height:0!important;
  z-index:1!important;
  padding:0!important;
}
html body .rfv-welcome-panel--wbov .rfv-welcome,
.rfv-welcome-panel--wbov .rfv-welcome{
  flex:0 0 auto!important;
  position:relative!important;
  overflow:visible!important;
  padding:12px 12px 6px!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
/* Cream modal = second-line slot: stretch full remaining panel width, symmetric inset, no gold gap under it */
html body .rfv-welcome-panel--wbov > .rfv-wb-overlay,
.rfv-welcome-panel--wbov > .rfv-wb-overlay{
  display:flex!important;
  flex:1 1 auto!important;
  align-self:stretch!important;
  position:relative!important;
  left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
  width:auto!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  transform:none!important;
  z-index:2!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  box-sizing:border-box!important;
  background:#fff8dc!important;
  color:#111!important;
  border:2px solid #b8860b!important;
  border-radius:8px!important;
  box-shadow:none!important;
  padding:10px 12px!important;
  text-align:center!important;
  margin:0 10px 10px!important;
}
/* Fallback if overlay still nested (should not happen after 189 JS) */
html body .rfv-wb-overlay:not([hidden]),
.rfv-wb-overlay:not([hidden]){
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  box-sizing:border-box!important;
  background:#fff8dc!important;
  color:#111!important;
  border:2px solid #b8860b!important;
  border-radius:8px!important;
  padding:10px 12px!important;
  text-align:center!important;
}
html body .rfv-wb-overlay[hidden],
.rfv-wb-overlay[hidden]{display:none!important}
html body .rfv-welcome-panel--wbov > .rfv-confirm-wrap,
.rfv-welcome-panel--wbov > .rfv-confirm-wrap{
  display:none!important;margin:0!important;padding:0!important;height:0!important;overflow:hidden!important;
}
.rfv-wb-overlay .rfv-wb-text,
html body .rfv-wb-overlay .rfv-wb-text{
  font-size:1.05rem!important;
  font-weight:700!important;
  line-height:1.3!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
.rfv-wb-overlay .rfv-confirm-wrap,
.rfv-wb-overlay .rfv-wb-confirm{
  margin:0!important;
  display:flex!important;
  justify-content:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}

/* 1.1.183: Push to Talk type size matches Enter / Read Aloud / Sound / Start */
html body .rfv #rfv-mic,
html body #rfv-mic,
html body .rfv #rfv-mic .rfv-mic-l{
  font-size:var(--rfv-side-fs,var(--rfv-btn-fs,0.85rem))!important;
}


/* 1.1.192: second welcome fully replaced; buttons RIGHT-JUSTIFIED inside modal block */
html body .rfv-welcome-panel.rfv-welcome-panel--wb,
.rfv-welcome-panel.rfv-welcome-panel--wb{
  display:block!important;
  text-align:center!important;
  padding:0 0 10px!important;
}
html body .rfv-welcome-panel--wb .rfv-welcome,
.rfv-welcome-panel--wb .rfv-welcome{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  padding:12px 12px 4px!important;
}
html body .rfv-welcome .rfv-w2.rfv-wb-slot,
.rfv-welcome .rfv-w2.rfv-wb-slot{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:100%!important;
  box-sizing:border-box!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:4px 4px 0!important;
  margin:0!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  opacity:1!important;
  visibility:visible!important;
  font-size:inherit!important;
  line-height:1.3!important;
  overflow:visible!important;
  pointer-events:auto!important;
  text-align:left!important;
}
html body .rfv-welcome .rfv-w2.rfv-wb-slot .rfv-wb-text,
.rfv-welcome .rfv-w2.rfv-wb-slot .rfv-wb-text{
  display:block!important;
  width:100%!important;
  flex:0 0 auto!important;
  font-size:1rem!important;
  font-weight:600!important; /* 1.1.203: match second welcome, not bold 700 */
  line-height:1.3!important;
  color:#111!important;
  text-align:center!important; /* 1.1.203: horizontally center welcome-back */
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
html body .rfv-welcome .rfv-w2.rfv-wb-slot .rfv-confirm-wrap,
.rfv-welcome .rfv-w2.rfv-wb-slot .rfv-wb-confirm{
  display:flex!important;
  flex:0 0 auto!important;
  width:100%!important;
  justify-content:flex-end!important; /* right-justified inside modal block */
  align-items:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  margin:0!important;
  box-sizing:border-box!important;
}
html body .rfv-welcome .rfv-w2.rfv-wb-slot #rfv-confirm-ok,
html body .rfv-welcome .rfv-w2.rfv-wb-slot #rfv-confirm-startover,
.rfv-welcome .rfv-w2.rfv-wb-slot #rfv-confirm-ok,
.rfv-welcome .rfv-w2.rfv-wb-slot #rfv-confirm-startover{
  padding:6px 8px!important;
  font-size:0.78rem!important;
  line-height:1.1!important;
  border-radius:8px!important;
  white-space:nowrap!important;
  min-height:0!important;
  min-width:0!important;
  width:auto!important;
  margin-left:0!important;
}
/* Hide any leftover cream overlay */
html body .rfv-wb-overlay,
.rfv-wb-overlay{display:none!important}

/* 1.1.206: welcome under logo with ZERO avatar gap until speech.
   hidden = display:none (true zero layout). fadeout collapses wrap+slot.
   Visible only when not hidden and not fadeout. */
html body #rfv-avatar.rfv-avatar:not([hidden]):not(.rfv-avatar--fadeout),
.rfv-avatar#rfv-avatar:not([hidden]):not(.rfv-avatar--fadeout){
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  max-width:none!important;
  margin:0 auto 10px auto!important;
  padding:0!important;
  text-align:center!important;
  max-height:220px!important;
  overflow:hidden!important;
  opacity:1!important;
  visibility:visible!important;
}
html body #rfv-avatar .rfv-avatar-wrap{margin-left:auto!important;margin-right:auto!important}
#rfv-avatar{
  max-width:none;width:100%;
  transition:opacity .8s ease,max-height .8s ease,margin .8s ease,padding .8s ease;
  overflow:hidden;
}
/* Initial load / collapsed: remove from layout entirely */
html body #rfv-avatar[hidden],
#rfv-avatar[hidden],
html body .rfv-avatar[hidden],
.rfv-avatar[hidden]{
  display:none!important;
  opacity:0!important;
  max-height:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
  border:0!important;
  visibility:hidden!important;
}
/* Mid fade-out (still in DOM for transition): collapse slot + inner wrap */
html body #rfv-avatar.rfv-avatar--fadeout:not([hidden]),
#rfv-avatar.rfv-avatar--fadeout:not([hidden]){
  display:flex!important;
  opacity:0!important;
  max-height:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
  border:0!important;
}
html body #rfv-avatar[hidden] .rfv-avatar-wrap,
html body #rfv-avatar.rfv-avatar--fadeout .rfv-avatar-wrap,
#rfv-avatar[hidden] .rfv-avatar-wrap,
#rfv-avatar.rfv-avatar--fadeout .rfv-avatar-wrap,
html body #rfv-avatar[hidden] img,
html body #rfv-avatar.rfv-avatar--fadeout img,
html body #rfv-avatar[hidden] .rfv-avatar-video,
html body #rfv-avatar.rfv-avatar--fadeout .rfv-avatar-video{
  width:0!important;height:0!important;max-width:0!important;max-height:0!important;
  margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;
}
#rfv-avatar.rfv-avatar--fadein{opacity:1;pointer-events:auto;max-height:220px}
/* Kill leftover theme gap above welcome */
html body.rfv-opening .content-area,
html body.rfv-opening #primary.content-area{
  margin-top:0!important;padding-top:0!important;
}
html body.rfv-opening .entry-content-wrap,
html body.rfv-opening .content-style-boxed .entry-content-wrap{
  padding-top:0!important;margin-top:0!important;
}
html body.rfv-opening .rfv-sitewide,
html body.rfv-opening #rfv-sitewide,
html body.rfv-opening .rfv,
html body.rfv-opening #rfv{
  margin-top:0!important;padding-top:0!important;
}


/* 1.1.203: first welcome block only welcome-back — never show site title/.rfv-w1 during wb */
html body .rfv-welcome-panel--wb .rfv-welcome .rfv-w1,
.rfv-welcome-panel--wb .rfv-welcome .rfv-w1{display:none!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
html body .rfv-welcome-panel--wb .rfv-welcome,
.rfv-welcome-panel--wb .rfv-welcome{text-align:center!important}

/* 1.1.207: avatar stability.
   - Never shrink the <video> to 0x0 while collapsed (WebRTC decoder re-inits -> black/glitch frames on expand).
     The #rfv-avatar slot's max-height:0/overflow:hidden already removes the gap.
   - Only the slot animates; video/img never transition, own GPU layer, no transform/animation. */
html body #rfv-avatar.rfv-avatar--fadeout .rfv-avatar-wrap,
#rfv-avatar.rfv-avatar--fadeout .rfv-avatar-wrap{width:160px!important;height:160px!important;max-width:160px!important;max-height:160px!important}
html body #rfv-avatar.rfv-avatar--fadeout .rfv-avatar-video,
html body #rfv-avatar.rfv-avatar--fadeout img{width:160px!important;height:160px!important;max-width:160px!important;max-height:160px!important}
@media (min-width:700px){
 html body #rfv-avatar.rfv-avatar--fadeout .rfv-avatar-wrap,#rfv-avatar.rfv-avatar--fadeout .rfv-avatar-wrap,
 html body #rfv-avatar.rfv-avatar--fadeout .rfv-avatar-video,html body #rfv-avatar.rfv-avatar--fadeout img{width:180px!important;height:180px!important;max-width:180px!important;max-height:180px!important}
}
html body .rfv-avatar .rfv-avatar-video,.rfv-avatar-video{
  transition:none!important;animation:none!important;transform:none!important;
  /* 1.1.208: dropped translateZ/backface-visibility — forced GPU layer on live WebRTC video can flash the whole viewport on frame/keyframe updates (mobile Chrome). */
  will-change:auto;background:#f2c94c!important;
}
html body .rfv-avatar img#rfv-avatar-img{transition:none!important}

/* 1.1.208: avatar takes zero layout until explicitly shown at speech start. */
html body #rfv-avatar[hidden],html body #rfv-avatar[aria-hidden="true"]{display:none!important;height:0!important;max-height:0!important;margin:0!important;padding:0!important}

/* 1.1.209: server-rendered site welcome (.rfv-w1 'Welcome to Amateur Television Quest' + .rfv-w2) was visible in the first block until JS swapped in welcome-back.
   Hide text (keep box height, so no gap/shift) until JS decides which welcome to show. */
html body .rfv-welcome:not([data-rfv-ready]) > *{visibility:hidden!important}
html body .rfv-welcome[data-rfv-wb] .rfv-w1{display:none!important}
html body .rfv-welcome .rfv-wb-text{text-align:center!important;font-weight:400!important;margin-left:auto!important;margin-right:auto!important}

/* 1.1.218: ~2s avatar fade-out (was 5s in 1.1.216). Opacity only; JS collapses after 2000ms. */
html body #rfv-avatar.rfv-avatar.rfv-avatar--fadeout:not([hidden]){
  transition:opacity 2s ease!important;
  opacity:0!important;
  max-height:220px!important;
  height:auto!important;
  margin:0 auto 10px auto!important;
  pointer-events:none!important;
}

/* 1.1.219: phone media back to max-width 900px OR coarse pointer (was 640 only in 217). Was 1.1.217: restore NARROW phone-only layout. Phone CSS viewport <=640px only (no coarse-pointer catch — keeps touchscreen laptops/tablets wide).
   Beats theme Additional CSS "ATVQ opening: full-width text blocks" (max-width:none/width:100%) + 1700px logo + nowrap sign-in note.
   Wide mode still requires (min-width:901px) and (any-pointer:fine) so phones in desktop-site mode don't get laptop wide rules. */
@media (max-width: 900px), ((hover: none) and (pointer: coarse)) {
  :root{ --global-content-width:100vw !important; --global-content-wide-width:100vw !important; }
  html, html body, html body #wrapper, html body #inner-wrap, html body .site, html body .site-container,
  html body .site-header, html body .site-main-header-wrap, html body .site-header-row-container-inner, html body #mobile-header{
    overflow-x: clip !important; max-width: 100vw !important; box-sizing: border-box !important;
  }
  html body .custom-logo, html body img.custom-logo, html body .site-branding img, html body .site-branding a.brand img{
    max-width: min(120px, 40vw) !important; width: min(120px, 40vw) !important; height: auto !important; max-height: 30vh !important;
  }
  html body.rfv-opening .site-container, html body.rfv-opening .content-container,
  html body.rfv-opening .content-width-narrow .content-container, html body.rfv-opening .content-wrap,
  html body.rfv-opening .site-content, html body.rfv-opening #primary, html body.rfv-opening .entry-content-wrap,
  html body.rfv-opening .entry-content, html body.rfv-opening .rfv-sitewide, html body.rfv-opening .rfv,
  html body.rfv-opening .rfv-card, html body.rfv-opening #rfv-ver-top, html body.rfv-opening #rfv-site-footer{
    width: 100% !important; max-width: 100vw !important; min-width: 0 !important; box-sizing: border-box !important;
    margin-left: auto !important; margin-right: auto !important;
  }
  html body.rfv-opening .site-container, html body.rfv-opening .content-wrap{ padding-left: 10px !important; padding-right: 10px !important; }
  html body.rfv-opening .rfv-mics, html body.rfv-opening .rfv-mics-side{ max-width: 100% !important; min-width: 0 !important; }
  html body.rfv-opening .rfv-mics > *, html body.rfv-opening .rfv-mics-side > *{ min-width: 0 !important; flex-shrink: 1 !important; }
  html body li.atvq-signin-item, html body #site-navigation li.atvq-signin-item, html body #mobile-site-navigation li.atvq-signin-item{
    flex-wrap: wrap !important; max-width: 100% !important; width: auto !important;
  }
  html body li.atvq-signin-item::after{ white-space: normal !important; flex: 1 1 100% !important; }
  html body img, html body video, html body iframe{ max-width: 100% !important; }
}


/* 1.1.220: class-based phone narrow (set by rfv.js when screen/CSS says phone).
   Same caps as 214's max-width:900 / coarse blocks, but works when "Desktop site"
   inflates the CSS viewport past 900px so those media queries never match. */
html.rfv-is-phone,
html.rfv-is-phone body,
html.rfv-is-phone #wrapper,
html.rfv-is-phone #inner-wrap,
html.rfv-is-phone .site,
html.rfv-is-phone .site-container,
html.rfv-is-phone .content-container,
html.rfv-is-phone .site-header,
html.rfv-is-phone .site-main-header-wrap,
html.rfv-is-phone .site-header-row-container-inner,
html.rfv-is-phone #mobile-header{
  overflow-x: clip !important;
  max-width: 100vw !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
html.rfv-is-phone body img.custom-logo,
html.rfv-is-phone body .site-branding a.brand img,
html.rfv-is-phone body .mobile-site-branding img,
html.rfv-is-phone body .brand img,
html.rfv-is-phone body img.custom-logo{
  max-width: min(120px, 40vw) !important;
  width: min(120px, 40vw) !important;
  height: auto !important;
  max-height: 30vh !important;
}
html.rfv-is-phone body.rfv-opening .site-container,
html.rfv-is-phone body.rfv-opening .content-container,
html.rfv-is-phone body.rfv-opening .content-width-narrow .content-container,
html.rfv-is-phone body.rfv-opening .content-wrap,
html.rfv-is-phone body.rfv-opening .site-content,
html.rfv-is-phone body.rfv-opening #primary,
html.rfv-is-phone body.rfv-opening .entry-content-wrap,
html.rfv-is-phone body.rfv-opening .entry-content,
html.rfv-is-phone body.rfv-opening .rfv-sitewide,
html.rfv-is-phone body.rfv-opening .rfv,
html.rfv-is-phone body.rfv-opening .rfv-card,
html.rfv-is-phone body.rfv-opening #rfv-ver-top,
html.rfv-is-phone body.rfv-opening #rfv-site-footer{
  width: 100% !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
html.rfv-is-phone body.rfv-opening .site-container,
html.rfv-is-phone body.rfv-opening .content-wrap{
  padding-left: 10px !important;
  padding-right: 10px !important;
}
html.rfv-is-phone body.rfv-opening .rfv-mics,
html.rfv-is-phone body.rfv-opening .rfv-mics-side{
  max-width: 100% !important;
  min-width: 0 !important;
}
html.rfv-is-phone :root{
  --global-content-width: 100vw !important;
  --global-content-wide-width: 100vw !important;
}

/* 1.1.230 patch: guest-locked PTT / Read Aloud / Sound Test stay gray even if .on or .rfv-latched is briefly applied */
html body #rfv-mic.rfv-guest-locked,
html body .rfv #rfv-mic.rfv-guest-locked,
html body #rfv-mic.rfv-guest-locked.on,
html body .rfv #rfv-mic.rfv-guest-locked.on,
html body #rfv-soundtest.rfv-guest-locked,
html body .rfv-soundtest.rfv-guest-locked,
html body #rfv-soundtest.rfv-guest-locked.on,
html body .rfv-soundtest.rfv-guest-locked.on,
html body #rfv-soundtest.rfv-guest-locked.rfv-latched,
html body .rfv-soundtest.rfv-guest-locked.rfv-latched,
html body #rfv-readaloud.rfv-guest-locked,
html body #rfv-readaloud.rfv-guest-locked.on,
html body #rfv-readaloud.rfv-guest-locked.off,
html body #rfv-readaloud.rfv-guest-locked:not(.on){
  background:#9ca3af!important;
  color:#fff!important;
  border-color:#6b7280!important;
  -webkit-text-fill-color:#fff!important;
  cursor:not-allowed!important;
  opacity:1!important;
}


/* 1.1.237: ANNA 16:9 slot. 1.1.235 used width:min(100%,560px) without !important / max-width,
   so theme + plugin "full-width opening" rules (body.rfv-opening .rfv / .rfv-sitewide {width:100%!important;max-width:none!important}
   and Additional CSS "full-width text blocks") let #rfv-anna stretch into a page-wide banner under the header.
   Desktop: max-width 480px, aspect-ratio 16/9, object-fit contain (no crop).
   Phones: 100% of the padded content column (~360–412px), NOT 100vw (avoids horizontal scroll). */
html body #rfv-anna.rfv-anna,
html body #rfv-sitewide #rfv-anna,
html body .rfv #rfv-anna{
  display:block!important;
  position:relative!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:480px!important;
  aspect-ratio:16 / 9!important; /* 1366/768 */
  height:auto!important;
  margin:8px auto!important;
  padding:0!important;
  background:#000!important;
  border-radius:8px!important;
  overflow:hidden!important;
}
html body #rfv-anna.rfv-anna[hidden],
html body #rfv-anna[hidden]{
  display:none!important;
}
html body #rfv-anna #rfv-anna-video,
html body #rfv-anna-video.rfv-anna-video,
html body video#rfv-anna-video{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#000!important;
}
html body #rfv-anna-audio,
html body .rfv-anna-audio{display:none!important}
html.rfv-is-phone body #rfv-anna.rfv-anna,
html body.rfv-is-phone #rfv-anna.rfv-anna{
  max-width:100%!important;
  width:100%!important;
}
@media (max-width:900px), ((hover:none) and (pointer:coarse)){
  html body #rfv-anna.rfv-anna{max-width:100%!important;width:100%!important}
}
