/* ── 리셋 + 기본 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --indigo-900: #1e1b4b;
  --indigo-700: #3730a3;
  --indigo-600: #4f46e5;
  --indigo-400: #818cf8;
  --indigo-100: #e0e7ff;
  --indigo-50:  #eef2ff;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --tab-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
html, body { height: 100%; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--gray-50); color: var(--gray-700); }

/* ── 앱 컨테이너 ── */
#app { position: fixed; inset: 0; bottom: calc(var(--tab-h) + var(--safe-bottom)); display: flex; flex-direction: column; }

/* ── 탭 패널 ── */
.tab-panel { display: none; flex: 1; flex-direction: column; overflow: hidden; }
.tab-panel.active { display: flex; }

/* ── 공통 헤더 ── */
.app-header {
  background: var(--indigo-900); color: white;
  padding: 14px 16px 10px; flex-shrink: 0;
  display: flex; align-items: center; gap: 8px;
}
.logo { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; }
.cross { font-size: 18px; }
.header-sub { font-size: 11px; color: var(--indigo-400); }

/* ── 채팅 탭 ── */
.quick-chips { background: white; padding: 8px 12px; display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--gray-200); flex-shrink: 0; }
.quick-chips::-webkit-scrollbar { display: none; }
.chip { background: var(--indigo-50); color: var(--indigo-600); border: 1px solid var(--indigo-100); border-radius: 16px; padding: 5px 12px; font-size: 12px; white-space: nowrap; cursor: pointer; }
.chip:active { background: var(--indigo-100); }

.chat-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }

.msg-row { display: flex; gap: 8px; align-items: flex-start; }
.ai-avatar { width: 26px; height: 26px; background: var(--indigo-600); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 12px; flex-shrink: 0; }
.bubble { border-radius: 4px 14px 14px 14px; padding: 9px 12px; font-size: 13px; line-height: 1.55; max-width: 84%; }
.bubble-ai { background: white; border: 1px solid var(--gray-200); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.bubble-user { background: var(--indigo-600); color: white; border-radius: 14px 14px 0 14px; margin-left: auto; }
.verse-tag { display: inline-block; background: var(--indigo-600); color: white; border-radius: 4px; padding: 1px 6px; font-size: 10px; font-weight: 700; cursor: pointer; margin-right: 4px; }

.chat-input-row { background: white; border-top: 1px solid var(--gray-200); padding: 8px 12px; display: flex; gap: 8px; align-items: flex-end; flex-shrink: 0; }
#chat-input { flex: 1; background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 20px; padding: 8px 14px; font-size: 13px; resize: none; outline: none; max-height: 100px; }
#send-btn { width: 36px; height: 36px; background: var(--indigo-600); border: none; border-radius: 50%; color: white; font-size: 16px; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
#send-btn:disabled { background: var(--gray-200); }
#chat-clear-btn {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.3);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
  margin-left: auto;
  border-radius: 6px;
}
#chat-clear-btn:hover { background: rgba(220, 38, 38, 0.15); }
#chat-clear-btn:active { background: rgba(220, 38, 38, 0.25); }
.chat-confirm-row { background: white; border-top: 1px solid var(--gray-200); padding: 10px 14px; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.chat-confirm-msg { flex: 1; font-size: 13px; color: var(--gray-700); }
.confirm-btn { border: none; border-radius: 8px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.confirm-cancel { background: var(--gray-100); color: var(--gray-700); }
.confirm-ok { background: #dc2626; color: white; }

/* ── 성경읽기 탭 ── */
.reader-header { justify-content: space-between; }
.book-pill { background: var(--indigo-100); color: var(--indigo-600); border: none; border-radius: 8px; padding: 5px 12px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.chapter-nav-group { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.nav-btn { background: rgba(255,255,255,.15); border: none; color: white; border-radius: 6px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
.chapter-label { background: var(--indigo-50); color: var(--indigo-600); border: 1px solid var(--indigo-100); border-radius: 8px; padding: 4px 8px 4px 10px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.chapter-label:hover { background: var(--indigo-100); }
.chapter-label:active { background: var(--indigo-100); }
.chapter-label .caret { font-size: 13px; font-weight: 700; line-height: 1; }
.chapter-modal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; padding: 8px 16px 24px; max-height: 70vh; overflow-y: auto; }
.chapter-modal-grid .ch-dot { width: 100%; height: 40px; font-size: 13px; border-radius: 8px; }

.bible-body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.verse-row { display: flex; gap: 8px; margin-bottom: 10px; line-height: 1.7; }
.verse-row.highlighted { background: rgba(255, 220, 100, 0.35); border-radius: 4px; transition: background 0.3s; }
.verse-num { color: var(--indigo-600); font-size: 10px; font-weight: 700; min-width: 18px; padding-top: 4px; }
.verse-text { color: var(--gray-700); font-size: 14px; }

.chapter-dots { padding: 8px 14px; background: white; border-top: 1px solid var(--gray-200); display: flex; gap: 4px; flex-wrap: wrap; flex-shrink: 0; }
.ch-dot { width: 26px; height: 26px; border-radius: 6px; background: var(--indigo-50); color: var(--indigo-600); font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; }
.ch-dot.active { background: var(--indigo-600); color: white; }

/* ── 구절검색 탭 ── */
.search-wrap { flex: 1; background: rgba(255,255,255,.12); border-radius: 10px; padding: 6px 12px; display: flex; align-items: center; gap: 6px; }
.search-icon { font-size: 14px; }
#search-input { background: none; border: none; outline: none; color: white; font-size: 13px; flex: 1; }
#search-input::placeholder { color: var(--indigo-400); }

.filter-row { background: white; padding: 8px 14px; display: flex; gap: 6px; border-bottom: 1px solid var(--gray-200); flex-shrink: 0; }
.filter-btn { background: var(--gray-100); border: none; border-radius: 10px; padding: 4px 10px; font-size: 11px; cursor: pointer; color: var(--gray-500); }
.filter-btn.active { background: var(--indigo-600); color: white; }

.search-results { flex: 1; overflow-y: auto; padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; }
.result-card { background: white; border: 1px solid var(--gray-200); border-radius: 10px; padding: 10px 12px; }
.result-ref { font-size: 11px; font-weight: 700; color: var(--indigo-600); margin-bottom: 3px; }
.result-text { font-size: 12px; color: var(--gray-700); line-height: 1.5; }
.result-text mark { background: #fef3c7; border-radius: 2px; padding: 0 2px; font-style: normal; }
.no-result { color: var(--gray-500); font-size: 13px; text-align: center; padding: 40px 0; }

/* ── 성경목록 탭 ── */
.books-list { flex: 1; overflow-y: auto; padding: 10px 14px; }
.testament-group { margin-bottom: 16px; }
.testament-label { font-size: 10px; font-weight: 700; color: var(--indigo-600); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.books-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.book-btn { background: white; border: 1px solid var(--gray-200); border-radius: 8px; padding: 8px 4px; font-size: 11px; color: var(--gray-700); cursor: pointer; text-align: center; }
.book-btn.nt { border-color: var(--indigo-100); color: var(--indigo-600); }
.book-btn:active { background: var(--indigo-50); }

/* ── 하단 탭바 ── */
.bottom-tabs {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: calc(var(--tab-h) + var(--safe-bottom));
  background: white; border-top: 1px solid var(--gray-200);
  display: flex; padding-bottom: var(--safe-bottom);
}
.tab-btn { flex: 1; border: none; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; padding: 4px 0; }
.tab-icon { font-size: 20px; }
.tab-label { font-size: 10px; font-weight: 600; color: var(--gray-500); }
.tab-btn.active .tab-label { color: var(--indigo-600); }

/* ── 모달 ── */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; }
.modal.hidden { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.modal-sheet { position: relative; background: white; border-radius: 16px 16px 0 0; width: 100%; max-height: 75vh; display: flex; flex-direction: column; }
.modal-handle { width: 36px; height: 4px; background: var(--gray-200); border-radius: 2px; margin: 10px auto 0; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--gray-200); }
.modal-header h3 { font-size: 15px; font-weight: 700; }
.close-btn { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--gray-500); }
.modal-books { flex: 1; overflow-y: auto; padding: 10px 14px; }

/* ── 에러 배너 ── */
.error-banner { background: #fee2e2; color: #991b1b; padding: 10px 14px; font-size: 12px; text-align: center; }

/* ── 로딩 점 애니메이션 ── */
.typing { display: flex; gap: 4px; padding: 4px 0; }
.typing span { width: 6px; height: 6px; background: var(--gray-500); border-radius: 50%; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100% { opacity:.2 } 40% { opacity:1 } }

/* ── 찬송가 탭 ── */
#hymn-list-view { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
#hymn-list-view.hymn-empty .hymn-list { align-self: center; width: 100%; }
#hymn-chips-bar { padding: 8px 14px 4px; border-bottom: 1px solid var(--gray-200); flex-shrink: 0; margin: 0; }
.hymn-list { flex: 1; overflow-y: auto; padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; }
.hymn-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: white; border: 1px solid var(--gray-200); border-radius: 10px; cursor: pointer; }
.hymn-item:active { background: var(--indigo-50); }
.hymn-num { font-size: 11px; font-weight: 700; color: var(--indigo-600); min-width: 28px; }
.hymn-title-text { font-size: 14px; color: var(--gray-700); }

#hymn-detail-view { display: flex; flex: 1; flex-direction: column; overflow: hidden; }
.hymn-detail-header { padding: 10px 14px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.back-btn { background: none; border: none; font-size: 14px; color: var(--indigo-600); cursor: pointer; padding: 4px 0; }
.hymn-detail-title { font-size: 15px; font-weight: 700; flex: 1; }
.hymn-detail-body { flex: 1; overflow-y: auto; padding: 14px 16px; }
#hymn-search { background: none; border: none; outline: none; color: white; font-size: 15px; flex: 1; }
#hymn-search::placeholder { color: var(--indigo-400); }
#tab-hymn .search-wrap { padding: 9px 14px; }
.hymn-sheet-img { width: 100%; border-radius: 8px; margin-bottom: 16px; }
.no-sheet-msg { color: var(--gray-500); font-size: 13px; text-align: center; padding: 20px 0; }
.hymn-verse { font-size: 14px; line-height: 1.8; color: var(--gray-700); margin-bottom: 12px; }

/* ── 찬송가 빈 상태 ── */
.hymn-today-card { background: white; border: 1px solid var(--indigo-100); border-radius: 12px; padding: 14px 16px; cursor: pointer; }
.hymn-today-card:active { background: var(--indigo-50); }
.hymn-today-label { font-size: 11px; font-weight: 700; color: var(--indigo-600); margin-bottom: 6px; }
.hymn-today-info { font-size: 15px; font-weight: 700; color: var(--gray-700); }

.hymn-category-chips { display: flex; gap: 6px; overflow-x: auto; }
.hymn-category-chips::-webkit-scrollbar { display: none; }
.hymn-cat-chip { background: var(--indigo-50); color: var(--indigo-600); border: 1px solid var(--indigo-100); border-radius: 16px; padding: 6px 12px; font-size: 12px; white-space: nowrap; cursor: pointer; flex-shrink: 0; }
.hymn-cat-chip.active { background: var(--indigo-600); color: white; border-color: var(--indigo-600); }
.hymn-cat-chip:active { opacity: .8; }

.hymn-recent-section { margin-top: 16px; }
.hymn-section-label { font-size: 10px; font-weight: 700; color: var(--gray-500); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 8px; }


/* ===== Tabs Redesign (2026-04-26) ===== */

/* ── 3탭 균등 ── */
.bottom-tabs { display:flex; }
.bottom-tabs .tab-btn { flex:1 1 0; }

/* ── 통합 성경 탭 헤더 ── */
.bible-header { display:flex; align-items:center; gap:8px; }
.bible-back {
  background:none; border:none; font-size:22px; cursor:pointer;
  padding:4px 8px; color:rgba(255,255,255,0.9);
}
.bible-back[hidden] { display:none; }
.bible-header .search-wrap { flex:1; }
.bible-header .book-pill { font-weight:600; }
.bible-header .book-pill[hidden],
.bible-header .chapter-nav-group[hidden] { display:none; }

/* ── 뷰 토글 ── */
.bible-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}
.bible-view[hidden] { display: none; }

/* ── 오늘의 말씀 카드 ── */
.today-verse-card {
  margin: 16px 12px;
  padding: 18px 18px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1px solid #e0d8fa;
  box-shadow: 0 2px 8px rgba(110, 89, 165, 0.08);
}
.today-verse-card .tv-header { font-size:13px; color:#6b5b9d; font-weight:600; margin-bottom:8px; }
.today-verse-card .tv-ref { font-size:14px; color:#4c3a87; font-weight:700; margin-bottom:6px; }
.today-verse-card .tv-text { font-size:15px; line-height:1.55; color:#2d2552; margin-bottom:12px; }
.today-verse-card .tv-cta {
  background:#6e59a5; color:#fff; border:none; border-radius:999px;
  padding:8px 14px; font-size:13px; cursor:pointer;
}
.today-verse-card .tv-cta:hover { background:#5d4b8c; }

/* ── 검색 결과 헤더(← 버튼) ── */
.results-header { padding: 8px 12px 0; }

/* ── 찬송가 절기 칩 2열 그리드 ── */
.hymn-category-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 12px;
}
.hymn-category-chips .hymn-cat-chip {
  white-space: normal;
  text-align: center;
}

/* ===== Mobile bible header fix (2026-04-26) ===== */

/* hidden 속성을 모든 display 룰보다 우선 — UA 기본 강제 */
[hidden] { display: none !important; }

/* 본문 뷰가 활성일 때 .bible-body의 flex:1 + overflow가 동작하도록 flex 컨테이너화 */
#bible-reader {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

/* ===== Version selector (2026-04-26) ===== */
.version-selector {
  padding: 8px 14px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid var(--gray-200);
}
.version-selector::-webkit-scrollbar { display: none; }
.ver-chip {
  flex: 0 0 auto;
  background: var(--gray-100);
  color: #374151;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.ver-chip.active {
  background: var(--indigo-600);
  color: white;
  border-color: var(--indigo-600);
}
.ver-chip:hover { opacity: 0.85; }

/* Header version select (2026-04-26) */
.version-select {
  flex: 0 0 auto;
  background: rgba(255,255,255,0.12);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  max-width: 110px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='white' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 22px;
}
.version-select option { color: black; background: white; }

/* ===== UI Fragility Fixes (2026-04-26) ===== */

/* iOS auto-zoom 방지: input font-size 16px 이상 — 시각 균형 위해 16px 통일 */
#bible-search,
#chat-input,
#hymn-search,
#search-input {
  font-size: 16px;
}

/* type=search input native 아이콘/취소 X 제거 */
input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}

/* 페이지 가로 스크롤 차단 */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* 헤더 폭 초과 방지: flex 자식이 줄어들도록 min-width:0 */
.bible-header { min-width: 0; flex-wrap: nowrap; }
.bible-header > * { min-width: 0; }
.bible-header .search-wrap { min-width: 0; flex: 1 1 auto; }
.bible-header .version-select { flex: 0 0 auto; }

/* dropdown 폭 — viewport에 따라 max-width 조정 (320 V1 같은 좁은 폭에서 잘림 방지) */
.version-select { max-width: 130px; }
@media (max-width: 380px) { .version-select { max-width: 90px; } }

/* 책 카드 긴 이름 (예: "데살로니가전서") 잘림 방지 */
.book-btn { word-break: keep-all; white-space: normal; }

/* ===== Loading spinner (2026-04-26) ===== */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  color: var(--gray-500, #6b7280);
}
.loading-spinner::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--gray-200, #e5e7eb);
  border-top-color: var(--indigo-600, #6e59a5);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
}
.loading-spinner span { font-size: 13px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 작은 인라인 spinner (카드 안 등) */
.loading-spinner.sm { padding: 8px; }
.loading-spinner.sm::before { width: 14px; height: 14px; border-width: 2px; }

/* ===== Image #4 회귀 fix — WKWebView search input shrink 강제 ===== */

/* 검색창이 부모 폭을 절대 초과하지 않게 — flex 0 basis 강제 */
.bible-header .search-wrap {
  flex: 1 1 0 !important;        /* basis 0 + grow + shrink */
  min-width: 0 !important;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

/* input 자체 width를 wrap 내부 100%로 강제 — WKWebView default 220px 무시 */
.bible-header #bible-search,
.bible-header input[type="search"] {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  /* 추가 native styling 제거 */
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent;
  border: none;
  outline: none;
}
.bible-header #bible-search::-webkit-search-decoration,
.bible-header #bible-search::-webkit-search-cancel-button,
.bible-header #bible-search::-webkit-search-results-button,
.bible-header #bible-search::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  display: none !important;
}

/* 헤더가 자식을 잘라서라도 viewport 안에 수렴 */
.bible-header { overflow: hidden; max-width: 100vw; }
.bible-header > * { box-sizing: border-box; }

/* version-select가 헤더 우측에서 절대 잘리지 않도록 명시적 우선순위 */
.bible-header .version-select {
  flex: 0 0 auto;
  min-width: 64px;
}

/* ===== Image #6 fix — 검색창 입력 텍스트 색 (어두운 헤더 배경 대비) ===== */
.bible-header #bible-search {
  color: white;
  caret-color: white;
}
.bible-header #bible-search::placeholder {
  color: var(--indigo-400, #a5a4d1);
}

/* ── 북마크 탭 ── */
#tab-bookmark .app-header { padding: 14px 16px 12px; }
.bookmark-list { flex: 1; overflow-y: auto; padding: 0 14px 16px; }
.bookmark-section { margin-top: 16px; }
.bookmark-section-label {
  font-size: 10px; font-weight: 700; color: var(--gray-500);
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 8px;
}
.bookmark-item {
  display: flex; align-items: center; background: white;
  border: 1px solid var(--gray-200); border-radius: 10px;
  padding: 10px 10px 10px 12px; margin-bottom: 6px; gap: 8px;
}
.bookmark-item-body { flex: 1; cursor: pointer; min-width: 0; }
.bookmark-item-ref { font-size: 11px; font-weight: 700; color: var(--indigo-600); margin-bottom: 2px; }
.bookmark-item-text {
  font-size: 13px; color: var(--gray-700);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bookmark-item-remove {
  flex-shrink: 0; background: none; border: none;
  color: var(--gray-500); font-size: 14px; cursor: pointer; padding: 4px 6px;
}
.bookmark-item-remove:active { color: #dc2626; }
.bookmark-empty {
  font-size: 13px; color: var(--gray-500);
  text-align: center; padding: 24px 0; line-height: 1.7;
}

/* ── 구절 인라인 액션 바 ── */
.bible-body .verse-row { flex-direction: column; row-gap: 0; cursor: pointer; }
.bible-body .verse-row:not(.highlighted):active { background: var(--gray-50); border-radius: 4px; }
.verse-body { display: flex; gap: 8px; align-items: flex-start; }
.verse-action-bar { display: flex; gap: 8px; padding: 4px 0 2px 26px; }
.verse-action-btn {
  background: var(--indigo-50); border: 1px solid var(--indigo-100);
  color: var(--indigo-600); border-radius: 8px;
  padding: 5px 10px; font-size: 12px; cursor: pointer;
}
.verse-action-btn:active { background: var(--indigo-100); }
.verse-action-btn.saved {
  background: var(--indigo-600); color: white; border-color: var(--indigo-600);
}

/* ── 찬송가 북마크 버튼 ── */
.hymn-bookmark-btn {
  background: none; border: 1px solid var(--gray-300); border-radius: 8px;
  font-size: 13px; cursor: pointer;
  padding: 5px 10px; color: var(--gray-500); flex-shrink: 0;
}
.hymn-bookmark-btn.bookmarked {
  background: var(--indigo-600); border-color: var(--indigo-600); color: white;
}
.hymn-bookmark-btn:active { opacity: 0.6; }
