@charset "utf-8";
/* /hm/user_content/themes/tirWH1.09/sf-2026.css */
/* sf.epochtimes.com 2026 redesign, LIVE since 2026-11-16. Loaded last in <head> by includes/sf-2026.php on every
   front-end page. Tokens = 金山紀元 Design System artifact (https://claude.ai/artifact/VaHQ1jvakhvffbsb1fcNtD).

   Direction, from real Chinese news sites (HQ epochtimes.com/b5, CNA, BBC 中文, 報導者):
   - one brand-colour block per page: the navy masthead. No gold anywhere (no gold rules, links, buttons).
   - section headings = bold ink text over a 1px hairline, "更多 ›" in link blue on the right. No colour bars.
   - colour only where it means something: link blue for kickers / 更多, red only for 直播 / 播出中.
   - lists = plain rows split by hairlines; white page; navy footer matching the masthead; square-ish 2px corners, no pills.
   - sizes follow HQ (desktop lists 16px, phone 18px, article 20/36) - written in rem (1rem = 16px). */

:root {
	--s26-navy: #10357e;       /* the logo's own blue: masthead, footer, solid buttons (white text 11.5:1) */
	--s26-navy-deep: #10357e;  /* utility strip: same blue as the masthead, split by a thin line (was a darker band that read as purple) */
	--s26-ink: #16181d;        /* headings */
	--s26-text: #262626;       /* body + list text (HQ article colour) */
	--s26-meta: #646a73;       /* dates, captions, secondary (5.4:1 on white) */
	--s26-link: #1b4b91;       /* kickers, 更多, hover (8.5:1 on white) */
	--s26-live: #c8102e;       /* 直播 / 播出中 only */
	--s26-rule: #e3e5e9;       /* hairlines between rows */
	--s26-rule-strong: #c9cdd4;/* hairline under section headings */
	--s26-bg: #ffffff;
	--s26-bg-2: #f4f5f7;       /* quiet boxes */
	--s26-on-navy: #dfe5f1;    /* body text on navy (9.1:1) */
	--s26-on-navy-2: #b4c0d9;  /* secondary text on navy (6.3:1) */
	--s26-sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", "Microsoft YaHei", sans-serif;
	--s26-r: 2px;
}

/* ---------- base ---------- */
html body { background: var(--s26-bg); color: var(--s26-text); }
html body, html body .main, html body .main a, html body .sff, html body .sfcn,
html body .main .block_title .big_title a, html body .main .block_title .recm_icon a, html body .main .block_title .ins_news a,
html body .sfcn-h { font-family: var(--s26-sans); }
html body :focus-visible { outline: 2px solid var(--s26-link) !important; outline-offset: 2px; }
html body .main a { color: var(--s26-text); }
html body .main a:hover { color: var(--s26-link) !important; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- masthead (desktop) ---------- */
html body .header .top_row { background: var(--s26-navy-deep) !important; border-bottom: 1px solid rgba(255,255,255,.16) !important; }
html body .header .top_row a:not(.sfw-in), html body .header .top_row #ntd_date, html body .header .top_row .zh a { color: rgba(255,255,255,.88) !important; font-weight: 400 !important; }
html body .header .top_row a:not(.sfw-in):hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
html body .header .top_row .sfw-account-link a { border-color: rgba(255,255,255,.55) !important; border-radius: var(--s26-r) !important; }
html body .header .nav_row { background: var(--s26-navy) !important; }
html body .header .navigation .menu > li > a { color: #fff !important; font-weight: 500; }
html body .header .navigation .menu > li.current-menu-item > a,
html body .header .navigation .menu > li.current-menu-ancestor > a,
html body .header .navigation .menu > li.current-menu-parent > a { color: #fff !important; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
html body .header .navigation .search.sf-sbox a, html body .header .sf-sbtn { border-radius: var(--s26-r) !important; }

/* dropdown panels: white, hairline border, no coloured top rule, no side bar on hover */
@media (min-width: 800px) {
	html body .header .navigation .menu > li > ul.sub-menu {
		border: 1px solid var(--s26-rule-strong) !important; border-top: 1px solid var(--s26-rule-strong) !important;
		border-radius: var(--s26-r); box-shadow: 0 8px 24px rgba(16, 24, 48, .14);
	}
	html body .header .navigation .menu > li > ul.sub-menu > li > a { color: var(--s26-text) !important; font-weight: 400; }
	html body .header .navigation .menu > li > ul.sub-menu > li > a:hover,
	html body .header .navigation .menu > li > ul.sub-menu > li > a:focus-visible { color: var(--s26-link) !important; background: var(--s26-bg-2); box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }
	html body .header .navigation .menu > li > ul.sub-menu > li.current-menu-item > a { color: var(--s26-link) !important; font-weight: 700; }
}

/* ---------- masthead (phones, sfm-*) ---------- */
/* phones: the header reserves the utility row with a 32px top border before the script builds it - same blue, no old-navy flash */
html body header.header { border-top-color: var(--s26-navy-deep) !important; }
html body .sfm-util { background: var(--s26-navy-deep) !important; border-bottom: 1px solid rgba(255,255,255,.16) !important; }
html body .sfm-util a:not(.sfw-in) { color: rgba(255,255,255,.9) !important; font-weight: 400 !important; }
html body a.sfw-acct-link.sfw-in, html body .sfm-util nav a.sfw-acct-link.sfw-in { color: var(--s26-navy) !important; background: #fff !important; }
html body .sfm-sub { background: #fff !important; color: var(--s26-navy) !important; border-radius: var(--s26-r) !important; }
html body .sfm-tabs a[aria-current] { border-bottom-color: #fff !important; }
html body .sfm-menu .current-menu-ancestor > .sfm-row > a { box-shadow: none !important; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
html body .sfm-sbtn[aria-expanded=true] { color: #fff !important; }
html body .sf-spanel button:focus-visible, html body .sf-sbtn:focus-visible { outline-color: #fff !important; }

/* ---------- 灣區城市新聞 strip ---------- */
html body .sfcn { border-top: 0 !important; border-bottom: 1px solid var(--s26-rule) !important; }
html body .sfcn-h { color: var(--s26-ink) !important; font-size: 1.125rem !important; }
html body .sfcn a { color: var(--s26-text); }
html body .sfcn-all { color: var(--s26-link) !important; font-weight: 600 !important; }
html body .sfcn-reg h3, html body .sfcn-reg h3 a { color: var(--s26-ink) !important; }

/* ---------- section headings (homepage) ---------- */
html body .main .block_title,
html body .main .focus_center_news_bottom > .global_news {
	border-top: 0 !important; border-bottom: 1px solid var(--s26-rule-strong) !important;
	padding: 0 0 8px !important; margin-bottom: 14px !important; background: none !important;
}
html body .main .block_title .big_title a, html body .main .block_title .recm_icon a, html body .main .block_title .ins_news a,
html body .main .focus_center_news_bottom > .global_news, html body .main .focus_center_news_bottom > .global_news a {
	color: var(--s26-ink) !important; font-weight: 700 !important; font-size: 1.25rem !important; letter-spacing: 0;
}
html body .main .block_title .sub_cat a, html body .main .block_title .sub_cat a::after, html body .main .more a,
html body .main .middle_col .focus_center_news_bottom .more_news a, html body .main .middle_col .focus_center_news_bottom .more a { color: var(--s26-link) !important; font-weight: 600 !important; }
html body .main .block_title .sub_cat a::after { font-size: .875rem !important; }

/* small sub-headings (推薦文章 / 房屋信息 / 生活信息 / 投資理財 …): plain bold ink, no coloured side bar */
html body .main .section_title, html body .main .three_col_popular .section_title, html body .main .three-col .section_title,
html body .main .entertainment .section_title, html body .main .health .section_title, html body .main .culture .section_title {
	border: 0 !important; border-left: 0 !important; box-shadow: none !important; padding-left: 0 !important;
	color: var(--s26-ink) !important; font-weight: 700 !important; font-size: 1rem !important; background: none !important;
}
html body .main .section_title a { color: inherit !important; }
html body .main .section_title::before, html body .main .section_title::after { content: none !important; display: none !important; }

/* ---------- lists ---------- */
html body .main .one_post, html body .main .one_title, html body .main .recm_posts .one_post,
html body .main .instant_news .one_title, html body .main .focus_center_news_bottom .one_post { border-color: var(--s26-rule) !important; }
html body .main .one_post.title a, html body .main .one_post.title { color: var(--s26-text); }
/* the "·" bullets in the small lists stay, in the meta grey */
/* every divider between homepage bands: one hairline colour (was pink, green, navy) */
html body .main .dashccc, html body .main hr { border-color: var(--s26-rule) !important; background: var(--s26-rule) !important; }
html body .main .entertainment, html body .main .health, html body .main .culture, html body .main .life_food_sports,
html body .main .center_three, html body .main .bottom_three, html body .main .front_adsB,
html body .main .three-col, html body .main .center_right, html body .main .culture_shows { border-color: var(--s26-rule) !important; }

/* ---------- kickers / meta ---------- */
html body .main .tag, html body .main .cat_name { color: var(--s26-link) !important; }
/* 頭條 n/12 sits on the photo: stays white */
html body .main .slide_tag { color: #fff !important; }
html body .main time, html body .main .date, html body .main .time { color: var(--s26-meta); }

/* ---------- buttons ---------- */
html body .main button, html body .main input[type=submit], html body .main .btn { border-radius: var(--s26-r) !important; }

/* ---------- sidebar 視頻頻道 ---------- */
html body .sfvc-h { color: var(--s26-ink) !important; border-top: 0 !important; border-bottom: 1px solid var(--s26-rule-strong) !important; padding-bottom: 8px; }

/* ---------- footer: navy like the masthead, no gold rule ---------- */
html body .sff { background: var(--s26-navy) !important; color: var(--s26-on-navy) !important; border-top: 0 !important; }
html body .sff a { color: var(--s26-on-navy) !important; }
html body .sff a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
html body .sff a:focus-visible { outline-color: #fff !important; }
html body .sff-h { color: #fff !important; letter-spacing: 0 !important; }
html body .sff-brand, html body .sff-brand * { color: var(--s26-on-navy) !important; }
html body .sff-brand .sff-word { color: #fff !important; }
html body .sff-sis, html body .sff-bot { border-color: rgba(255,255,255,.18) !important; }
html body .sff-sis, html body .sff-sis *, html body .sff-bot, html body .sff-bot * { color: var(--s26-on-navy-2) !important; }
html body .sff-sis a:hover, html body .sff-bot a:hover { color: #fff !important; }
/* the stacked lines above the footer: old main border + last section border */
html body main#main.main, html body .main.container, html body #main { border-bottom: 0 !important; }
html body .main .life_food_sports { border-bottom: 0 !important; }

/* ---------- /timeline band ---------- */
/* page title instead of a second navy band; one brand block per page */
html body .sftl-band { background: none !important; color: var(--s26-ink) !important; border: 0 !important; border-bottom: 1px solid var(--s26-rule-strong) !important; padding: 4px 0 10px !important; font-size: 1.75rem !important; }
html body .sftl-band svg { color: var(--s26-ink) !important; }
html body .sftl-item::before { background: var(--s26-rule-strong) !important; }
html body .sftl-item:has(.sftl-time.is-new)::before { background: var(--s26-navy) !important; border-color: var(--s26-navy) !important; }

/* ---------- 焦點 slider (sf-list.php) ---------- */
/* the slider panel is navy: light text, white current marker */
html body .sf-fs-kicker { color: var(--s26-on-navy-2) !important; letter-spacing: .02em !important; }
html body .sf-fs-dot[aria-current="true"] { background: #fff !important; }

/* ---------- /television ---------- */
html body .sftv { --sftv-gold: #fff; }
html body .sftv-tab[aria-selected="true"] { border-bottom-color: var(--s26-navy) !important; }
html body .sftv-sched-item.is-now { box-shadow: inset 2px 0 0 var(--s26-live) !important; }
html body .sftv-now { color: #ff6b7d !important; }

/* ---------- article end + forms: focus rings were gold ---------- */
html body .sfae-sbtn:focus-visible, html body .sfae-pn a:focus-visible, html body .sfae-rbtn:focus-visible, html body .sfae-cmt-submit:focus-visible { outline-color: var(--s26-link) !important; }

/* ---------- homepage leftovers that were tan, pink, purple, bright blue or red ---------- */
html body .main .slide a.active .slider_li-parent { border-color: var(--s26-navy) !important; }
html body .main .shenyun_creation_sidebar { border-color: var(--s26-rule) !important; border-radius: 0 !important; }
html body .main .traditional_culture ul.post li, html body .main .center_left, html body .main .three_col_popular,
html body .main .center_three *, html body .main .bottom_three * { border-color: var(--s26-rule) !important; }
html body .main .focus_center_news_bottom > .global_news, html body .main .focus_center_news_bottom > .global_news a { font-family: var(--s26-sans) !important; }
html body .main .nTab1 .block_title, html body .main .nTab1 .block_title *, html body .main .pickup_prog .block_title span { color: var(--s26-ink) !important; }
html body .TabTitle li { color: var(--s26-meta) !important; }
html body .TabTitle li.active { color: var(--s26-ink) !important; font-weight: 700; }
html body .ns-n, html body .sfcl-rank-n { color: var(--s26-navy) !important; }
/* 視頻頻道: one quiet outline button instead of eight red blocks */
html body .sfvc-sub { background: var(--s26-bg) !important; color: var(--s26-ink) !important; border: 1px solid var(--s26-rule-strong) !important; border-radius: var(--s26-r) !important; font-weight: 600 !important; }
html body .sfvc-sub:hover { border-color: var(--s26-ink) !important; }

/* ---------- sidebars on article / list pages: rank badges and tabs were red, orange and purple ---------- */
html body .top_right-child .seq { background: var(--s26-navy) !important; }
html body li.top1 .numb, html body li.top1 .text, html body li.top2 .numb, html body li.top2 .text,
html body li.top3 .numb, html body li.top3 .text { color: var(--s26-ink) !important; }
html body li.top1 .numb, html body li.top2 .numb, html body li.top3 .numb { color: var(--s26-navy) !important; font-weight: 700; }
html body .sfae-cmt-h { font-family: var(--s26-sans) !important; color: var(--s26-ink) !important; }
html body .pri-inline-ad__badge, html body .pri-inline-ad__cta, html body .sfae-back a { color: var(--s26-link) !important; }

/* ---------- every other heading style on inner pages: same as the homepage (text over a hairline) ---------- */
html body .news-single .block_title, html body .sidebar .block_title, html body .news-single .commentary .block_title,
html body .sfvr-head, html body .sfvc-h {
	border-top: 0 !important; border-bottom: 1px solid var(--s26-rule-strong) !important; padding-top: 0 !important; padding-bottom: 8px !important; margin-bottom: 12px !important;
}
html body .sidebar .block_title, html body .sidebar .block_title *, html body .news-single .block_title, html body .news-single .block_title * { color: var(--s26-ink); }
html body .sfae-cmt { border-top: 1px solid var(--s26-rule-strong) !important; }
html body .topbox { border: 1px solid var(--s26-rule) !important; }
html body .list_wrapper { border-top: 1px solid var(--s26-rule-strong) !important; }
/* 網站月排行 tabs: text tabs with an underline, not a bright blue bar */
html body .nTab1 .TabTitle { background: none !important; border-bottom: 1px solid var(--s26-rule-strong) !important; }
html body .nTab1 .TabTitle li, html body .nTab1 .TabTitle li a { background: none !important; color: var(--s26-meta) !important; }
html body .nTab1 .TabTitle li.active, html body .nTab1 .TabTitle li.active a { background: none !important; color: var(--s26-ink) !important; font-weight: 700; box-shadow: inset 0 -2px 0 var(--s26-ink); text-decoration: none !important; }

/* ---------- remaining gold, page by page (search, tags/categories, 分類廣告, 電子報, 投稿, 捐款, 關於, profile, reader wall, 404) ---------- */
/* small gold dash in front of kickers: removed; kicker stays as link-blue text */
html body .sft-kicker::before, html body .sfs-kicker::before, html body .sftg-kicker::before, html body .pr-archive [class*="kicker"]::before { content: none !important; display: none !important; }
html body .sft-kicker, html body .sfs-kicker, html body .sftg-kicker { color: var(--s26-link) !important; letter-spacing: .02em !important; }
/* list / tag / category page header: same as a homepage section heading, sans title in ink */
html body .sft-head { border-top: 0 !important; border-bottom: 1px solid var(--s26-rule-strong) !important; padding-top: 0 !important; }
html body .sft-title, html body .sfs-title, html body .sfab-name { font-family: var(--s26-sans) !important; color: var(--s26-ink) !important; }
/* "current" markers: ink underline instead of gold */
html body .sfs-frow a[aria-current="true"], html body .sfdir-subs a[aria-current], html body .sfep-other a[aria-current="page"],
html body .sf-sec-tabs a[aria-current="page"] { color: var(--s26-ink) !important; border-bottom-color: var(--s26-ink) !important; }
html body .sfcl-cats a[aria-current] { color: var(--s26-ink) !important; border-left-color: var(--s26-ink) !important; background: var(--s26-bg-2) !important; }
html body .sfep-thumbs a[aria-current="page"] img { border-color: var(--s26-navy) !important; }
/* call-to-action boxes had a 4px gold left bar: plain grey box */
html body .sfcl-cta, html body .sfcl-ad-call { border-left: 1px solid var(--s26-rule) !important; background: var(--s26-bg-2) !important; }
html body .sfep-badge { background: var(--s26-bg-2) !important; border-left: 0 !important; color: var(--s26-ink) !important; }
html body .sf404-code { border-bottom-color: var(--s26-rule-strong) !important; }
html body .sfabout-time li::before { background: var(--s26-bg) !important; border-color: var(--s26-navy) !important; }
/* pages that kept gold in a variable */
html body .pr-archive { --gd: var(--s26-navy); }
html body .sftg { --gd: var(--s26-link); }
html body .sfd { --g: #ffffff; }
html body .sfd-hero { background-image: none !important; border-bottom: 0 !important; }
html body .sfd-h1 { font-family: var(--s26-sans) !important; }
/* reader wall + profile */
html body .sfw-nlcard-banner::after { content: none !important; }
html body .sfw-nlcard-banner small, html body .sfw-pop-head span { color: #fff !important; }
html body .sfw-pop-head { background: var(--s26-navy) !important; border-bottom: 0 !important; }
html body .sfw-pc-badge, html body .sfp-hero .sfp-role { background: var(--s26-bg-2) !important; color: var(--s26-ink) !important; }
html body .sfp-hero img { border-color: var(--s26-rule-strong) !important; }
html body a.sfw-acct-link.sfw-in:hover, html body a.sfw-acct-link.sfw-in:focus-visible { background: #fff !important; border-color: #fff !important; color: var(--s26-navy) !important; }
html body .em-box { border-left-color: var(--s26-rule-strong) !important; }
/* old theme rules that still paint menu text gold on hover / current item (functions.php, global1.css) */
html body .navigation .menu > li:hover > a { color: #fff !important; }
html body .footer .nav_wrap .donate a { color: inherit !important; border-bottom-color: currentColor !important; }

/* ---------- one type family: headings that were set in Noto Serif move to the sans stack (the footer wordmark keeps it) ---------- */
html body .sfep-latest-txt h2, html body .sft-title, html body .sfa-initial, html body .sfa-name, html body .sftg-head h1, html body .sftg-done h2,
html body .sfd-h1, html body .sfd-h2, html body .sfs-title, html body .sf-top__zh, html body .sfcn-h { font-family: var(--s26-sans) !important; }
html body .sfd-tier-label em { background: var(--s26-bg-2) !important; color: var(--s26-ink) !important; }

/* ---------- the large solid navy areas use the logo blue (old #192f65 looked purple next to the logo) ----------
   Only big blocks whose text is always white. Buttons are NOT listed: several have outline variants with navy text
   (e.g. .sfw-btn-line), and forcing a navy background on them made their text invisible. Buttons keep the old navy. */
html, html body header.header, html body .footer, html body .footer .bottom_row, html body .sff, html body .sfm-head, html body .sf-fs,
html body .sfd-hero, html body .sfw-pop-head, html body .top_right-child .seq,
html body .sf-pager .sf-pg-cur, html body .sfs-pages .current, html body .sfdir-pager span[aria-current], html body .pr-archive .pagination .current { background-color: var(--s26-navy) !important; }
html body .sfd { --n: var(--s26-navy); --n2: var(--s26-navy); }
html body .pr-archive { --nv: var(--s26-navy); }
html body .sftg { --nv: var(--s26-navy); }
html body .sfm-head, html body .sfm-tabs { border-color: rgba(255,255,255,.16) !important; }

/* ---------- contrast fixes from the full audit (21 pages x desktop/phone x 5 states, 2026-11-16) ---------- */
/* text on the navy blocks above must be white */
html body .sf-pager .sf-pg-cur, html body .sfs-pages .current, html body .sfdir-pager span[aria-current], html body .pr-archive .pagination .current { color: #fff !important; }
/* 頭條 n/12 sits on the photo: give it its own dark ground */
html body .main .slide_tag { background: rgba(0, 0, 0, .68) !important; padding: 1px 6px !important; }
/* ad-card and sponsored links had per-card colours (light blue, pink, grey) */
html body .pri-buy-link, html body .pr-single-buy-btn, html body .pr-single-buy-wrap a { color: var(--s26-link) !important; border-color: var(--s26-link) !important; }
/* faint greys (#888-#999, 2.8-3.5:1) and pure red dates -> the meta grey (5.5:1) */
html body .pri-inline-ad__sponsor, html body .pri-inline-ad__line2, html body .date .highlight, html body .topbox .date,
html body .sfcl-n, html body .excerpt p.note, html body .excerpt p.meta time, html body .sfa-crumb span, html body .sfa-cities-l,
html body .sfd-story-d, html body .pr-card__meta span, html body .sf404-date,
html body .sfw-or span, html body .sfw-fine, html body .sfw-rc-note, html body .sfw-nlbox-fine { color: var(--s26-meta) !important; }
/* reporter page (author-news.php) still had the old light-blue headlines and chips */
html body .excerpt header h2 a { color: var(--s26-ink) !important; }
html body .excerpt header a.cat { background: none !important; color: var(--s26-link) !important; padding-left: 0 !important; }
/* last gold-ish label: 每日電子報 in the article sign-up box */
html body .sfw-nlbox-k { color: var(--s26-link) !important; }

/* ---------- thick rules (2-4px navy/black bars) on inner pages -> the same thin heading line everywhere ---------- */
html body .sfa-list-h, html body .subcat_title, html body .sfabout-body h2, html body .sf-sec-title, html body .sfs-head,
html body .sfcl-shead, html body .sfd-h2, html body .sfep-h2, html body .sftv-live-head, html body .sftv-sec-head, html body .cat_titleline, html body .pr-archive .cat_titleline {
	border-top: 0 !important; border-bottom: 1px solid var(--s26-rule-strong) !important; padding-top: 0 !important;
}
html body .sf-sec-title, html body .sfd-h2, html body .sfa-list-h { color: var(--s26-ink) !important; }
/* cards with a coloured bar on top -> plain hairline box */
html body .sfd-form-card, html body .sfa-card, html body .sftg-card, html body .sfcl-card, html body .sfabout-facts {
	border: 1px solid var(--s26-rule) !important; border-top: 1px solid var(--s26-rule) !important;
}
html body .sfabout-time { border-left-color: var(--s26-rule-strong) !important; }
html body .sf404-code { border-bottom-width: 1px !important; }
/* /nsc/video programme tabs: current tab was underlined in gold */
html body .sfvcat-tabs a[aria-current], html body .sfvcat-tabs a.is-on, html body .sfvcat-tabs a.current { color: var(--s26-ink) !important; border-bottom-color: var(--s26-ink) !important; }

/* ---------- reader account / sign-in boxes (sf-reader-wall): 3-4px navy top bars -> 1px box; error bars stay red (they mean something) ---------- */
/* boxes that already had a full 1px border keep it, the top just matches; boxes that only had the top bar get no line at all
   (a 1px frame on .sfw-box hugged the form on /profile, and the dialog got a lone line across its top) */
html body .sfw-acct-in .sfw-pc, html body .sfw-engage, html body .sfw-claim { border-top: 1px solid var(--s26-rule) !important; }
html body .sfw-box, html body .sfw-dlg { border-top: 0 !important; }

/* ---------- reader sign-up pop-up (sf-reader-wall .sfw-modal / .sfw-pop) ---------- */
/* borders: no focus ring around the whole window (the script focuses it on open), no box inside the box, no old gradient */
html body .sfw-modal .sfw-pop:focus, html body .sfw-modal .sfw-pop:focus-visible { outline: none !important; }
html body .sfw-pop .sfw-box { background: none !important; }
html body .sfw-pop-head { background-image: none !important; background-color: var(--s26-navy) !important; border-bottom: 0 !important; }
html body .sfw-pop-h { color: var(--s26-ink) !important; }
/* entry animation: the script adds .sfw-pop-in in the same frame the window is inserted, and browsers skip a transition on an
   element's first render unless @starting-style says where it starts - so it just appeared. Backdrop fades, card rises. */
html body .sfw-modal { transition: opacity .35s ease-out; }
html body .sfw-modal .sfw-pop { transition: opacity .4s ease-out .05s, transform .45s cubic-bezier(.2, .8, .2, 1) .05s; }
@starting-style {
	html body .sfw-modal.sfw-pop-in { opacity: 0; }
	html body .sfw-modal.sfw-pop-in .sfw-pop { opacity: 0; transform: translateY(24px) scale(.97); }
}
@media (max-width: 600px) {
	@starting-style { html body .sfw-modal.sfw-pop-in .sfw-pop { opacity: 1; transform: translateY(100%); } }
}
/* reduced motion: no movement, but keep a short fade instead of popping in (the plugin turned every transition off) */
@media (prefers-reduced-motion: reduce) {
	html body .sfw-modal, html body .sfw-modal.sfw-pop-out { transition: opacity .2s ease-out !important; }
	html body .sfw-modal .sfw-pop, html body .sfw-modal.sfw-pop-out .sfw-pop { transform: none !important; transition: opacity .2s ease-out !important; }
	@starting-style { html body .sfw-modal.sfw-pop-in .sfw-pop { transform: none; opacity: 0; } }
}

/* ---------- cookie banner: was navy + gold ---------- */

/* ---------- end of article, tidied 2026-11-24: one spacing scale, one heading style (text over a hairline) ----------
   order: share -> 上一篇/下一篇 -> 相關報導 -> 讀者評論 -> 返回上一頁. Reactions removed (single.php). */
html body .news-single .share-single, html body .news-single .share-single > * { width: auto !important; max-width: none !important; margin-right: 0 !important; float: none !important; }
html body .sfae-share { margin: 32px 0 0 !important; padding: 0 !important; border-top: 0 !important; }
html body .sfae-share .sfae-label { margin: 0 0 12px !important; font-size: 1rem !important; color: var(--s26-ink) !important; }
html body .sfae-copied { min-height: 0 !important; margin: 0 !important; }
html body .sfae-copied:not(:empty) { margin-top: 8px !important; }
html body .sfae-pn { margin: 28px 0 0 !important; border-color: var(--s26-rule) !important; }
html body .sfae-pn-next { border-color: var(--s26-rule) !important; }
html body .news-single .post_related { clear: both; margin: 44px 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
html body .news-single .post_related > .block_title, html body .sfae-cmt-h {
	display: block !important; margin: 0 0 16px !important; padding: 0 0 8px !important; text-indent: 0 !important; border: 0 !important;
	border-bottom: 1px solid var(--s26-rule-strong) !important; background: none !important; font-family: var(--s26-sans) !important;
	font-size: 1.25rem !important; line-height: 1.4 !important; font-weight: 700 !important; color: var(--s26-ink) !important; letter-spacing: 0 !important; }
html body .sfae-cmt { margin: 44px 0 0 !important; padding: 0 !important; border-top: 0 !important; }
html body .sfae-cmt-h { display: flex !important; }
html body .news-single .post_related .related_list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0 !important; padding: 0 !important; }
html body .news-single .post_related .related_list .one_post { display: grid !important; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start;
	float: none !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 14px 0 !important; border: 0 !important; border-bottom: 1px solid var(--s26-rule) !important; }
html body .news-single .post_related .related_list .one_post:nth-child(-n+2) { padding-top: 0 !important; }
html body .news-single .post_related .related_list .one_post .img { float: none !important; width: 120px !important; margin: 0 !important; padding: 0 !important; }
html body .news-single .post_related .related_list .one_post .text { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
html body .news-single .post_related .related_list .one_post .text .title { margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; }
html body .news-single .post_related .related_list .one_post .text .date { margin: 0 !important; color: var(--s26-meta) !important; }
html body .news-single .post_related .sf-rel-more { margin: 14px 0 0 !important; }
html body .sfae-back { margin: 32px 0 8px !important; }
@media (max-width: 800px) {
	html body .news-single .post_related .related_list { grid-template-columns: minmax(0, 1fr); }
	html body .news-single .post_related .related_list .one_post { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
	html body .news-single .post_related .related_list .one_post:nth-child(2) { padding-top: 14px !important; }
	html body .news-single .post_related .related_list .one_post .img { width: 104px !important; }
	html body .sfae-share { margin-top: 28px !important; }
	html body .news-single .post_related, html body .sfae-cmt { margin-top: 36px !important; }
}
html body .news-single .share-single { padding: 0 !important; border: 0 !important; }
html body .news-single .commentary { padding-top: 0 !important; padding-bottom: 0 !important; }
/* Turnstile sits beside 送出評論 on wide screens instead of leaving an empty row above it */
html body .sfae-cmt-form .cf-turnstile { float: left; width: auto !important; margin: 4px 0 0 !important; }
html body .sfae-cmt-form .sfae-cmt-actions { min-height: 70px; align-items: flex-start; }
html body .sfae-cmt-form::after { content: ""; display: block; clear: both; }
@media (max-width: 800px) {
	html body .sfae-cmt-form .cf-turnstile { float: none; margin: 4px 0 12px !important; }
	html body .sfae-cmt-form .sfae-cmt-actions { min-height: 0; }
}

/* ---------- article sidebar scrolls like HQ (2026-11-24) ----------
   HQ: two-column grid so the <aside> is as tall as the article; the top of the sidebar scrolls away and the last block
   (position: sticky; top: 32px) stays in view beside the rest of a long article. Here: .main_content becomes a grid on
   article pages (desktop only) and the last block, 網站月排行 (sidebar-xin.php .sf-side-sticky), sticks. */
@media (min-width: 1001px) {
	html body .news-single .main_content { display: grid !important; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 25px; align-items: stretch; }
	html body .news-single .main_content > * { grid-column: 1 / -1; }
	html body .news-single .main_content > .article_content { grid-column: 1; float: none !important; width: auto !important; min-width: 0; }
	html body .news-single .main_content > .sidebar { grid-column: 2; float: none !important; width: auto !important; margin: 0 !important; }
	html body .news-single .main_content > .clear { display: none; }
	html body .news-single .sf-side-sticky { display: flow-root; position: sticky; top: 32px; padding-top: 4px; background: var(--s26-bg); }
	html body .news-single .sf-side-sticky > .right-panel { float: none !important; width: auto !important; }
}
@media (min-width: 1001px) and (max-height: 760px) { html body .news-single .sf-side-sticky { position: static; } }

/* 2026-11-25 back-to-top: the button lives in <footer class="sff">, but its old styles (global1.css) only match .footer,
   so it had no size after the footer redesign. bottom.js fades #backtotop in after 800px of scrolling. Sits above 問 AI. */
html body .sff #backtotop { display: none; }
html body .sff #backtotop a.totop { position: fixed; right: 20px; bottom: 84px; z-index: 1000; width: 44px; height: 44px; display: block;
	background: #fff !important; border: 1px solid #c9cfdc; border-radius: 8px; box-shadow: 0 4px 14px rgba(16,30,70,.18); font-size: 0; color: var(--s26-navy) !important; }
html body .sff #backtotop a.totop::before { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E") center / contain no-repeat; }
html body .sff #backtotop a.totop:hover { background: #eef2fa !important; }
html body .sff #backtotop a.totop:focus-visible { outline: 2px solid var(--s26-navy); outline-offset: 2px; }
@media (max-width: 760px) { html body .sff #backtotop a.totop { right: 14px; bottom: 76px; } }
@media print { html body .sff #backtotop { display: none !important; } }

/* 2026-11-25 網站週排行 / 熱帖週排行 (.nTab1 .ns-list): rows were fixed at 35px (old sidebar.css) while titles wrap to 2 lines,
   so the second line printed over the next row. The row rules in sf-lists.css only matched the old <div class="height1">
   wrappers, which the 2026-11-23 markup clean-up removed; same rules for plain <li> rows. */
html body .nTab1 .ns-list > li {
	display: block !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 11px 0 !important;
	overflow: visible !important; border-bottom: 1px solid #eceef2; background: none !important; list-style: none; line-height: 1.55 !important;
}
html body .nTab1 .ns-list > li:last-child { border-bottom: 0; }
html body .nTab1 .ns-list > li .ns-t { line-height: 1.55 !important; max-height: none !important; height: auto !important; }
@media (max-width: 800px) { html body .nTab1 .ns-list > li { padding: 13px 0 !important; } }

/* 2026-11-25 hover text vanished (user): broad link-colour rules (!important) beat these buttons' own hover colours.
   Share row: navy fill on hover -> white text + icon. Homepage light buttons (觀看直播): light fill -> navy text. */
html body .sfae-share .sfae-sbtn:hover, html body .sfae-share .sfae-sbtn:focus-visible { color: #fff !important; background: #192f65 !important; border-color: #192f65 !important; }
html body .sfae-share .sfae-sbtn:hover svg, html body .sfae-share .sfae-sbtn:focus-visible svg { color: #fff !important; }
html body main.sfh a.sfh-btn--light, html body main.sfh a.sfh-btn--light:hover, html body main.sfh a.sfh-btn--light:focus-visible { color: var(--s26-navy, #10357e) !important; }
/* page-number buttons (.sf-pager, list pages): another rule turned the hover fill navy under navy text; back to the
   intended light fill + navy text and border */
html body .sf-pager a:hover, html body .sf-pager a:focus-visible { background: #eef0f5 !important; color: #192f65 !important; border-color: #192f65 !important; }

/* ---------- shared ranking box (includes/sf-rank.php sf_rank(), 2026-11-25) ----------
   Every sidebar 熱門 list (article, category, focus, tag/author/即時新聞 sidebar, TV, product reviews, 分類廣告) uses
   this one look = the article sidebar's 本週熱門: heading on a hairline, italic serif numbers (top 3 red), 2-line titles.
   px sizes on purpose: the old theme pages and the 2026 article pages have different root font sizes. */
html body .sf-rank { clear: both; font-family: var(--s26-sans); }
html body .sf-rank:not(.sfa-block) { margin: 0 0 28px !important; padding: 0 !important; border: 0 !important; background: none !important; }
html body .sf-rank-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 2px; padding: 0 0 8px; border-bottom: 1px solid var(--s26-rule-strong); }
html body .sf-rank-h { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-family: var(--s26-sans) !important;
	font-size: 20px !important; line-height: 1.4 !important; font-weight: 700 !important; color: var(--s26-ink) !important; text-align: start !important; }
html body .sf-rank-more { flex: none; font-size: 14px; line-height: 1.4; color: var(--s26-link) !important; text-decoration: none; white-space: nowrap; }
html body .sf-rank-more:hover { text-decoration: underline; text-underline-offset: 3px; }
html body .sf-rank-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
html body .sf-rank-list > li { display: grid !important; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; align-items: start; float: none !important; width: auto !important; height: auto !important;
	margin: 0 !important; padding: 10px 0 !important; border: 0 !important; border-bottom: 1px solid var(--s26-rule) !important; background: none !important; list-style: none !important; }
html body .sf-rank-n { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 26px; line-height: 1; font-weight: 700; color: var(--s26-navy); font-variant-numeric: lining-nums; }
html body .sf-rank-list > li:nth-child(-n+3) .sf-rank-n { color: #b5121b; }
html body .sf-rank-list a { display: block; color: var(--s26-ink) !important; text-decoration: none !important; }
html body .sf-rank-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: clip; font-size: 16px; line-height: 1.6; font-weight: 400; color: var(--s26-ink); }
html body .sf-rank-list a:hover .sf-rank-t { color: var(--s26-link); text-decoration: underline; text-underline-offset: 3px; }
html body .sf-rank-m { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--s26-meta); }
html body .sf-rank-m b { font-weight: 600; color: var(--s26-link); }
@media (max-width: 760px) {
	html body .sf-rank-t { font-size: 18px; }
	html body .sf-rank-list > li:nth-child(n+9) { display: none !important; }   /* phones: 8, as the article sidebar */
}

/* /hm/user_content/themes/tirWH1.09/sf-home-2026.css */
/* sf.epochtimes.com homepage 2026 v2 (PRIVATE PREVIEW, includes/sf-home-2026.php). Loaded after sf-2026.css and uses
   its tokens (--s26-*). Everything is scoped to main.sfh (plus the widened masthead on this page).
   2026-11-25 user: "don't make it look AI-made". Only what Chinese newspapers / epochtimes.com/taiwan actually do:
   hairline rows, time-left lists, "・" bullets, centred serif section titles between thick-thin rules,
   red 熱門焦點 label between rules on a grey band, italic ranking numbers, pale section tints (epochtimes.com/b5),
   one dark video band and one navy paper band. Removed: dot timeline, accent bars under headings, square bullets,
   pulsing live dot, hover zoom, tilted paper cover, service card grid, boxed newsletter card, weather icons.
   Sizes follow HQ: desktop lists 16px, phone lists 18px. */

main.sfh {
	--sfh-w: 1180px;
	--sfh-gap: 32px;
	--sfh-rule: var(--s26-rule, #e3e5e9);
	--sfh-rule-2: var(--s26-rule-strong, #c9cdd4);
	--sfh-ink: var(--s26-ink, #16181d);
	--sfh-text: var(--s26-text, #262626);
	--sfh-meta: var(--s26-meta, #646a73);
	--sfh-link: var(--s26-link, #1b4b91);
	--sfh-navy: var(--s26-navy, #10357e);
	--sfh-red: #b5121b;                 /* Epoch red: 熱門 labels, ranking 1-3, live dot (6.6:1 on white) */
	--sfh-grey: #f3f4f6;
	--sfh-warm: #faf6ef;
	--sfh-green: #f0f6f1;
	--sfh-dark: #0c1e44;
	--sfh-serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU", "MingLiU", serif;
	display: block;
	background: var(--s26-bg, #fff);
	color: var(--sfh-text);
	font-family: var(--s26-sans, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif);
	padding-block-end: 0;
}
main.sfh *, main.sfh *::before, main.sfh *::after { box-sizing: border-box; }
:where(main.sfh) :where(h1, h2, h3, h4, p, ul, ol, li, figure) { margin: 0; padding: 0; }
:where(main.sfh) :where(ul, ol) { list-style: none; }
:where(main.sfh) a { color: inherit; text-decoration: none; }
main.sfh a:hover { color: var(--sfh-link); text-decoration: underline; text-underline-offset: 3px; }
:where(main.sfh) img { display: block; max-inline-size: 100%; }
.sfh-vh { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.sfh-wrap { max-inline-size: var(--sfh-w); margin-inline: auto; padding-inline: 16px; }
.sfh-band { padding-block: 40px 48px; margin-block: 48px 0; }
.sfh-band + .sfh-band { margin-block-start: 0; }
.sfh-band--grey { background: var(--sfh-grey); }
.sfh-band--warm { background: var(--sfh-warm); }
.sfh-band--green { background: var(--sfh-green); }

/* this page is wider than the old 1000px one (epochtimes.com/taiwan: ~1150px); the masthead and the city strip follow */
@media (min-width: 1001px) {
	body:has(main.sfh) .header .container { max-width: 1148px; }
	main.sfh .sfcn { max-width: none; }
}
.sfh-wrap > .sfcn { margin-block: 10px 0; border-top: 0 !important; }

/* ---------- folio line ---------- */
.sfh-folio { border-block-end: 4px double var(--sfh-navy); background: #fff; }
.sfh-folio-in { display: flex; align-items: center; gap: 10px 28px; flex-wrap: wrap; min-block-size: 46px; padding-block: 6px; font-size: .9375rem; }
.sfh-date { color: var(--sfh-ink); font-weight: 500; display: flex; flex-wrap: wrap; gap: 0 12px; }
.sfh-lunar { color: var(--sfh-meta); font-weight: 400; }
.sfh-wx { display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--sfh-text); }
.sfh-wx li { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.sfh-wx-ic { color: var(--sfh-navy); flex: none; }
.sfh-wx-t { font-weight: 600; color: var(--sfh-ink); font-variant-numeric: tabular-nums; }
.sfh-wx-s { color: var(--sfh-meta); }
.sfh-live { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; color: var(--sfh-ink); padding-block: 6px; min-inline-size: 0; }
.sfh-live-l { font-weight: 700; white-space: nowrap; color: var(--sfh-red); }
.sfh-live-go { display: none; }
.sfh-live-now { color: var(--sfh-meta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-inline-size: 22em; }

/* ---------- ads ---------- */
.sfh-ad { margin-block: 24px; text-align: center; }
.sfh-ad img { inline-size: auto; max-inline-size: 100%; block-size: auto; margin-inline: auto; }
.sfh-ad--side { margin-block: 0 28px; }
.sfh-ad--box img { max-inline-size: min(100%, 360px); }   /* square ads (group 47108) in a full-width spot */
.sfh-adsb { margin-block: 48px 0; }

/* ---------- headings ---------- */
.sfh-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-block-end: 1px solid var(--sfh-rule-2); padding-block-end: 8px; margin-block-end: 2px; position: relative; }
.sfh-h h2 { font-size: 1.25rem; line-height: 1.4; font-weight: 700; color: var(--sfh-ink); letter-spacing: .02em; }
.sfh-more { font-size: .875rem; color: var(--sfh-link) !important; white-space: nowrap; display: inline-block; padding-block: 6px; margin-block: -6px; }
.sfh-mini { font-size: 1rem; line-height: 1.5; font-weight: 700; color: var(--sfh-ink); padding-block: 0 8px; border-block-end: 1px solid var(--sfh-rule-2); }

/* centred section title between double hairlines (HQ nameplate ornament) */
/* centred section title between Oxford rules (thick over thin, printed-newspaper section divider); user 2026-11-25
   asked for the lines back. Compared 5 styles on the real titles (pale double, thick-thin, triple, short, fading):
   thick-thin in ink was the clearest and stays on one line on phones. */
.sfh-gh { text-align: center; margin-block: 56px 26px; }
.sfh-band .sfh-gh { margin-block-start: 0; }
.sfh-gh h2, .sfh-dh h2 { display: grid; grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr); align-items: center; gap: 28px;
	font-family: var(--sfh-serif); font-size: 2rem; line-height: 1.3; font-weight: 700; color: var(--sfh-ink); letter-spacing: .06em; }
.sfh-gh h2::before, .sfh-gh h2::after, .sfh-dh h2::before, .sfh-dh h2::after { content: ""; block-size: 6px; border-block-start: 2px solid currentColor; border-block-end: 1px solid currentColor; }
.sfh-gh-subs ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; margin-block-start: 8px; }
.sfh-gh-subs a { font-size: 1rem; color: #3d4249; display: inline-block; padding-block: 6px; }

/* red label between rules (epochtimes.com/taiwan 熱門焦點) */
.sfh-label { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-block-end: 26px; }
.sfh-label::before, .sfh-label::after { content: ""; border-block-start: 1px solid var(--sfh-red); }
.sfh-label span { background: var(--sfh-red); color: #fff; font-size: 1.0625rem; font-weight: 700; letter-spacing: .14em; padding: 4px 14px 4px 16px; border-radius: var(--s26-r, 2px); }

/* ---------- shared bits ---------- */
.sfh-kick { font-size: .8125rem; line-height: 1.4; color: var(--sfh-link); margin-block-end: 4px; }
.sfh-meta { font-size: .8125rem; color: var(--sfh-meta); margin-block-start: 6px; }
.sfh-fresh { color: var(--sfh-red) !important; }
.sfh-dek { font-size: 1rem; line-height: 1.75; color: #3d4249; margin-block-start: 8px; }
.sfh-t { font-weight: 500; color: var(--sfh-ink); }
.sfh-btn { display: inline-flex; align-items: center; justify-content: center; min-block-size: 44px; padding: 8px 20px; border-radius: var(--s26-r, 2px); font-weight: 700; font-size: 1rem; text-decoration: none !important; }
.sfh-btn--light { background: #fff; color: var(--sfh-navy) !important; }
.sfh-btn--light:hover { background: #e8edf7; }
.sfh-btn--line { border: 1px solid rgba(255, 255, 255, .7); color: #fff !important; }
.sfh-btn--line:hover { background: rgba(255, 255, 255, .12); }

/* whole row/card clickable through the title link (stretched link) */
.sfh-row, .sfh-card, .sfh-trow, .sfh-rcard { position: relative; }
.sfh-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
:is(.sfh-row, .sfh-card, .sfh-trow, .sfh-rcard):has(.sfh-link:hover) .sfh-t a { color: var(--sfh-link); text-decoration: underline; text-underline-offset: 3px; }
.sfh-link:focus-visible { outline: none !important; }
:is(.sfh-row, .sfh-card, .sfh-trow, .sfh-rcard, .sfh-lead):has(.sfh-link:focus-visible) { outline: 2px solid var(--sfh-link); outline-offset: 4px; }

/* photo boxes: fixed shape, whole photo (sf-thumb-fit adds blurred bands when the photo's shape differs) */
.sfh-img { position: relative; aspect-ratio: 3 / 2; background: #e9ecf0; overflow: clip; border-radius: var(--s26-r, 2px); }
.sfh-img > img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.sfh-img--video { aspect-ratio: 16 / 9; }
.sfh-play { position: absolute; z-index: 2; inset-inline-start: 10px; inset-block-end: 10px; inline-size: 38px; block-size: 28px; border-radius: var(--s26-r, 2px); background: rgba(12, 18, 36, .8); }
.sfh-play::before { content: ""; position: absolute; inset: 0; margin: auto; inline-size: 0; block-size: 0; border-block: 6px solid transparent; border-inline-start: 10px solid #fff; transform: translateX(2px); }
.sfh-card--vlead .sfh-play { inline-size: 56px; block-size: 40px; inset-inline-start: 16px; inset-block-end: 16px; }
.sfh-card--vlead .sfh-play::before { border-block-width: 9px; border-inline-start-width: 15px; }

/* ---------- 熱門焦點 ---------- */
.sfh-hot { margin-block-start: 16px; padding-block: 28px 32px; }
.sfh-hot-grid { display: grid; gap: 0 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sfh-hot-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sfh-hot-grid--1 { grid-template-columns: minmax(0, 1fr); }
.sfh-topic { display: flex; flex-direction: column; min-inline-size: 0; }
.sfh-topic + .sfh-topic { border-inline-start: 1px solid #d9dce1; padding-inline-start: 32px; }
.sfh-hot-grid .sfh-topic + .sfh-topic { margin-inline-start: -1px; }
.sfh-topic-h { font-size: 1.375rem; line-height: 1.35; font-weight: 700; color: var(--sfh-ink); padding-block-end: 10px; border-block-end: 1px solid #cfd3d9; margin-block-end: 12px; }
.sfh-trow { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: start; }
.sfh-trow .sfh-t { font-size: 1.0625rem; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: clip; }
.sfh-dots { margin-block: 10px 6px; }
.sfh-dots li { padding-block: 5px; }
.sfh-dots a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; overflow: clip; font-size: 1rem; line-height: 1.6; }
.sfh-dots a::before { content: "・"; }
.sfh-readon { margin-block-start: auto; align-self: flex-end; font-size: .9375rem; color: var(--sfh-link) !important; padding-block: 6px; }

/* ---------- top: 3 columns ---------- */
.sfh-top { display: grid; gap: 0 var(--sfh-gap); margin-block-start: 32px; grid-template-columns: 250px minmax(0, 1fr) 300px; grid-template-areas: "l c r"; }
.sfh-c { grid-area: c; min-inline-size: 0; }
.sfh-l { grid-area: l; min-inline-size: 0; }
.sfh-r { grid-area: r; min-inline-size: 0; }
.sfh-block { margin-block-end: 32px; }

.sfh-lead { position: relative; }
.sfh-lead .sfh-img { margin-block-end: 14px; }
.sfh-lead .sfh-kick { font-size: .875rem; }
.sfh-lead-t { font-size: 1.875rem; line-height: 1.38; font-weight: 700; color: var(--sfh-ink); letter-spacing: .01em; text-wrap: pretty; }
.sfh-lead .sfh-meta { margin-block-start: 10px; }
.sfh-related { margin-block: 16px 40px; border-block-start: 1px solid var(--sfh-rule-2); }
.sfh-related li { border-block-end: 1px solid var(--sfh-rule); }
.sfh-related a { display: block; padding-block: 11px; font-size: 1.0625rem; line-height: 1.55; font-weight: 500; color: var(--sfh-ink); }

.sfh-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 16px; align-items: start; padding-block: 14px; border-block-end: 1px solid var(--sfh-rule); }
.sfh-row--text { grid-template-columns: minmax(0, 1fr); }
.sfh-row .sfh-t { font-size: 1.0625rem; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: clip; }
.sfh-r .sfh-row { grid-template-columns: minmax(0, 1fr) 120px; gap: 12px; }
.sfh-r .sfh-row .sfh-t { font-size: 1rem; }
.sfh-r .sfh-row .sfh-meta { display: none; }

.sfh-latest li { display: grid; grid-template-columns: 4.4em minmax(0, 1fr); gap: 8px; padding-block: 10px; border-block-end: 1px solid var(--sfh-rule); }
.sfh-latest time { font-size: .875rem; line-height: 1.75; color: var(--sfh-meta); white-space: nowrap; }
.sfh-latest a { font-size: 1rem; line-height: 1.6; color: var(--sfh-ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: clip; }

.sfh-lines li { border-block-end: 1px solid var(--sfh-rule); }
.sfh-lines a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: clip; padding-block: 9px; font-size: 1rem; line-height: 1.6; color: var(--sfh-text); }
.sfh-block .sfh-card { padding-block: 14px 4px; }

/* ---------- 灣區各地 ---------- */
.sfh-reg-grid { display: grid; gap: var(--sfh-gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sfh-reg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sfh-reg { min-inline-size: 0; }
.sfh-reg-h { font-size: 1.25rem; line-height: 1.4; font-weight: 700; color: var(--sfh-ink); padding-block-end: 8px; border-block-end: 1px solid var(--sfh-rule-2); margin-block-end: 14px; }
.sfh-reg .sfh-card .sfh-t { font-size: 1.0625rem; line-height: 1.55; font-weight: 700; }

/* ---------- 本週熱門 ---------- */
.sfh-rgrid { display: grid; gap: 28px 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sfh-rcard .sfh-img { margin-block-end: 10px; }
.sfh-rtext { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; }
.sfh-rnum { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 2.5rem; line-height: .9; font-weight: 700; color: var(--sfh-navy); min-inline-size: .7em; }
.sfh-rcard:nth-child(-n+3) .sfh-rnum { color: var(--sfh-red); }
.sfh-rcard .sfh-t { font-size: 1.0625rem; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: clip; }

/* ---------- 精彩視頻: dark band ---------- */
.sfh-band--dark { background: var(--sfh-dark); color: #dfe5f1; }
.sfh-band--dark a { color: #fff; }
.sfh-band--dark a:hover { color: #fff !important; }
.sfh-dh { text-align: center; margin-block-end: 26px; }
.sfh-dh h2 { color: #fff; }
.sfh-dh ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; margin-block-start: 8px; }
.sfh-dh ul a { color: #c9d3e8; font-size: 1rem; display: inline-block; padding-block: 6px; }
.sfh-vtop { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--sfh-gap); align-items: start; }
.sfh-video .sfh-t { color: #fff; }
.sfh-video .sfh-kick { color: #aebde0; }
.sfh-video .sfh-dek { color: #c9d3e8; }
.sfh-card--vlead .sfh-img { margin-block-end: 14px; }
.sfh-card--vlead .sfh-t { font-size: 1.5rem; line-height: 1.45; font-weight: 700; }
.sfh-tv { border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--s26-r, 2px); padding: 20px; background: #13284f; }
.sfh-tv-live { color: #ff9a9f; font-size: 1rem; margin-inline-start: 4px; }
.sfh-tv-h { font-size: 1.125rem; font-weight: 700; color: #fff; margin-block-end: 12px; }
.sfh-tv-list li { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); gap: 10px; padding-block: 9px; border-block-end: 1px solid rgba(255, 255, 255, .14); font-size: 1rem; line-height: 1.5; color: #dfe5f1; }
.sfh-tv-list li:only-child { grid-template-columns: 1fr; }
.sfh-tv-t { color: #aebde0; font-variant-numeric: tabular-nums; }
.sfh-tv-on .sfh-tv-t { color: #ff9a9f; font-weight: 700; }
.sfh-tv-on { color: #fff; font-weight: 500; }
.sfh-tv .sfh-btn { inline-size: 100%; margin-block-start: 16px; }
.sfh-tv-note { font-size: .8125rem; color: #aebde0; margin-block-start: 8px; text-align: center; }
.sfh-dmini { font-size: 1.125rem; font-weight: 700; color: #fff; margin-block: 36px 14px; padding-block-end: 8px; border-block-end: 1px solid rgba(255, 255, 255, .22); }
.sfh-progs { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sfh-progs .sfh-img { margin-block-end: 10px; }
.sfh-progs .sfh-kick { font-weight: 700; }
.sfh-progs .sfh-t { font-size: 1rem; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: clip; }
.sfh-video :is(.sfh-card):has(.sfh-link:focus-visible) { outline-color: #fff; }

/* ---------- cards / magazine blocks ---------- */
.sfh-card .sfh-img { margin-block-end: 10px; }
.sfh-card .sfh-t { font-size: 1.0625rem; line-height: 1.55; }
.sfh-card--lead .sfh-t { font-size: 1.375rem; line-height: 1.45; font-weight: 700; }
.sfh-mag { display: grid; gap: var(--sfh-gap); grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
.sfh-mag-pair { display: grid; gap: 24px; }
.sfh-band .sfh-lines li, .sfh-band .sfh-mini { border-color: rgba(22, 24, 29, .12); }

.sfh-guide-grid { display: grid; gap: var(--sfh-gap); grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.sfh-guide-list .sfh-row:first-child { padding-block-start: 0; }

.sfh-cols { display: grid; gap: var(--sfh-gap); align-items: start; }
.sfh-cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sfh-cols--sub { margin-block-start: 44px; }
.sfh-col .sfh-card { padding-block: 14px 4px; }
.sfh-col .sfh-card .sfh-t { font-weight: 700; }

.sfh-odd { margin-block-start: 56px; }
.sfh-odd-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block-start: 16px; }

/* ---------- the printed paper ---------- */
.sfh-band--navy { background: var(--sfh-navy); color: #dfe5f1; margin-block-start: 56px; padding-block: 44px; }
.sfh-paper-in { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: center; }
.sfh-cover { display: block; background: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.sfh-cover img { inline-size: 100%; block-size: auto; aspect-ratio: 1600 / 2912; object-fit: cover; }
.sfh-paper-k { font-size: .9375rem; color: #b4c0d9; letter-spacing: .1em; }
.sfh-paper-h { font-family: var(--sfh-serif); font-size: 2rem; line-height: 1.3; color: #fff; margin-block: 6px 6px; letter-spacing: .06em; }
.sfh-paper-n { font-size: 1.0625rem; color: #fff; }
.sfh-paper-d { font-size: 1rem; line-height: 1.7; color: #dfe5f1; margin-block: 10px 20px; }
.sfh-paper-a { display: flex; flex-wrap: wrap; gap: 12px; }
.sfh-paper-links { margin-block-start: 22px; color: #b4c0d9; font-size: 1rem; }
.sfh-paper-links a { color: #fff; display: inline-block; padding: 6px 10px; }
.sfh-paper-links a:first-child { padding-inline-start: 0; }

.sfh-signup { margin-block: 40px 48px; }
.sfh-signup-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: start; padding-block-start: 16px; }
.sfh-signup-d { font-size: 1rem; line-height: 1.7; color: #3d4249; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
	.sfh-top { grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "c r" "l r"; }
	.sfh-mag { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
	.sfh-mag-list { grid-column: 1 / -1; }
	.sfh-reg-grid, .sfh-cols--4, .sfh-rgrid, .sfh-progs, .sfh-odd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sfh-paper-in { grid-template-columns: 180px minmax(0, 1fr); }
	.sfh-vtop { grid-template-columns: minmax(0, 1fr) 280px; }
	.sfh-live { margin-inline-start: 0; }
}

/* ---------- phones (HQ phone sizes: lists 18px, lead 26px) ---------- */
@media (max-width: 760px) {
	main.sfh { --sfh-gap: 24px; }
	/* phones (user 2026-11-25: "手机上面那一堆东西太挤了"): straight from the header to the news, like HQ / World Journal
	   on phones. No date/weather/live line (the live box is in 精彩視頻) and no city strip (its links are in 灣區各地). */
	main.sfh > .sfh-wrap > .sfcn { display: none; }
	/* phones: the date line stays as ONE short line (user 2026-11-25: without it the page "started in the middle") */
	.sfh-folio-in { flex-wrap: nowrap; gap: 0 10px; min-block-size: 40px; padding-block: 4px; font-size: .875rem; }
	.sfh-y, .sfh-lunar, .sfh-wx li:nth-child(n+2), .sfh-live-now { display: none; }
	.sfh-date, .sfh-wx { flex: none; }
	.sfh-wx::before { content: "｜"; color: #b9bec6; margin-inline-end: 6px; }
	.sfh-wx { gap: 0; }
	.sfh-live { margin-inline-start: auto; flex: none; }
	.sfh-live-go { display: inline; }
	main.sfh > .sfh-wrap:first-of-type .sfh-ad--banner { margin-block: 12px 0; }
	.sfh-folio-in { gap: 6px 16px; padding-block: 8px; font-size: .875rem; }
	.sfh-wx { gap: 4px 14px; }
	.sfh-wx-s { display: none; }
	.sfh-live-now { max-inline-size: 14em; }
	.sfh-band { padding-block: 28px 32px; margin-block-start: 36px; }
	.sfh-hot { margin-block-start: 8px; }
	.sfh-hot-grid, .sfh-hot-grid--2 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.sfh-topic + .sfh-topic { border-inline-start: 0; padding-inline-start: 0; margin-inline-start: 0; }
	.sfh-trow { grid-template-columns: 42% minmax(0, 1fr); }
	.sfh-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "c" "l" "r"; margin-block-start: 20px; }
	.sfh-lead .sfh-img { margin-inline: -16px; border-radius: 0; }
	.sfh-lead-t { font-size: 1.5rem; line-height: 1.42; }
	:is(.sfh-related a, .sfh-row .sfh-t, .sfh-latest a, .sfh-lines a, .sfh-card .sfh-t, .sfh-trow .sfh-t, .sfh-dots a, .sfh-rcard .sfh-t) { font-size: 1.125rem; }
	/* photos ~40% of the width on phones (user 2026-11-25: "图片放大一些，不要这么小") */
	.sfh-row, .sfh-r .sfh-row { grid-template-columns: minmax(0, 1fr) 42%; gap: 14px; }
	.sfh-row--big { grid-template-columns: minmax(0, 1fr) !important; }
	.sfh-row--big .sfh-img { order: -1; margin-block-end: 4px; }
	.sfh-row--big .sfh-t { font-size: 1.25rem !important; font-weight: 700; }
	.sfh-r .sfh-row .sfh-t { font-size: 1.125rem; }
	.sfh-gh { margin-block: 40px 18px; }
	.sfh-gh h2, .sfh-dh h2 { font-size: 1.625rem; gap: 16px; }
	.sfh-dh ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
	.sfh-dh li { flex: none; }
	.sfh-gh-subs ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
	.sfh-gh-subs li { flex: none; }
	.sfh-reg-grid, .sfh-reg-grid--3, .sfh-cols--4, .sfh-mag { grid-template-columns: minmax(0, 1fr); }
	.sfh-mag-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.sfh-mag-pair .sfh-t, .sfh-progs .sfh-t, .sfh-odd-grid .sfh-t { font-size: 1rem !important; }
	.sfh-card--lead .sfh-t, .sfh-card--vlead .sfh-t { font-size: 1.25rem !important; }
	.sfh-rgrid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.sfh-rcard { display: grid; grid-template-columns: minmax(0, 1fr) 42%; gap: 12px; padding-block: 12px; border-block-end: 1px solid rgba(22, 24, 29, .12); }
	.sfh-rcard .sfh-img { order: 2; margin: 0; }
	.sfh-rnum { font-size: 2rem; }
	.sfh-vtop { grid-template-columns: minmax(0, 1fr); }
	.sfh-progs, .sfh-odd-grid { gap: 20px 16px; }
	.sfh-guide-grid { grid-template-columns: minmax(0, 1fr); }
	.sfh-paper-in { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
	.sfh-paper-h { font-size: 1.5rem; }
	.sfh-signup-in { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	/* phones: first story of a small column / region as a photo-right row, not a full-width photo */
	:is(.sfh-col, .sfh-reg) .sfh-card { display: grid; grid-template-columns: minmax(0, 1fr) 42%; grid-template-rows: auto 1fr; column-gap: 12px; padding-block: 12px; border-block-end: 1px solid var(--sfh-rule); }
	:is(.sfh-col, .sfh-reg) .sfh-card .sfh-img { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
	:is(.sfh-col, .sfh-reg) .sfh-card > :not(.sfh-img) { grid-column: 1; }
	.sfh-reg + .sfh-reg { margin-block-start: 8px; }
	/* phones: shorter lists so the page keeps moving */
	.sfh-c > .sfh-block > .sfh-row:nth-of-type(n+6), .sfh-latest li:nth-child(n+7) { display: none; }
}

/* ---------- rounded corners (user 2026-11-25: 盡量用圓角，美學圓角; still no pills) ----------
   three sizes, inner radius smaller than outer so nested shapes stay concentric:
   6px buttons / labels / small badges, 10px photos, 14px boxes. Phone lead photos stay edge-to-edge (no radius). */
body:has(main.sfh) .header .sf-sbtn, body:has(main.sfh) .header .navigation .search.sf-sbox a,
body:has(main.sfh) .header .top_row .sfw-account-link a, body:has(main.sfh) .header .mobile-subscribe a { border-radius: 6px !important; }
main.sfh .sfh-img { border-radius: 10px; }
main.sfh :is(.sfh-row, .sfh-trow, .sfh-rcard) .sfh-img { border-radius: 8px; }
main.sfh .sfh-btn, main.sfh .sfh-play { border-radius: 6px; }
main.sfh .sfh-label span { border-radius: 6px; }
main.sfh .sfh-tv { border-radius: 14px; }
main.sfh .sfh-tv .sfh-btn { border-radius: 8px; }
main.sfh .sfh-ad img, main.sfh .sfh-adsb img { border-radius: 10px; }
main.sfh .sfh-cover { border-radius: 6px; overflow: clip; }   /* a newspaper page: only slightly rounded */
main.sfh .sfh-lead .sfh-img { border-radius: 12px; }
@media (max-width: 760px) { main.sfh .sfh-lead .sfh-img { border-radius: 0; } }

/* two-part headlines: each part stays whole; the gap is a margin (invisible when the line breaks there) */
.sfx-seg { display: inline-block; max-inline-size: 100%; }
.sfx-seg:not(:last-child) { margin-inline-end: .75em; }

/* headlines break only at punctuation or the two-part gap, never inside a word */
.sfh-lead-t, .sfh-card--lead .sfh-t, .sfh-card--vlead .sfh-t { word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- corners, final rule (user 2026-11-25: "圖片還是不要用圓角", research the best aesthetics) ----------
   measured 2026-11-25: theepochtimes.com, BBC, CNA, 報導者, World Journal keep 90-100% of photos square (HQ Taiwan 2px);
   only Apple Newsroom rounds photos (32px, a marketing look). So: photographs square, like printed pictures; rounding
   only on things you press or that hold content: buttons/labels 6-8px, boxes 12-14px, round portraits. */
main.sfh :is(.sfh-img, .sfh-row .sfh-img, .sfh-trow .sfh-img, .sfh-rcard .sfh-img, .sfh-lead .sfh-img, .sfh-cover),
main.sfh :is(.sfh-ad, .sfh-adsb) img { border-radius: 0 !important; }

/* 2026-11-25 ad re-order: square ads in columns keep their own size; the 地產 list-column square sits under the list */
.sfh-ad--low { margin-block: 28px 0; }
.sfh-ad--inlist { margin-block: 0 24px; }
.sfh-ad--inlist img { max-inline-size: 100%; }

/* 2026-11-25 even columns (see the sfh-fit script in sf-home-2026.php): wide screens only */
@media (min-width: 1101px) {
	.sfh-fit { contain: size; overflow: hidden; align-self: stretch; }
	.sfh-fit.sfh-fit-off { contain: none; overflow: visible; }
}
/* extra items exist only to fill columns on wide screens; narrower layouts show the usual counts */
.sfh-lead-more { margin-block-start: 16px; }
@media (max-width: 1100px) {
	.sfh-lead-more { display: none; }
	.sfh-latest li:nth-child(n+11), .sfh-r .sfh-fitlist > :nth-child(n+6), .sfh-mag-list .sfh-fitlist > :nth-child(n+7), .sfh-tv-list > :nth-child(n+6) { display: none; }
}

/* 2026-11-25 電子報紙 + 訂閱電子報 in one navy band: cover | paper text | signup box */
.sfh-paper { margin-block-end: 0; }
main.sfh .sfh-paper-in { grid-template-columns: 200px minmax(0, 1fr) minmax(0, 440px); gap: 40px; align-items: center; }
main.sfh .sfh-signup { margin: 0; padding-inline-start: 40px; border-inline-start: 1px solid rgba(255, 255, 255, .22); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
main.sfh .sfh-signup-h { font-family: var(--sfh-serif); font-size: 1.5rem; line-height: 1.35; color: #fff; margin: 0 0 6px; letter-spacing: .06em; }
main.sfh .sfh-signup-d { font-size: 1rem; line-height: 1.7; color: #dfe5f1; margin: 0 0 14px; }
main.sfh .sfh-signup-f { background: #fff; border-radius: 12px; padding: 12px 16px 4px; }
main.sfh > :last-child.sfh-wrap:empty { display: none; }
@media (max-width: 1100px) {
	main.sfh .sfh-paper-in { grid-template-columns: 180px minmax(0, 1fr); }
	main.sfh .sfh-signup { grid-column: 1 / -1; padding: 28px 0 0; border-inline-start: 0; border-block-start: 1px solid rgba(255, 255, 255, .22); }
}
@media (max-width: 760px) {
	main.sfh .sfh-paper-in { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
	main.sfh .sfh-signup-f { padding: 10px 12px 2px; }
}

/* 2026-11-25 北加新聞 rows: two-line summary under the title */
main.sfh .sfh-row-dek { margin: 4px 0 0; font-size: .9375rem; line-height: 1.65; color: #4a5059; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: clip; }
main.sfh .sfh-row-dek + .sfh-meta { margin-block-start: 4px; }

/* 2026-11-25 short summaries wherever a card has room (user: 能放下簡短說明的地方放一些，平衡一下): two lines, smaller, grey.
   Hidden on phones where cards sit two to a row (too narrow). */
main.sfh .sfh-dek--s { margin-block-start: 4px; font-size: .9375rem; line-height: 1.65; color: #4a5059; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: clip; }
@media (max-width: 760px) { main.sfh :is(.sfh-mag-pair, .sfh-odd-grid) .sfh-dek--s { display: none; } }

/* 2026-11-25 美股大盤 in the folio line: red up / green down (Chinese convention) + ▲▼ so colour is not the only cue */
.sfh-mkt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin: 0; color: var(--sfh-text); white-space: nowrap; }
.sfh-mkt-h { color: var(--sfh-meta); }
.sfh-mkt-i { display: inline-flex; align-items: baseline; gap: 5px; }
.sfh-mkt-p { font-weight: 600; color: var(--sfh-ink); font-variant-numeric: tabular-nums; }
.sfh-mkt-c { font-variant-numeric: tabular-nums; font-size: .875rem; }
.sfh-mkt-c.is-up { color: #c8102e; }
.sfh-mkt-c.is-down { color: #0a7a35; }
.sfh-vh { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1280px) { .sfh-live-now { display: none; } }
@media (max-width: 1100px) { .sfh-wx li:nth-child(n+2) { display: none; } }
@media (max-width: 760px) {
	.sfh-mkt { flex-wrap: nowrap; gap: 0 6px; }
	.sfh-mkt-h, .sfh-mkt-p, .sfh-mkt-i ~ .sfh-mkt-i { display: none; }
	.sfh-mkt::before { content: "｜"; color: #b9bec6; }
}

/* 2026-11-25 rotating lead (sfh-car): same-size 3:2 photo boxes (photos never cropped: sf-fit), ‹ › on the photo,
   pause + 1/5 + thumbnail markers under it (the old 頭條 slider had a thumbnail strip too) */
.sfh-car { position: relative; }
.sfh-car-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; touch-action: pan-x pan-y; }
.sfh-car-track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) { .sfh-car-track { scroll-behavior: smooth; } }
.sfh-car-track:focus-visible { outline: 2px solid var(--sfh-link); outline-offset: 4px; }
.sfh-car-slide { scroll-snap-align: start; scroll-snap-stop: always; min-inline-size: 0; }
.sfh-car-slide .sfh-img { aspect-ratio: 3 / 2; }
.sfh-car-ctl { position: absolute; inset-inline: 0; inset-block-start: 0; aspect-ratio: 3 / 2; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding-inline: 10px; pointer-events: none; }
.sfh-car-btn { flex: none; display: grid; place-items: center; inline-size: 32px; block-size: 32px; padding: 0; border: 1px solid #c4c9d2; border-radius: 6px; background: #fff; color: var(--sfh-ink); cursor: pointer; touch-action: manipulation; }
.sfh-car-btn:hover, .sfh-car-pause:hover { border-color: var(--sfh-navy); color: var(--sfh-navy); }
.sfh-car-btn:focus-visible, .sfh-car-pause:focus-visible, .sfh-car-mark:focus-visible { outline: 2px solid var(--sfh-navy); outline-offset: 2px; }
.sfh-car-bar { display: flex; align-items: center; gap: 12px; margin-block: 14px 4px; }
.sfh-car-pause { flex: none; display: grid; place-items: center; inline-size: 32px; block-size: 32px; border: 1px solid #c4c9d2; border-radius: 6px; background: #fff; color: var(--sfh-ink); cursor: pointer; }
.sfh-car-pause .i-play { display: none; }
.sfh-car.is-stopped .sfh-car-pause .i-play { display: inline; }
.sfh-car.is-stopped .sfh-car-pause .i-pause { display: none; }
.sfh-car-count { flex: none; font-size: .875rem; color: var(--sfh-meta); font-variant-numeric: tabular-nums; }
.sfh-car-count b { color: var(--sfh-ink); font-weight: 700; }
.sfh-car-marks { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.sfh-car-mark { display: block; padding: 0; border: 0; background: #eef0f3; aspect-ratio: 3 / 2; overflow: hidden; cursor: pointer; opacity: .55; box-shadow: inset 0 -3px 0 transparent; transition: opacity .2s; }
.sfh-car-mark img { display: block; inline-size: 100%; block-size: 100%; object-fit: contain; }   /* never cropped (user rule) */
.sfh-car-mark:hover { opacity: .85; }
.sfh-car-mark[aria-current="true"] { opacity: 1; outline: 2px solid var(--sfh-navy); outline-offset: 2px; }
@media (max-width: 760px) {
	.sfh-car-track { margin-inline: -16px; }
	.sfh-car-slide { padding-inline: 16px; }
	.sfh-car-ctl { inset-inline: -16px; }
	.sfh-car-marks { display: none; }
	.sfh-car-bar { margin-block-start: 10px; }
}

/* 2026-11-25 less crowded top block: 即時新聞 titles max 2 lines, a little more room per row */
.sfh-latest li { padding-block: 12px; }
.sfh-latest a { -webkit-line-clamp: 2; line-clamp: 2; }
.sfh-c .sfh-row { padding-block: 16px; }

/* 2026-11-25 (user: arrows too loud / clumsy; 美股 line too crowded): arrows moved under the photo next to pause;
   美股 shows name + change only; the now-playing programme text is gone from the folio line */
.sfh-car-bar { gap: 8px; }
.sfh-car-count { margin-inline: 4px 8px; }
.sfh-mkt { gap: 4px 12px; }
.sfh-mkt-c { font-size: .9375rem; }
.sfh-live-now { display: none !important; }
/* folio on one line at desktop widths: weather words only for 舊金山, no 「美股」 label, tighter gaps; room under the carousel */
@media (min-width: 761px) {
	.sfh-folio-in { gap: 8px 22px; flex-wrap: nowrap; }
	.sfh-wx li:nth-child(n+2) .sfh-wx-s, .sfh-mkt-h { display: none; }
	.sfh-wx { gap: 4px 16px; }
	.sfh-mkt { flex-wrap: nowrap; }
}
.sfh-car { margin-block-end: 28px; }

/* 美股 line opens /markets */
a.sfh-mkt { color: var(--sfh-text); text-decoration: none; }
a.sfh-mkt:hover .sfh-mkt-n { color: var(--sfh-navy); text-decoration: underline; text-underline-offset: 3px; }
a.sfh-mkt:focus-visible { outline: 2px solid var(--sfh-navy); outline-offset: 2px; }

/* 2026-11-25 weather as small icons for all three cities (user choice); the words stay for screen readers + hover title */
.sfh-wx li { align-items: center; }
.sfh-wx .sfh-wx-s { display: inline-flex !important; align-items: center; color: var(--sfh-navy); }
.sfh-wx .sfh-wx-ic { display: block; inline-size: 18px; block-size: 18px; }

/* 2026-11-25 phones: the folio line was 497px wide (overflowed 360-430px screens). Keep date (no weekday) + 舊金山 + 道瓊. */
@media (max-width: 760px) {
	.sfh-folio-in { overflow: hidden; gap: 0 12px; }
	.sfh-wd, .sfh-folio .sfh-live, .sfh-mkt::before { display: none !important; }
	.sfh-wx li { gap: 4px; }
	.sfh-wx .sfh-wx-ic { inline-size: 16px; block-size: 16px; }
	.sfh-mkt { margin-inline-start: auto; }
}

/* 2026-11-25 carousel on phones shifted up/down/left/right (user): the track scrolled vertically too (content 3px taller
   than the box; overflow-x:auto makes overflow-y auto), and the full-bleed slides sat 16px past the page edges.
   Only horizontal scrolling, no vertical overscroll, and the slides stay inside the page gutters. */
.sfh-car-track { overflow-y: hidden; overscroll-behavior-y: none; }
.sfh-car-slide { overflow: hidden; }
@media (max-width: 760px) {
	.sfh-car-track { margin-inline: 0; }
	.sfh-car-slide { padding-inline: 0; }
	.sfh-car .sfh-lead .sfh-img { margin-inline: 0; }
}

/* 2026-11-25 weather for 16 Bay Area cities; three show (one on narrow screens). Bay Area readers get their nearest city
   first (script after the list); the others keep 舊金山・奧克蘭・聖荷西. */
.sfh-wx li:nth-child(n+4) { display: none !important; }

/* 2026-11-25 weather line opens /weather (灣區天氣與警報, built by the other session) like 美股 opens /markets */
.sfh-wx-a { display: inline-flex; align-items: center; gap: 5px; color: inherit; text-decoration: none; }
.sfh-wx-a:hover .sfh-wx-c { color: var(--sfh-navy); text-decoration: underline; text-underline-offset: 3px; }
.sfh-wx-a:focus-visible { outline: 2px solid var(--sfh-navy); outline-offset: 2px; }

/* 美股三大指數 line under the folio (TradingView ticker tape, one 46px line; 2026-11-25, made smaller on request).
   Fixed height = no layout shift. (class sfh-mks: .sfh-tv is the dark 精彩視頻 box) */
.sfh-mks { display: flex; align-items: center; gap: 0 14px; padding-block: 0; border-block-end: 1px solid var(--sfh-rule, #e3e5e9); }
.sfh-mks-box { flex: 1 1 auto; min-inline-size: 0; block-size: 46px; overflow: hidden; position: relative; }
/* TradingView pins its round logo button to the right end of the tape, on top of the moving prices (user 2026-11-25:
   the logo blocks part of it). The frame is made 56px wider than the box and the box clips it, so the button falls
   outside the visible strip; the TradingView credit stays as the text link next to the tape (.sfh-mks-c). */
.sfh-mks-box .tradingview-widget-container__widget, .sfh-mks-box iframe { inline-size: calc(100% + 56px) !important; max-inline-size: none !important; }
.sfh-mks-box iframe { block-size: 46px !important; }
.sfh-mks-c { flex: none; display: flex; flex-direction: column; align-items: flex-end; margin: 0; padding: 0; font-size: .75rem; line-height: 1.45; color: #4a4f57; }
.sfh-mks-c a { color: var(--sfh-link, #1b4b91); }
@media (max-width: 760px) {
	.sfh-mks { display: block; }
	.sfh-mks-c { flex-direction: row; justify-content: space-between; padding-block: 0 6px; }
}

