:root:root body button.verse-audio-button {
  float:left;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  margin:calc((1.65em - 34px)/2) 8px 0 0;
  padding:5px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:var(--verse-audio-color,#ff9800);
  font-size:inherit;
  line-height:1;
  cursor:pointer;
  touch-action:manipulation;
}
:root:root body button.verse-audio-button svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }
:root:root body button.verse-audio-button:hover { background:#ff98001a; border-color:#ff980070; }
:root:root body button.verse-audio-button.is-playing { color:var(--verse-audio-playing-color,#63b3ff); background:#63b3ff1a; border-color:#63b3ff70; }
:root:root body button.verse-audio-button:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
:root:root body button.verse-audio-button.has-error { border-color:currentColor; }
:root:root body .audio-verse-current { outline:1px solid #ff9800; outline-offset:3px; border-radius:8px; }
:root:root body .surah-audio-transport { position:fixed;z-index:1200;left:50%;transform:translateX(-50%);bottom:0;display:flex;align-items:center;gap:10px;box-sizing:border-box;width:560px;max-width:calc(100vw - 16px);padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));border:1px solid #b87927;border-radius:14px 14px 0 0;background:#181818f5;color:#eee;box-shadow:0 6px 28px #0007;font:13px/1.4 system-ui,sans-serif; }
:root:root body .surah-audio-transport[hidden] { display:none!important; }
:root:root body .audio-transport-current { color:#77baff;direction:ltr;unicode-bidi:plaintext;font-variant-numeric:tabular-nums;flex:1;min-width:0;text-align:center;overflow-wrap:anywhere; }
:root:root body .surah-audio-transport button { display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;padding:7px;border:1px solid #ffffff20;border-radius:9px;background:#ffffff08;color:inherit;cursor:pointer;transition:background .15s,border-color .15s; }
:root:root body .surah-audio-transport button svg { width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none; }
:root:root body .surah-audio-transport [data-audio-toggle] { background:#ff9800;color:#17120b;border-color:#ff9800; }
:root:root body .surah-audio-transport button:hover { border-color:#ff9800;background:#ff980020; }
:root:root body .surah-audio-transport [data-audio-toggle]:hover { background:#ffb347; }
:root:root body .surah-audio-transport :is(button,input):focus-visible { outline:2px solid #77baff;outline-offset:2px; }
:root:root body .audio-transport-jump { flex-shrink:0;display:flex;align-items:center;gap:6px;margin:0;padding-inline-start:10px;border-inline-start:1px solid #ffffff24; }
:root:root body .audio-transport-jump label { display:flex;align-items:center;gap:6px;white-space:nowrap; }
:root:root body .audio-transport-jump input { appearance:textfield;-moz-appearance:textfield;width:64px;height:34px;padding:5px;box-sizing:border-box;border:1px solid #ffffff30;border-radius:8px;background:#ffffff08;color:inherit;font:inherit;text-align:center; }
:root:root body .audio-transport-jump input::-webkit-inner-spin-button,:root:root body .audio-transport-jump input::-webkit-outer-spin-button { -webkit-appearance:none;margin:0; }
:root:root body .audio-transport-jump button { color:#ffb14d; }
@media(max-width:360px) { :root:root body .surah-audio-transport { gap:6px;padding:7px 7px calc(7px + env(safe-area-inset-bottom,0px)); } :root:root body .audio-transport-jump { padding-inline-start:6px;gap:5px; } }
:root:root body.theme-light { --verse-audio-color:#c66b00; --verse-audio-playing-color:#176cc2; }
:root:root body button.surah-audio-button { float:none; width:auto; height:36px; gap:7px; margin:8px 0 14px; padding:5px 11px; border-color:#ff980070; font:500 13px/1.3 system-ui,sans-serif; }
:root:root body .surah-audio-controls { display:flex; align-items:center; flex:0 1 auto; min-width:0; }
:root:root body .surah-audio-controls button.surah-audio-button,
:root:root body .classic-settings button.surah-audio-button { margin:0; white-space:nowrap; }
:root:root body .classic-settings:has(>.surah-audio-button) { display:flex; align-items:center; gap:8px; }
:root:root body .classic-settings>.surah-audio-button { order:-1; }
@media(max-width:760px) {
  :root:root body.parchment-page .simple-topbar:has(.surah-audio-button) { grid-template-columns:80px minmax(0,1fr) auto; gap:8px; }
}
@media(max-width:360px) {
  :root:root:root body main .breadcrumb-row:has(>.surah-audio-controls) { gap:4px; }
  :root:root body button.surah-audio-button { gap:4px; padding-inline:7px; font-size:12px; }
  :root:root body button.surah-audio-button svg { width:19px; height:19px; }
}

/* NT audio belongs to the selected original text layer. */
:root:root body.parchment-page:not([data-classic-original="true"]) button.verse-audio-button:not(.meal-audio-button)[data-verse-audio^="INC:"],
:root:root body:not(.parchment-page):not(.show-arabic) button.verse-audio-button:not(.meal-audio-button)[data-verse-audio^="INC:"] { display:none; }

/* Original-language audio follows the selected original layer in classic reading. */
:root:root body.parchment-page:not([data-classic-original="true"]) button.verse-audio-button:not(.meal-audio-button):is([data-verse-audio^="TEV:"],[data-verse-audio^="QUR:"]) { display:none; }

/* In classic reading only the first text line makes room for the speaker. */
:root:root body.parchment-page :is(.classic-translation,.classic-original)>button.verse-audio-button:not(.meal-chapter-button){box-sizing:border-box;height:calc(1lh - 1px);min-height:0;margin:0 8px 0 0;padding:0 5px;line-height:inherit}
