/* 內容頁（site_gen 產生的比較／FAQ／功能／直播頁）專用版型。
 * 只補主題沒有的元件：比較表的記號與來源、FAQ 清單、YouTube 卡片與直播框。
 * 其餘一律沿用 theme.css 的 guide-*／feat／glass／section-head。 */

.content-hero { padding-bottom: 36px; }
.content-hero .guide-lede { margin-bottom: 18px; }
.content-callout { margin-top: 16px; }
.nav-links a[aria-current="page"] { color: var(--yl-frost); }

/* ---------- 比較表 ---------- */
.cmp-table { min-width: 720px; }
.cmp-table th[scope="row"] {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--yl-frost);
  min-width: 150px;
}
.cmp-table thead th { white-space: nowrap; }
.cmp-table thead th a { color: var(--yl-frost); text-decoration: none; border-bottom: 1px dotted var(--yl-mist); }
.cmp-table thead th a:hover { color: var(--yl-bloom); }
.cmp-table td { font-size: 13.5px; line-height: 1.55; }
.cmp-table .cmp-self { background: rgba(139, 109, 255, 0.09); }
.cmp-table thead .cmp-self { color: var(--yl-spark); }
.cmp-mark { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; white-space: nowrap; }
.cmp-sym { display: inline-block; width: 16px; text-align: center; }
.cmp-yes { color: var(--yl-spark); }
.cmp-partial { color: var(--yl-bloom); }
.cmp-no { color: var(--yl-mist); }
.cmp-unknown { color: var(--yl-mist); font-weight: 300; }
.cmp-src { margin-left: 2px; font-size: 11px; vertical-align: super; }
.cmp-src a { color: var(--yl-azure); text-decoration: none; }
.cmp-src a:hover { color: var(--yl-bloom); }
.cmp-note { display: block; margin-top: 3px; font-size: 12.5px; color: var(--yl-frost-2); font-weight: 300; }
.cmp-legend {
  margin: 14px 0 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--yl-mist);
  font-weight: 300;
}
.cmp-checked { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; }
.src-heading { margin: 30px 0 10px; font-size: 18px; }
.source-list { margin: 0; padding-left: 22px; display: grid; gap: 6px; font-size: 13px; color: var(--yl-frost-2); font-weight: 300; }
.source-list li { line-height: 1.6; }
.source-list a { color: var(--yl-spark); word-break: break-all; }
.source-list a:hover { color: var(--yl-bloom); }
.src-checked { margin-left: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--yl-mist); letter-spacing: 0.04em; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 22px 24px; }
.faq-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.35;
  color: var(--yl-frost);
  margin-bottom: 10px;
}
.faq-item .guide-p + .guide-p { margin-top: 10px; }

/* ---------- YouTube ---------- */
.yt-live-card { padding: 18px; margin-bottom: 26px; }
.yt-live { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.yt-live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-live-note { margin-top: 14px; }
.yt-live-card .guide-p + .guide-p { margin-top: 8px; }
.yt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.yt-card { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.yt-card h3 { font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--yl-frost); }
.yt-card h3 a { color: inherit; text-decoration: none; }
.yt-card h3 a:hover { color: var(--yl-bloom); }
.yt-card .guide-p { font-size: 13.5px; white-space: pre-line; }
.yt-date { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--yl-mist); margin-top: auto; }
.yt-lite {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.yt-lite img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #fff;
  background: rgba(139, 109, 255, 0.85);
  box-shadow: 0 8px 28px rgba(139, 109, 255, 0.5);
  transition: transform 0.15s ease;
}
.yt-lite:hover .yt-play, .yt-lite:focus-visible .yt-play { transform: scale(1.08); }
.yt-lite:focus-visible { outline: 2px solid var(--yl-spark); outline-offset: 2px; }

@media (max-width: 600px) {
  .faq-item { padding: 18px; }
  .faq-item h3 { font-size: 19px; }
  .yt-grid { grid-template-columns: 1fr; }
}
