/* 電腦版專屬：維持原本的閱讀比例 */
#mas-content {
  font-size: 18px;
  line-height: 1.8;
}

/* 只有電腦版才需要 hover 顯示氣泡 */
.mas-highlight[data-comment]:not([data-comment=""]):hover::after,
.mas-highlight[data-comment]:not([data-comment=""]):hover::before {
  display: block;
}

/* ============================================================
   MAS - Desktop 特定樣式
   僅在桌面版載入，用於增加側邊列寬度並優化佈局
   ============================================================ */

#mas-nav-sidebar {
  /* 設定寬度為 30% */
  width: 30%;

  /* 初始隱藏狀態：位移值必須等於寬度的負值 */
  right: -30%;
  transition: right 0.3s ease-in-out;

  /* 強化桌面端的陰影感 */
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  z-index: 9999;
}

#mas-nav-sidebar.active {
  /* 開啟時滑回右側邊界 */
  right: 0;
}

/* 針對桌面版內容容器的間距微調 */
.mas-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

#mas-nav-list-container {
  padding: 15px;
  /* 增加滾動條美化（桌面版特有） */
  overflow-y: auto;
  height: calc(100vh - 80px);
}

/* 讓桌面版的標註項目更易於閱讀 */
.mas-nav-item {
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.mas-nav-item:hover {
  background-color: #f8f9fa;
}

