/* 全站視覺一致性 2026-11-14：移除與導覽重複的頁首標題牌。
   隱藏僅限視覺，原有語意標題仍可供輔助閱讀技術讀取。
   圖片內已印製的標題、各卡片主題、預約步驟標題均保留。 */

/* 主頁主視覺照舊保留，只收起額外的羊皮紙標題牌。 */
#view-home .story-book-page > .story-chapter > .story-chapter-title,
/* 聊天須知的共用頁首只剩標題牌，整塊收起；四張章節原圖不動。 */
#view-notices .notices-four-frame > .story-chapter,
/* 聊天範例不需再出現一整張獨立標題牌。 */
#view-chat-examples > .text-center:first-child,
/* 聊天前準備保留期限提醒，只收起重複的頁名。 */
#view-prep > .text-center.mb-8 > h2,
/* 預約表單頂端的「我要預約」橫幅收起，步驟、欄位不動。 */
#view-booking > div:first-child > .bg-primary.p-4.text-center {
  position: absolute !important;
  inline-size: 1px !important;
  block-size: 1px !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 1px !important;
  max-height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  transform: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* 保留具有實際準備時限的提醒；不製造新的大標題框。 */
#view-prep > .text-center:first-child {
  margin: 0 auto 1.25rem !important;
  padding: 0 .4rem !important;
}

/* 不在此處覆寫原本的 switchView()：僅預約頁隱藏選單。
   其餘頁面的 CSS 舊隱藏規則已移除。 */
@media (max-width: 767px) {
  #fab-group {
    right: calc(.6rem + env(safe-area-inset-right)) !important;
    bottom: calc(.65rem + env(safe-area-inset-bottom)) !important;
  }
  #fab-group #fab-toggle-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
    opacity: .94;
  }
  #fab-group #fab-icon {
    font-size: 1.16rem !important;
  }
  body.mobile-fab-visible main {
    padding-bottom: calc(7rem + env(safe-area-inset-bottom)) !important;
  }
}
