.prayer-stage .player .player-small{
  width:62px;
  height:62px;
  flex:0 0 62px;
  border-radius:50%;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid var(--line);
  background:var(--soft);
  color:var(--ink);
  box-shadow:none;
}

.prayer-stage .player .player-small:hover{
  background:var(--blue-soft);
}

/* The permission/reliability paragraph is no longer needed in the Voice
   Commands modal; the browser will request permission naturally when required. */
.voice-command-modal .voice-browser-note{
  display:none!important;
}

@media(max-width:640px){
  .prayer-stage .player{
    gap:28px;
    min-height:146px;
  }
  .prayer-stage .player .player-small{
    width:56px;
    height:56px;
    flex-basis:56px;
  }
  }
/* Continuous playback settings for the Journey prayer player. */
.prayer-stage .player{
  position:relative;
}
.prayer-stage .countdown-value{
  position:relative;
  z-index:2;
  display:block;
}
.prayer-stage .continuous-settings{
  position:absolute;
  z-index:20;
  top:calc(100% - 16px);
  right:0;
  width:min(320px,calc(100vw - 32px));
  padding:16px 17px 14px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:var(--paper);
  box-shadow:var(--shadow-popover);
  text-align:left;
}
.prayer-stage .continuous-settings[hidden]{
  display:none;
}
.prayer-stage .continuous-settings-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:11px;
  color:var(--ink-strong);
}
.prayer-stage .continuous-settings-head strong{
  font-size:0.875rem;
  font-weight:700;
}
.prayer-stage .continuous-setting-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  margin:10px 0 0;
  color:var(--ink);
  font-size:0.8125rem;
}
.prayer-stage .continuous-gap-row{
  grid-template-columns:minmax(0,1fr) auto;
}
.prayer-stage .continuous-gap-row input{
  grid-column:1 / -1;
  width:100%;
  margin:2px 0 0;
  accent-color:var(--blue-dark);
  cursor:pointer;
}
.prayer-stage .continuous-gap-row output{
  color:var(--muted);
  font-size:0.75rem;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
@media(max-width:640px){
  .prayer-stage .continuous-settings{
    left:50%;
    right:auto;
    transform:translateX(-50%);
    width:min(320px,calc(100vw - 24px));
  }
}


/* Secondary player actions live in one compact More menu. */
.prayer-stage .player .player-menu-trigger{
  position:absolute; top:0; right:0; z-index:4;
  width:40px; height:40px; min-width:40px; min-height:40px;
  display:grid; place-items:center; padding:0;
  border:0; border-radius:50%; background:transparent;
  color:var(--muted); box-shadow:none; cursor:pointer;
}
.prayer-stage .player .player-menu-trigger .player-menu-icon{
  width:22px; height:22px; fill:currentColor; stroke:none;
}
.prayer-stage .player .player-menu-trigger:hover,
.prayer-stage .player .player-menu-trigger[aria-expanded="true"]{
  background:var(--soft); color:var(--ink);
}
.prayer-stage .player .player-menu-trigger.has-active{color:var(--blue-dark);}
.prayer-stage .player-options .player-option-action{
  width:100%; min-height:44px; display:flex; align-items:center; gap:10px;
  padding:8px 9px; border:0; border-radius:var(--radius-control); background:transparent;
  color:var(--ink); text-align:left; cursor:pointer;
}
.prayer-stage .player-options .player-option-action.is-listening{background:var(--blue-soft);color:var(--blue-dark);}
.prayer-stage .player-options .voice-help{margin-top:0;}
@media(max-width:640px){
  .prayer-stage .player .player-menu-trigger{width:36px;height:36px;min-width:36px;min-height:36px;}
  .prayer-stage .player .player-menu-trigger .player-menu-icon{width:20px;height:20px;}
  .prayer-stage .continuous-settings.player-options{top:40px;}
}

/* Reset the voice row inside More controls so it participates in menu flow. */
.prayer-stage .continuous-settings.player-options .player-option-action.voice-help{
  position:static !important;
  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
  z-index:auto !important;
  display:flex !important;
  width:100% !important;
  height:auto !important;
  min-width:0 !important;
  min-height:44px !important;
  margin:0 !important;
  padding:8px 9px !important;
  float:none !important;
  transform:none !important;
  border:0 !important;
  border-radius:var(--radius-control) !important;
  background:transparent;
  box-shadow:none !important;
}
.prayer-stage .continuous-settings.player-options .player-option-action.voice-help:hover{
  background:var(--soft);
}
.prayer-stage .continuous-settings.player-options .player-option-action.voice-help .player-icon{
  position:static;
  width:20px;
  height:20px;
  min-width:20px;
  margin:0;
}
.prayer-stage .continuous-settings.player-options .player-option-action.voice-help .player-option-copy{
  position:static;
  display:grid;
  min-width:0;
  margin:0;
}
.prayer-stage .continuous-settings.player-options .player-option-action.voice-help .player-option-copy strong,
.prayer-stage .continuous-settings.player-options .player-option-action.voice-help .player-option-copy small{
  position:static;
  margin:0;
}
.prayer-stage .continuous-settings.player-options .continuous-settings-head{
  margin-bottom:4px;
}

/* Settings-style More menu: two clear, full-width options with switches. */
.prayer-stage .continuous-settings.player-options{
  width:min(340px,calc(100vw - 32px));
  padding:12px 14px 13px;
  border-radius:var(--radius-control);
}
.prayer-stage .player-options .player-options-title{margin-bottom:5px}
.prayer-stage .player-options .player-options-title strong{font-size:1rem;font-weight:600}
.prayer-stage .player-options .player-option-row{margin:0;border-bottom:1px solid var(--line)}
.prayer-stage .player-options .player-option-row:last-of-type{border-bottom:0}
.prayer-stage .player-options .player-option-action,
.prayer-stage .player-options .player-option-action.voice-help{
  position:static !important;top:auto !important;right:auto !important;bottom:auto !important;left:auto !important;z-index:auto !important;
  display:flex !important;align-items:center;width:100% !important;height:auto;min-width:0;min-height:56px;
  margin:0 !important;padding:8px 2px !important;float:none !important;transform:none !important;
  border:0 !important;border-radius:0;background:transparent;box-shadow:none !important;color:var(--ink-strong);text-align:left;cursor:pointer;
}
.prayer-stage .player-options .player-option-action:hover{background:var(--field)}
.prayer-stage .player-options .player-option-action.is-listening,
.prayer-stage .player-options .player-option-action.is-on{background:transparent;color:var(--ink-strong)}
.prayer-stage .player-options .player-option-action .player-icon{
  position:static;width:24px;height:24px;min-width:24px;flex:0 0 24px;margin:0 14px 0 0;color:var(--muted);
}
.prayer-stage .player-options .player-option-copy{position:static;display:grid;min-width:0;gap:1px;flex:1 1 auto;margin:0;overflow-wrap:anywhere}
.prayer-stage .player-options .player-option-copy strong{position:static;margin:0;color:var(--ink-strong);font-size:1rem;line-height:1.3;font-weight:400}
.prayer-stage .player-options .player-option-copy small{position:static;margin:0;color:var(--muted-light);font-size:0.8125rem;line-height:1.25}
.prayer-stage .player-options .player-option-switch{position:relative;display:block;flex:0 0 42px;width:42px;height:24px;margin-left:14px;border-radius:var(--radius-pill);background:#b0b7bd;transition:background-color .18s ease}
.prayer-stage .player-options .player-option-switch>span{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:var(--paper);box-shadow:var(--shadow-popover);transition:transform .18s ease}
.prayer-stage .player-options .player-option-switch.is-on{background:var(--blue-border)}
.prayer-stage .player-options .player-option-switch.is-on>span{transform:translateX(18px);background:var(--blue)}
.prayer-stage .player-options .player-option-detail{grid-template-columns:minmax(0,1fr) auto;margin:7px 0 0;padding:10px 2px 0 40px;border-top:1px solid var(--line)}
.prayer-stage .player-options .player-option-detail input{margin-top:8px}
@media(max-width:640px){
  .prayer-stage .continuous-settings.player-options{width:min(340px,calc(100vw - 24px));padding:11px 12px 12px}
  .prayer-stage .player-options .player-option-action{min-height:54px}
}

/* Keep the settings panel above the fixed prayer action bar. */
.prayer-stage .continuous-settings.player-options{
  position:fixed;
  max-width:calc(100% - 24px);
  top:auto;
  right:max(16px,calc((100vw - 920px)/2 + 24px));
  bottom:calc(84px + env(safe-area-inset-bottom));
  z-index:50;
  max-height:calc(100vh - 108px);
  max-height:calc(100dvh - 108px);
  overflow-y:auto;
  overscroll-behavior:contain;
}
@media(max-width:640px){
  .prayer-stage .continuous-settings.player-options{
    left:50%;
    right:auto;
    transform:translateX(-50%);
    bottom:calc(84px + env(safe-area-inset-bottom));
    max-height:calc(100vh - 108px);
    max-height:calc(100dvh - 108px);
  }
}

/* Light, clearly draggable timing range. */
.prayer-stage .player-options .player-option-detail input[type="range"]{
  -webkit-appearance:none;
  appearance:none;
  width:100%;
  height:6px;
  min-height:6px;
  padding:0;
  border:0;
  border-radius:var(--radius-pill);
  background:linear-gradient(90deg,var(--blue) 0%,var(--blue) var(--range-progress,0%),var(--line) var(--range-progress,0%),var(--line) 100%);
  box-shadow:none;
  outline:none;
}
.prayer-stage .player-options .player-option-detail input[type="range"]::-webkit-slider-runnable-track{
  height:6px;
  border:0;
  border-radius:var(--radius-pill);
  background:transparent;
}
.prayer-stage .player-options .player-option-detail input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:18px;
  height:18px;
  margin-top:-6px;
  border:0;
  border-radius:50%;
  background:var(--blue);
  box-shadow:var(--shadow-popover);
  cursor:grab;
}
.prayer-stage .player-options .player-option-detail input[type="range"]:active::-webkit-slider-thumb{cursor:grabbing}
.prayer-stage .player-options .player-option-detail input[type="range"]::-moz-range-track{
  height:6px;
  border:0;
  border-radius:var(--radius-pill);
  background:var(--line);
}
.prayer-stage .player-options .player-option-detail input[type="range"]::-moz-range-progress{
  height:6px;
  border:0;
  border-radius:var(--radius-pill);
  background:var(--blue);
}
.prayer-stage .player-options .player-option-detail input[type="range"]::-moz-range-thumb{
  width:18px;
  height:18px;
  border:0;
  border-radius:50%;
  background:var(--blue);
  box-shadow:var(--shadow-popover);
  cursor:grab;
}
.prayer-stage .player-options .player-option-detail input[type="range"]:active::-moz-range-thumb{cursor:grabbing}
.prayer-stage .player-options .player-option-detail input[type="range"]:focus-visible{
  outline:var(--focus-outline);
  outline-offset:3px;
}

/* Voice dictation state: make the listening mode unmistakable without adding audio. */
.voice-note-listening{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 18px;
  padding:12px 14px;
  border-radius:var(--radius-control);
  background:var(--purple-soft);
  color:var(--purple-ink);
}
.voice-note-listening>span:last-child{
  display:grid;
  gap:2px;
}
.voice-note-listening strong{font-size:0.9375rem;line-height:1.3}
.voice-note-listening small{font-size:0.8125rem;color:var(--muted);line-height:1.35}
.voice-note-listening-mic,
.jv2-voice-note-mic{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--purple-soft);
  color:var(--purple-ink);
  animation:voice-note-pulse 1.8s ease-in-out infinite;
}
.voice-note-listening-mic svg,
.jv2-voice-note-mic svg{width:20px;height:20px}
.jv2-voice-note-modal{width:min(94vw,560px)}
.jv2-voice-note-status{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
  color:var(--purple-ink);
}
.jv2-voice-note-status strong{font-size:1.125rem;font-weight:600}
.jv2-voice-note-help{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.45;
}
.jv2-voice-note-field{min-height:150px}
@keyframes voice-note-pulse{
  0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--purple) 20%,transparent)}
  50%{box-shadow:0 0 0 7px transparent}
}
@media(prefers-reduced-motion:reduce){
  .voice-note-listening-mic,.jv2-voice-note-mic{animation:none}
}


/* Brief guidance for hands-free voice controls. */
.prayer-stage .player-options .player-voice-help{
  margin:0 2px 9px 40px;
  color:var(--muted-light);
  font-size:0.75rem;
  line-height:1.4;
}


/* Keep the More menu parallel with the chosen scene title, without moving the title. */
.prayer-stage .prayer-head{
  position:relative;
}
.prayer-stage .prayer-head .player-menu-trigger{
  position:absolute;
  top:0;
  right:0;
  z-index:4;
  width:40px;
  height:40px;
  min-width:40px;
  min-height:40px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--muted);
  box-shadow:none;
  cursor:pointer;
}
.prayer-stage .prayer-head .player-menu-trigger .player-menu-icon{
  width:22px;
  height:22px;
  fill:currentColor;
  stroke:none;
}
.prayer-stage .prayer-head .player-menu-trigger:hover,
.prayer-stage .prayer-head .player-menu-trigger[aria-expanded="true"]{
  background:var(--soft);
  color:var(--ink);
}
.prayer-stage .prayer-head .player-menu-trigger.has-active{
  color:var(--blue-dark);
}
.jv2-notes-modal{
  width:min(94vw,560px);
}
@media(max-width:640px){
  .prayer-stage .prayer-head .player-menu-trigger{
    top:-2px;
    right:-2px;
    width:36px;
    height:36px;
    min-width:36px;
    min-height:36px;
  }
  .prayer-stage .prayer-head .player-menu-trigger .player-menu-icon{
    width:20px;
    height:20px;
  }
}


/* Show the exact prompt being read, with its position in the current section. */
.prayer-stage .player-prompt{
  width:min(680px,calc(100% - 32px));
  margin:18px auto 0;
  padding:14px 20px 15px;
  border-radius:var(--radius-control);
  background:var(--soft);
  text-align:center;
}
.prayer-stage .player-prompt-position{
  margin:0 0 7px;
  color:var(--muted-light);
  font-size:0.8125rem;
  font-weight:600;
  line-height:1.3;
  font-variant-numeric:tabular-nums;
}
.prayer-stage .player-prompt-text{
  margin:0;
  color:var(--ink);
  font-size:1.0625rem;
  line-height:1.55;
  white-space:pre-wrap;
}
@media(max-width:640px){
  .prayer-stage .player-prompt{
    width:calc(100% - 24px);
    margin-top:14px;
    padding:12px 15px 13px;
  }
  .prayer-stage .player-prompt-text{
    font-size:1rem;
    line-height:1.5;
  }
}


/* Note Taker uses the same quiet top-right close affordance as other modals. */
.voice-note-modal,
.jv2-notes-modal{
  position:relative;
}
.note-modal-close{
  position:absolute;
  top:12px;
  right:14px;
  z-index:1;
  width:var(--control-height);
  height:var(--control-height);
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid var(--line);
  border-radius:50%;
  background:var(--paper);
  color:var(--muted);
  cursor:pointer;
}
.note-modal-close:hover{
  background:var(--blue-soft);
}


/* The More panel is positioned from the heading trigger at open time. */
.prayer-stage .continuous-settings.player-options{will-change:top,left;}


/* Scripture context shown with Imagine the Scene prompts. */
.prayer-stage .player-prompt-bible{
  display:grid;
  gap:2px;
  margin:0 0 10px;
  text-align:center;
}
.prayer-stage .player-prompt-range-label{
  color:var(--muted-light);
  font-size:0.75rem;
  font-weight:700;
  letter-spacing:.045em;
  line-height:1.3;
  text-transform:uppercase;
}
.prayer-stage .player-prompt-range{
  color:var(--ink-strong);
  font-size:1rem;
  font-weight:700;
  line-height:1.35;
}
.prayer-stage .player-prompt-current{
  color:var(--muted);
  font-size:0.875rem;
  line-height:1.35;
}


/* Prompt and playback controls share one calm surface. */
.prayer-stage .player-control-surface{
  position:relative;
  width:min(760px,calc(100% - 24px));
  margin:18px auto 0;
  padding:22px 18px 18px;
  border-radius:var(--radius-control);
  background:#edf4f7;
}
.prayer-stage .player-control-surface .player-menu-trigger{
  position:absolute;
  top:9px;
  right:10px;
  z-index:4;
  width:40px;
  height:40px;
  min-width:40px;
  min-height:40px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--muted);
  box-shadow:none;
  cursor:pointer;
}
.prayer-stage .player-control-surface .player-menu-trigger .player-menu-icon{
  width:22px;
  height:22px;
  fill:currentColor;
  stroke:none;
}
.prayer-stage .player-control-surface .player-menu-trigger:hover,
.prayer-stage .player-control-surface .player-menu-trigger[aria-expanded="true"]{
  background:#dbe8ee;
  color:var(--ink);
}
.prayer-stage .player-control-surface .player-menu-trigger.has-active{
  color:var(--blue-dark);
}
.prayer-stage .player-control-surface .player-prompt{
  width:100%;
  margin:0;
  padding:8px 14px 10px;
  background:transparent;
}
.prayer-stage .player-control-surface .player{
  min-height:146px;
  margin-top:0;
}
@media(max-width:640px){
  .prayer-stage .player-control-surface{
    width:calc(100% - 16px);
    padding:20px 10px 13px;
    border-radius:var(--radius-control);
  }
  .prayer-stage .player-control-surface .player-menu-trigger{
    top:7px;
    right:7px;
    width:36px;
    height:36px;
    min-width:36px;
    min-height:36px;
  }
  .prayer-stage .player-control-surface .player-menu-trigger .player-menu-icon{
    width:20px;
    height:20px;
  }
  .prayer-stage .player-control-surface .player{
    min-height:132px;
  }
}


.prayer-stage .player-control-surface .player-menu-trigger:focus{
  outline:none;
  box-shadow:none;
}
.prayer-stage .player-control-surface .player-menu-trigger:focus-visible{
  outline:var(--focus-outline);
  outline-offset:2px;
}


/* 2026-09-25 — persistent voice-command privacy/status indicator */
.prayer-stage .prayer-head .voice-listening-indicator{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  width:max-content;
  max-width:calc(100% - 24px);
  margin:8px auto 0;
  padding:5px 10px;
  border:1px solid var(--green-border);
  border-radius:var(--radius-pill);
  background:var(--green-soft);
  color:var(--green-ink);
  font-size:0.8125rem;
  line-height:1.2;
  font-weight:700;
  box-shadow:none;
}
.prayer-stage .prayer-head .voice-listening-indicator[hidden]{
  display:none!important;
}
.prayer-stage .prayer-head .voice-listening-indicator .player-icon{
  width:15px;
  height:15px;
  flex:0 0 auto;
  stroke:currentColor;
  fill:none;
}
.prayer-stage .prayer-head .voice-listening-dot{
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:var(--green-ink);
  box-shadow:none;
  animation:voice-listening-pulse 1.7s ease-out infinite;
}
.prayer-stage .prayer-head .voice-listening-indicator.is-dictating{
  border-color:var(--purple-border);
  background:var(--purple-soft);
  color:var(--purple-ink);
}
.prayer-stage .prayer-head .voice-listening-indicator.is-dictating .voice-listening-dot{
  background:var(--purple-ink);
  box-shadow:none;
}
@keyframes voice-listening-pulse{
  0%{box-shadow:0 0 0 0 currentColor;opacity:1}
  55%{box-shadow:0 0 0 5px transparent;opacity:.9}
  100%{box-shadow:0 0 0 5px transparent;opacity:1}
}
@media (max-width:480px){
  .prayer-stage .prayer-head .voice-listening-indicator{
    margin-top:7px;
    padding:5px 9px;
    font-size:0.75rem;
  }
}
@media (prefers-reduced-motion:reduce){
  .prayer-stage .prayer-head .voice-listening-dot{animation:none}
}
.prayer-stage .player .player-small:hover:not(:disabled){
  border-color:var(--blue-border);
  background:var(--blue-soft);
  color:var(--blue-dark);
}
.prayer-stage .repeat-btn{
  border:1px solid var(--line);
  background:var(--paper-raised);
  color:var(--ink-strong);
  box-shadow:none;
}
.prayer-stage .repeat-btn:hover{
  border-color:var(--blue-border);
  background:var(--blue-soft);
  color:var(--blue-dark);
  box-shadow:none;
}
