/* HTNS v302 r24 — Songbook song viewer reference match.
   Matches the supplied light iPhone reference in both normal Resources and offline Songbook paths.
   Stage mode keeps the same geometry and swaps only the reading palette. */
/* r24 toolbar lock: regular/offline song viewers always open on the supplied light reference.
   Stage remains an explicit button action, never an inherited old preference. */
html.htns-theme-v234 body #modal .modal.htns-songbook-modal{
  padding:0!important;align-items:stretch!important;justify-content:center!important;background:rgba(12,34,52,.18)!important;
}
html.htns-theme-v234 body #modal .modal.htns-songbook-modal .sheet.htns-songbook-sheet{
  width:min(920px,100%)!important;max-width:920px!important;height:100dvh!important;max-height:100dvh!important;
  margin:0 auto!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;
  background:#f2f8fd!important;box-shadow:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-screen{height:100%!important;min-height:0!important;background:#f2f8fd!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer{position:relative!important;height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer:not(.stage-dark){background:#f2f8fd!important;color:#071c4b!important;color-scheme:light!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-tools{flex:0 0 auto!important;flex-wrap:nowrap!important;position:relative!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-actions{flex-wrap:nowrap!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-stage{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-controls{flex:0 0 auto!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-popover:not(.show){display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}


html.htns-theme-v234 body #modal .htns-songbook-sheet{
  --sb-ref-page:#f2f8fd;
  --sb-ref-surface:#ffffff;
  --sb-ref-ink:#071c4b;
  --sb-ref-ink-2:#0b2b5d;
  --sb-ref-muted:#5f7191;
  --sb-ref-blue:#3a9ce3;
  --sb-ref-blue-strong:#0b82c8;
  --sb-ref-blue-soft:#edf8ff;
  --sb-ref-blue-border:#c9e1f2;
  --sb-ref-purple:#7122d3;
  --sb-ref-shadow:0 8px 26px rgba(29,89,135,.07);
  background:var(--sb-ref-page)!important;
}

html.htns-theme-v234 body #modal .htns-songbook-screen,
html.htns-theme-v234 body #modal .htns-songbook-viewer{
  background:var(--sb-ref-page)!important;
  color:var(--sb-ref-ink)!important;
}

/* Header — pale page, strong navy title, floating white icon buttons. */
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-screen-head.stage{
  min-height:70px!important;
  grid-template-columns:48px minmax(0,1fr) auto!important;
  gap:11px!important;
  align-items:center!important;
  padding:calc(8px + env(safe-area-inset-top)) 13px 7px!important;
  overflow:visible!important;
  background:var(--sb-ref-page)!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--sb-ref-ink)!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-screen-title b{
  color:var(--sb-ref-ink)!important;
  -webkit-text-fill-color:var(--sb-ref-ink)!important;
  font-size:17px!important;
  line-height:1.14!important;
  font-weight:850!important;
  letter-spacing:-.02em!important;
  text-shadow:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-screen-title small{
  margin-top:3px!important;
  color:var(--sb-ref-muted)!important;
  -webkit-text-fill-color:var(--sb-ref-muted)!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:500!important;
  text-shadow:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-head-actions{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  overflow:visible!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-menu-wrap,
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-ref-tool-wrap{
  position:relative!important;
  overflow:visible!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer :is(.htns-songbook-back,.htns-songbook-head-action){
  width:47px!important;
  height:47px!important;
  min-width:47px!important;
  min-height:47px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid var(--sb-ref-blue-border)!important;
  border-radius:13px!important;
  background:#fff!important;
  background-image:none!important;
  color:#0878bd!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:0 4px 12px rgba(33,100,149,.05)!important;
  filter:none!important;
  text-shadow:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer :is(.htns-songbook-back,.htns-songbook-head-action) svg{
  width:21px!important;
  height:21px!important;
  color:inherit!important;
  stroke:currentColor!important;
  stroke-width:2.1!important;
  filter:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-head-action.favorite.on svg{
  fill:currentColor!important;
}

/* Top Key / Copy / Transpose / Size row. */
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-tools{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:5px 14px 7px!important;
  background:var(--sb-ref-page)!important;
  color:var(--sb-ref-ink)!important;
  overflow:visible!important;
  z-index:20!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-key{
  min-width:67px!important;
  height:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  margin-top:6px!important;
  padding:0 12px!important;
  border:1px solid #d8ebf7!important;
  border-radius:999px!important;
  background:#eaf6fe!important;
  color:#0b6eae!important;
  -webkit-text-fill-color:currentColor!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:800!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-key b{
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  font-size:inherit!important;
  font-weight:900!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-actions{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
  gap:9px!important;
  overflow:visible!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-tool{
  width:48px!important;
  min-width:48px!important;
  height:48px!important;
  min-height:48px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  padding:0!important;
  border:1px solid var(--sb-ref-blue-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  background-image:none!important;
  color:#0878bd!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:0 3px 10px rgba(33,100,149,.04)!important;
  filter:none!important;
  text-shadow:none!important;
  overflow:visible!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-tool svg{
  width:20px!important;
  height:20px!important;
  color:inherit!important;
  stroke:currentColor!important;
  stroke-width:2!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-tool .aa{
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-tool.labeled{
  margin-bottom:17px!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-tool.labeled > span{
  position:absolute!important;
  top:53px!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  color:#0d4d89!important;
  -webkit-text-fill-color:#0d4d89!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-ref-tool-wrap{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
}

/* Popovers are deliberately hidden until a reference toolbar control is tapped. */
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-popover{
  position:absolute!important;
  z-index:80!important;
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  border:1px solid #cfe4f3!important;
  border-radius:14px!important;
  background:#fff!important;
  color:var(--sb-ref-ink)!important;
  box-shadow:0 14px 34px rgba(17,67,105,.18)!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-popover.show{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-popover.more{
  top:54px!important;
  right:0!important;
  width:188px!important;
  padding:7px!important;
  gap:4px!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-popover.more > button{
  min-height:40px!important;
  display:grid!important;
  grid-template-columns:25px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  padding:7px 9px!important;
  border:0!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#123c6b!important;
  -webkit-text-fill-color:currentColor!important;
  text-align:left!important;
  box-shadow:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-popover.more > button:is(:hover,:focus-visible){background:#edf7fe!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-popover.more :is(svg,b){width:18px!important;height:18px!important;color:#0878bd!important;-webkit-text-fill-color:currentColor!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-popover.more span{font-size:11px!important;font-weight:700!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-popover.quick{
  top:59px!important;
  right:0!important;
  grid-template-columns:repeat(3,40px)!important;
  gap:4px!important;
  padding:6px!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-popover.quick > :is(button,b){
  width:40px!important;
  height:38px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:8px!important;
  background:#f2f8fd!important;
  color:#0b6eae!important;
  -webkit-text-fill-color:currentColor!important;
  font-size:13px!important;
  font-weight:850!important;
  box-shadow:none!important;
}

/* Progress bar is not part of the supplied reference. */
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-queue-progress{display:none!important;}

/* Scroll region + top section tabs. */
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-stage{
  background:var(--sb-ref-page)!important;
  color:var(--sb-ref-ink)!important;
  scrollbar-width:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-stage::-webkit-scrollbar{display:none!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-stage-inner{
  width:min(760px,100%)!important;
  min-height:100%!important;
  margin:0 auto!important;
  padding:0 13px calc(116px + env(safe-area-inset-bottom))!important;
  background:transparent!important;
  color:var(--sb-ref-ink)!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-song-meta{display:none!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-section-jumps{
  position:sticky!important;
  top:0!important;
  z-index:12!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  overflow-x:auto!important;
  margin:0 -13px 9px!important;
  padding:8px 14px 10px!important;
  background:rgba(242,248,253,.98)!important;
  box-shadow:none!important;
  scrollbar-width:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-section-jumps::-webkit-scrollbar{display:none!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-section-jumps button{
  flex:0 0 auto!important;
  min-width:100px!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 22px!important;
  border:1px solid #bedbeb!important;
  border-radius:11px!important;
  background:#f8fcff!important;
  background-image:none!important;
  color:#092c61!important;
  -webkit-text-fill-color:currentColor!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:0!important;
  text-transform:none!important;
  box-shadow:none!important;
  text-shadow:none!important;
  filter:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-section-jumps button.on{
  border-color:#3a9ce3!important;
  background:#3a9ce3!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 5px 13px rgba(58,156,227,.16)!important;
}

/* White rounded song card exactly like the supplied reference. */
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent{
  margin:0!important;
  padding:17px 14px 22px!important;
  border:1px solid #e6edf4!important;
  border-radius:20px!important;
  background:#fff!important;
  color:var(--sb-ref-ink)!important;
  box-shadow:var(--sb-ref-shadow)!important;
  overflow:hidden!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent .htns-songbook-chart{
  color:#071c4b!important;
  -webkit-text-fill-color:#071c4b!important;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif!important;
  font-weight:430!important;
  letter-spacing:-.012em!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent :is(.htns-songbook-line,.htns-songbook-token,.htns-songbook-token .htns-songbook-lyric){
  color:#071c4b!important;
  -webkit-text-fill-color:#071c4b!important;
  text-shadow:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent .htns-songbook-line{
  min-height:1.28em!important;
  line-height:1.62!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent .htns-songbook-pair-line{
  margin:.30em 0 .62em!important;
  line-height:1.52!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent .htns-songbook-token{
  padding-top:1.05em!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent :is(.htns-songbook-chord-line,.htns-songbook-token .htns-songbook-chord){
  color:#087fbe!important;
  -webkit-text-fill-color:#087fbe!important;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif!important;
  font-weight:850!important;
  text-shadow:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent .htns-songbook-chord-line{
  margin:.18em 0 .02em!important;
  font-size:.79em!important;
  line-height:1.25!important;
  letter-spacing:.01em!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent .htns-songbook-token .htns-songbook-chord{
  font-size:.72em!important;
  line-height:1!important;
}

/* Section headers: blue Verse marker, purple Chorus marker, same white card. */
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent .htns-songbook-section-title{
  position:relative!important;
  min-height:23px!important;
  margin:0 0 .70em!important;
  padding:2px 0 0 17px!important;
  border:0!important;
  background:transparent!important;
  color:#0d356c!important;
  -webkit-text-fill-color:#0d356c!important;
  font-size:.72em!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:.145em!important;
  text-transform:uppercase!important;
  text-shadow:none!important;
  scroll-margin-top:62px!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent .htns-songbook-section-title::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  width:4px!important;
  height:21px!important;
  border-radius:999px!important;
  background:#0d9fe5!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent .htns-songbook-section-title:not([data-section-index="0"]){
  margin-top:1.70em!important;
  padding-top:18px!important;
  border-top:1px solid #e4ebf3!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent .htns-songbook-section-title:not([data-section-index="0"])::before{
  top:16px!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent .htns-songbook-section-title[data-section-kind="chorus"]{
  color:var(--sb-ref-purple)!important;
  -webkit-text-fill-color:var(--sb-ref-purple)!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent .htns-songbook-section-title[data-section-kind="chorus"]::before{
  background:#a314eb!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent .htns-songbook-section-title[data-section-kind="bridge"]{
  color:#08796e!important;
  -webkit-text-fill-color:#08796e!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookViewerContent .htns-songbook-section-title[data-section-kind="bridge"]::before{
  background:#10a996!important;
}

/* Existing notes/media remain compatible while using the same card language. */
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-shared-note{
  margin:0 0 9px!important;
  border:1px solid #dce9f4!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#24496d!important;
  box-shadow:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer #htnsSongbookMedia{
  margin-top:10px!important;
}

/* Bottom floating control tray. Single-song layout is the exact PREV / key / Lyrics / Scroll / Tempo / Pad / Stage composition. */
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-viewer-controls{
  position:fixed!important;
  left:50%!important;
  right:auto!important;
  bottom:calc(5px + env(safe-area-inset-bottom))!important;
  width:min(906px,calc(100vw - 14px))!important;
  max-width:calc(100vw - 14px)!important;
  transform:translateX(-50%)!important;
  z-index:2147483000!important;
  padding:5px 6px 7px!important;
  border:1px solid #deebf5!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.985)!important;
  background-image:none!important;
  box-shadow:0 5px 18px rgba(24,80,122,.07)!important;
  backdrop-filter:blur(10px)!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
  touch-action:manipulation!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-next-preview{
  min-height:12px!important;
  padding:0 8px 4px!important;
  color:#0a356a!important;
  -webkit-text-fill-color:#0a356a!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-align:left!important;
  overflow:visible!important;
  white-space:nowrap!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-control-row{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  padding:0!important;
  overflow-x:auto!important;
  scroll-padding-inline:0!important;
  scrollbar-width:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-control-row::-webkit-scrollbar{display:none!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-live-btn{
  width:45px!important;
  min-width:45px!important;
  height:46px!important;
  min-height:46px!important;
  flex:0 0 45px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  padding:3px!important;
  border:1px solid #c7e0f1!important;
  border-radius:10px!important;
  background:#fbfdff!important;
  background-image:none!important;
  color:#0874b9!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;
  text-shadow:none!important;
  filter:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-live-btn svg{
  width:18px!important;
  height:18px!important;
  color:#0874b9!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  filter:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-live-btn > span{
  color:#0b3d76!important;
  -webkit-text-fill-color:#0b3d76!important;
  font-size:7px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-live-btn:is(.on,[aria-pressed="true"]){
  border-color:#82c4ea!important;
  background:#e8f6ff!important;
  color:#0874b9!important;
  box-shadow:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-live-btn:disabled{
  opacity:.28!important;
  background:#f5f8fb!important;
  color:#7d9bb3!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-key-stepper{
  width:103px!important;
  min-width:103px!important;
  height:46px!important;
  min-height:46px!important;
  flex:0 0 103px!important;
  display:grid!important;
  grid-template-columns:32px 39px 32px!important;
  align-items:center!important;
  gap:0!important;
  padding:0!important;
  border:1px solid #c7e0f1!important;
  border-radius:10px!important;
  background:#fbfdff!important;
  background-image:none!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-key-stepper button{
  width:32px!important;
  height:44px!important;
  min-width:32px!important;
  min-height:44px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#0874b9!important;
  -webkit-text-fill-color:currentColor!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:700!important;
  box-shadow:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-key-stepper > b{
  min-width:39px!important;
  color:#0b4f8a!important;
  -webkit-text-fill-color:#0b4f8a!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:850!important;
  text-align:center!important;
  background:transparent!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-key-stepper :is(button + b,b + button){
  border-left:1px solid #dceaf4!important;
}

/* Stage mode uses the same layout, just a high-contrast navy reading palette. */
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark{
  --sb-ref-page:#091d31;
  --sb-ref-surface:#102a42;
  --sb-ref-ink:#f1f7fc;
  --sb-ref-ink-2:#e4f0f8;
  --sb-ref-muted:#afc5d7;
  --sb-ref-blue:#79c8f5;
  --sb-ref-blue-strong:#8bd3fb;
  --sb-ref-blue-soft:#153852;
  --sb-ref-blue-border:#31546c;
  --sb-ref-purple:#d6afff;
  background:var(--sb-ref-page)!important;
  color:var(--sb-ref-ink)!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark :is(.htns-songbook-screen-head.stage,.htns-songbook-reference-tools,.htns-songbook-viewer-stage,.htns-songbook-section-jumps){
  background:var(--sb-ref-page)!important;
  color:var(--sb-ref-ink)!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark .htns-songbook-screen-title b{color:#f1f7fc!important;-webkit-text-fill-color:#f1f7fc!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark .htns-songbook-screen-title small{color:#afc5d7!important;-webkit-text-fill-color:#afc5d7!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark :is(.htns-songbook-back,.htns-songbook-head-action,.htns-songbook-reference-tool){
  border-color:#31546c!important;
  background:#102a42!important;
  color:#9ddaff!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark .htns-songbook-reference-key{
  border-color:#31546c!important;background:#14334d!important;color:#9ddaff!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark .htns-songbook-reference-tool.labeled > span{color:#c9dfed!important;-webkit-text-fill-color:#c9dfed!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark .htns-songbook-section-jumps{background:rgba(9,29,49,.98)!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark .htns-songbook-section-jumps button{border-color:#31546c!important;background:#102a42!important;color:#dceaf4!important;-webkit-text-fill-color:#dceaf4!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark .htns-songbook-section-jumps button.on{border-color:#58aee1!important;background:#2378ad!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark #htnsSongbookViewerContent{
  border-color:#264862!important;background:#102a42!important;box-shadow:none!important;color:#eef6fb!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark #htnsSongbookViewerContent :is(.htns-songbook-chart,.htns-songbook-line,.htns-songbook-token,.htns-songbook-token .htns-songbook-lyric){color:#eef6fb!important;-webkit-text-fill-color:#eef6fb!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark #htnsSongbookViewerContent :is(.htns-songbook-chord-line,.htns-songbook-token .htns-songbook-chord){color:#8bd3fb!important;-webkit-text-fill-color:#8bd3fb!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark #htnsSongbookViewerContent .htns-songbook-section-title{color:#b8ddf5!important;-webkit-text-fill-color:#b8ddf5!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark #htnsSongbookViewerContent .htns-songbook-section-title[data-section-kind="chorus"]{color:#d6afff!important;-webkit-text-fill-color:#d6afff!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark #htnsSongbookViewerContent .htns-songbook-section-title:not([data-section-index="0"]){border-top-color:#2b4a61!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark .htns-songbook-viewer-controls{
  border-color:#294b64!important;background:rgba(12,37,58,.985)!important;box-shadow:none!important;
}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark .htns-songbook-next-preview{color:#c5d9e7!important;-webkit-text-fill-color:#c5d9e7!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark :is(.htns-songbook-live-btn,.htns-songbook-key-stepper){border-color:#31546c!important;background:#102a42!important;color:#dceaf4!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark .htns-songbook-live-btn svg{color:#9ddaff!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark .htns-songbook-live-btn > span{color:#d8e8f2!important;-webkit-text-fill-color:#d8e8f2!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark .htns-songbook-key-stepper :is(button,b){color:#9ddaff!important;-webkit-text-fill-color:#9ddaff!important;}
html.htns-theme-v234 body #modal .htns-songbook-viewer.stage-dark .htns-songbook-live-btn:is(.on,[aria-pressed="true"]){border-color:#66b3df!important;background:#205b7c!important;color:#fff!important;}

/* Small iPhone widths: preserve the reference proportions without horizontal clipping. */
@media(max-width:390px){
  html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-screen-head.stage{grid-template-columns:44px minmax(0,1fr) auto!important;gap:8px!important;padding-left:10px!important;padding-right:10px!important;}
  html.htns-theme-v234 body #modal .htns-songbook-viewer :is(.htns-songbook-back,.htns-songbook-head-action){width:43px!important;height:43px!important;min-width:43px!important;min-height:43px!important;}
  html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-tools{padding-left:10px!important;padding-right:10px!important;}
  html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-actions{gap:6px!important;}
  html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-tool{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;}
  html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-reference-tool.labeled > span{top:49px!important;font-size:8px!important;}
  html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-live-btn{width:41px!important;min-width:41px!important;flex-basis:41px!important;padding-left:2px!important;padding-right:2px!important;}
  html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-key-stepper{width:91px!important;min-width:91px!important;flex-basis:91px!important;grid-template-columns:28px 35px 28px!important;}
  html.htns-theme-v234 body #modal .htns-songbook-viewer .htns-songbook-key-stepper button{width:28px!important;min-width:28px!important;}
}
