/* fc/tabs.css — 共用分段/标签选中态（地基第 2/6 步，DESIGN.md §10.2/10.4）。不写强制优先级：
   旧的 controls/seg-pill 规则用 --sel-bg / --sel-ink 上色，这里只给变量赋值；
   选中态：金软底 + 金字 + 金 1px 内描边 + 浮起投影。日夜颜色全部来自 tokens。
   s6b：从西占扩展到常见分段槽；flat8 深色选中强制已让位。 */
html[data-tone] body main :is(
  .astro-view-switch,
  .tz-seg,
  .ox-tabs,
  .seg-pill,
  .segmented,
  .topic-chips,
  .timing-views,
  .consult-topic-tabs,
  .ziwei-scope,
  .ziwei-chart-toolbar,
  .meihua-segment,
  .meihua-moving
),
html[data-tone] body.site-workspace .reference-scope .astro-view-switch,
html[data-tone] body .astrology-panel .astro-view-switch {
  --sel-bg: var(--gold-soft);
  --sel-ink: var(--gold-text);
}

html[data-tone] body main :is(
  .astro-view-switch,
  .tz-seg,
  .ox-tabs,
  .seg-pill,
  .segmented,
  .topic-chips,
  .timing-views,
  .consult-topic-tabs,
  .ziwei-scope,
  .ziwei-chart-toolbar
) :is(button, a):is([aria-pressed="true"], [aria-selected="true"], [aria-current="true"], [aria-current="page"], .on, .active, .is-active),
html[data-tone] body main .meihua-segment input:checked + span,
html[data-tone] body main .meihua-moving input:checked + span,
html[data-tone] body .astrology-panel .astro-view-switch button[aria-pressed="true"],
html[data-tone] body.site-workspace .reference-scope .astro-view-switch button[aria-pressed="true"] {
  background: var(--gold-soft);
  color: var(--gold-text);
  -webkit-text-fill-color: var(--gold-text);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--gold), var(--dp-up);
}
