
.quran-resume-wrap {
  width: 100%;
  margin-top: 6px;
  margin-bottom: 6px;
}

.quran-resume-title {
  width: 100%;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.55;
  margin-bottom: 10px;
  padding-left: 4px;
  text-align: left;
}

.quran-resume-banner {
  position: relative;
  width: 100%;
  min-height: 118px;
  border-radius: 32px;
  box-sizing: border-box;
  padding: 18px 20px;
  cursor: pointer;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(120, 20, 20, 0.45) 0%, rgba(40, 5, 5, 0.55) 60%, rgba(20, 2, 2, 0.65) 100%);
}

.quran-resume-banner:active {
  transform: scale(0.98);
}

.qrb-decoration {
  position: absolute;
  right: -6px;
  bottom: -10px;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.18;
  pointer-events: none;
}

.qrb-book-icon {
  font-size: 78px;
  color: #fff;
}

.qrb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.qrb-surah {
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qrb-arrow {
  font-size: 20px;
  opacity: 0.7;
  flex-shrink: 0;
}

.qrb-meta {
  font-size: 13px;
  opacity: 0.65;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 1;
}

.qrb-continue {
  font-size: 14px;
  font-weight: 700;
  color: #ef4444;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.contentlist {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: calc(env(safe-area-inset-top) + 200px);
  padding-left: 22px;
  padding-right: 22px;
  padding-bottom: 120px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.surah-list {

  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.juz-title {
  font-size: 16px;
  font-weight: 700;
  padding: 18px 10px 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.4;
  text-align: left;
  width: 100%;
  display: block;
}

.hizb-title {
  font-size: 11px;
  font-weight: 600;
  padding: 0 10px 6px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.3;
  text-align: left;
  width: 100%;
  display: block;
}

.surah-item {
  width: 100%;
  height: 80px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  box-sizing: border-box;
  cursor: pointer;
}

.s-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  background: rgba(192, 57, 43, 0.1);
  color: #c0392b;
}

.s-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.s-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.s-english {
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s-verses {
  font-size: 12px;
  opacity: 0.5;
  font-weight: 400;
}

.s-arabic {
  font-family: "Amiri Quran", serif;
  font-size: 26px;
  direction: rtl;
  text-align: right;
  flex-shrink: 0;
  margin-left: 8px;
}


#viewer {
  --qtheme-bg: #050505;
  --qtheme-text: #f2f2f2;
  --qtheme-accent: #ef4444;
}

#viewer[data-quran-theme="sepia"] {
  --qtheme-bg: #f4ecd8;
  --qtheme-text: #3b2f1e;
  --qtheme-accent: #8a6d3b;
}

#viewer[data-quran-theme="emerald"] {
  --qtheme-bg: #06231b;
  --qtheme-text: #eaf5ef;
  --qtheme-accent: #2fae76;
}

#viewer[data-quran-theme="midnight"] {
  --qtheme-bg: #05070f;
  --qtheme-text: #dbe4ff;
  --qtheme-accent: #6ea8ff;
}

#viewer[data-quran-theme="paper"] {
  --qtheme-bg: #fbf8f2;
  --qtheme-text: #1e1e1e;
  --qtheme-accent: #b0512b;
}

#viewer[data-quran-theme="rose"] {
  --qtheme-bg: #1a0a10;
  --qtheme-text: #f7e6ec;
  --qtheme-accent: #e0648a;
}

#viewer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  flex-direction: column;
  padding: 0;
  display: none;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  z-index: 500000;
  background: var(--qtheme-bg);
  color: var(--qtheme-text);
  transition: background 0.3s ease, color 0.3s ease;
}

#viewer.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

#viewer #pages {
  background: var(--qtheme-bg);
  color: var(--qtheme-text);
  transition: background 0.3s ease, color 0.3s ease;
}

#viewer .closescreen {
  color: #ffffff;
}

body.light-mode #viewer .closescreen {
  color: #000000;
}

.surah-end-nav {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
}

.surah-end-nav.hidden {
  display: none;
}

.surah-end-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #db0000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.surah-end-nav-btn .material-symbols-outlined {
  font-size: 18px;
}

.surah-end-nav-btn:active {
  background: #b00000;
}

.surah-end-nav-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

#controlsurah {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  width: 90%;
  padding: 0 1px;
  border-radius: 50px;
  z-index: 999;
  box-sizing: border-box;
}

.controlsurahbtn {
  width: 65px;
  height: 65px;
  border-radius: 50px;
}

.status {
  font-size: 14px;
  opacity: 0.6;
  text-align: center;
  padding: 8px 0;
}

#pages {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 30px;
  padding: 24px 22px 200px;
  box-sizing: border-box;
  font-family: "Amiri Quran", serif;
  direction: rtl;
  text-align: justify;
}

.page {
  width: 100%;
  display: block;
  direction: rtl;
  text-align: justify;
  margin-bottom: 8px;
}

.ayah {
  display: inline;
  font-family: "Amiri Quran", serif;
  font-size: clamp(28px, 4.4vw, 30px);
  line-height: 2.3;
  cursor: pointer;
  border-radius: 8px;
}

.ayah-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  margin: 0 4px;
  vertical-align: middle;
  border-radius: 50%;
}

.bismillah {
  display: block;
  text-align: center;
  font-family: "Amiri Quran", serif;
  font-size: clamp(26px, 7vw, 32px);
  margin: 12px 0 20px;
  width: 100%;
  direction: rtl;
}

.page-num {
  margin-top: 24px;
  text-align: left;
  font-size: 13px;
  opacity: 0.4;
  width: 100%;
  direction: ltr;
}

.ayah.playing-ayah {
  background: rgba(192, 57, 43, 0.18);
  border-radius: 8px;
}

.ayah.bookmarked-green {
  background: rgba(46, 204, 113, 0.22);
  border-radius: 8px;
}

.ayah.bookmarked-red {
  background: rgba(231, 76, 60, 0.22);
  border-radius: 8px;
}

.ayah.bookmarked-blue {
  background: rgba(52, 152, 219, 0.22);
  border-radius: 8px;
}



.quran-control-bar {
  position: fixed;
  border: none;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  border-radius: 40px 40px 0 0;
  z-index: 9999999;
  box-sizing: border-box;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 30px calc(env(safe-area-inset-bottom) + 10px);
}

.quran-control-bar--hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(100%);
}

.qcb-progress {
  width: 85%;
  height: 6px;
  background: rgba(128, 128, 128, 0.2);
  border-radius: 50px;
  overflow: visible;
  margin: 0 auto 4px;
  position: relative;
  cursor: pointer;
  touch-action: none;
}

.qcb-progress-bar {
  height: 100%;
  width: 0%;
  background: #c0392b;
  border-radius: 50px;
  transition: width 0.4s linear;
  position: absolute;
  top: 0;
  left: 0;
}

.qcb-progress-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #c0392b;
  left: 0%;
  transition: left 0.4s linear;
  pointer-events: none;
}

.qcb-seek-tooltip {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #c0392b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  font-family: sans-serif;
}

.qcb-seek-tooltip.visible {
  opacity: 1;
}

.qcb-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px;
  gap: 16px;
  width: 100%;
  position: relative;
  flex: 1;
}

.qcb-left,
.qcb-right {
  display: flex;
  align-items: center;
  gap: 10px;
}


.ctrl-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  background: transparent;
  border: none;
}

.ctrl-btn .material-symbols-outlined {
  font-size: 26px;
}

.ctrl-btn--play {
  width: 60px;
  height: 60px;
}

.ctrl-btn--play .material-symbols-outlined {
  font-size: 34px;
  color: #c0392b;
}

.ctrl-btn--speed {
  width: 40px;
  height: 40px;
}

.speed-label {
  font-size: 12px;
  font-weight: 700;
  font-family: sans-serif;
}

.ayah-sheet {
  position: fixed;
  inset: 0;
  z-index: 10000000;
  pointer-events: none;
}

#ayahTafseerScreen {
  z-index: 600000;
}

.ayah-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.ayah-sheet.open .ayah-sheet-backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: all;
}

.ayah-sheet-panel {
  background: rgba(176, 5, 5, 0.28);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 30px 30px 0 0;
  padding: 0 0 24px;
  max-height: 80vh;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-bottom: none;
  overflow-y: auto;
  transform: translateY(30px) scale(0.98);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
  pointer-events: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.ayah-sheet.open .ayah-sheet-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.ayah-sheet-header {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 26px 22px 16px;
  direction: rtl;
  text-align: right;
  border-bottom: 1px solid rgba(239, 68, 68, 0.18);
  margin-bottom: 0;
  background: rgba(45, 7, 5, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 30px 30px 0 0;
}

.ayah-sheet-header::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.ayah-sheet-ref {
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.5;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  direction: ltr;
  text-align: left;
}

.ayah-sheet-arabic {
  color: #ffffff;
  font-family: "Amiri Quran", serif;
  font-size: clamp(22px, 5vw, 26px);
  line-height: 1.9;
  direction: rtl;
  text-align: right;
}


.ayah-sheet-content {
  padding: 20px 22px 8px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ayah-sheet-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ayah-sheet-section-label {
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.4;
}

.tafseer-source-label {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
  opacity: 0.6;
  margin-left: 6px;
}

.tafseer-source-label:not(:empty)::before {
  content: "· ";
}


.play-tab-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.play-tab-btn {
  color: #ffffff;
  width: 100%;
  height: 58px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}

.play-tab-btn:active {
  transform: scale(0.97);
}

.play-tab-btn--primary {
  background: #db0000;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#sheetPlayLabel,
#sheetPlayIcon,
#sheetRangePlayIcon,
#sheetRangePlayLabel,
#bookmarkRemoveIcon,
#bookmarkRemoveLabel {
  color: #ffffff;
}

.bookmark-color-text {
  color: #ffffff;
}

.play-tab-btn .material-symbols-outlined {
  color: #ffffff;
  font-size: 24px;
}

.play-tab-btn--stop {
  background: rgba(192, 57, 43, 0.1) !important;
  color: #c0392b !important;
}

.range-row {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.range-field {
  color: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tafseer-content {
  font-size: 15px;
  line-height: 1.8;
  direction: ltr;
  text-align: left;
  min-height: 80px;
}

.tafseer-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
  font-size: 14px;
}

.tafseer-preview-text {
  cursor: pointer;
}

.tafseer-more-btn {
  display: inline;
  margin-left: 4px;
  padding: 0;
  border: none;
  background: none;
  color: #ef4444;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.tafseer-source-select {
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
}

.tafseer-spinner {
  font-size: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.bookmark-colors {
  display: flex;

  gap: 12px;
  margin-bottom: 16px;
}

.bookmark-color-btn {
  flex: 1;
  height: 58px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.15s ease-out;
}

.bookmark-color-btn:active {
  transform: scale(0.97);
}

.bookmark-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: block;
}

.bookmark-color-btn.active {
  outline: 2px solid #c0392b;
  outline-offset: 2px;
}

.bookmark-remove-btn {
  width: 100%;
  height: 50px;
  border-radius: 50px;
  display: flex;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  opacity: 0.5;
  margin-bottom: 8px;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}

.bookmark-remove-btn:active {
  transform: scale(0.97);
}

.bookmark-remove-btn .material-symbols-outlined {
  font-size: 20px;
}

.bookmark-status {
  font-size: 13px;
  text-align: center;
  opacity: 0.6;
  min-height: 20px;
}

#pages:has(.verse-card) {
  display: flex;
  flex-direction: column;
  direction: ltr;
  text-align: left;
  gap: 0;
  padding-top: 10px;
}

.verse-bismillah {
  text-align: center;
  width: 100%;
  margin: 8px 0 24px;
  direction: rtl;
}

.verse-card {
  width: 100%;
  padding: 20px 0 0;
  box-sizing: border-box;
}

.verse-ref {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.5;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
}

.verse-arabic {
  display: block;
  direction: rtl;
  text-align: right;
  font-family: "Amiri Quran", serif;
  font-size: clamp(26px, 4.4vw, 30px);
  line-height: 2;
  margin-bottom: 12px;
  white-space: normal;
}

.verse-transliteration {
  font-size: 15px;
  font-style: italic;
  opacity: 0.6;
  line-height: 1.7;
  direction: ltr;
  text-align: left;
  margin-bottom: 20px;
  font-family: sans-serif;
  letter-spacing: 0.2px;
}

.verse-divider {
  height: 1px;
  opacity: 0.12;
  margin: 0 0 4px;
}

#box8 {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: flex-start;
}

#daily-ayah {
  direction: ltr;
  text-align: left;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  padding: 0 10px 20px 10px;
  margin-top: 10px;
  box-sizing: border-box;
}

.ayah-ref {
  font-size: 12px;
  color: #c71818;
  letter-spacing: 0.5px;
  text-align: right;
  width: 100%;
  margin-bottom: 8px;
}

.daily-ayah {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.ayah-arabic {
  text-align: right;
  font-family: "Amiri Quran", serif;
  font-size: clamp(26px, 4.4vw, 28px);
  word-break: keep-all;
  white-space: normal;
  width: 100%;
}

.ayah-translation {
  font-family: "Satisfy", cursive;
  line-height: 1.6;
  font-size: clamp(16px, 4.4vw, 18px);
  text-align: left;
  margin-bottom: 10px;
}

.ayah-translation::before {
  content: '"';
}

.ayah-translation::after {
  content: '"';
}

#daily-ayah .ayah-arabic {
  font-size: clamp(18px, 4vw, 21px);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#daily-ayah .ayah-translation {
  font-size: clamp(13px, 4vw, 15px);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ayah-more-btn {
  align-self: flex-end;
  margin: 4px 10px 16px 0;
  padding: 6px 18px;
  border-radius: 50px;
  border: none;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.ayah-more-btn:active {
  transform: scale(0.94);
}

.ayah.progress-ayah {
  background: rgba(192, 57, 43, 0.25);
  border-radius: 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.ayah.progress-ayah-khatma {
  background: rgba(39, 174, 96, 0.25);
  border-radius: 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.ayah.ayah-flash {
  animation: ayahFlash 1.2s ease-out;
}

.ayah.ayah-flash-khatma {
  animation: ayahFlashKhatma 1.2s ease-out;
}

@keyframes ayahFlash {
  0% {
    background: rgba(192, 57, 43, 0.7);
  }

  40% {
    background: rgba(192, 57, 43, 0.5);
  }

  100% {
    background: rgba(192, 57, 43, 0.25);
  }
}

@keyframes ayahFlashKhatma {
  0% {
    background: rgba(39, 174, 96, 0.7);
  }

  40% {
    background: rgba(39, 174, 96, 0.5);
  }

  100% {
    background: rgba(39, 174, 96, 0.25);
  }
}

.qs-preview {
  width: 100%;
  border-radius: 20px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 8px;
}

.qs-preview-arabic {
  font-family: 'Amiri Quran', serif;
  font-size: 28px;
  line-height: 1.8;
  direction: rtl;
  text-align: right;
  width: 100%;
}

.qs-preview-translation {
  font-size: 14px;
  opacity: 0.6;
  direction: ltr;
  text-align: left;
  width: 100%;
  line-height: 1.5;
}

#quranSettingsInner {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: calc(env(safe-area-inset-top) + 80px) 22px calc(env(safe-area-inset-bottom, 0px) + 110px) 22px;
  width: 100%;
  box-sizing: border-box;
  overflow-y: auto;
  height: 100%;
}

.qs-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.qs-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding-left: 4px;
}

.qs-select {
  width: 100%;
  height: 56px;
  border-radius: 50px;
  font-size: 16px;
  padding: 0 20px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.qs-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  border-radius: 50px;
  padding: 0 16px;
  box-sizing: border-box;
}

.qs-step-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#qsFontSizeVal,
#qsTranslationSizeVal {
  font-size: 22px;
  font-weight: 700;
  min-width: 50px;
  text-align: center;
}


.qs-toggle {
  position: relative;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

.qs-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.qs-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(128, 128, 128, 0.3);
  border-radius: 50px;
  cursor: pointer;
}

.qs-toggle-slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.qs-toggle input:checked+.qs-toggle-slider {
  background: #c0392b;
}

.qs-toggle input:checked+.qs-toggle-slider::after {
  transform: translateX(22px);
}

.qtheme-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.qtheme-swatch {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s, border-color 0.15s;
}

.qtheme-swatch.active {
  border-color: #fff;
  transform: scale(1.08);
}

.qtheme-swatch[data-theme="classic"] { background: #0d0d0d; }
.qtheme-swatch[data-theme="sepia"] { background: #f4ecd8; }
.qtheme-swatch[data-theme="emerald"] { background: #06231b; }
.qtheme-swatch[data-theme="midnight"] { background: #0a1330; }
.qtheme-swatch[data-theme="paper"] { background: #fbf8f2; }
.qtheme-swatch[data-theme="rose"] { background: #2a0f18; }

.qmushaf-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qmushaf-btn {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.55;
  text-align: center;
  cursor: pointer;
}

.qmushaf-btn.active {
  opacity: 1;
}

.khatma-card-wrap {
  width: 100%;
  margin-top: 6px;
  margin-bottom: 28px;
  cursor: pointer;
}

.khatma-card {
  width: 100%;
  min-height: 84px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  box-sizing: border-box;
  transition: transform 0.15s ease-out;
}

.khatma-card:active {
  transform: scale(0.98);
}

.khatma-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.khatma-card-icon .material-symbols-outlined {
  font-size: 24px;
  color: #ef4444;
}

.khatma-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.khatma-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.khatma-card-sub {
  font-size: 13px;
  opacity: 0.55;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.khatma-card-arrow {
  opacity: 0.4;
  flex-shrink: 0;
  color: #fff;
}

.khatma-ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: conic-gradient(#ef4444 calc(var(--khatma-pct, 0) * 1%), rgba(255, 255, 255, 0.08) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 4px;
  flex-shrink: 0;
  transition: background 0.5s ease-out;
}

.khatma-ring--sm {
  width: 52px;
  height: 52px;
  margin: 0;
}

.khatma-ring-inner {
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: #0d0606;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.khatma-ring--sm .khatma-ring-inner {
  width: 76%;
  height: 76%;
}

.khatma-ring-pct {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}

.khatma-ring--sm .khatma-ring-pct {
  font-size: 12px;
  font-weight: 700;
}

.khatma-ring-label {
  font-size: 11px;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

#khatmaScreenInner {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: calc(env(safe-area-inset-top) + 80px) 22px calc(env(safe-area-inset-bottom, 0px) + 110px) 22px;
  width: 100%;
  box-sizing: border-box;
  overflow-y: auto;
  height: 100%;
}

.khatma-setup {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.khatma-setup-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 0;
}

.khatma-setup-icon .material-symbols-outlined {
  font-size: 30px;
  color: #ef4444;
}

.khatma-setup-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-align: center;
}

.khatma-setup-sub {
  font-size: 14px;
  opacity: 0.55;
  color: #fff;
  text-align: center;
  line-height: 1.5;
  padding: 0 12px;
}

.khatma-preset-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.khatma-preset-btn {
  width: 100%;
  height: 62px;
  border-radius: 20px;
  border: 2px solid transparent;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: transform 0.15s ease-out, border-color 0.15s ease-out;
}

.khatma-manage-preset-btn.active {
  border-color: #ef4444;
}

.khatma-preset-btn:active {
  transform: scale(0.97);
}

.khatma-preset-days {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.khatma-preset-sub {
  font-size: 12px;
  opacity: 0.5;
  color: #fff;
}

.khatma-custom-row {
  display: flex;
  gap: 10px;
}

.khatma-custom-hint {
  font-size: 12px;
  font-weight: 600;
  color: #ef4444;
  opacity: 0.85;
  padding-left: 4px;
  margin-top: 10px;
  min-height: 16px;
}

.khatma-custom-row input {
  flex: 1;
  color: #fff;
}

.khatma-custom-row input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.khatma-custom-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.15s ease-out;
}

.khatma-custom-btn:active {
  transform: scale(0.93);
}

.khatma-custom-btn .material-symbols-outlined {
  color: #fff;
}

.khatma-active {
  display: flex;
  flex-direction: column;
  gap: 26px;
  flex: 1;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.khatma-hero {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  border-radius: 28px;
  padding: 32px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.khatma-status-msg {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 16px;
  color: #fff;
}

.khatma-status-msg--ontrack {
  background: rgba(46, 204, 113, 0.12);
  color: #2ecc71;
}

.khatma-status-msg--behind {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.khatma-status-msg--done {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.khatma-stat-list {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.khatma-stat-list-row {
  width: 100%;
  box-sizing: border-box;
  border-radius: 20px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.khatma-stat-list-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.khatma-stat-list-icon .material-symbols-outlined {
  font-size: 20px;
  color: #ef4444;
}

.khatma-stat-list-label {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.khatma-stat-list-value {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.khatma-time-chart-wrap {
  height: 240px;
}

.khatma-stats-summary {
  width: 100%;
  border-radius: 28px;
  padding: 28px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  margin-bottom: 18px;
}

.khatma-stats-summary-num {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
}

.khatma-stats-summary-label {
  font-size: 13px;
  opacity: 0.55;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

#khatmaStatsScreen .stats-section-title {
  width: 100%;
  box-sizing: border-box;
}

.khatma-daily-table-wrap {
  width: 100%;
  box-sizing: border-box;
  border-radius: 24px;
  padding: 8px 16px;
  margin-bottom: 8px;
}

.khatma-daily-table {
  width: 100%;
  border-collapse: collapse;
}

.khatma-daily-table thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  opacity: 0.4;
  color: #fff;
  padding: 10px 0;
}

.khatma-daily-table thead th:last-child {
  text-align: right;
}

.khatma-daily-table tbody td {
  font-size: 14px;
  color: #fff;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.khatma-daily-table tbody td:last-child {
  text-align: right;
  font-weight: 700;
  color: #ef4444;
}

.khatma-daily-table-empty {
  font-size: 13px;
  opacity: 0.5;
  color: #fff;
  text-align: center;
  padding: 16px 0;
}

#khatmaManageScreenInner {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: calc(env(safe-area-inset-top) + 80px) 22px calc(env(safe-area-inset-bottom, 0px) + 110px) 22px;
  width: 100%;
  box-sizing: border-box;
  overflow-y: auto;
  height: 100%;
}

.khatma-manage-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 60px 20px;
  text-align: center;
}

.khatma-manage-empty-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.khatma-manage-empty-sub {
  font-size: 13px;
  opacity: 0.5;
  color: #fff;
}

.khatma-manage-active {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.khatma-manage-current {
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.khatma-manage-current-value {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.khatma-reset-inline-btn {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #ef4444;
  cursor: pointer;
  transition: transform 0.15s ease-out;
}

.khatma-reset-inline-btn:active {
  transform: scale(0.97);
}

.khatma-widget-card {
  width: 100%;
  height: auto;
  flex-direction: column;
  align-items: stretch;
  padding: 18px 18px 16px;
  gap: 0;
  cursor: pointer;
  transition: transform 0.15s ease-out;
}

.khatma-widget-card:active {
  transform: scale(0.98);
}

.khatma-widget-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 14px 10px 6px;
}

.khatma-widget-empty-icon {
  font-size: 30px;
  color: #ef4444;
  opacity: 0.8;
  margin-bottom: 4px;
}

.khatma-widget-empty-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.khatma-widget-empty-sub {
  font-size: 12px;
  opacity: 0.55;
  color: #fff;
  max-width: 260px;
}

.khatma-widget-empty-btn {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: #ef4444;
  cursor: pointer;
}

.khatma-widget-empty-btn .material-symbols-outlined {
  font-size: 17px;
  opacity: 1;
}

.khatma-widget-active {
  display: flex;
  flex-direction: column;
}

.khatma-widget-body {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}

.khatma-widget-stats {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.khatma-widget-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.khatma-widget-stat-value {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.khatma-widget-stat-label {
  font-size: 10px;
  opacity: 0.5;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.khatma-widget-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.khatma-widget-progress-fill {
  height: 100%;
  border-radius: 3px;
  background: #ef4444;
  width: 0%;
  transition: width 0.5s ease-out;
}

.quran-continue-card {
  width: 100%;
  height: auto;
  flex-direction: column;
  align-items: stretch;
  padding: 18px 18px 16px;
  gap: 0;
}

.quran-bookmarks-card {
  width: 100%;
  height: auto;
  flex-direction: column;
  align-items: stretch;
  padding: 18px 18px 16px;
  gap: 0;
}

.qb-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 22px 10px 8px;
}

.qb-empty-icon {
  font-size: 30px;
  color: #ef4444;
  opacity: 0.8;
  margin-bottom: 4px;
}

.qb-empty-title {
  font-size: 15px;
  font-weight: 800;
}

.qb-empty-sub {
  font-size: 12px;
  opacity: 0.55;
  max-width: 260px;
}

.qb-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.qb-list:empty {
  margin-top: 0;
}

.qb-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
}

body.light-mode .qb-row {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.qb-row-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qb-row-icon .material-symbols-outlined {
  font-size: 19px;
  color: #fff;
}

.qb-row-icon-green {
  background: rgba(46, 204, 113, 0.25);
}

.qb-row-icon-green .material-symbols-outlined {
  color: #2ecc71;
}

.qb-row-icon-red {
  background: rgba(231, 76, 60, 0.25);
}

.qb-row-icon-red .material-symbols-outlined {
  color: #e74c3c;
}

.qb-row-icon-blue {
  background: rgba(52, 152, 219, 0.25);
}

.qb-row-icon-blue .material-symbols-outlined {
  color: #3498db;
}

.qb-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qb-row-surah {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qb-row-ayah {
  font-size: 12px;
  opacity: 0.55;
}

.qb-row-arrow {
  opacity: 0.3;
  font-size: 20px;
  flex-shrink: 0;
}

.qc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qc-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.qc-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qc-header-icon .material-symbols-outlined {
  font-size: 18px;
  color: #ef4444;
}

.qc-header-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.qc-header-subtitle {
  font-size: 12px;
  opacity: 0.55;
  margin-top: 2px;
}

.qc-continue-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #ef4444;
  flex-shrink: 0;
  white-space: nowrap;
}

.qc-continue-pill .material-symbols-outlined {
  font-size: 18px;
  color: #ef4444;
}

.qc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 22px 10px 8px;
}

.qc-empty-icon {
  font-size: 30px;
  color: #ef4444;
  opacity: 0.8;
  margin-bottom: 4px;
}

.qc-empty-title {
  font-size: 15px;
  font-weight: 800;
}

.qc-empty-sub {
  font-size: 12px;
  opacity: 0.55;
  max-width: 260px;
}

.qc-empty-btn {
  margin-top: 12px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #ef4444;
}

.qc-main-card {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-mode .qc-main-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.qc-main-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.qc-surah-badge {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  margin-bottom: 6px;
}

.qc-surah-badge .material-symbols-outlined {
  font-size: 22px;
}

.qc-surah-name {
  font-size: 15px;
  font-weight: 700;
  color: #ef4444;
}

.qc-verse-range {
  font-size: 20px;
  font-weight: 800;
  margin-top: 4px;
  line-height: 1.2;
}

.qc-page {
  font-size: 12px;
  opacity: 0.5;
  margin-top: 4px;
}

.qc-progress-track {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 16px;
}

body.light-mode .qc-progress-track {
  background: rgba(0, 0, 0, 0.1);
}

.qc-progress-fill {
  height: 100%;
  border-radius: 4px;
  background: #ef4444;
  width: 0%;
}

.qc-progress-dot {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
  transform: translate(-50%, -50%);
}

.qc-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.qc-progress-caption {
  font-size: 11px;
  opacity: 0.5;
}

.qc-progress-pct {
  font-size: 13px;
  font-weight: 800;
  color: #ef4444;
}

.qc-main-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

body.light-mode .qc-main-divider {
  background: rgba(0, 0, 0, 0.1);
}

.qc-main-right {
  flex: 0 0 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
}

.qc-time-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.qc-time-icon .material-symbols-outlined {
  font-size: 24px;
  color: #ef4444;
}

.qc-time-label {
  font-size: 11px;
  opacity: 0.5;
}

.qc-time-value {
  font-size: 17px;
  font-weight: 800;
  margin-top: 2px;
}

.qc-time-sub {
  font-size: 10px;
  opacity: 0.5;
  line-height: 1.3;
}

.qc-bottom-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.qc-bottom-card {
  flex: 1;
  min-width: 0;
  position: relative;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.light-mode .qc-bottom-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.qc-bottom-decoration {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60%;
  height: 70%;
  opacity: 0.12;
  pointer-events: none;
}

.qc-next-svg {
  width: 100%;
  height: 100%;
}

.qc-bottom-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.qc-bottom-icon .material-symbols-outlined {
  font-size: 15px;
  color: #ef4444;
}

.qc-bottom-label {
  font-size: 13px;
  font-weight: 800;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.qc-bottom-value {
  font-size: 12px;
  opacity: 0.65;
  margin-top: 4px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.qc-bottom-time {
  font-size: 12px;
  opacity: 0.5;
  margin-top: 2px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.qc-bottom-link {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #ef4444;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.qc-bottom-link .material-symbols-outlined {
  font-size: 16px;
  color: #ef4444;
}
