/* Sci-Flipper 共用頂欄（淺色／深色隨頁面的 data-theme） */
.sfbar { background: var(--surface, #fff); border-bottom: 1px solid var(--line, #e3e9f4); font-size: 13px; }
.sfbar .sf-in { max-width: 1120px; margin: 0 auto; padding: 0 16px; min-height: 38px; display: flex; align-items: center; gap: 14px; }
.sfbar a, .sfbar span { color: inherit; text-decoration: none; }
.sf-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink, #0c1a36); white-space: nowrap; }
.sf-brand b { font-weight: 800; letter-spacing: .2px; }
.sf-brand .sf-tag { font-weight: 500; color: var(--muted, #5f6e88); font-size: 12px; }
.sf-mark { display: block; width: 22px; height: 22px; }
.sf-mark.sf-dark { display: none; }
[data-theme="dark"] .sf-mark.sf-light { display: none; }
[data-theme="dark"] .sf-mark.sf-dark { display: block; }
.sf-sites { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.sf-sites a, .sf-sites span { padding: 3px 10px; border-radius: 999px; color: var(--muted, #5f6e88); white-space: nowrap; }
.sf-sites a:hover { background: var(--accent-soft, #e9efff); color: var(--accent, #2d5bf0); }
.sf-sites .on { background: var(--accent-soft, #e9efff); color: var(--accent, #2d5bf0); font-weight: 700; }
.sf-sites .soon { opacity: .55; cursor: default; }
.sf-open { display: none; color: var(--accent, #2d5bf0); font-weight: 600; white-space: nowrap; }
.embedded .sf-open { display: inline; }
.sf-line { display: block; height: 3px; background: linear-gradient(90deg, #ff2a00 0 14.28%, #ffa11d 0 28.56%, #ffeb1d 0 42.84%, #9bc524 0 57.12%, #6cc5d5 0 71.4%, #235e94 0 85.68%, #8a80e4 0); }
@media (max-width: 720px) {
  .sf-brand .sf-tag { display: none; }
  .sfbar .sf-in { gap: 8px; }
  .sf-sites { margin-left: auto; overflow-x: auto; scrollbar-width: none; }
  .sf-sites::-webkit-scrollbar { display: none; }
  .sf-open { display: none !important; }
}
@media print { .sfbar { display: none; } }
