/* Bible 模块样式（desktop / mobile 共用，纯响应式）。
 * 视觉目标：Calm / Readable / Modern / Minimal —— 文字是视觉中心。
 * 主题三态：html[data-theme=dark] 强制深色；auto/缺省跟随系统。 */

:root {
  --bible-reader-max-width: 760px;
  --bible-text-size: 19px;
  --bible-text-line-height: 1.75;
  --bible-toolbar-height: 52px;
  --bible-player-height: 68px;
  --bible-sidebar-width: 252px;
  --bible-radius-sm: 8px;
  --bible-radius-md: 12px;
  --bible-radius-lg: 18px;
  --bible-transition: 140ms ease;
  --global-navbar-height: 0px;
  --bible-player-offset: 0px;

  /* 浅色（默认） */
  --bible-bg: #f7f7f9;
  --bible-surface: #ffffff;
  --bible-surface-2: #f0f1f4;
  --bible-border: rgba(0, 0, 0, 0.10);
  --bible-border-soft: rgba(0, 0, 0, 0.06);
  --bible-text: #1c1c1e;
  --bible-text-sub: #6b6b70;
  --bible-text-faint: #9a9aa0;
  --bible-accent: #0a66d6;
  --bible-accent-soft: rgba(10, 102, 214, 0.10);
  --bible-danger: #d93025;
  --bible-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  --bible-backdrop: rgba(0, 0, 0, 0.32);

  /* 高亮五色（用户高亮=背景色；播放态=左侧 accent bar，两者不冲突） */
  --bible-hl-yellow: rgba(245, 200, 66, 0.32);
  --bible-hl-green: rgba(52, 199, 89, 0.22);
  --bible-hl-blue: rgba(10, 132, 255, 0.18);
  --bible-hl-rose: rgba(251, 113, 133, 0.22);
  --bible-hl-purple: rgba(155, 108, 255, 0.20);
}

html[data-theme="dark"] {
  --bible-bg: #0e0e11;
  --bible-surface: #1a1a1e;
  --bible-surface-2: #232329;
  --bible-border: rgba(255, 255, 255, 0.14);
  --bible-border-soft: rgba(255, 255, 255, 0.08);
  --bible-text: #ececf0;
  --bible-text-sub: #a2a2aa;
  --bible-text-faint: #6f6f78;
  --bible-accent: #4899f0;
  --bible-accent-soft: rgba(72, 153, 240, 0.16);
  --bible-danger: #ff6b5e;
  --bible-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  --bible-backdrop: rgba(0, 0, 0, 0.55);
  --bible-hl-yellow: rgba(245, 200, 66, 0.24);
  --bible-hl-green: rgba(52, 199, 89, 0.20);
  --bible-hl-blue: rgba(10, 132, 255, 0.22);
  --bible-hl-rose: rgba(251, 113, 133, 0.20);
  --bible-hl-purple: rgba(155, 108, 255, 0.22);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"], html:not([data-theme]) {
    --bible-bg: #0e0e11;
    --bible-surface: #1a1a1e;
    --bible-surface-2: #232329;
    --bible-border: rgba(255, 255, 255, 0.14);
    --bible-border-soft: rgba(255, 255, 255, 0.08);
    --bible-text: #ececf0;
    --bible-text-sub: #a2a2aa;
    --bible-text-faint: #6f6f78;
    --bible-accent: #4899f0;
    --bible-accent-soft: rgba(72, 153, 240, 0.16);
    --bible-danger: #ff6b5e;
    --bible-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
    --bible-backdrop: rgba(0, 0, 0, 0.55);
    --bible-hl-yellow: rgba(245, 200, 66, 0.24);
    --bible-hl-green: rgba(52, 199, 89, 0.20);
    --bible-hl-blue: rgba(10, 132, 255, 0.22);
    --bible-hl-rose: rgba(251, 113, 133, 0.20);
    --bible-hl-purple: rgba(155, 108, 255, 0.22);
  }
}

/* ============ App 骨架 ============ */

.bApp {
  color: var(--bible-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
.bApp.bSerif .bVText { font-family: Georgia, "Songti SC", "Noto Serif CJK SC", "SimSun", serif; }
.bApp.bHasPlayer { padding-bottom: calc(var(--bible-player-height) + var(--bible-player-offset) + 16px); }

.bIco { width: 18px; height: 18px; flex: none; }
.bIcoSm { width: 14px; height: 14px; }

/* ============ Toolbar ============ */

.bToolbar {
  position: sticky;
  top: var(--global-navbar-height);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--bible-toolbar-height);
  /* 宽屏时内容与顶部导航（min(1100px, 100%-36px) 居中）左右对齐，窄屏保持 12px */
  padding: 6px max(12px, calc((100% - 1100px) / 2));
  background: color-mix(in srgb, var(--bible-bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--bible-border-soft);
}
.bTbLeft, .bTbRight { display: flex; align-items: center; gap: 4px; min-width: 0; }

.bIconBtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  min-width: 44px; min-height: 44px;
  border: 0; border-radius: var(--bible-radius-md);
  background: transparent; color: var(--bible-text);
  cursor: pointer;
  transition: background var(--bible-transition);
}
.bIconBtn:hover { background: var(--bible-surface-2); }
.bIconBtn:focus-visible, .bBtn:focus-visible, .bSeg:focus-visible, .bVerse:focus-visible,
.bPickerBtn:focus-visible, .bRowBtn:focus-visible, .bSearchHit:focus-visible {
  outline: 2px solid var(--bible-accent);
  outline-offset: 2px;
}

.bPickerBtn {
  display: inline-flex; align-items: center; gap: 6px;
  max-width: 52vw;
  height: 40px; min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--bible-border);
  border-radius: 999px;
  background: var(--bible-surface);
  color: var(--bible-text);
  font-size: 15px; font-weight: 600;
  cursor: pointer;
}
.bPickerLabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ 布局（三档断点） ============ */

.bLayout { display: flex; justify-content: center; align-items: flex-start; gap: 20px; padding: 0 16px; }
.bMain { flex: 1 1 auto; min-width: 0; max-width: var(--bible-reader-max-width); }
.bSidebar { display: none; }

@media (min-width: 1100px) {
  .bSidebarOpen .bSidebar {
    display: block;
    position: sticky;
    top: calc(var(--global-navbar-height) + var(--bible-toolbar-height) + 10px);
    width: var(--bible-sidebar-width);
    max-height: calc(100vh - var(--global-navbar-height) - var(--bible-toolbar-height) - 30px);
    overflow-y: auto;
    flex: none;
    padding: 8px;
    border: 1px solid var(--bible-border-soft);
    border-radius: var(--bible-radius-lg);
    background: var(--bible-surface);
  }
}
.bDeskOnly { display: none; }
.bMobOnly { display: inline-flex; }
@media (min-width: 768px) {
  .bDeskOnly { display: inline-flex; }
  .bMobOnly { display: none; }
}

.bSideHead { padding: 10px 10px 4px; font-size: 12px; font-weight: 700; color: var(--bible-text-faint); }
.bSideBook {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 8px 10px;
  border: 0; border-radius: var(--bible-radius-sm);
  background: transparent; color: var(--bible-text);
  font-size: 14px; text-align: left; cursor: pointer;
}
.bSideBook:hover { background: var(--bible-surface-2); }
.bSideBook.on { background: var(--bible-accent-soft); color: var(--bible-accent); font-weight: 600; }
.bSideCh { font-size: 12px; color: var(--bible-text-sub); }

/* ============ Reader ============ */

.bReader { padding: 8px 2px 40px; }
.bChTitle {
  margin: 22px 0 18px;
  font-size: calc(var(--bible-text-size) + 5px);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.bVerses { display: block; }

.bVerse {
  position: relative;
  display: block;
  margin: 0 0 calc(var(--bible-text-size) * 0.5);
  padding: 3px 8px 3px 10px;
  border-radius: var(--bible-radius-sm);
  border-left: 3px solid transparent;
  font-size: var(--bible-text-size);
  line-height: var(--bible-text-line-height);
  cursor: pointer;
  transition: background var(--bible-transition);
  -webkit-tap-highlight-color: transparent;
}
.bVNum {
  display: inline-block;
  min-width: 1.5em;
  margin-right: 2px;
  color: var(--bible-text-faint);
  font-size: calc(var(--bible-text-size) * 0.68);
  font-weight: 600;
  vertical-align: 0.25em;
  user-select: none;
}
.bVText { color: var(--bible-text); }

/* 状态层级：用户高亮=背景；选中=描边；互不覆盖 */
.bVerse.hl-yellow { background: var(--bible-hl-yellow); }
.bVerse.hl-green { background: var(--bible-hl-green); }
.bVerse.hl-blue { background: var(--bible-hl-blue); }
.bVerse.hl-rose { background: var(--bible-hl-rose); }
.bVerse.hl-purple { background: var(--bible-hl-purple); }
.bVerse.sel { outline: 2px solid var(--bible-accent); outline-offset: 0; }
.bVerse.flash { animation: bFlash 1.5s ease; }
@keyframes bFlash { 0% { background: var(--bible-accent-soft); } 100% { background: transparent; } }

.bVMarks { position: absolute; top: 6px; right: 4px; display: inline-flex; gap: 2px; opacity: 0.75; }
.bMarkIco { width: 12px; height: 12px; color: var(--bible-accent); }

.bChFoot { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.bChNavBtn { flex: 1; justify-content: center; }

/* Loading / skeleton / error */
.bReader.bLoading { opacity: 0.55; pointer-events: none; transition: opacity var(--bible-transition); }
.bSkeleton { padding: 30px 4px; }
.bSkLine {
  height: calc(var(--bible-text-size) * 0.9);
  margin-bottom: calc(var(--bible-text-size) * 0.9);
  border-radius: 6px;
  background: var(--bible-surface-2);
  animation: bPulse 1.3s ease-in-out infinite;
}
@keyframes bPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.bError { padding: 60px 20px; text-align: center; color: var(--bible-text-sub); }
.bError p { margin-bottom: 16px; }

/* ============ 按钮 / 通用 ============ */

.bBtn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--bible-border);
  border-radius: var(--bible-radius-md);
  background: var(--bible-surface);
  color: var(--bible-text);
  font-size: 14px;
  cursor: pointer;
}
.bBtn:hover { background: var(--bible-surface-2); }
.bBtn.primary { background: var(--bible-accent); border-color: var(--bible-accent); color: #fff; }
.bBtn.danger { color: var(--bible-danger); border-color: color-mix(in srgb, var(--bible-danger) 40%, transparent); }
.bBtn:disabled { opacity: 0.45; cursor: default; }
.bBtnSm { min-height: 32px; padding: 4px 12px; font-size: 13px; }

.bSegRow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bSeg {
  min-height: 38px;
  padding: 6px 16px;
  border: 1px solid var(--bible-border);
  border-radius: 999px;
  background: var(--bible-surface);
  color: var(--bible-text-sub);
  font-size: 14px;
  cursor: pointer;
}
.bSeg.on { background: var(--bible-accent-soft); border-color: var(--bible-accent); color: var(--bible-accent); font-weight: 600; }

.bChip {
  min-height: 36px; padding: 4px 14px;
  border: 1px solid var(--bible-border); border-radius: 999px;
  background: var(--bible-surface); color: var(--bible-text-sub);
  font-size: 13px; cursor: pointer;
}
.bChip.on { background: var(--bible-accent-soft); border-color: var(--bible-accent); color: var(--bible-accent); }

.bEmpty { padding: 36px 12px; text-align: center; color: var(--bible-text-faint); font-size: 14px; }

/* ============ Toast ============ */

.bToast {
  position: fixed;
  left: 50%; bottom: calc(96px + var(--bible-player-offset) + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(12px);
  z-index: 1200;
  max-width: min(86vw, 420px);
  padding: 10px 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bible-text) 88%, transparent);
  color: var(--bible-bg);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.bToast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.bToast[data-ok="0"] { background: var(--bible-danger); color: #fff; }

/* ============ Sheet（移动 bottom sheet / 桌面居中面板） ============ */

.bSheetBackdrop {
  position: fixed; inset: 0; z-index: 900;
  background: var(--bible-backdrop);
  opacity: 0; transition: opacity 180ms ease;
}
.bSheetBackdrop.show { opacity: 1; }

.bSheet {
  position: fixed; z-index: 950;
  left: 0; right: 0; bottom: 0;
  max-height: min(82vh, 680px);
  display: flex; flex-direction: column;
  background: var(--bible-surface);
  border-radius: var(--bible-radius-lg) var(--bible-radius-lg) 0 0;
  box-shadow: var(--bible-shadow);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 160ms ease;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bSheet.show { transform: translateY(0); opacity: 1; }

@media (min-width: 768px) {
  .bSheet {
    left: 50%; right: auto; bottom: auto; top: 50%;
    width: min(560px, calc(100vw - 48px));
    max-height: min(76vh, 640px);
    border-radius: var(--bible-radius-lg);
    transform: translate(-50%, -46%);
  }
  .bSheet.show { transform: translate(-50%, -50%); }
  .bSheetHandle { display: none; }
}

.bSheetHandle {
  width: 42px; height: 5px;
  margin: 8px auto 2px;
  border-radius: 999px;
  background: var(--bible-border);
}
.bSheetHead {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px 6px;
}
.bSheetTitle { font-size: 16px; font-weight: 700; }
.bSheetBody { overflow-y: auto; padding: 6px 16px 20px; overscroll-behavior: contain; }
.bSheetSmall .bSheetBody { padding-top: 16px; }

.bConfirmMsg { margin: 4px 0 18px; font-size: 15px; }
.bConfirmRow { display: flex; gap: 10px; justify-content: flex-end; }

/* ============ 选择器 ============ */

.bPicker .bSegRow { margin-bottom: 12px; }
.bBookGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.bBookBtn {
  min-height: 44px;
  padding: 8px 6px;
  border: 1px solid var(--bible-border-soft);
  border-radius: var(--bible-radius-sm);
  background: var(--bible-surface-2);
  color: var(--bible-text);
  font-size: 14px; cursor: pointer;
}
.bBookBtn.on { background: var(--bible-accent-soft); border-color: var(--bible-accent); color: var(--bible-accent); font-weight: 600; }
.bChGridTitle { margin: 4px 0 8px; font-size: 13px; color: var(--bible-text-sub); }
.bChGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px; }
.bChBtn {
  min-height: 44px;
  border: 1px solid var(--bible-border-soft);
  border-radius: var(--bible-radius-sm);
  background: var(--bible-surface-2);
  color: var(--bible-text);
  font-size: 15px; cursor: pointer;
}
.bChBtn.on { background: var(--bible-accent); border-color: var(--bible-accent); color: #fff; font-weight: 700; }

/* ============ 动作条 ============ */

.bActionBar {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: calc(14px + var(--bible-player-offset) + env(safe-area-inset-bottom, 0px));
  z-index: 500;
  width: min(calc(100vw - 24px), 560px);
  padding: 10px 12px;
  border: 1px solid var(--bible-border-soft);
  border-radius: var(--bible-radius-lg);
  background: var(--bible-surface);
  box-shadow: var(--bible-shadow);
}
.bHasPlayer .bActionBar { bottom: calc(var(--bible-player-height) + var(--bible-player-offset) + 20px + env(safe-area-inset-bottom, 0px)); }
.bSelInfo { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.bSelCount { font-size: 13px; font-weight: 700; color: var(--bible-accent); }
.bSelRange { font-size: 13px; color: var(--bible-text-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bHlRow { display: flex; gap: 10px; margin-bottom: 10px; }
.bHlDot {
  width: 30px; height: 30px;
  border: 2px solid var(--bible-border);
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--bible-text-sub);
  background: transparent;
}
.bHlDot.hl-yellow { background: var(--bible-hl-yellow); }
.bHlDot.hl-green { background: var(--bible-hl-green); }
.bHlDot.hl-blue { background: var(--bible-hl-blue); }
.bHlDot.hl-rose { background: var(--bible-hl-rose); }
.bHlDot.hl-purple { background: var(--bible-hl-purple); }
.bHlDot.on { border-color: var(--bible-accent); }

.bActBtns { display: flex; gap: 2px; justify-content: space-between; }
.bActBtn {
  flex: 1;
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  min-height: 48px;
  padding: 6px 2px;
  border: 0; border-radius: var(--bible-radius-sm);
  background: transparent; color: var(--bible-text);
  font-size: 11px; cursor: pointer;
}
.bActBtn:hover { background: var(--bible-surface-2); }
.bActLabel { color: var(--bible-text-sub); }

/* ============ 行按钮 / 菜单 / 列表 ============ */

.bMenuList, .bFolderList, .bMyList { display: flex; flex-direction: column; gap: 2px; }
.bRowBtn {
  display: flex; align-items: center; gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border: 0; border-radius: var(--bible-radius-md);
  background: transparent; color: var(--bible-text);
  font-size: 15px; text-align: left; cursor: pointer;
}
.bRowBtn:hover { background: var(--bible-surface-2); }
.bRowBtn:disabled { opacity: 0.4; }
.bRowLabel { flex: 1; }
.bRowMeta { font-size: 12px; color: var(--bible-text-faint); }
.bRowBtn.add { color: var(--bible-accent); }

.bMyItem, .bSearchHit {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: var(--bible-radius-sm);
  background: transparent;
  color: var(--bible-text);
  text-align: left; cursor: pointer;
}
.bMyItem:hover, .bSearchHit:hover { background: var(--bible-surface-2); }
.bMyItem.hl-yellow { border-left-color: #e0b52f; }
.bMyItem.hl-green { border-left-color: #34c759; }
.bMyItem.hl-blue { border-left-color: #0a84ff; }
.bMyItem.hl-rose { border-left-color: #fb7185; }
.bMyItem.hl-purple { border-left-color: #9b6cff; }
.bHitRef { display: flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--bible-accent); margin-bottom: 2px; }
.bHitText { font-size: 14px; line-height: 1.6; color: var(--bible-text-sub); }
.bHitText mark { background: var(--bible-hl-yellow); color: var(--bible-text); border-radius: 2px; padding: 0 1px; }
.bSearchHit.ref { background: var(--bible-accent-soft); border-radius: var(--bible-radius-md); margin-bottom: 6px; }

/* ============ 搜索 ============ */

.bSearchInput {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--bible-border);
  border-radius: var(--bible-radius-md);
  background: var(--bible-surface-2);
  color: var(--bible-text);
  font-size: 16px;
}
.bSearchInput:focus { outline: 2px solid var(--bible-accent); border-color: transparent; }
.bSearchStatus { padding: 8px 2px; font-size: 13px; color: var(--bible-text-faint); }
.bSearchResults { display: flex; flex-direction: column; gap: 2px; }
.bSheetSearch .bSheetBody { min-height: 40vh; }

/* ============ MiniPlayer ============ */

.bMiniPlayer[hidden], .bActionBar[hidden] { display: none; }
.bMiniPlayer {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: calc(var(--bible-player-offset) + 10px + env(safe-area-inset-bottom, 0px));
  z-index: 400;
  width: min(calc(100vw - 20px), 680px);
  height: var(--bible-player-height);
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--bible-border-soft);
  border-radius: var(--bible-radius-lg);
  background: var(--bible-surface);
  box-shadow: var(--bible-shadow);
  overflow: hidden;
}
.bMiniInfo { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bMiniTitle {
  border: 0; background: transparent; padding: 0;
  color: var(--bible-text); font-size: 14px; font-weight: 600;
  text-align: left; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bMiniTitle.err { color: var(--bible-danger); }
.bMiniTime { font-size: 12px; color: var(--bible-text-faint); display: inline-flex; align-items: center; gap: 8px; }
.bMiniCtrls { display: flex; align-items: center; gap: 2px; flex: none; }
.bPlayBtn { color: var(--bible-accent); }
.bMiniBar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--bible-border-soft); }
.bMiniBarFill { height: 100%; width: 0; background: var(--bible-accent); transition: width 250ms linear; }
@media (max-width: 480px) { .bMiniPlayer .bDesk { display: none; } }

/* 展开播放器 */
.bXPlayer { display: flex; flex-direction: column; gap: 12px; }
.bXTitle { font-size: 17px; font-weight: 700; text-align: center; margin-top: 4px; }
.bXSeekRow { display: flex; align-items: center; gap: 10px; }
.bXTime { font-size: 12px; color: var(--bible-text-faint); min-width: 38px; text-align: center; }
.bSeek { flex: 1; accent-color: var(--bible-accent); min-height: 30px; }
.bXCtrls { display: flex; align-items: center; justify-content: center; gap: 14px; }
.bPlayBig {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bible-accent);
  color: #fff;
}
.bPlayBig:hover { background: var(--bible-accent); opacity: 0.9; }
.bXSection { font-size: 12px; font-weight: 700; color: var(--bible-text-faint); margin-top: 4px; }
.bRateRow { display: flex; gap: 8px; flex-wrap: wrap; }
.bXRow { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 6px; }

/* ============ 笔记编辑器 ============ */

.bNoteEditor { display: flex; flex-direction: column; gap: 12px; }
.bNoteRef {
  padding: 10px 12px;
  border-left: 3px solid var(--bible-accent);
  border-radius: var(--bible-radius-sm);
  background: var(--bible-surface-2);
}
.bNoteRefTitle { font-size: 13px; font-weight: 700; color: var(--bible-accent); margin-bottom: 4px; }
.bNoteRefText { font-size: 14px; line-height: 1.6; color: var(--bible-text-sub); }
.bNoteInput {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--bible-border);
  border-radius: var(--bible-radius-md);
  background: var(--bible-surface);
  color: var(--bible-text);
  font-size: 15px; line-height: 1.6;
  resize: vertical;
}
.bNoteInput:focus { outline: 2px solid var(--bible-accent); border-color: transparent; }
.bNoteFoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bNoteStatus { font-size: 13px; color: var(--bible-text-faint); }
.bNoteStatus.err { color: var(--bible-danger); }
.bNoteBtns { display: flex; gap: 8px; }

/* ============ 设置 ============ */

.bSettings { display: flex; flex-direction: column; gap: 16px; }
.bSetRow { display: flex; flex-direction: column; gap: 8px; }
.bSetLabel { font-size: 13px; font-weight: 700; color: var(--bible-text-sub); }
.bSetVal { min-width: 52px; text-align: center; font-size: 14px; color: var(--bible-text); align-self: center; }
.bSetHint { font-size: 12px; color: var(--bible-text-faint); line-height: 1.6; }

/* 简易阅读模式：更大、更少干扰 */
.bApp.bSimple { --bible-text-size: 22px !important; --bible-text-line-height: 1.9; --bible-reader-max-width: 680px; }
.bApp.bSimple .bVMarks { display: none; }
.bApp.bSimple .bBtn, .bApp.bSimple .bSeg { min-height: 50px; font-size: 16px; }
.bApp.bSimple .bVerse { margin-bottom: calc(var(--bible-text-size) * 0.7); }

/* ============ 首页 Landing ============ */

.bLanding { padding: 20px 4px 60px; }
.bLandTitle { font-size: 26px; font-weight: 800; margin: 14px 0 16px; }
.bLandSearch {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--bible-border);
  border-radius: var(--bible-radius-md);
  background: var(--bible-surface);
  color: var(--bible-text-faint);
  font-size: 15px; cursor: pointer;
}
.bContinueRow { display: flex; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.bContinueCard {
  flex: 1 1 200px;
  padding: 14px 16px;
  border: 1px solid var(--bible-border-soft);
  border-radius: var(--bible-radius-lg);
  background: var(--bible-surface);
  text-align: left; cursor: pointer;
  color: var(--bible-text);
}
.bContinueCard:hover { background: var(--bible-surface-2); }
.bContinueKind { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--bible-accent); margin-bottom: 6px; }
.bContinueRef { font-size: 17px; font-weight: 700; }
.bContinueMeta { font-size: 12px; color: var(--bible-text-faint); margin-top: 4px; }

.bLandCols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
@media (max-width: 560px) { .bLandCols { grid-template-columns: 1fr; } }
.bLandColHead { font-size: 15px; font-weight: 800; margin: 12px 0 8px; }
.bLandBook {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 0; border-radius: var(--bible-radius-sm);
  background: transparent; color: var(--bible-text);
  font-size: 15px; cursor: pointer; text-align: left;
}
.bLandBook:hover { background: var(--bible-surface-2); }
.bLandChs { font-size: 12px; color: var(--bible-text-faint); }
.bLandMyRow { display: flex; gap: 10px; margin-top: 24px; }
.bLandMyBtn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  border: 1px solid var(--bible-border-soft);
  border-radius: var(--bible-radius-md);
  background: var(--bible-surface);
  color: var(--bible-text);
  font-size: 14px; cursor: pointer;
}
.bLandMyBtn:hover { background: var(--bible-surface-2); }

/* ============ 研经面板 ============ */

.bStudyPanel .bSegRow { margin-bottom: 12px; }
.bStudyItem {
  padding: 12px;
  border: 1px solid var(--bible-border-soft);
  border-radius: var(--bible-radius-md);
  margin-bottom: 10px;
  background: var(--bible-surface);
}
.bStudyTitle { font-size: 15px; font-weight: 700; margin-bottom: 6px; cursor: pointer; }
.bStudyText { font-size: 14px; line-height: 1.75; color: var(--bible-text-sub); white-space: pre-wrap; }

/* ============ 可访问性 / 动效 ============ */

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
