@charset "utf-8";
/* =====================
   BASE  reader css
 /* ===== BASE ===== */
/* ===== BASE ===== */
body {
  margin: 0;
  font-family: system-ui, serif;
  line-height: 1.7;
  background: #fff;
  color: #222;
}

main {
  max-width: 720px;
  margin: auto;
  padding: 1rem;
}

/* ===== MODES ===== */
body.reading-sepia { background: #f6f1e7; color: #2a1f14; }
body.reading-night { background: #0f1115; color: #e6e6e6; }
body.reading-sanskrit {
  background: #fffdf6;
  color: #1f1a12;
  font-family: "Noto Serif Devanagari", serif;
  font-size: 1.15rem;
}

/* ===== CONTROLS ===== */
.reading-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 10px;
}

.reading-controls button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #aaa;
  background: #f4f4f4;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.is-hidden {
  opacity: 0;
  pointer-events: none;
}


/* Sanskrit text */
.sanskrit {
  font-family: "Noto Serif Devanagari", serif;
  font-size: 1.2rem;
}
