[v-cloak] { display: none; }
:root { --navy: #172b5d; --blue: #1A73E8; }
html, body { height: 100%; margin: 0; background: #0f1b2d; }
/* 公開模式（main.js 依 /api/public_config 在 <html> 加 public-mode）：藏起存檔、生成、麥克風等按鈕 */
html.public-mode [data-public-off] { display: none !important; }
/* 只在公開模式顯示的說明（例如「公開體驗版不提供…」）；非公開模式一律隱藏 */
html:not(.public-mode) [data-public-only] { display: none !important; }
/* 練習頁左欄「建立題庫」整塊隱藏後，題庫清單佔滿整列 */
html.public-mode .lib-list { width: 100%; }

/* 藍色標記：證明這整塊是 HTML（Vue 繪製） */
.html-marker {
  position: fixed; top: 8px; left: 8px; z-index: 9999;
  display: flex; align-items: center; gap: 6px;
  background: rgba(26,115,232,.12); color: var(--blue);
  border: 1px solid var(--blue); border-radius: 6px;
  padding: 3px 8px; font-size: 12px; font-weight: 700;
}
.html-marker .dot { width: 12px; height: 12px; background: var(--blue); border-radius: 3px; }

.sidebar { width: 230px; background: var(--navy); }
.sidebar .nav-link { border-radius: 8px; cursor: pointer; color: #cdd9ea; }
.sidebar .nav-link.active { background: var(--blue); color: #fff; }
.sidebar small { color: #9fb3cc; }

.spk { flex: 0 0 40px; color: #6B7C93; font-weight: 700; }
.example-line { line-height: 1.9; }        /* 句子與按鈕同段 → inline-block 自動回流 */
.nav-tabs .nav-link { cursor: pointer; }
