/* ==========================================================================
   NIỆM - DESIGN SYSTEM & STYLESHEET
   Phật Giáo Thiền Môn & Mỹ Thuật Thanh Tịnh
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Gentium+Book+Plus:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Serif:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

:root {
  /* Typography System - 100% Chuẩn Thuần Việt & Phạn Ngữ IAST Chuyên Dụng (Gentium Book Plus & Noto Serif) */
  --mantra-font-size: 20px;
  --font-sanskrit: 'Gentium Book Plus', 'Noto Serif', Georgia, serif;
  --font-serif: 'Noto Serif', 'Lora', 'Merriweather', serif;
  --font-sans: 'Be Vietnam Pro', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Be Vietnam Pro', 'Segoe UI', Arial, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition-fast: 0.18s ease;
  --transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.25);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.35);
}

/* ==========================================================================
   THEME 1: GỖ TRẦM (WOOD ZEN) - Mặc định
   ========================================================================== */
body, body[data-theme="wood"] {
  --bg-app: #15100e;
  --bg-surface: #1e1714;
  --bg-surface-elevated: #281f1b;
  --bg-surface-translucent: rgba(30, 23, 20, 0.85);
  --border-subtle: #3d2e27;
  --border-strong: #5c453a;
  
  --text-primary: #f2e2cf;
  --text-secondary: #c9b49e;
  --text-muted: #8c7866;
  --text-accent: #e5b364;      /* Vàng hổ phách */
  --text-sanskrit: #d9935f;    /* Cam đất thiền */
  
  --accent-gold: #e5b364;
  --accent-gold-glow: rgba(229, 179, 100, 0.25);
  --accent-red: #b33927;
  
  --mo-gradient-1: #4a2817;
  --mo-gradient-2: #24140b;
  --chuong-gradient-1: #b88628;
  --chuong-gradient-2: #6e4e13;
  --card-glow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   THEME 2: OLED THIỀN TỊNH (OLED DARK)
   ========================================================================== */
body[data-theme="oled"] {
  --bg-app: #080808;
  --bg-surface: #121212;
  --bg-surface-elevated: #1a1a1a;
  --bg-surface-translucent: rgba(18, 18, 18, 0.9);
  --border-subtle: #242424;
  --border-strong: #383838;
  
  --text-primary: #f5f5f5;
  --text-secondary: #b0b0b0;
  --text-muted: #666666;
  --text-accent: #ffd166;
  --text-sanskrit: #ecc273;
  
  --accent-gold: #ffd166;
  --accent-gold-glow: rgba(255, 209, 102, 0.25);
  --accent-red: #c0392b;
  
  --mo-gradient-1: #2a2a2a;
  --mo-gradient-2: #111111;
  --chuong-gradient-1: #d4af37;
  --chuong-gradient-2: #574410;
  --card-glow: 0 8px 32px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   THEME 3: GIẤY KINH CỔ (SEPIA PARCHMENT)
   ========================================================================== */
body[data-theme="sepia"] {
  --bg-app: #f4ecdf;
  --bg-surface: #fdfaf4;
  --bg-surface-elevated: #ede2cf;
  --bg-surface-translucent: rgba(253, 250, 244, 0.92);
  --border-subtle: #ded1bd;
  --border-strong: #c2af93;
  
  --text-primary: #382717;
  --text-secondary: #5f4833;
  --text-muted: #8c735c;
  --text-accent: #a33820;      /* Đỏ chu sa */
  --text-sanskrit: #8a4823;
  
  --accent-gold: #a67329;
  --accent-gold-glow: rgba(166, 115, 41, 0.2);
  --accent-red: #9e2a1b;
  
  --mo-gradient-1: #7d4427;
  --mo-gradient-2: #4f2512;
  --chuong-gradient-1: #b88628;
  --chuong-gradient-2: #735111;
  --card-glow: 0 4px 20px rgba(56, 39, 23, 0.08);
}

/* ==========================================================================
   THEME 4: THANH BẠCH (PURE LIGHT)
   ========================================================================== */
body[data-theme="light"] {
  --bg-app: #f7f9fb;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #eef2f6;
  --bg-surface-translucent: rgba(255, 255, 255, 0.92);
  --border-subtle: #e1e6ed;
  --border-strong: #ccd4de;
  
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #8595a8;
  --text-accent: #0284c7;
  --text-sanskrit: #4338ca;
  
  --accent-gold: #b48328;
  --accent-gold-glow: rgba(180, 131, 40, 0.2);
  --accent-red: #dc2626;
  
  --mo-gradient-1: #5c3822;
  --mo-gradient-2: #382012;
  --chuong-gradient-1: #caa042;
  --chuong-gradient-2: #8a6a24;
  --card-glow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   RESET & BASE SETUP
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-app);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-base), color var(--transition-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  user-select: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  transition: all var(--transition-fast);
}

input, select {
  font-family: inherit;
  color: inherit;
}

/* ==========================================================================
   HEADER & NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--bg-surface-translucent);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.65rem 1.5rem;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 8px var(--accent-gold-glow));
}

.brand-lotus-svg {
  display: block;
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-accent);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Bộ Lọc Tông Phái (Tradition Filter Bar) */
.tradition-filter-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-surface);
  padding: 3px 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.tradition-pill {
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tradition-pill:hover {
  color: var(--text-primary);
}

.tradition-pill.active {
  background: var(--accent-gold-glow);
  color: var(--text-accent);
  border: 1px solid var(--accent-gold);
}

/* Quick Tools Bar bên phải Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-expand-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: 36px;
  padding: 0 13px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.btn-expand-header:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.btn-expand-header.active {
  background: var(--accent-gold);
  color: #1a1107;
  border-color: var(--accent-gold);
  box-shadow: 0 2px 10px var(--accent-gold-glow);
}

.tool-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
}

.tool-btn:hover {
  background: var(--border-subtle);
  color: var(--text-primary);
}

.tool-btn.btn-active, .tool-btn.active {
  background: var(--accent-gold);
  color: #1a1107;
  border-color: var(--accent-gold);
}

/* Theme selector dropdown / pills */
.theme-selector-group {
  display: flex;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 3px;
}

.theme-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.theme-btn:hover {
  transform: scale(1.15);
}

.theme-btn.active {
  box-shadow: 0 0 0 2px var(--accent-gold);
}

.theme-btn[data-theme="wood"] { background: #3a2518; color: #f2d6a2; }
.theme-btn[data-theme="oled"] { background: #111111; color: #ffd166; }
.theme-btn[data-theme="sepia"] { background: #dfd2be; color: #5f4833; }
.theme-btn[data-theme="light"] { background: #ffffff; color: #1e293b; }

/* ==========================================================================
   THANH KỆ CHỌN KINH CHÚ RỘNG RÃI (HIỂN THỊ 100% ĐẦY ĐỦ KHÔNG BỊ CẮT)
   ========================================================================== */
.sutra-nav-shelf {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.55rem 1.5rem;
  position: relative;
  z-index: 90;
}

.sutra-shelf-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.mantra-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  width: 100%;
}

.mantra-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.mantra-tab-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.mantra-tab-btn.active {
  background: var(--accent-gold);
  color: #1a1107;
  border-color: var(--accent-gold);
  box-shadow: 0 3px 12px var(--accent-gold-glow);
  font-weight: 700;
}

/* ==========================================================================
   MAIN LAYOUT (SPLIT VIEW & CHẾ ĐỘ MỞ RỘNG TỐI ƯU TOÀN MÀN HÌNH)
   ========================================================================== */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  flex: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 1.25rem;
  align-items: stretch;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Khi kích hoạt chế độ Toàn Màn Hình Đọc Tụng (Zen Expanded) */
.main-container.zen-expanded {
  grid-template-columns: 1fr;
}

.main-container.zen-expanded .sanctuary-sidebar {
  display: none;
}

/* ==========================================================================
   CỘT TRÁI: KHÔNG GIAN ĐỌC KINH VĂN (READER - TỐI ĐA CHIỀU CAO & DIỆN TÍCH)
   ========================================================================== */
.reader-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem 1.75rem 1.25rem;
  box-shadow: var(--card-glow);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 145px);
  min-height: 580px;
  position: relative;
  overflow: hidden;
}

/* Thanh điều khiển đọc (Reading Toolbar) - Tinh gọn tối đa chiều cao */
.reader-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.control-pill {
  display: flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 2px 4px;
}

.lang-mode-btn {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.lang-mode-btn.active {
  background: var(--border-strong);
  color: var(--text-primary);
}

.btn-toggle-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.btn-toggle-switch.active {
  background: var(--accent-gold-glow);
  border-color: var(--accent-gold);
  color: var(--text-accent);
}

/* Auto-scroll controls */
.autoscroll-panel {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 2px 6px;
}

.btn-autoscroll {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.speed-select {
  background: transparent;
  border: none;
  font-size: 0.78rem;
  color: var(--text-muted);
  outline: none;
  cursor: pointer;
  padding: 2px 4px;
}

.btn-zen-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Khung cuộn câu kinh (Toàn bộ chiều cao dành cho việc đọc tụng, không bị giới hạn 360px) */
.mantra-scroll-container {
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding-right: 0.75rem;
  scroll-behavior: smooth;
  user-select: text;
}

/* Tiêu đề bản kinh (Đặt trong dòng cuộn, trôi lên khi đọc tụng để nhường chỗ cho kinh văn) */
.mantra-header-block {
  text-align: center;
  padding: 0.4rem 0 1rem;
  border-bottom: 1px dashed var(--border-subtle);
  margin-bottom: 1.25rem;
}

.tradition-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-accent);
}

.tradition-badge.tradition-mahayana {
  background: rgba(229, 179, 100, 0.12);
  border-color: rgba(229, 179, 100, 0.35);
  color: var(--text-accent);
}

.tradition-badge.tradition-theravada {
  background: rgba(217, 147, 95, 0.15);
  border-color: rgba(217, 147, 95, 0.4);
  color: #e59d64;
}

.tradition-badge.tradition-vajrayana {
  background: rgba(179, 57, 39, 0.15);
  border-color: rgba(179, 57, 39, 0.4);
  color: #ff7b66;
}

.mantra-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-accent);
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}

.mantra-sa-title {
  font-family: var(--font-sanskrit);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-sanskrit);
  margin-bottom: 0.4rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.mantra-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Sub-nav nhảy nhanh giữa các Hội / Phẩm Kinh Điển - Tự động xuống hàng, hiển thị 100% không bị tràn */
.sub-nav-container {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-surface-translucent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 12px;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  justify-content: center;
  align-items: center;
}

.sub-nav-item {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.sub-nav-item:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
  background: var(--bg-surface);
  transform: translateY(-1px);
}

.sub-nav-item.active {
  background: var(--accent-gold);
  color: #1a1107;
  border-color: var(--accent-gold);
  box-shadow: 0 2px 8px var(--accent-gold-glow);
  font-weight: 700;
}

/* Custom Scrollbar thanh lịch */
.mantra-scroll-container::-webkit-scrollbar {
  width: 6px;
}
.mantra-scroll-container::-webkit-scrollbar-track {
  background: transparent;
}
.mantra-scroll-container::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
}

.mantra-section {
  margin-bottom: 2rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lotus-bullet {
  font-size: 1rem;
}

.verses-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.verse-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.verse-item:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-subtle);
}

.verse-item.highlighted {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-gold);
  box-shadow: 0 0 16px var(--accent-gold-glow);
}

.verse-num {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.verse-item.highlighted .verse-num {
  background: var(--accent-gold);
  color: #1a1107;
  border-color: var(--accent-gold);
}

.verse-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.verse-vn {
  font-family: var(--font-serif);
  font-size: var(--mantra-font-size);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
  letter-spacing: 0.015em;
}

.verse-sa {
  font-family: var(--font-sanskrit);
  font-style: italic;
  font-size: calc(var(--mantra-font-size) * 0.95);
  color: var(--text-sanskrit);
  line-height: 1.55;
  letter-spacing: 0.015em;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.verse-mean {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.mean-label {
  font-weight: 600;
  color: var(--text-secondary);
}

/* Dòng hướng dẫn cách đọc tiếng Phạn bằng tiếng Việt */
.verse-phonetic {
  font-family: var(--font-sans);
  font-size: calc(var(--mantra-font-size) * 0.84);
  line-height: 1.5;
  background: var(--bg-surface-elevated);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 4px 10px;
  margin: 3px 0 4px;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-fast);
}

.phonetic-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  white-space: nowrap;
  user-select: none;
}

.phonetic-text {
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

/* Visibility toggles based on view mode */
.mode-vietnamese .verse-sa,
.mode-vietnamese .verse-phonetic { display: none; }
.mode-sanskrit .verse-vn { display: none; }
.hide-meaning .verse-mean { display: none; }
.hide-phonetic .verse-phonetic { display: none; }

/* ==========================================================================
   CHẾ ĐỘ THUẦN PHIÊN ÂM (MODE-PHONETIC)
   Ẩn hoàn toàn chữ chú gốc và Hán-Việt, chỉ đọc thuần phiên âm liên tục 1 mạch không ngắt dòng
   ========================================================================== */
.mode-phonetic .verse-item.has-phonetic .verse-vn,
.mode-phonetic .verse-sa {
  display: none !important;
}

.mode-phonetic .verse-phonetic {
  display: block !important;
  background: transparent !important;
  border-left: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: var(--font-serif);
  font-size: var(--mantra-font-size);
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-primary);
  letter-spacing: 0.015em;
}

.mode-phonetic .verse-phonetic .phonetic-badge {
  display: none !important;
}

.mode-phonetic .verse-phonetic .phonetic-text {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

/* ==========================================================================
   CỘT PHẢI: KHÔNG GIAN CÔNG PHU (MÕ ẢO, CHUÔNG, BỘ ĐẾM BIẾN)
   ========================================================================== */
.sanctuary-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 80px;
}

.sanctuary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--card-glow);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-accent);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.6rem;
}

/* Vùng Tương Tác Mõ & Chuông */
.instrument-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0 1rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: radial-gradient(circle, var(--bg-surface-elevated) 0%, transparent 70%);
}

.sound-wave-area {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instrument-buttons-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 2;
}

/* Nút Mõ Ảo 3D */
.virtual-mo-btn {
  width: 130px;
  height: 130px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at 35% 30%, #6d3a1f 0%, var(--mo-gradient-1) 50%, var(--mo-gradient-2) 100%);
  border: 3px solid #854b2a;
  box-shadow: 0 12px 28px rgba(0,0,0,0.5), inset 0 2px 6px rgba(255,255,255,0.2), inset 0 -6px 12px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #f7e6cf;
  position: relative;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  outline: none;
}

.virtual-mo-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 32px rgba(0,0,0,0.6), 0 0 20px var(--accent-gold-glow);
}

.virtual-mo-btn:active, .virtual-mo-btn.active-hit {
  transform: translateY(4px) scale(0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.7), inset 0 4px 8px rgba(0,0,0,0.8);
}

.mo-icon-svg {
  width: 52px;
  height: 52px;
  fill: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.instrument-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nút Chuông Đồng Huế */
.virtual-chuong-btn {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at 35% 30%, #e8ba55 0%, var(--chuong-gradient-1) 50%, var(--chuong-gradient-2) 100%);
  border: 2px solid #dfb047;
  box-shadow: 0 10px 22px rgba(0,0,0,0.4), inset 0 2px 6px rgba(255,255,255,0.3), inset 0 -4px 10px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #1a1205;
  transition: transform 0.08s ease;
  outline: none;
}

.virtual-chuong-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 14px 28px rgba(0,0,0,0.5), 0 0 18px var(--accent-gold-glow);
}

.virtual-chuong-btn:active, .virtual-chuong-btn.active-hit {
  transform: translateY(3px) scale(0.94);
}

.chuong-icon-svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.keyboard-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
}

.kbd-badge {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.7rem;
  font-family: monospace;
  color: var(--text-secondary);
}

/* Bộ Chọn Âm Sắc Mõ Đại Thừa */
.mo-tone-selector-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 4px 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.mo-tone-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mo-tone-select {
  background: transparent;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-accent);
  outline: none;
  cursor: pointer;
}

.mo-tone-select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

/* Auto-beat metronome controls */
.metronome-controls {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.metronome-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.range-slider {
  flex: 1;
  accent-color: var(--accent-gold);
  cursor: pointer;
}

.slider-val-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-accent);
  min-width: 58px;
  text-align: right;
}

/* ==========================================================================
   BỘ ĐẾM BIẾN TỤNG (MALA COUNTER)
   ========================================================================== */
.counter-main-display {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.counter-numbers {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.current-count-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-accent);
  line-height: 1;
  text-shadow: 0 2px 12px var(--accent-gold-glow);
}

.target-count-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Progress Bar */
.counter-progress-container {
  margin: 0.75rem 0 1rem;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, #ffdf9e 100%);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.progress-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Target Selector Pills */
.target-selector-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.target-pill-btn {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.target-pill-btn.active {
  background: var(--accent-gold);
  color: #1a1107;
  border-color: var(--accent-gold);
}

/* Counter action buttons (+, -, reset) */
.counter-actions-grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr;
  gap: 0.6rem;
}

.btn-counter-act {
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-counter-act:hover {
  background: var(--border-subtle);
}

.btn-counter-act.btn-main-increment {
  background: var(--accent-gold);
  color: #1a1107;
  border-color: var(--accent-gold);
  font-size: 1.15rem;
  box-shadow: 0 4px 14px var(--accent-gold-glow);
}

.btn-counter-act.btn-main-increment:active {
  transform: scale(0.97);
}

/* Thống kê nhỏ bên dưới */
.counter-stats-bar {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-item strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 0.85rem;
  justify-content: center;
}

/* ==========================================================================
   MODAL CHÚC MỪNG HOÀN THÀNH & HỒI HƯỚNG
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px var(--accent-gold-glow);
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-lotus-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  display: inline-block;
  animation: floatLotus 3s ease-in-out infinite;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-accent);
  margin-bottom: 0.5rem;
}

.modal-body-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hoihuong-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hoihuong-title {
  font-weight: 700;
  color: var(--text-accent);
  margin-bottom: 0.4rem;
}

.btn-modal-action {
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  background: var(--accent-gold);
  color: #1a1107;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-surface);
}

.footer-quote {
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Khung Tác Giả & Liên Hệ ở Footer */
.footer-author-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  margin: 0.75rem auto 1rem;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.author-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.author-title strong {
  color: var(--text-accent);
}

.author-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.author-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.author-link-pill:hover {
  background: var(--border-subtle);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.author-link-pill.fb:hover {
  background: rgba(24, 119, 242, 0.15);
  border-color: #1877f2;
  color: #5b9eff;
}

.author-link-pill.zalo:hover {
  background: rgba(0, 104, 255, 0.15);
  border-color: #0068ff;
  color: #5bb2ff;
}

.author-link-pill.wa:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25d366;
  color: #25d366;
}

.author-link-pill.donate {
  background: var(--accent-gold-glow);
  border-color: var(--accent-gold);
  color: var(--text-accent);
}

.author-link-pill.donate:hover {
  background: var(--accent-gold);
  color: #1a1107;
  box-shadow: 0 2px 10px var(--accent-gold-glow);
}

.footer-copyright {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   DONATE BUTTON & DONATE MODAL
   ========================================================================== */
.btn-donate-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(229, 179, 100, 0.2), rgba(217, 147, 95, 0.1));
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-accent);
  box-shadow: 0 2px 8px var(--accent-gold-glow);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-donate-header:hover {
  background: var(--accent-gold);
  color: #1a1107;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-gold-glow);
}

.btn-donate-header .btn-donate-icon {
  font-size: 1rem;
}

/* Donate Modal Card */
.donate-modal-card {
  max-width: 560px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-corner {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-corner:hover {
  background: var(--border-subtle);
  color: var(--text-primary);
}

.donate-intro {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

/* Donate Tabs Nav */
.donate-tabs-nav {
  display: flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 3px;
  margin-bottom: 1.25rem;
}

.donate-tab-btn {
  flex: 1;
  padding: 6px 8px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.donate-tab-btn:hover {
  color: var(--text-primary);
}

.donate-tab-btn.active {
  background: var(--accent-gold);
  color: #1a1107;
  box-shadow: 0 2px 8px var(--accent-gold-glow);
}

/* Tab Content 1: Việt Nam (VietQR) */
.qr-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.2rem;
}

.qr-image-wrapper {
  background: #ffffff;
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vietqr-img {
  max-width: 200px;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.bank-info-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
  font-size: 0.88rem;
}

.bank-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border-subtle);
}

.bank-info-row:last-child {
  border-bottom: none;
}

.bank-info-row .info-label {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.bank-info-row .info-value {
  color: var(--text-primary);
}

.bank-info-row .info-value.highlight {
  color: #10b981;
  font-weight: 700;
}

.bank-info-row .info-value.bold {
  font-weight: 700;
}

.bank-info-row .info-value.stk {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-accent);
  letter-spacing: 0.04em;
}

.bank-info-row .info-value.muted {
  color: var(--text-muted);
  font-style: italic;
}

.info-copy-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-copy-chip {
  padding: 3px 9px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-accent);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-chip:hover {
  background: var(--accent-gold);
  color: #1a1107;
}

/* Tab Content 2: PayPal */
.paypal-card-container {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.2rem;
}

.paypal-badge-icon {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

.paypal-card-container h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-accent);
  margin-bottom: 0.4rem;
}

.paypal-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.paypal-email-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.paypal-email {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #38bdf8;
}

.paypal-action-row {
  margin-top: 0.5rem;
}

.btn-paypal-direct {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: #0070ba;
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 112, 186, 0.3);
}

.btn-paypal-direct:hover {
  background: #005ea6;
  transform: translateY(-1px);
}

/* Tab Content 3: Kênh liên hệ */
.contact-card-container {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.2rem;
}

.author-avatar-badge {
  font-size: 2.2rem;
  margin-bottom: 0.3rem;
}

.contact-card-container h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-accent);
  margin-bottom: 0.3rem;
}

.contact-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact-links-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.contact-item:hover {
  background: var(--border-subtle);
  transform: translateX(3px);
}

.contact-icon {
  font-size: 1.3rem;
  margin-right: 10px;
}

.contact-text {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.contact-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.contact-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Toast Thông Báo Sao Chép */
.copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #10b981;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.copy-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .main-container {
    grid-template-columns: 1fr;
  }
  
  .sanctuary-sidebar {
    position: static;
  }

  .reader-container {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.5rem 1rem;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .tradition-filter-bar {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 4px;
  }

  .tradition-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .tradition-pill {
    padding: 3px 10px;
    font-size: 0.74rem;
    flex-shrink: 0;
  }

  .sutra-nav-shelf {
    padding: 0.4rem 0.75rem;
  }

  .mantra-tabs-nav {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    gap: 6px;
    padding-bottom: 2px;
  }

  .mantra-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .mantra-tab-btn {
    padding: 5px 12px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .btn-expand-header .expand-text {
    display: none;
  }

  .btn-expand-header {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
  }

  .main-container {
    padding: 0.6rem 0.75rem;
    gap: 1rem;
  }

  .reader-container {
    height: calc(100vh - 120px);
    padding: 0.85rem 1rem;
  }

  .mantra-title {
    font-size: 1.45rem;
  }

  .verse-item {
    padding: 0.6rem 0.5rem;
    gap: 0.75rem;
  }

  .virtual-mo-btn {
    width: 110px;
    height: 110px;
  }

  .virtual-chuong-btn {
    width: 80px;
    height: 80px;
  }
}
