/* 圣经阅读页：从 muyu_bible.template.html 内联样式拆出 */
    @media screen and (max-width: 768px) {
      body { padding: 0; }
    }
    #app {
      min-height: 82vh;
      position: relative;
      font-family: -apple-system,BlinkMacSystemFont,Avenir,Helvetica,Arial,sans-serif;
    }
    .bible-section-label {
      width: 100%;
      margin: 10px 0 8px;
      color: #555;
      font-size: 15px;
      font-weight: 600;
    }
    #bibleBookList {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    #bibleBookList .bible-book {
      display: inline-block;
      box-sizing: border-box;
      margin: 0;
      padding: 8px 12px;
      font-size: 14px;
      line-height: 1.35;
      text-align: center;
      border-radius: 6px;
      text-decoration: none;
      color: inherit;
    }
    @media screen and (max-width: 768px) {
      #bibleBookList { gap: 6px; }
      #bibleBookList .bible-book {
        width: calc((100% - 12px) / 3);
        padding: 6px 4px;
        font-size: 12px;
      }
    }
    @media screen and (min-width: 769px) {
      .bible-section-label { font-size: 16px; margin: 14px 0 10px; }
      #bibleBookList { gap: 12px; }
      #bibleBookList .bible-book {
        min-width: 6.2rem;
        font-size: 16px;
        padding: 10px 16px;
      }
    }

    .bible-reader-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin: 0 0 14px;
      border-bottom: 1px solid #e8e8e8;
      list-style: none;
      padding: 0;
    }
    .bible-reader-nav-tabs {
      display: flex;
      gap: 0;
      margin: 0;
      padding: 0;
      list-style: none;
      flex: 1 1 auto;
      min-width: 0;
    }
    .bible-reader-nav-tabs li {
      margin: 0;
      padding: 0;
    }
    .bible-reader-nav-tabs a,
    .bible-reader-nav-tabs button {
      display: block;
      padding: 10px 14px;
      color: #666;
      text-decoration: none;
      font-size: 15px;
      border: 0;
      background: transparent;
      cursor: pointer;
      border-bottom: 2px solid transparent;
      margin-bottom: -1px;
      white-space: nowrap;
    }
    .bible-reader-nav-tabs a.is-active,
    .bible-reader-nav-tabs button.is-active {
      color: #222;
      font-weight: 600;
      border-bottom-color: #333;
    }
    .bible-reader-nav-actions {
      display: flex;
      flex-wrap: nowrap;
      gap: 6px;
      flex: 0 0 auto;
      align-items: center;
      padding-bottom: 6px;
    }
    .bible-reader-nav-actions button {
      border: 0;
      cursor: pointer;
      padding: 5px 10px;
      border-radius: 4px;
      font-size: 12px;
      white-space: nowrap;
      line-height: 1.3;
    }
    #bible-title {
      font-size: 1.35rem;
      margin: 0 0 16px;
      line-height: 1.4;
    }
    .bible-verse { padding: 6px 0; line-height: 1.9; border-bottom: 1px dashed #eee; }
    .bible-verse-num { color: #888; margin-right: 8px; font-size: 13px; }
    .bible-pager {
      display: flex;
      justify-content: space-between;
      margin: 24px 0 8px;
      list-style: none;
      padding: 0;
    }
    .bible-pager button, .bible-pager a {
      border: 0;
      padding: 8px 16px;
      border-radius: 6px;
      cursor: pointer;
      background: #333;
      color: #fff;
      text-decoration: none;
      font-size: 14px;
    }
    .bible-pager button:disabled {
      opacity: .4;
      cursor: default;
    }
    #bible-panel-note {
      min-height: 120px;
    }
    .bible-note-empty {
      color: #888;
      padding: 24px 0;
      text-align: center;
      font-size: 15px;
    }
    .bible-note-article { margin: 0 0 8px; }
    .bible-note-title {
      margin: 0 0 8px;
      font-size: 1.15rem;
      line-height: 1.4;
      color: #222;
      font-weight: 600;
    }
    .bible-note-hint {
      margin: 0 0 12px;
      color: #888;
      font-size: 13px;
    }
    .bible-note-html {
      font-size: 15px;
      line-height: 1.85;
      color: #333;
      word-break: break-word;
    }
    .bible-note-html img { max-width: 100%; height: auto; }
    .bible-note-html p { margin: 0 0 0.85em; }
    .bible-note-sep {
      border: 0;
      border-top: 1px dashed #ddd;
      margin: 20px 0;
    }

    /* 章节弹层 */
    #search-modal.bible-chapter-modal {
      display: none;
      align-items: stretch;
      justify-content: center;
      overflow: hidden !important;
      padding: 0;
      box-sizing: border-box;
      height: 100%;
      height: 100dvh;
    }
    #search-modal.bible-chapter-modal.is-open { display: flex !important; }
    #search-modal.bible-chapter-modal .search-container {
      margin: auto 0.5rem !important;
      max-height: min(88vh, 88dvh);
      width: calc(100% - 1rem);
      max-width: 42rem;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      box-sizing: border-box;
    }
    #search-modal.bible-chapter-modal .bible-chapter-modal-head {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 12px 16px;
      border-bottom: 1px solid #eee;
      background: #fff;
      border-radius: 1rem 1rem 0 0;
      box-sizing: border-box;
    }
    #search-modal.bible-chapter-modal .bible-chapter-modal-head h3 {
      margin: 0;
      font-size: 15px;
      font-weight: 600;
      color: #333;
      line-height: 1.3;
      flex: 1 1 auto;
      min-width: 0;
    }
    #search-modal.bible-chapter-modal .searchclose {
      margin: 0;
      width: 36px;
      height: 36px;
      float: none;
      cursor: pointer;
      border: 0;
      padding: 0;
      flex: 0 0 auto;
      position: relative;
      right: auto;
      top: auto;
    }
    #search-modal.bible-chapter-modal .search-startscreen {
      /* 覆盖 blog.css 的 width:80% + margin:auto，避免左右不对称 */
      width: auto !important;
      max-width: none !important;
      margin: 0 !important;
      padding: 12px 0 20px !important;
      padding-left: 16px !important;
      padding-right: 16px !important;
      box-sizing: border-box !important;
      flex: 1 1 auto;
      align-self: stretch;
      min-width: 0;
      min-height: 0;
      max-height: none;
      overflow-y: auto !important;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      text-align: left;
      scrollbar-gutter: stable;
      scrollbar-width: thin;
      touch-action: pan-y;
    }
    #search-modal.bible-chapter-modal #chapterList {
      display: grid;
      grid-template-columns: repeat(8, minmax(0, 1fr));
      gap: 6px;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    #search-modal.bible-chapter-modal #chapterList .bible-chapter {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      min-height: 36px;
      box-sizing: border-box;
      text-align: center;
      margin: 0 !important;
      padding: 4px 2px !important;
      font-size: 13px;
      line-height: 1.15;
      text-decoration: none;
      border-radius: 6px;
    }
    @media screen and (max-width: 768px) {
      #search-modal.bible-chapter-modal .search-container {
        margin: 8px 8px !important;
        max-height: calc(100dvh - 16px);
        max-height: calc(100vh - 16px);
        border-radius: 12px;
      }
      #search-modal.bible-chapter-modal .bible-chapter-modal-head {
        border-radius: 12px 12px 0 0;
        padding: 10px 16px;
      }
      #search-modal.bible-chapter-modal .search-startscreen {
        padding-left: 16px !important;
        padding-right: 16px !important;
      }
      #search-modal.bible-chapter-modal .bible-chapter-modal-head h3 {
        font-size: 14px;
      }
      /* 手机：更密，约 6 列；高度够点三位数字（如 150） */
      #search-modal.bible-chapter-modal #chapterList {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 5px;
      }
      #search-modal.bible-chapter-modal #chapterList .bible-chapter {
        min-height: 38px;
        font-size: 13px;
        padding: 4px 1px !important;
      }
      #bible-title { font-size: 1.15rem; }
      .bible-reader-nav-tabs a,
      .bible-reader-nav-tabs button { padding: 10px 10px; font-size: 14px; }
      .bible-reader-nav-actions button { padding: 5px 8px; font-size: 11px; }
      .bible-note-html { font-size: 15px; }
    }
