@charset "utf-8";
/* /hm/user_content/mu-plugins/sf-reader-wall/wall.css */
/* SF Reader Wall - rectangular controls, site navy #192f65 (no pill buttons). 2026-11-03 */

/* ---------- gating ---------- */
.sfw-cut, .sfw-locked > .sfw-box ~ * { display: none !important; }
.sfw-fade { position: relative; }
.sfw-fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4.5em; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }

/* ---------- sign-in box ----------
 * One 360px column (.sfw-col) holds Google button, divider, label, input, button, checkbox and messages,
 * so every left edge lines up. Selectors are prefixed with .sfw-box to beat the theme's `.post_content p`. */
.sfw-box { box-sizing: border-box; margin: 8px 0 28px; padding: 28px 24px 22px; background: #f5f5f3; border-top: 3px solid #192f65; font-family: inherit; color: #222; text-align: center; }
.sfw-box *, .sfw-box *::before, .sfw-box *::after { box-sizing: border-box; }
.sfw-box [hidden] { display: none !important; }
.sfw-box p, .sfw-box h2, .sfw-box h3, .sfw-box label { text-indent: 0 !important; letter-spacing: normal !important; }

.sfw-box .sfw-h { margin: 0 0 8px !important; font-size: 22px !important; line-height: 1.35 !important; font-weight: 700; color: #192f65; text-align: center !important; }
.sfw-box .sfw-sub { margin: 0 auto 22px !important; max-width: 440px; font-size: 15px !important; line-height: 1.65 !important; color: #444; text-align: center !important; }

.sfw-box .sfw-col { width: 100%; max-width: 360px; margin: 0 auto; text-align: left; }
.sfw-box .sfw-google { display: flex; justify-content: center; min-height: 44px; }
.sfw-box .sfw-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: #777; font-size: 13px; }
.sfw-box .sfw-or::before, .sfw-box .sfw-or::after { content: ""; flex: 1; border-top: 1px solid #ccc; }
.sfw-box .sfw-email { margin: 0; padding: 0; }
.sfw-box .sfw-lbl { display: block; margin: 0 0 6px !important; font-size: 13px !important; line-height: 1.4; color: #444; }
.sfw-input, .sfw-account input[type=text], .sfw-account input[type=email] { display: block; width: 100%; height: 44px; margin: 0; padding: 0 12px; font-size: 16px; font-family: inherit; border: 1px solid #b5b5b5; border-radius: 3px; background: #fff; color: #222; }
.sfw-input:focus, .sfw-account input:focus { outline: 2px solid #192f65; outline-offset: 1px; border-color: #192f65; }

.sfw-btn { display: inline-block; height: 44px; padding: 0 20px; font-size: 16px; font-family: inherit; font-weight: 600; line-height: 42px; color: #fff; background: #192f65; border: 1px solid #192f65; border-radius: 3px; cursor: pointer; text-align: center; }
.sfw-btn:hover { background: #0f1f47; }
.sfw-btn:disabled { opacity: .6; cursor: default; }
.sfw-btn-line { color: #192f65; background: #fff; }
.sfw-btn-line:hover { background: #eef0f5; }
.sfw-btn-danger { background: #a1121f; border-color: #a1121f; }
.sfw-btn-danger:hover { background: #7d0e18; }
.sfw-box .sfw-email .sfw-btn { display: block; width: 100%; margin: 10px 0 0; }

.sfw-box .sfw-nl { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0 !important; font-size: 14px !important; line-height: 1.5; color: #333; text-align: left; cursor: pointer; }
.sfw-box .sfw-nl input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #192f65; }
.sfw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.sfw-box .sfw-msg { margin: 10px 0 0 !important; font-size: 14px !important; line-height: 1.6 !important; text-align: left; }
.sfw-box .sfw-msg:empty { display: none; }
.sfw-msg.sfw-ok { color: #1d5e2a; }
.sfw-msg.sfw-bad { color: #a1121f; }

.sfw-box .sfw-fine { margin: 18px auto 0 !important; max-width: 360px; font-size: 12.5px !important; line-height: 1.6 !important; color: #666; text-align: center !important; }
.sfw-fine a, .sfw-signed a { color: #192f65; text-decoration: underline; }

/* step 2: link sent */
.sfw-box .sfw-step-sent { text-align: center; }
.sfw-box .sfw-sent-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 0 12px; color: #192f65; background: #fff; border: 1px solid #d6dae4; border-radius: 4px; }
.sfw-box .sfw-sent-h { margin: 0 0 10px !important; font-size: 19px !important; line-height: 1.4; font-weight: 700; color: #192f65; outline: none; }
.sfw-box .sfw-sent-p { margin: 0 0 10px !important; font-size: 15px !important; line-height: 1.65 !important; color: #444; text-align: center !important; }
.sfw-box .sfw-sent-em { color: #222; word-break: break-all; }
.sfw-box .sfw-sent-actions { margin: 14px 0 0 !important; font-size: 14px !important; color: #999; text-align: center !important; }
.sfw-box .sfw-sent-actions span { margin: 0 8px; }
.sfw-link { padding: 0; font: inherit; font-size: 14px; color: #192f65; background: none; border: 0; text-decoration: underline; cursor: pointer; }
.sfw-link:hover { color: #0f1f47; }
.sfw-link:disabled { opacity: .5; cursor: default; }
.sfw-box .sfw-sent-msg { text-align: center; }

.sfw-signed { margin: 12px 0 0; font-size: 13px !important; color: #666; }

/* ---------- /account page ---------- */
.sfw-account-wrap { padding: 32px 15px 48px; }
.sfw-account { max-width: 640px; margin: 0 auto; color: #222; }
.sfw-title { margin: 0 0 16px; font-size: 28px; font-weight: 700; color: #192f65; border-bottom: 1px solid #ddd; padding-bottom: 12px; }
.sfw-lead { font-size: 16px; color: #444; margin: 0 0 20px; }
.sfw-notice { padding: 12px 14px; background: #fdf3f3; border-left: 3px solid #a1121f; color: #7d0e18; }
.sfw-notice.sfw-notice-ok { background: #eef6ef; border-left-color: #1d7a34; color: #14532a; }
.sfw-account .sfw-box { margin: 0 !important; padding: 0; background: none; border-top: 0; text-align: left; max-width: 360px; }
.sfw-account .sfw-box .sfw-col, .sfw-account .sfw-box .sfw-fine { margin-left: 0 !important; }
.sfw-account .sfw-box .sfw-fine { text-align: left !important; }
.sfw-account .sfw-box .sfw-google { justify-content: flex-start; }
.sfw-account .sfw-box .sfw-step-sent, .sfw-account .sfw-box .sfw-sent-p, .sfw-account .sfw-box .sfw-sent-actions, .sfw-account .sfw-box .sfw-sent-msg { text-align: left !important; }
.sfw-account form { margin-left: 0 !important; padding-left: 0 !important; }
.sfw-form { max-width: 420px; }
.sfw-row { margin: 0 0 16px; }
.sfw-row label { display: block; margin: 0 0 4px; font-size: 14px; color: #444; }
.sfw-account input[readonly], .sfw-account input:disabled { background: #f2f2f2; color: #555; }
.sfw-check label { font-size: 15px; color: #222; cursor: pointer; }
.sfw-meta { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 20px; font-size: 14px; }
.sfw-meta dt { color: #666; }
.sfw-meta dd { margin: 0; }
.sfw-section { margin-top: 32px; padding-top: 20px; border-top: 1px solid #ddd; }
.sfw-section h2 { margin: 0 0 8px; font-size: 18px; color: #222; }
.sfw-section p { font-size: 14px; color: #444; }
.sfw-section .sfw-btn { margin: 0 8px 8px 0; }
.sfw-form .sfw-msg { margin-left: 8px; font-size: 14px; }

@media (max-width: 600px) {
	.sfw-box { padding: 22px 16px 18px; }
	.sfw-box .sfw-h { font-size: 20px !important; }
	.sfw-account-wrap { padding-top: 20px; }
}

/* ---------- site dialog (replaces browser alert/confirm) ---------- */
html.sfw-dlg-open { overflow: hidden; }
.sfw-dlg-backdrop { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(14, 22, 44, .55); opacity: 0; transition: opacity .15s ease; }
.sfw-dlg-backdrop.sfw-in { opacity: 1; }
.sfw-dlg { box-sizing: border-box; width: 100%; max-width: 440px; background: #fff; border-top: 4px solid #192f65; border-radius: 4px; box-shadow: 0 18px 48px rgba(0,0,0,.28); padding: 24px 24px 20px; font-family: inherit; color: #222; transform: translateY(8px); transition: transform .15s ease; text-align: left; }
.sfw-dlg-backdrop.sfw-in .sfw-dlg { transform: none; }
.sfw-dlg-error { border-top-color: #a1121f; }
.sfw-dlg-title { margin: 0 0 10px; font-size: 19px; line-height: 1.4; font-weight: 700; color: #192f65; }
.sfw-dlg-error .sfw-dlg-title { color: #a1121f; }
.sfw-dlg-body { margin: 0 0 22px; font-size: 15px; line-height: 1.7; color: #444; }
.sfw-dlg-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.sfw-dlg-actions .sfw-btn { min-width: 96px; margin: 0; }
.sfw-dlg .sfw-btn:focus-visible { outline: 2px solid #192f65; outline-offset: 2px; }
.sfw-dlg .sfw-btn-danger:focus-visible { outline-color: #a1121f; }
@media (max-width: 480px) {
	.sfw-dlg-backdrop { align-items: flex-end; padding: 0; }
	.sfw-dlg { max-width: none; border-radius: 4px 4px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); }
	.sfw-dlg-actions { flex-direction: column-reverse; }
	.sfw-dlg-actions .sfw-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sfw-dlg-backdrop, .sfw-dlg { transition: none; } }

/* /account: make the page a full-height column so the footer sits at the bottom of the viewport
   (the theme's <body> has no class; :has() only matches the account template). */
body:has(> .sfw-account-wrap) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; margin: 0; }
body:has(> .sfw-account-wrap) > header, body:has(> .sfw-account-wrap) > footer { flex: none; width: 100%; }
body:has(> .sfw-account-wrap) > .sfw-account-wrap { flex: 1 0 auto; width: 100%; max-width: 1000px; margin-left: auto; margin-right: auto; box-sizing: border-box; }

/* /account alignment pass: one 400px column for signed-out and signed-in states */
.sfw-account .sfw-box, .sfw-account .sfw-box .sfw-col, .sfw-account .sfw-box .sfw-fine, .sfw-account .sfw-form { max-width: 400px !important; }
.sfw-account .sfw-lead { margin: 0 0 22px; font-size: 16px; line-height: 1.6; }
.sfw-account .sfw-row { margin: 0 0 18px; }
.sfw-account .sfw-row label { margin: 0 0 6px; font-size: 13px; line-height: 1.4; }
.sfw-account .sfw-check { margin: 0 0 20px; }
.sfw-account .sfw-check label { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14px; line-height: 1.5; color: #333; }
.sfw-account .sfw-check input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #192f65; }
.sfw-account .sfw-meta { margin: 0 0 24px; padding: 14px 0 0; border-top: 1px solid #eee; font-size: 14px; line-height: 1.5; }
.sfw-account .sfw-form p { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0; }
.sfw-account .sfw-form .sfw-msg { margin: 0; }
.sfw-account .sfw-section { margin-top: 36px; padding-top: 24px; }
.sfw-account .sfw-section h2 { margin: 0 0 10px; font-size: 17px; line-height: 1.4; font-weight: 700; color: #222; }
.sfw-account .sfw-section p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: #555; max-width: 400px; }
.sfw-account .sfw-section p:last-child { margin-bottom: 0; }
.sfw-account .sfw-section .sfw-btn { margin: 0 10px 10px 0; }
.sfw-account > .sfw-fine { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid #eee; font-size: 13px; line-height: 1.7; color: #777; }
.sfw-account > .sfw-fine a { color: #192f65; }
@media (max-width: 600px) {
	.sfw-account .sfw-title { font-size: 24px; }
	.sfw-account .sfw-section .sfw-btn { width: 100%; margin: 0 0 10px; }
	.sfw-account .sfw-form p .sfw-btn { width: 100%; }
}

.sfw-account .sfw-box form, .sfw-account .sfw-box .sfw-fine, .sfw-account .sfw-box .sfw-col { border: 0 !important; box-shadow: none !important; }

/* reCAPTCHA v3: badge hidden, required notice shown in the box instead */
.grecaptcha-badge { visibility: hidden !important; }
.sfw-box .sfw-rc-note { margin-top: 6px !important; font-size: 11.5px !important; color: #888; }

/* theme gives every <p> 20px bottom padding; none inside the box */
.sfw-box p { padding: 0 !important; }
.sfw-box .sfw-sub { margin-bottom: 22px !important; }

/* /account signed out (login): centred heading, intro, column and notes; labels stay left over their field */
.sfw-account:has(#sfw-signin) { max-width: 460px; text-align: center; }
.sfw-account:has(#sfw-signin) .sfw-title { text-align: center; }
.sfw-account:has(#sfw-signin) .sfw-lead { text-align: center; }
.sfw-account:has(#sfw-signin) .sfw-notice { text-align: left; }
.sfw-account #sfw-signin .sfw-box { margin: 0 auto !important; }
.sfw-account #sfw-signin .sfw-box .sfw-col { margin: 0 auto !important; }
.sfw-account #sfw-signin .sfw-box .sfw-google { justify-content: center; }
.sfw-account #sfw-signin .sfw-box .sfw-email { text-align: left; }
.sfw-account #sfw-signin .sfw-box .sfw-nl { justify-content: center; }
.sfw-account #sfw-signin .sfw-box .sfw-msg { text-align: center; }
.sfw-account #sfw-signin .sfw-box .sfw-fine { margin-left: auto !important; margin-right: auto !important; text-align: center !important; }
.sfw-account #sfw-signin .sfw-box .sfw-step-sent,
.sfw-account #sfw-signin .sfw-box .sfw-sent-p,
.sfw-account #sfw-signin .sfw-box .sfw-sent-actions,
.sfw-account #sfw-signin .sfw-box .sfw-sent-msg { text-align: center !important; }

/* /account signed in: profile card (Google photo or initial, name, email, sign-in method) */
.sfw-profile-card { display: flex; align-items: center; gap: 16px; max-width: 400px; margin: 0 0 26px; padding: 16px; background: #f5f6f8; border: 1px solid #e3e6ec; border-radius: 4px; }
.sfw-avatar { flex: none; display: block; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #dfe3ec; }
.sfw-avatar-init { display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; color: #fff; background: #192f65; }
.sfw-pc-text { min-width: 0; }
.sfw-pc-name { font-size: 18px; font-weight: 700; line-height: 1.35; color: #192f65; overflow-wrap: anywhere; }
.sfw-pc-email { margin-top: 2px; font-size: 14px; line-height: 1.5; color: #444; overflow-wrap: anywhere; }
.sfw-pc-via { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: #666; }
@media (max-width: 600px) { .sfw-profile-card { gap: 12px; padding: 14px; } .sfw-avatar { width: 56px; height: 56px; } }

/* ---------- unlock animation ---------- */
.sfw-fade::after { transition: opacity .5s ease; }
.sfw-fade.sfw-fade-out::after { opacity: 0; }
.sfw-box.sfw-done { display: flex; align-items: center; justify-content: center; transition: background-color .3s ease; }
.sfw-done-in { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; animation: sfw-pop .35s ease both; }
.sfw-done-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 4px; color: #fff; background: #1d6b3a; border-radius: 50%; animation: sfw-pop .35s .05s cubic-bezier(.2,1.4,.4,1) both; }
.sfw-done-in strong { font-size: 19px; color: #192f65; }
.sfw-done-in span:last-child { font-size: 14px; color: #555; }
.sfw-box.sfw-collapse { transition: height .55s cubic-bezier(.4,0,.2,1), opacity .4s ease, margin .55s cubic-bezier(.4,0,.2,1), padding .55s cubic-bezier(.4,0,.2,1), border-width .55s ease; opacity: 0; margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; border-top-width: 0 !important; }
.sfw-reveal { animation: sfw-reveal .5s ease both; }
@keyframes sfw-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sfw-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sfw-reveal, .sfw-done-in, .sfw-done-icon { animation: none; } .sfw-box.sfw-collapse, .sfw-fade::after { transition: none; } }

/* ---------- /account signed in: balanced settings layout (2026-11-03) ----------
 * One centred 680px column: full-width profile header, then panels that use the full width.
 * Inside panels, labels sit in a fixed left column and controls fill the rest, so no dead space on the right. */
.sfw-account.sfw-acct-in { max-width: 680px; }
.sfw-acct-in .sfw-title { margin-bottom: 20px; }
.sfw-acct-in .sfw-pc { display: flex; align-items: center; gap: 18px; margin: 0 0 20px; padding: 20px 22px; background: #f5f6f8; border: 1px solid #e3e6ec; border-top: 3px solid #192f65; border-radius: 4px; }
.sfw-acct-in .sfw-avatar { width: 72px; height: 72px; }
.sfw-acct-in .sfw-pc-text { flex: 1; min-width: 0; }
.sfw-acct-in .sfw-pc-name { font-size: 20px; }
.sfw-acct-in .sfw-pc-out { flex: none; height: 38px; line-height: 36px; padding: 0 16px; font-size: 15px; margin: 0; }

.sfw-acct-in .sfw-panel { display: block; max-width: none !important; margin: 0 0 16px; padding: 4px 22px 18px; background: #fff; border: 1px solid #e3e6ec; border-radius: 4px; }
.sfw-acct-in .sfw-panel-h { margin: 0 -22px 4px; padding: 14px 22px 12px; font-size: 16px; font-weight: 700; line-height: 1.4; color: #222; border-bottom: 1px solid #eef0f3; }
.sfw-acct-in .sfw-field { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 8px 20px; padding: 14px 0; border-bottom: 1px solid #f1f2f5; }
.sfw-acct-in .sfw-field:last-of-type { border-bottom: 0; }
.sfw-acct-in .sfw-field-l { margin: 0; font-size: 14px; line-height: 1.4; color: #666; }
.sfw-acct-in .sfw-field-c { min-width: 0; }
.sfw-acct-in .sfw-field-v { font-size: 15px; color: #222; }
.sfw-acct-in .sfw-field-c input[type=text] { max-width: 100%; }
.sfw-acct-in .sfw-opt { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 15px; line-height: 1.5; color: #222; cursor: pointer; }
.sfw-acct-in .sfw-opt input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #192f65; }
.sfw-acct-in .sfw-opt small { display: block; margin-top: 2px; font-size: 13px; color: #777; }
.sfw-acct-in .sfw-panel-foot { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin: 4px -22px -18px; padding: 14px 22px; background: #fafbfc; border-top: 1px solid #eef0f3; border-radius: 0 0 4px 4px; }
.sfw-acct-in .sfw-panel-foot .sfw-btn { margin: 0; }
.sfw-acct-in .sfw-panel-foot .sfw-msg { margin: 0; font-size: 14px; }
.sfw-acct-in .sfw-split { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0 0; }
.sfw-acct-in .sfw-split p { flex: 1; margin: 0; font-size: 14px; line-height: 1.65; color: #555; }
.sfw-acct-in .sfw-split .sfw-btn { flex: none; margin: 0; }
.sfw-acct-in .sfw-panel-danger { border-color: #f0d6d9; border-left: 3px solid #a1121f; }
.sfw-acct-in .sfw-panel-danger .sfw-panel-h { color: #a1121f; }
.sfw-acct-in .sfw-acct-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; margin: 26px 0 0; font-size: 13px; }
.sfw-acct-in .sfw-acct-links a { color: #666; text-decoration: underline; }
.sfw-acct-in .sfw-acct-links a:hover { color: #192f65; }

@media (max-width: 600px) {
	.sfw-acct-in .sfw-pc { flex-wrap: wrap; gap: 14px; padding: 16px; }
	.sfw-acct-in .sfw-avatar { width: 56px; height: 56px; }
	.sfw-acct-in .sfw-pc-out { width: 100%; }
	.sfw-acct-in .sfw-panel { padding: 4px 16px 16px; }
	.sfw-acct-in .sfw-panel-h { margin: 0 -16px 4px; padding: 12px 16px 10px; }
	.sfw-acct-in .sfw-field { grid-template-columns: 1fr; gap: 6px; }
	.sfw-acct-in .sfw-panel-foot { margin: 4px -16px -16px; padding: 12px 16px; flex-wrap: wrap; }
	.sfw-acct-in .sfw-panel-foot .sfw-btn { width: 100%; }
	.sfw-acct-in .sfw-split { flex-direction: column; align-items: stretch; gap: 12px; }
	.sfw-acct-in .sfw-split .sfw-btn { width: 100%; }
}
.sfw-account.sfw-acct-in form.sfw-panel { padding-left: 22px !important; padding-right: 22px !important; }
.sfw-acct-in .sfw-field:has(+ .sfw-panel-foot) { border-bottom: 0; }
@media (max-width: 600px) { .sfw-account.sfw-acct-in form.sfw-panel { padding-left: 16px !important; padding-right: 16px !important; } }

/* ---------- 管理電子報 card (one newsletter; layout follows HQ's portal, square-cornered buttons) ---------- */
.sfw-acct-in .sfw-nl-panel { padding-bottom: 22px; }
.sfw-nlcard { display: grid; grid-template-columns: 240px 1fr; gap: 0; margin-top: 18px; overflow: hidden; background: #fff; border: 1px solid #e3e6ec; border-radius: 4px; box-shadow: 0 1px 3px rgba(16, 24, 40, .06); }
.sfw-nlcard-img { position: relative; min-height: 100%; background: #192f65; }
.sfw-nlcard-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sfw-nlcard-banner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; background: radial-gradient(circle at 25% 20%, #2b4a8f 0, #192f65 55%, #101f45 100%); }
.sfw-nlcard-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #f8c623; }
.sfw-nlcard-banner img { width: 130px; height: auto; display: block; }
.sfw-nlcard-banner span { font-size: 22px; font-weight: 700; letter-spacing: .12em; }
.sfw-nlcard-banner small { font-size: 11px; letter-spacing: .3em; color: #f8c623; }
.sfw-nlcard-body { padding: 20px 22px; min-width: 0; }
.sfw-nlcard-label { font-size: 13px; color: #888; margin: 0 0 4px; }
.sfw-acct-in .sfw-nlcard-title { margin: 0 0 8px; font-size: 20px; line-height: 1.35; font-weight: 700; color: #111; }
.sfw-acct-in .sfw-nlcard-desc { margin: 0 0 18px; font-size: 15px; line-height: 1.7; color: #444; }
.sfw-nlcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sfw-nl-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 120px; margin: 0; }
.sfw-nl-toggle .sfw-nl-on { display: none; align-items: center; gap: 6px; }
.sfw-nl-toggle[aria-pressed="true"] .sfw-nl-on { display: inline-flex; }
.sfw-nl-toggle[aria-pressed="true"] .sfw-nl-off { display: none; }
.sfw-nl-toggle[aria-pressed="false"] { color: #192f65; background: #fff; }
.sfw-nl-toggle[aria-pressed="false"]:hover { background: #eef0f5; }
.sfw-nl-toggle.is-busy { opacity: .6; cursor: progress; }
.sfw-nlcard-preview { font-size: 15px; font-weight: 600; color: #192f65; text-decoration: none; border-bottom: 1px solid currentColor; }
.sfw-nlcard-preview:hover { color: #0f1f47; }
.sfw-acct-in .sfw-nlcard-msg { margin: 10px 0 0; font-size: 13.5px; }
.sfw-acct-in .sfw-nlcard-msg:empty { display: none; }
@media (max-width: 600px) {
	.sfw-nlcard { grid-template-columns: 1fr; }
	.sfw-nlcard-img { min-height: 0; aspect-ratio: 16 / 9; }
	.sfw-nlcard-body { padding: 16px; }
}

/* 管理電子報 card: vertical like HQ's portal; a real banner keeps its own shape (no cropping of its text) */
.sfw-nlcard { grid-template-columns: 1fr; }
.sfw-nlcard-img { min-height: 0; background: #22357f; }
.sfw-nlcard-img > img { position: static; width: 100%; height: auto; object-fit: initial; }
.sfw-nlcard-img:has(.sfw-nlcard-banner) { aspect-ratio: 16 / 5; }
.sfw-nlcard-body { padding: 20px 22px 22px; }


/* 管理電子報 card image: the real banner, full card width, natural shape on every screen (no crop, no forced box) */
.sfw-nlcard-img.has-img { aspect-ratio: auto !important; min-height: 0 !important; background: none; line-height: 0; border-bottom: 1px solid #e3e6ec; }
.sfw-nlcard-img.has-img > img { position: static; display: block; width: 100%; height: auto; object-fit: initial; }
.sfw-nlcard-img:not(.has-img) { aspect-ratio: 16 / 5; }
@media (max-width: 600px) { .sfw-nlcard-img:not(.has-img) { aspect-ratio: 16 / 6; } }

/* Google button: never wider than its column */
.sfw-box .sfw-google { width: 100%; max-width: 100%; overflow: hidden; }
.sfw-box .sfw-google > div, .sfw-box .sfw-google iframe { max-width: 100% !important; }

/* Own "使用 Google 帳號繼續" button (Google branding: white, grey border, full-colour G) - always exactly the column width */
.sfw-gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 44px; margin: 0; padding: 0 16px; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; color: #1f1f1f; background: #fff; border: 1px solid #747775; border-radius: 4px; cursor: pointer; box-sizing: border-box; }
.sfw-gbtn:hover { background: #f6f8fc; border-color: #5f6368; }
.sfw-gbtn:focus-visible { outline: 2px solid #192f65; outline-offset: 2px; }
.sfw-gbtn:disabled { opacity: .6; cursor: progress; }
.sfw-gbtn-g { flex: none; display: block; }

/* delete account: a quiet line near the bottom instead of a red panel (retention); still reachable */
.sfw-acct-in .sfw-del-line { margin: 28px 0 0; text-align: center; font-size: 13px; color: #999; }
.sfw-quiet-link { padding: 0; margin: 0 0 0 2px; font: inherit; font-size: 13px; color: #888; background: none; border: 0; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.sfw-quiet-link:hover, .sfw-quiet-link:focus-visible { color: #a1121f; }
.sfw-acct-in .sfw-acct-links { margin-top: 10px; }

/* While the wall is locked, hide sponsored product cards anywhere in the article, so the free preview never ends
   on a "推薦產品" card right above the sign-up box. They reappear in place when the article unlocks. */
.sfw-locked .pri-inline-ad { display: none !important; }

/* ---------- homepage sign-up card (desktop: bottom-right card; phones: bottom sheet) ---------- */
.sfw-pop { position: fixed; right: 24px; bottom: 24px; z-index: 2147482000; box-sizing: border-box; width: 380px; max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 6px; box-shadow: 0 18px 50px rgba(12, 22, 48, .28), 0 2px 8px rgba(12, 22, 48, .12); font-family: inherit; color: #222; opacity: 0; transform: translateY(24px); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
.sfw-pop.sfw-pop-in { opacity: 1; transform: none; }
.sfw-pop *, .sfw-pop *::before { box-sizing: border-box; }
.sfw-pop-head { position: relative; display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 52px 0 20px; background: linear-gradient(110deg, #142659 0%, #192f65 55%, #23408a 100%); border-bottom: 3px solid #f8c623; }
.sfw-pop-head img { display: block; height: 30px; width: auto; }
.sfw-pop-head span { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #f8c623; }
.sfw-pop-x { position: absolute; top: 12px; right: 10px; z-index: 1; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; color: #fff; background: transparent; border: 0; border-radius: 3px; cursor: pointer; }
.sfw-pop-x:hover, .sfw-pop-x:focus-visible { background: rgba(255, 255, 255, .15); }
.sfw-pop-body { padding: 18px 22px 14px; }
.sfw-pop-h { margin: 0 0 10px; font-size: 20px; line-height: 1.4; font-weight: 700; color: #192f65; }
.sfw-pop-list { margin: 0 0 4px; padding: 0; list-style: none; }
.sfw-pop-list li { position: relative; margin: 0 0 6px; padding: 0 0 0 24px; font-size: 14.5px; line-height: 1.55; color: #333; list-style: none; }
.sfw-pop-list li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2.5px solid #1d6b3a; border-bottom: 2.5px solid #1d6b3a; transform: rotate(-45deg); }
/* the shared sign-in box, compact inside the card */
.sfw-pop .sfw-box { margin: 14px 0 0; padding: 0; background: none; border: 0; text-align: left; }
.sfw-pop .sfw-box .sfw-col { max-width: none; margin: 0; }
.sfw-pop .sfw-box .sfw-or { margin: 12px 0; }
.sfw-pop .sfw-box .sfw-lbl { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sfw-pop .sfw-box .sfw-email .sfw-btn { margin-top: 8px; }
.sfw-pop .sfw-box .sfw-nl { margin-top: 10px !important; font-size: 13.5px !important; }
.sfw-pop .sfw-box .sfw-fine { margin: 10px 0 0 !important; max-width: none; font-size: 11.5px !important; text-align: left !important; }
.sfw-pop .sfw-box .sfw-rc-note { font-size: 10.5px !important; }
.sfw-pop .sfw-box .sfw-step-sent, .sfw-pop .sfw-box .sfw-sent-p, .sfw-pop .sfw-box .sfw-sent-actions { text-align: center !important; }
.sfw-pop-later { display: block; margin: 12px auto 0; padding: 6px 10px; font: inherit; font-size: 13px; color: #777; background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.sfw-pop-later:hover, .sfw-pop-later:focus-visible { color: #192f65; }
.sfw-pop-ok { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 0 10px; text-align: center; animation: sfw-pop .35s ease both; }
.sfw-pop-ok strong { font-size: 19px; color: #192f65; }
.sfw-pop-ok span:last-child { font-size: 14px; color: #555; }
@media (max-width: 600px) {
	.sfw-pop { left: 0; right: 0; bottom: 0; width: auto; max-height: 86vh; border-radius: 12px 12px 0 0; transform: translateY(100%); transition: opacity .2s ease, transform .4s cubic-bezier(.2, .8, .2, 1); padding-bottom: env(safe-area-inset-bottom); }
	.sfw-pop.sfw-pop-in { transform: none; }
	.sfw-pop-head { height: 54px; border-radius: 12px 12px 0 0; }
	.sfw-pop-head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
	.sfw-pop-body { padding: 16px 18px 12px; }
	.sfw-pop-h { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .sfw-pop { transition: none; } .sfw-pop-ok { animation: none; } }

/* ---------- homepage sign-up: blocking modal (overrides the earlier corner-card rules) ---------- */
html.sfw-modal-open { overflow: hidden; }
.sfw-modal { position: fixed; inset: 0; z-index: 2147482000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10, 18, 40, .62); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s ease; }
.sfw-modal.sfw-pop-in { opacity: 1; }
.sfw-modal .sfw-pop { position: relative; right: auto; bottom: auto; z-index: auto; width: 440px; max-width: 100%; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); opacity: 1; transform: translateY(18px) scale(.98); transition: transform .38s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 30px 80px rgba(5, 10, 30, .45); }
.sfw-modal.sfw-pop-in .sfw-pop { transform: none; }
.sfw-modal .sfw-pop-head { height: 64px; padding: 0 56px 0 24px; }
.sfw-modal .sfw-pop-head img { height: 32px; }
.sfw-modal .sfw-pop-x { top: 15px; right: 12px; }
.sfw-modal .sfw-pop-body { padding: 22px 28px 16px; }
.sfw-modal .sfw-pop-h { font-size: 22px; margin-bottom: 12px; }
.sfw-modal .sfw-pop-list li { font-size: 15px; }
/* the inner sign-in box (class sfw-popup) must stay in normal flow */
.sfw-modal .sfw-popup { position: static; opacity: 1; transform: none; box-shadow: none; width: auto; max-height: none; }
@media (max-width: 600px) {
	.sfw-modal { align-items: flex-end; padding: 0; }
	.sfw-modal .sfw-pop { width: 100%; max-height: 90vh; max-height: 90dvh; border-radius: 12px 12px 0 0; transform: translateY(100%); }
	.sfw-modal .sfw-pop-head { height: 56px; padding: 0 52px 0 18px; }
	.sfw-modal .sfw-pop-body { padding: 18px 18px 12px; }
	.sfw-modal .sfw-pop-h { font-size: 20px; }
}
/* exit: card fades and sinks first, backdrop follows (desktop); mobile sheet slides down */
.sfw-modal.sfw-pop-out { opacity: 0; transition: opacity .32s ease .08s; pointer-events: none; }
.sfw-modal.sfw-pop-out .sfw-pop { opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .24s ease-in, transform .3s cubic-bezier(.4, 0, 1, 1); }
@media (max-width: 600px) { .sfw-modal.sfw-pop-out .sfw-pop { opacity: 1; transform: translateY(100%); transition: transform .3s cubic-bezier(.4, 0, 1, 1); } }
@media (prefers-reduced-motion: reduce) { .sfw-modal, .sfw-modal .sfw-pop, .sfw-modal.sfw-pop-out, .sfw-modal.sfw-pop-out .sfw-pop { transition: none; } }

/* keep floating site buttons (accessibility launcher, back-to-top) out of the way while the sign-up window is open */
html.sfw-modal-open .a11yw-toggle, html.sfw-modal-open #back-to-top { visibility: hidden !important; }

.sfw-modal .sfw-pop:focus { outline: none; }

/* ---------- growth features (2026-11-03) ---------- */
/* profile: subscriber badge + notes */
.sfw-pc-badge { display: inline-block; margin: 6px 0 0; padding: 2px 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #192f65; background: #f8c623; border-radius: 2px; }
.sfw-ok-dot { display: inline-block; width: 8px; height: 8px; margin: 0 8px 1px 0; border-radius: 50%; background: #1d6b3a; }
.sfw-acct-in .sfw-panel-note { margin: 14px 0 0; font-size: 14px; line-height: 1.65; color: #555; }
/* followed cities */
.sfw-city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin: 14px 0 16px; }
.sfw-city { display: flex; align-items: center; gap: 8px; padding: 9px 10px; margin: 0; font-size: 14px; line-height: 1.3; color: #222; background: #fff; border: 1px solid #dcdfe6; border-radius: 3px; cursor: pointer; }
.sfw-city:hover { border-color: #192f65; }
.sfw-city input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: #192f65; }
.sfw-city:has(input:checked) { border-color: #192f65; background: #eef1f8; color: #192f65; font-weight: 600; }
.sfw-acct-in .sfw-digest-opt { margin: 0 0 14px; }
/* end-of-article cards */
.sfw-engage { position: relative; box-sizing: border-box; margin: 22px 0 26px; padding: 22px 24px 18px; background: #f5f6f8; border: 1px solid #e3e6ec; border-top: 3px solid #192f65; border-radius: 3px; font-family: inherit; color: #222; }
.sfw-engage * { box-sizing: border-box; }
.sfw-engage p, .sfw-engage h3 { text-indent: 0 !important; padding: 0 !important; }
.sfw-engage-x { position: absolute; top: 8px; right: 8px; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; color: #777; background: none; border: 0; border-radius: 3px; cursor: pointer; }
.sfw-engage-x:hover, .sfw-engage-x:focus-visible { color: #192f65; background: #e8ebf2; }
.sfw-nlbox-k { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #a07c10; }
.sfw-engage .sfw-nlbox-h, .sfw-engage .sfw-support-h { margin: 4px 0 6px !important; font-size: 19px !important; line-height: 1.4 !important; font-weight: 700; color: #192f65; }
.sfw-engage .sfw-nlbox-p, .sfw-engage .sfw-support-p { margin: 0 0 14px !important; font-size: 15px !important; line-height: 1.7 !important; color: #444; }
.sfw-nlbox-f { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0; max-width: 520px; }   /* 2026-11-25: one column on every width (Turnstile sat in the row and squeezed the input on desktop) */
.sfw-nlbox-f .sfw-lbl { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sfw-nlbox-f .sfw-input { flex: none; min-width: 0; }   /* 2026-11-25: was flex: 1, which in the phone column squeezed the input's HEIGHT to ~26px */
.sfw-nlbox-f .sfw-btn { flex: none; margin: 0; align-self: flex-start; padding-left: 28px; padding-right: 28px; }
.sfw-engage .sfw-msg { margin: 10px 0 0 !important; font-size: 14px !important; }
.sfw-engage .sfw-msg:empty { display: none; }
.sfw-engage .sfw-nlbox-fine { margin: 10px 0 0 !important; font-size: 12px !important; line-height: 1.6 !important; color: #888; }
.sfw-engage .sfw-nlbox-fine a { color: #192f65; text-decoration: underline; }
.sfw-support-a { display: flex; flex-wrap: wrap; gap: 10px; }
.sfw-support-a .sfw-btn { margin: 0; text-decoration: none !important; line-height: 42px; }
.sfw-support-a .sfw-btn:not(.sfw-btn-line) { color: #fff !important; }
@media (max-width: 600px) {
	.sfw-engage { padding: 18px 16px 14px; }
	.sfw-nlbox-f { flex-direction: column; }
	.sfw-nlbox-f .sfw-btn, .sfw-support-a .sfw-btn { width: 100%; }
	.sfw-city-grid { grid-template-columns: repeat(2, 1fr); }
}

/* newsletter campaign: one-click account claim card (/profile?sfr_claim=) */
.sfw-claim { max-width: 440px; margin: 8px auto 28px; padding: 26px 24px 20px; border: 1px solid #dfe3ec; border-top: 4px solid #192f65; background: #fff; text-align: center; }
.sfw-claim-k { margin: 0 0 6px; font-size: 13px; letter-spacing: .08em; color: #b8860b; font-weight: 700; }
.sfw-claim-h { margin: 0 0 10px; font-size: 22px; line-height: 1.4; color: #192f65; }
.sfw-claim-e { display: inline-block; margin: 0 0 12px; padding: 4px 10px; background: #f3f5f9; color: #333; font-size: 15px; border-radius: 3px; }
.sfw-claim-p { margin: 0 0 18px; color: #555; font-size: 15px; line-height: 1.7; }
.sfw-claim-b { width: 100%; height: 46px; font-size: 16px; }
.sfw-claim-n { margin: 12px 0 0; font-size: 12px; color: #888; line-height: 1.6; }
.sfw-claim-n a { color: #192f65; }

/* 2026-11-04: theme a:visited (#777) / a:hover (#555) beat .sfw-btn's white text on link buttons */
a.sfw-btn, a.sfw-btn:link, a.sfw-btn:visited, a.sfw-btn:hover, a.sfw-btn:focus, a.sfw-btn:active { color: #fff; text-decoration: none; }
a.sfw-btn-line, a.sfw-btn-line:link, a.sfw-btn-line:visited, a.sfw-btn-line:hover, a.sfw-btn-line:focus, a.sfw-btn-line:active { color: #192f65; }
.sfw-panel-note a, .sfw-panel-note a:visited { color: #192f65; text-decoration: underline; text-underline-offset: 3px; }
.sfw-panel-note a:hover { color: #0f1f47; }
/* 2026-11-09: 6-digit code from the sign-in email (signs in this browser even when the link opens elsewhere) */
.sfw-box .sfw-code { margin: 16px 0 0 !important; text-align: left; }
.sfw-box .sfw-code-row { display: flex; gap: 8px; }
.sfw-box .sfw-code-in { flex: 1 1 auto; min-width: 0; font-size: 20px; letter-spacing: 4px; font-variant-numeric: tabular-nums; }
.sfw-box .sfw-code-in::placeholder { font-size: 15px; letter-spacing: 0; }
.sfw-box .sfw-code .sfw-btn { flex: 0 0 auto; }
.sfw-box .sfw-code-msg { text-align: left; }

/* 健康生活網電子報 card (2026-11-11): logo on a light green banner, green accents */
.sfw-nlcard + .sfw-nlcard { margin-top: 16px; }
.sfw-nlcard-img .sfw-nlcard-banner-wh { background: #fff; }
.sfw-nlcard-banner-wh::after { background: #2a7f4a; }
.sfw-nlcard-img:has(.sfw-nlcard-banner-wh) { aspect-ratio: 600 / 132 !important; }
.sfw-nlcard-banner-wh img { width: auto; height: 74%; max-width: 70%; }
.sfw-nlcard-wh .sfw-nlcard-preview { color: #2a7f4a; }

/* two newsletter cards side by side on desktop (2026-11-11) */
@media (min-width: 768px) {
	.sfw-nlcards:has(.sfw-nlcard + .sfw-nlcard) { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; align-items: stretch; }
	.sfw-nlcards:has(.sfw-nlcard + .sfw-nlcard) .sfw-nlcard { margin-top: 0; display: flex; flex-direction: column; }
	.sfw-nlcards:has(.sfw-nlcard + .sfw-nlcard) .sfw-nlcard-body { flex: 1; display: flex; flex-direction: column; }
	.sfw-nlcards:has(.sfw-nlcard + .sfw-nlcard) .sfw-nlcard-foot { margin-top: auto; }
	.sfw-nlcards:has(.sfw-nlcard + .sfw-nlcard) .sfw-nlcard-img.has-img > img { aspect-ratio: 600 / 132; object-fit: cover; }
}

/* 2026-11-24: note for QQ/163 mailboxes (code-only email) */
.sfw-box .sfw-cn-note { font-size: 14px !important; line-height: 1.6 !important; color: #5c4300; background: #fdf6e0; border-left: 3px solid #c9a227; padding: 8px 12px !important; text-align: left !important; }
.sfw-box .sfw-cn-note[hidden] { display: none !important; }

/* inline <style> */
.etd-rt{display:inline!important;white-space:nowrap}.etd-rt-ico{display:inline-block!important;width:1em;height:1em;flex:none;margin-right:5px;vertical-align:-2px;opacity:.8}
/* inline <style> */

.sf-fit{position:relative;overflow:hidden;background-color:#1b1d22}
.sf-fit::before{content:"";position:absolute;inset:-12px;background:var(--sf-fit-bg) center/cover no-repeat;filter:blur(12px) brightness(.62)}
.sf-fit>img{position:relative;z-index:1;object-fit:contain!important;transform:none!important}
.sf-fit .sftv-play,.sf-fit .sfvr-play{z-index:2}
.top_right-child>a{display:block;height:100%}

/* /hm/user_content/themes/tirWH1.09/assets/css/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 */
}

/* ---------- list pages: width + sidebar redesign (2026-11-27, user: 「redesign the side bar make sure the margin and
   sizing are reasonable」) ----------
   Category / tag / author / 即時新聞 pages (old float layout .main_container > .main_content > .article_content + .sidebar).
   Was a fixed 1000px page (148px narrower than the header and article pages, 5px from the screen edge at 1024px), a
   300px sidebar with a 15px inner gutter, headings in three sizes (16 / 17 / 20px) and 10px between blocks.
   Now: same 1148px page as the header and the article page, list + 64px gap + 300px sidebar (280px / 36px from
   1001-1100px, as the article page); every sidebar heading = the 本月熱門 heading (20px on a hairline); rows on hairlines;
   36px between blocks, as the article sidebar. Article pages (.news-single) are left alone. */
@media (min-width: 1001px) {
	html body .main_container:has(> .main_content > .sidebar):not(.news-single) { box-sizing: border-box; inline-size: auto !important; max-inline-size: 1180px !important; padding-inline: 16px !important; }
	html body .main_container:not(.news-single) > .main_content:has(> .sidebar) { inline-size: 100% !important; }
	html body .main_container:not(.news-single) > .main_content:has(> .sidebar) > .article_content { box-sizing: border-box; inline-size: calc(100% - 364px) !important; }
	html body .main_container:not(.news-single) > .main_content > .sidebar { box-sizing: border-box; inline-size: 300px !important; padding: 0 !important; border: 0 !important; }   /* old 1px dotted left rule */
}
@media (min-width: 1001px) and (max-width: 1100px) {
	html body .main_container:not(.news-single) > .main_content:has(> .sidebar) > .article_content { inline-size: calc(100% - 316px) !important; }
	html body .main_container:not(.news-single) > .main_content > .sidebar { inline-size: 280px !important; }
}
html body .main_container:not(.news-single) > .main_content > .sidebar > * { margin: 0 0 36px !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar > :is(center:not(:has(img)), .dable_post:empty) { display: none !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar :is(.subcat_title, .youtube_channels .block_title) {
	display: block; margin: 0 0 2px !important; padding: 0 0 8px !important; border: 0 !important; border-bottom: 1px solid var(--s26-rule-strong) !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 .main_container:not(.news-single) > .main_content > .sidebar > .youtube_channels { margin-block-end: 14px !important; }   /* heading of the 推薦 banners below */
/* 推薦文章 / 你可能錯過: photo left (112 x 66, same shape as before, never cropped), two-line title, hairline rows */
html body .main_container:not(.news-single) > .main_content > .sidebar .more_post .one_post {
	display: grid !important; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; float: none !important; inline-size: auto !important; block-size: auto !important;
	margin: 0 !important; padding: 12px 0 !important; border: 0 !important; border-block-end: 1px solid var(--s26-rule) !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar .more_post .one_post:last-child { border-block-end: 0 !important; padding-block-end: 0 !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar .more_post .one_post > .img { grid-column: 1; grid-row: 1; float: none !important; inline-size: 112px !important; block-size: 66px !important; margin: 0 !important; padding: 0 !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar .more_post .one_post > .img :is(.top_right-parent, .top_right-child) { inline-size: 100% !important; block-size: 100% !important; margin: 0 !important; padding: 0 !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar .more_post .one_post > .text { grid-column: 2; grid-row: 1; float: none !important; inline-size: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar .more_post .one_post .title { margin: 0 !important; padding: 0 !important; block-size: auto !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar .more_post .one_post .title a {
	display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: clip; block-size: auto !important; max-block-size: none !important;
	font-size: 16px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--s26-ink) !important; text-decoration: none !important; white-space: normal !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar .more_post .one_post .title a:hover { color: var(--s26-link) !important; text-decoration: underline !important; text-underline-offset: 3px; }
/* 推薦 banners: full width, 12px apart, square corners */
html body .main_container:not(.news-single) > .main_content > .sidebar .pickup_prog { display: grid; gap: 12px; }
html body .main_container:not(.news-single) > .main_content > .sidebar .pickup_prog .one_post { float: none !important; inline-size: auto !important; block-size: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; line-height: 0; }
html body .main_container:not(.news-single) > .main_content > .sidebar .pickup_prog img { display: block; inline-size: 100% !important; block-size: auto !important; max-inline-size: none !important; margin: 0 !important; border-radius: 0 !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar > .sf-side-sticky { margin-block-end: 0 !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar > .sf-side-sticky > .sf-rank:not(.sfa-block) { margin-block-end: 0 !important; }   /* only the last box (was every 熱門 box: the 本週熱門 above the category ad lost its gap) */
html body .main_container:not(.news-single) > .main_content > .sidebar :not(.sf-side-sticky) > .sf-rank:not(.sfa-block) { margin-block-end: 36px !important; }
/* ads inside a sidebar block (category pages: between 本週熱門 and 本季熱門) - space above and below, like a block
   (2026-11-27, user: 「廣告上下要有縫隙，你看一下所有的相似的問題」) */
html body .main_container:not(.news-single) > .main_content > .sidebar :not(.sidebar) > center:has(.ads-side img) { display: block; margin: 0 0 36px !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar .post_list > :last-child { margin-block-end: 0 !important; }
/* phones / tablets: the sidebar stacks under the list (the pager above already leaves room); slightly larger titles */
@media (max-width: 800px) {
	html body .main_container:not(.news-single) > .main_content > .sidebar .more_post .one_post .title a { font-size: 17px !important; }
}

/* ---------- larger text on list pages and sidebars (2026-11-27, user: 「感覺字有點小，照顧老年人」) ----------
   One step up everywhere a reader scans lists: list headlines 20 -> 22 (lead 24 -> 26), summaries 16 -> 18, category/date
   14 -> 15; every sidebar heading 20 -> 22, sidebar titles / 熱門 titles / article 即時新聞 16 -> 18. Phones: summaries
   17, list headlines 20, sidebar titles 18 (熱門 already 18). The sfs- classes are shared by tag / category / search. */
html body .sft-crumb { font-size: 15px !important; }
html body :is(.sft-meta, .sft-aka) { font-size: 16px !important; }
html body .sft-desc { font-size: 18px !important; }
html body .sfs-line { font-size: 15px !important; }
html body .sfs-line time { font-size: inherit !important; }
html body .sfs-h, html body .sfs-h a { font-size: 22px !important; line-height: 1.45 !important; }
html body .sft-lead-h, html body .sft-lead-h a { font-size: 26px !important; line-height: 1.4 !important; }
html body .sfs-sum, html body .sft-lead-sum { font-size: 18px !important; line-height: 1.7 !important; }
html body .sf-rank-h, html body .main_container:not(.news-single) > .main_content > .sidebar :is(.subcat_title, .youtube_channels .block_title), html body .sfa-side .sfa-h h2 { font-size: 22px !important; }
html body .sf-rank-t { font-size: 18px !important; line-height: 1.6 !important; }
html body .sf-rank-n { font-size: 28px !important; }
html body .sf-rank-list > li { grid-template-columns: 32px minmax(0, 1fr) !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar .more_post .one_post .title a { font-size: 18px !important; line-height: 1.55 !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar .more_post .one_post { grid-template-columns: 120px minmax(0, 1fr) !important; }
html body .main_container:not(.news-single) > .main_content > .sidebar .more_post .one_post > .img { inline-size: 120px !important; block-size: 71px !important; }   /* same shape, room for two 18px lines */
html body .sidebar .sfvr-title { font-size: 17px !important; }
html body .sidebar .sfvr-item.is-lead .sfvr-title { font-size: 19px !important; }
html body .sfa-side .sfa-latest a { font-size: 18px !important; line-height: 1.6 !important; }
html body .sfa-side .sfa-ago { font-size: 15px !important; }
html body .sfa-side .sfa-t { font-size: 18px !important; }
@media (max-width: 760px) {
	html body .sfs-h, html body .sfs-h a { font-size: 20px !important; }
	html body .sft-lead-h, html body .sft-lead-h a { font-size: 23px !important; }
	html body .sfs-sum, html body .sft-lead-sum { font-size: 17px !important; }
	html body .main_container:not(.news-single) > .main_content > .sidebar .more_post .one_post .title a { font-size: 18px !important; }
}

/* any sidebar (video / TV pages use sidebar-tv.php .sftv-side): an ad box directly in the sidebar keeps 28px below it
   (2026-11-27, it sat on the 推薦閱讀 heading) */
html body .sidebar > center:has(.ads-side img):not(:last-child) { display: block; margin-block-end: 28px !important; }

/* 2026-11-28 phones: smaller floating buttons (44px accessibility, compact 問 AI) so they cover less of the text */
@media (max-width: 600px) {
	.a11yw { left: 12px !important; bottom: 12px !important; }
	.a11yw.a11yw-right { left: auto !important; right: 12px !important; }
	.a11yw .a11yw-toggle { width: 44px !important; height: 44px !important; box-shadow: 0 3px 10px rgba(15,31,69,.3) !important; }
	.a11yw .a11yw-toggle svg { width: 23px !important; height: 23px !important; }
	.a11yw .a11yw-panel { bottom: 54px !important; }
}

/* ---- 2026-11-30 larger text for older readers (user: 网站字体有点小，要方便老年人) -----------------------------------
   1. Root size 18px (+12.5%): every rem-based size grows (homepage, article, reviews), phones and desktop alike.
      Layout widths are in px, so columns stay the same.
   2. Article text 22px (phones 21px). Plain rule, no !important: the 大／小 buttons set each paragraph's size inline.
   3. List pages and sidebars one more step (the 2026-11-27 block above set 22/18/18).
   4. Small print (dates, kickers, header utility row, footer) at least 15px; header menu 17px. */
html { font-size: 112.5%; }
html body main.sfa .news-single .post_content :is(p, li) { font-size: 22px; line-height: 1.8; }
@media (max-width: 760px) { html body main.sfa .news-single .post_content :is(p, li) { font-size: 21px; } }

html body .sfs-h, html body .sfs-h a { font-size: 24px !important; }
html body .sft-lead-h, html body .sft-lead-h a { font-size: 28px !important; }
html body .sfs-sum, html body .sft-lead-sum { font-size: 19px !important; }
html body .sf-rank-t, html body .sfa-side .sfa-latest a, html body .sfa-side .sfa-t,
html body .main_container:not(.news-single) > .main_content > .sidebar .more_post .one_post .title a { font-size: 19px !important; }
html body .sidebar .sfvr-title { font-size: 18px !important; }
html body .sidebar .sfvr-item.is-lead .sfvr-title { font-size: 20px !important; }
@media (max-width: 760px) {
	html body .sfs-h, html body .sfs-h a { font-size: 22px !important; }
	html body .sft-lead-h, html body .sft-lead-h a { font-size: 25px !important; }
	html body .sfs-sum, html body .sft-lead-sum { font-size: 18px !important; }
}

html body .sfhd-util, html body .sfhd-util a, html body .sfhd-date, html body .sfhd-date span, html body .sfhd-lang a, html body .sfhd-motto { font-size: 15px !important; }
html body .sfhd-live-k { font-size: 14px !important; }
html body .sfhd-row > li > a, html body .sfhd-sub li a, html body .sfhd-tabs a, html body .sfhd-mnav a { font-size: 17px !important; }
html body :is(.sfh-ago, .sfa-ago, .sfh-kick, .sfvr-meta, .sfvr-meta b, .sfa-dates, .sfh-more, .sfh-tv-note, .sfs-line) { font-size: 15px !important; }
html body .sfw-fine, html body .sfw-fine a { font-size: 14px !important; }
html body .sff-bot p, html body .sff-sis a, html body .sff-sis b, html body .sff-legal a { font-size: 15px !important; }
/* a headline part that needs two lines splits evenly (no single word left on the last line at the larger size) */
html body .sfx-seg { text-wrap: balance; }

/* /hm/user_content/themes/tirWH1.09/assets/css/sf-article-2026.css */
/* sf.epochtimes.com article page 2026 (PRIVATE PREVIEW, includes/sf-article-2026.php). Loaded after sf-2026.css,
   sf-article.css and single.css. Same language as the homepage preview (sf-home-2026.css): hairline rows, plain
   headings over a hairline, centred serif title between thick-thin rules for the band under the article, no pills,
   no icon tiles, 2px corners. Text sizes follow HQ articles: body 20/36, headline 32 (phone 26), side lists 16. */

main.sfa {
	--sfa-w: 1180px;
	--sfa-rule: var(--s26-rule, #e3e5e9);
	--sfa-rule-2: var(--s26-rule-strong, #c9cdd4);
	--sfa-ink: var(--s26-ink, #16181d);
	--sfa-text: var(--s26-text, #262626);
	--sfa-meta: var(--s26-meta, #646a73);
	--sfa-link: var(--s26-link, #1b4b91);
	--sfa-navy: var(--s26-navy, #10357e);
	--sfa-red: #b5121b;
	--sfa-serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU", "MingLiU", serif;
	display: block;
	background: #fff;
	color: var(--sfa-text);
	font-family: var(--s26-sans, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif);
}
main.sfa *, main.sfa *::before, main.sfa *::after { box-sizing: border-box; }
main.sfa a:hover { color: var(--sfa-link); text-decoration: underline; text-underline-offset: 3px; }
.sfa-vh { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* this page is as wide as the homepage preview; the masthead follows */
@media (min-width: 1001px) { body:has(main.sfa) .header .container { max-width: 1148px; } }

.sfa-wrap { max-inline-size: var(--sfa-w); margin-inline: auto; padding-inline: 16px; }
.sfa-wrap.news-single { text-align: left; }   /* single.css centres everything under .news-single */
.sfa-art, .sfa-side { float: none; inline-size: auto; }
.sfa-crumb { display: flex; flex-wrap: wrap; gap: 0 8px; padding-block: 18px 0; font-size: .9375rem; color: var(--sfa-meta); }
.sfa-crumb a { color: var(--sfa-meta); text-decoration: none; padding-block: 4px; }

.sfa-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 64px; align-items: stretch; padding-block: 14px 56px; }
.sfa-art { min-inline-size: 0; max-inline-size: 760px; }
.sfa-side { min-inline-size: 0; }

/* ---------- headline block ---------- */
.sfa-head { margin-block-end: 22px; }
.sfa-kicker { margin: 0 0 10px; padding: 0; font-size: 1rem; font-weight: 700; color: var(--sfa-link); }
.sfa-kicker a { color: var(--sfa-link); text-decoration: none; }
.sfa-sep { color: #b9bec6; font-weight: 400; margin-inline: 4px; }
.sfa-title { margin: 0; padding: 0; font-size: 2rem; line-height: 1.4; font-weight: 700; color: var(--sfa-ink); letter-spacing: .01em; text-align: left; text-wrap: pretty; }
.sfa-dek { margin: 12px 0 0; padding: 0; font-size: 1.25rem; line-height: 1.6; color: #4a4f57; }
.sfa-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-block-start: 20px; padding-block: 12px; border-block: 1px solid var(--sfa-rule-2); }
.sfa-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0; padding: 0; font-size: .9375rem; color: var(--sfa-meta); }
.sfa-by { color: var(--sfa-ink); font-weight: 700; }
.sfa-meta .etd-rt, .sfa-meta .sfa-rt { margin: 0 !important; color: var(--sfa-meta) !important; font-size: inherit !important; }
.sfa-tools { display: flex; align-items: center; gap: 6px; font-size: .9375rem; color: var(--sfa-meta); }
.sfa-tool-l { margin-inline-end: 2px; }
.sfa-fs { min-inline-size: 36px; min-block-size: 36px; padding: 0 8px; border: 1px solid var(--sfa-rule-2); border-radius: 2px; background: #fff; color: var(--sfa-ink); font: inherit; font-size: 1rem; cursor: pointer; }
.sfa-fs:hover { border-color: var(--sfa-navy); color: var(--sfa-navy); }
.sfa-fs:disabled { opacity: .35; cursor: default; }
.sfa-zh a, .sfa-share-jump, .sfa-tools .sfa-edit { display: inline-flex; align-items: center; min-block-size: 36px; padding: 0 10px; border: 1px solid var(--sfa-rule-2); border-radius: 2px; color: var(--sfa-ink) !important; text-decoration: none !important; }
.sfa-zh a:hover, .sfa-share-jump:hover { border-color: var(--sfa-navy); color: var(--sfa-navy) !important; }
.sfa-zh { margin-inline-start: 6px; }

/* ---------- lead picture ---------- */
.sfa-lead { margin: 0 0 30px; padding: 0; }
.sfa-lead img { display: block; inline-size: 100%; block-size: auto; border-radius: 2px; background: #eef0f3; }
.sfa-lead-a { display: block; }
.sfa-cap, main.sfa .sfa-cap.caption { display: block; margin: 10px 0 0; padding: 0 0 10px; border-block-end: 1px solid var(--sfa-rule); font-size: .9375rem !important; line-height: 1.65; color: var(--sfa-meta); text-align: left; }
.sfa-lead--video .video_fit_container { margin: 0; }

/* ---------- body (keeps the theme's .post_content rules: 20/36, HQ colour; only spacing tidied) ---------- */
main.sfa .post_content { padding: 0; }
main.sfa .post_content > p:first-of-type { margin-block-start: 0; }
.sfa-uploader { text-align: center; }
.sfa-dates { margin: 24px 0 0; padding: 12px 0 0; border-block-start: 1px solid var(--sfa-rule); font-size: .875rem; color: var(--sfa-meta); }

/* ---------- sidebar ---------- */
.sfa-ad { margin: 0 0 32px; text-align: center; }
.sfa-ad img { max-inline-size: 100%; block-size: auto; margin-inline: auto; }
.sfa-block { margin-block-end: 36px; }
.sfa-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-block-end: 1px solid var(--sfa-rule-2); padding-block-end: 8px; margin-block-end: 2px; }
.sfa-h h2 { margin: 0; padding: 0; font-size: 1.25rem; line-height: 1.4; font-weight: 700; color: var(--sfa-ink); }
.sfa-h h2 a { color: inherit; text-decoration: none; }
.sfa-more { font-size: .875rem; color: var(--sfa-link) !important; white-space: nowrap; padding-block: 6px; margin-block: -6px; }
.sfa-latest, .sfa-rank { list-style: none; margin: 0; padding: 0; }
.sfa-latest li { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 8px; padding-block: 10px; border-block-end: 1px solid var(--sfa-rule); }
.sfa-latest time { font-size: .875rem; line-height: 1.75; color: var(--sfa-meta); white-space: nowrap; }
.sfa-fresh { color: var(--sfa-red) !important; }
.sfa-latest a, .sfa-rank a { font-size: 1rem; line-height: 1.6; color: var(--sfa-ink); text-decoration: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: clip; }
.sfa-rank li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; align-items: start; padding-block: 10px; border-block-end: 1px solid var(--sfa-rule); }
.sfa-rnum { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.625rem; line-height: 1; font-weight: 700; color: var(--sfa-navy); }
.sfa-rank li:nth-child(-n+3) .sfa-rnum { color: var(--sfa-red); }
@media (min-width: 1001px) and (min-height: 760px) { .sfa-sticky { position: sticky; top: 24px; } }

.sfa-row { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: start; padding-block: 12px; border-block-end: 1px solid var(--sfa-rule); }
.sfa-row--big { grid-template-columns: minmax(0, 1fr); }
.sfa-row--big .sfa-t { font-weight: 700; }
.sfa-t { margin: 0; padding: 0; font-size: 1rem; line-height: 1.6; font-weight: 500; color: var(--sfa-ink); }
.sfa-t a { color: inherit; text-decoration: none; }
.sfa-row .sfa-t, .sfa-card .sfa-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: clip; }
.sfa-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
:is(.sfa-row, .sfa-card):has(.sfa-link:hover) .sfa-t a { color: var(--sfa-link); text-decoration: underline; text-underline-offset: 3px; }
.sfa-link:focus-visible { outline: none !important; }
:is(.sfa-row, .sfa-card):has(.sfa-link:focus-visible) { outline: 2px solid var(--sfa-link); outline-offset: 4px; }
.sfa-img { position: relative; aspect-ratio: 3 / 2; background: #e9ecf0; overflow: clip; border-radius: 2px; }
.sfa-img--video { aspect-ratio: 16 / 9; }
.sfa-img > img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.sfa-play { position: absolute; z-index: 2; inset-inline-start: 8px; inset-block-end: 8px; inline-size: 32px; block-size: 24px; border-radius: 2px; background: rgba(12, 18, 36, .8); }
.sfa-play::before { content: ""; position: absolute; inset: 0; margin: auto; inline-size: 0; block-size: 0; border-block: 5px solid transparent; border-inline-start: 9px solid #fff; transform: translateX(2px); }

/* ---------- 更多灣區新聞 band ---------- */
.sfa-moreband { background: #f3f4f6; padding-block: 44px 52px; }
.sfa-gh { text-align: center; margin-block-end: 26px; }
.sfa-gh h2 { display: grid; grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr); align-items: center; gap: 28px; margin: 0; padding: 0;
	font-family: var(--sfa-serif); font-size: 2rem; line-height: 1.3; font-weight: 700; color: var(--sfa-ink); letter-spacing: .06em; }
.sfa-gh h2::before, .sfa-gh h2::after { content: ""; block-size: 6px; border-block-start: 2px solid currentColor; border-block-end: 1px solid currentColor; }
.sfa-gh h2 a { color: inherit; text-decoration: none; }
.sfa-mgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.sfa-card, .sfa-row { position: relative; margin: 0; border-inline: 0; border-block-start: 0; background: none; }
main.sfa .sfa-card { border: 0 !important; }   /* an older theme rule boxes every card */
main.sfa .sfa-row { border-style: solid !important; border-color: var(--sfa-rule) !important; border-width: 0 0 1px !important; }
.sfa-card .sfa-img { margin-block-end: 10px; }
.sfa-card .sfa-t { font-size: 1.0625rem; line-height: 1.55; }
.sfa-card .sfa-meta { font-size: .8125rem; margin-block-start: 6px; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
	.sfa-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 0 36px; }
	.sfa-mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phones (HQ phone article: headline 26, body 20/36, lists 18) ---------- */
@media (max-width: 760px) {
	.sfa-crumb { padding-block-start: 10px; }
	.sfa-grid { grid-template-columns: minmax(0, 1fr); padding-block: 8px 40px; }
	.sfa-art { max-inline-size: none; }
	.sfa-title { font-size: 1.625rem; line-height: 1.42; }
	.sfa-dek { font-size: 1.125rem; }
	.sfa-info { padding-block: 10px; }
	.sfa-tools { flex-wrap: wrap; }
	.sfa-lead { margin-inline: -16px; }
	.sfa-lead img { border-radius: 0; }
	.sfa-cap, main.sfa .sfa-cap.caption { padding-inline: 16px; }
	/* sidebar under the article: short now (即時新聞, 精彩視頻, 本週熱門 + the 2 ads) */
	.sfa-side { margin-block-start: 44px; }
	.sfa-latest a, .sfa-rank a, .sfa-t { font-size: 1.125rem; }
	.sfa-latest li:nth-child(n+11), .sfa-rank li:nth-child(n+9) { display: none; }   /* 2026-11-25: phones 10 即時新聞 (was 6), 8 熱門 */
	.sfa-row { grid-template-columns: minmax(0, 1fr) 42%; }
	.sfa-row .sfa-img { order: 2; }
	.sfa-row--big { grid-template-columns: minmax(0, 1fr); }
	.sfa-row--big .sfa-img { order: 0; }
	.sfa-gh h2 { font-size: 1.625rem; gap: 16px; }
	.sfa-mgrid { gap: 20px 16px; }
	.sfa-card .sfa-t { font-size: 1rem; }
}

/* ---------- 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.sfa) .header .sf-sbtn, body:has(main.sfa) .header .navigation .search.sf-sbox a,
body:has(main.sfa) .header .top_row .sfw-account-link a, body:has(main.sfa) .header .mobile-subscribe a { border-radius: 6px !important; }
main.sfa .sfa-lead img { border-radius: 12px; }
main.sfa .sfa-img { border-radius: 10px; }
main.sfa .sfa-row .sfa-img { border-radius: 8px; }
main.sfa :is(.sfa-fs, .sfa-zh a, .sfa-share-jump, .sfa-tools .sfa-edit) { border-radius: 8px; }
main.sfa .sfa-play { border-radius: 6px; }
main.sfa .sfa-ad img { border-radius: 10px; }
/* parts printed by other code (share, related, comments, reporter card, reader wall, product card) */
main.sfa .sfae-sbtn { border-radius: 8px !important; }
main.sfa .post_related .one_post .img, main.sfa .post_related .one_post .img img { border-radius: 8px; overflow: clip; }
main.sfa .sfae-cmt .comment-respond { border-radius: 14px !important; }
main.sfa .sfae-cmt-form :is(textarea, input[type=text], input[type=email]) { border-radius: 8px !important; }
main.sfa .sfae-cmt-form .sfae-cmt-submit, main.sfa .sfae-cmt-submit { border-radius: 8px !important; }
main.sfa .sfab-card { border-radius: 12px !important; }
main.sfa .sfab-pic { border-radius: 50% !important; }   /* reporter photo: round, like a byline portrait */
main.sfa .sfab-tag { border-radius: 6px !important; }
main.sfa .sfw-box { border-radius: 14px !important; border-top-width: 0 !important; }
main.sfa :is(.sfw-btn, .sfw-gbtn, .sfw-input) { border-radius: 8px !important; }
main.sfa .pri-inline-ad .pri-inline-ad__img { border-radius: 8px !important; }
main.sfa .post_content img:not(.pri-inline-ad__img) { border-radius: 10px; }
@media (max-width: 760px) { main.sfa .sfa-lead 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-nb { white-space: nowrap; }   /* 4,700 never splits */
.sfx-run { word-break: normal; }   /* no punctuation in this part: wrap like normal Chinese text */
.sfx-seg:not(:last-child) { margin-inline-end: .75em; }

/* 相關報導: picture cards, 3 across (phones 2) */
.sfa-related { margin-block-start: 44px; }
.sfa-related .sfa-h { margin-block-end: 16px; }
.sfa-rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.sfa-rgrid .sfa-t { font-size: 1.0625rem; line-height: 1.55; }
@media (max-width: 760px) {
	.sfa-rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
	.sfa-rgrid .sfa-t { font-size: 1.0625rem; }
}

/* ---------- 灣區生活指南: feature layout (reference: theepochtimes.com Premium Reports article) ----------
   split hero = cream panel (the paper tone of the hand-drawn guide covers, and not navy next to the navy masthead)
   with kicker, serif headline and summary | the cover picture; then one centred 680px column, no sidebar; guide index
   at the end. Rounded hero card (user prefers rounded corners); edge-to-edge on phones. */
.sfa-ghero-wrap .sfa-crumb { padding-block-end: 12px; }
.sfa-ghero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; background: #f5efe3; border-radius: 16px; overflow: clip; }
.sfa-ghero-text { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 48px 56px; }
.sfa-gkick { margin: 0 0 16px; padding: 0; font-size: .9375rem; font-weight: 700; letter-spacing: .12em; color: var(--sfa-navy); }
.sfa-gkick a { color: inherit; text-decoration: none; }
.sfa-gtitle { margin: 0; padding: 0; font-family: var(--sfa-serif); font-size: 2.375rem; line-height: 1.38; font-weight: 700; color: var(--sfa-ink); letter-spacing: .02em; text-wrap: balance; }
.sfa-gdek { margin: 18px 0 0; padding: 0; max-inline-size: 30em; font-size: 1.125rem; line-height: 1.75; color: #4a4f57; }
.sfa-ghero-img { min-inline-size: 0; display: flex; }
.sfa-ghero-img .sfa-lead { margin: 0; display: flex; flex-direction: column; inline-size: 100%; }
main.sfa .sfa-ghero-img .sfa-lead img { border-radius: 0; inline-size: 100%; block-size: auto; }
.sfa-ghero-img .sfa-lead-a { flex: 1; display: flex; align-items: center; background: #f5efe3; }
main.sfa .sfa-ghero-img .sfa-cap { margin: 0; padding: 8px 16px 10px; border: 0; background: #efe7d7; font-size: .875rem !important; }

.sfa-wrap--guide .sfa-grid { grid-template-columns: minmax(0, 680px); justify-content: center; padding-block-start: 28px; }
.sfa-wrap--guide .sfa-art { max-inline-size: 680px; }
.sfa-wrap--guide .sfa-info { margin-block-start: 0; }
.sfa-wrap--guide .sfa-head { margin-block-end: 28px; }

.sfa-gindex { background: #f5efe3; }
.sfa-gi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.sfa-gi { background: #fff; border-radius: 14px; padding: 20px 20px 16px; }
.sfa-gi h3 { margin: 0; padding: 0 0 8px; font-size: 1.25rem; font-weight: 700; border-block-end: 1px solid var(--sfa-rule-2); }
.sfa-gi h3 a { color: var(--sfa-ink); text-decoration: none; }
.sfa-gi-d { margin: 10px 0 4px; padding: 0; font-size: .875rem; line-height: 1.6; color: var(--sfa-meta); }
.sfa-gi ul { list-style: none; margin: 0; padding: 0; }
.sfa-gi li { border-block-end: 1px solid var(--sfa-rule); }
.sfa-gi li a { display: block; padding-block: 9px; font-size: 1rem; line-height: 1.55; color: var(--sfa-ink); text-decoration: none; }
.sfa-gi-more { margin: 10px 0 0; padding: 0; font-size: .9375rem; }
.sfa-gi-more a { color: var(--sfa-link); }

@media (max-width: 1100px) {
	.sfa-ghero-text { padding: 36px 32px; }
	.sfa-gtitle { font-size: 2rem; }
	.sfa-gi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.sfa-ghero { grid-template-columns: minmax(0, 1fr); margin-inline: -16px; border-radius: 0; }
	.sfa-ghero-img { order: -1; }
	.sfa-ghero-text { padding: 24px 20px 28px; }
	.sfa-gkick { margin-block-end: 10px; }
	.sfa-gtitle { font-size: 1.625rem; line-height: 1.42; }
	.sfa-gdek { font-size: 1.0625rem; }
	.sfa-wrap--guide .sfa-grid { grid-template-columns: minmax(0, 1fr); padding-block-start: 16px; }
	.sfa-gi-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.sfa-gi li a { font-size: 1.125rem; }
}

/* headlines break only at punctuation (：、，) or the two-part gap, never inside a word like 指南;
   overflow-wrap is the safety net for a long run without punctuation */
.sfa-title, .sfa-gtitle { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
/* phones: no justified text (it stretched lines with English words into wide gaps) */
@media (max-width: 760px) { main.sfa .post_content p { text-align: start !important; text-align-last: auto !important; } }

/* ---------- corners, final rule (user 2026-11-25): photographs square (news sites measured: 90-100% square photos),
   rounded only for buttons/labels (6-8px), boxes (12-14px) and round reporter portraits ---------- */
main.sfa :is(.sfa-lead img, .sfa-img, .sfa-row .sfa-img, .sfa-ad img, .post_content img, .post_related .one_post .img, .post_related .one_post .img img, .pri-inline-ad .pri-inline-ad__img) { border-radius: 0 !important; }
.sfa-ghero { border-radius: 0; }   /* the guide hero holds a full-height picture: square, like the reference */

/* ---------- 推薦產品 card (in-article product recommendation) ----------
   user 2026-11-25: "長得太醜". Pattern from NBC Select / Insider / Wirecutter: the product on a white tile (never
   cropped), product name, short line, ONE clear button that names the store, the card set apart from the article in
   a light box with a sponsored label. Overrides sf-product-ad-toggle.php + the remote pri-injector.css. */
main.sfa .post_content .pri-inline-ad, main.sfa .post_content .pri-inline-ad--prelast {
	display: grid !important; grid-template-columns: 150px minmax(0, 1fr); column-gap: 20px; align-items: start;
	margin: 2em 0 !important; padding: 18px 20px 20px !important; max-width: none !important;
	background: #f4f5f7 !important; border: 0 !important; border-radius: 14px !important; box-shadow: none !important; overflow: visible !important;
}
main.sfa .post_content .pri-inline-ad__label { grid-column: 1 / -1; display: flex !important; gap: 8px; align-items: baseline; margin: 0 0 12px !important; padding: 0 !important; background: none !important; border: 0 !important; }
main.sfa .post_content .pri-inline-ad__badge { font-size: .875rem !important; font-weight: 700 !important; letter-spacing: .06em !important; color: var(--sfa-navy) !important; background: none !important; padding: 0 !important; }
main.sfa .post_content .pri-inline-ad__sponsor { font-size: .8125rem !important; color: var(--sfa-meta) !important; }
main.sfa .post_content .pri-inline-ad__sponsor::before { content: "· "; }
main.sfa .post_content .pri-inline-ad__body { display: contents !important; color: inherit !important; text-decoration: none !important; }
main.sfa .post_content .pri-inline-ad__img {
	grid-column: 1; grid-row: 2 / span 2; inline-size: 150px !important; block-size: 150px !important; max-height: none !important;
	object-fit: contain !important; padding: 10px; box-sizing: border-box; background: #fff !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important;
}
main.sfa .post_content .pri-inline-ad__text { grid-column: 2; padding: 0 !important; min-inline-size: 0; }
main.sfa .post_content .pri-inline-ad__line1 {
	margin: 0 0 6px !important; padding: 0 !important; font-size: 1.125rem !important; line-height: 1.5 !important; font-weight: 700 !important; color: var(--sfa-ink) !important; text-align: left !important;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: clip;
}
main.sfa .post_content .pri-inline-ad__line2 {
	margin: 0 !important; padding: 0 !important; font-size: .9375rem !important; line-height: 1.65 !important; color: #4a4f57 !important; text-align: left !important;
	display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2 !important; line-clamp: 2; overflow: clip;
}
main.sfa .post_content .pri-inline-ad__body:hover .pri-inline-ad__line1 { color: var(--sfa-link) !important; text-decoration: underline; }
main.sfa .post_content .sfa-pri-actions { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-block-start: 14px; }
main.sfa .post_content .sfa-pri-actions .pri-inline-ad__cta {
	display: inline-flex !important; align-items: center; min-block-size: 42px; margin: 0 !important; padding: 0 20px !important;
	background: var(--sfa-navy) !important; color: #fff !important; border-radius: 8px; font-size: 1rem !important; font-weight: 700 !important; text-decoration: none !important; float: none !important;
}
main.sfa .post_content .sfa-pri-buy:hover .pri-inline-ad__cta { background: #0b2a66 !important; }
main.sfa .post_content .sfa-pri-buy, main.sfa .post_content .sfa-pri-review { text-decoration: none !important; }
main.sfa .post_content .sfa-pri-review { font-size: .9375rem; color: var(--sfa-link) !important; padding-block: 8px; }
main.sfa .post_content .sfa-pri-review:hover { text-decoration: underline !important; }
@media (max-width: 760px) {
	main.sfa .post_content .pri-inline-ad, main.sfa .post_content .pri-inline-ad--prelast { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; padding: 16px !important; }
	main.sfa .post_content .pri-inline-ad__img { inline-size: 96px !important; block-size: 96px !important; padding: 6px; grid-row: 2; }
	main.sfa .post_content .pri-inline-ad__line1 { font-size: 1.0625rem !important; }
	main.sfa .post_content .sfa-pri-actions { grid-column: 1 / -1; }
	main.sfa .post_content .sfa-pri-buy { flex: 1 1 auto; }
	main.sfa .post_content .sfa-pri-actions .pri-inline-ad__cta { inline-size: 100%; justify-content: center; }
}

/* ---------- window ad v6 = the standard interscroller (user 2026-11-25: 「感覺滾動廣告不是這樣設計的…有點奇怪」) ----------
   Published specs (GumGum Mobile Scroller, Ad Alliance / Media Impact mobile interscroller, e-planning): the slot is a
   GAP in the content as wide as the screen; the creative is screen-sized and stays fixed BEHIND the page, revealed
   through the gap, and slides out as the reader scrolls on. Where a creative does not fill the screen the rest is a
   colour fill, never page white. v5 (a small card sliding inside a white box) was none of that.
   Here: the window is edge to edge on phones / the text column on desktop; behind it a screen-high layer is pinned
   to the screen for the whole pass (sticky inside a track that reaches one screen above and below the window - no
   JavaScript, smooth on iPhone; clip-path clips without making a scroll container). The creative is centred on the
   screen at the window's width and never cropped; above and below it the layer continues in the creative's own top
   and bottom edge colours (--isc-t / --isc-b, measured in PHP), so the gap is always filled. */
/* Size: the user asked earlier the same day for a SMALLER ad, a SMALLER frame and a LONGER hold, so the default keeps
   those sizes (creative 400px desktop / 300px phone, frame = creative + 80/40px wide) with the standard mechanics:
   the frame is a window onto a colour-filled layer where the creative stays fixed on the screen for the whole pass.
   .sfa-isc--full (?isc=full preview) is the spec's edge-to-edge version. */
main.sfa .sfa-isc { --isc-t: #1b1b1b; --isc-b: #1b1b1b; --ad-w: 402px; --ad-h: calc(var(--ad-w) * 5 / 6); margin: 2.4em auto; padding: 0; clear: both; max-inline-size: calc(var(--ad-w) + 80px); }
main.sfa .sfa-isc-cap { display: block; margin: 0 !important; padding: 6px 0 !important; font-size: .75rem !important; line-height: 1.4 !important; letter-spacing: .12em; color: var(--sfa-meta) !important; text-align: center !important; text-indent: 0 !important; }
main.sfa .sfa-isc-cap span + span { display: none; }   /* pages cached before v6 carry both labels in the top line */
main.sfa .sfa-isc-win { position: relative; block-size: calc(var(--ad-h) + 200px); clip-path: inset(0); overflow: clip; background: var(--isc-t); }
/* overflow: clip as well (2026-11-27, user screenshot: the brown fill lay over the text above the slot): WebKit can skip
   clip-path for a child on its own compositing layer (the moving layer has will-change: transform). overflow: clip makes
   no scroll container, so the sticky / view-timeline pin is unchanged. */
main.sfa .sfa-isc-clip { position: absolute; inset-inline: 0; inset-block: -100lvh; }
main.sfa .sfa-isc-layer { position: sticky; inset-block-start: 0; block-size: 100lvh; display: grid; place-items: center;
	background: linear-gradient(var(--isc-t) 0 34%, var(--isc-b) 66% 100%); }
/* sharpness (user 2026-11-25: 廣告圖片太不清晰): centring on a screen of odd height put the picture on a half pixel
   (measured y = 259.5), which softens the whole image. Where round() exists the picture is placed on a whole pixel. */
@supports (inset-block-start: round(down, 1.5px, 1px)) {
	main.sfa .sfa-isc-layer { place-items: start stretch; }
	main.sfa .sfa-isc-layer a { margin-block-start: round(down, calc((100lvh - var(--ad-h)) / 2), 1px); text-align: start; }
	/* width in steps of 6px keeps the 6:5 height whole; left edge on a whole pixel too */
	main.sfa .sfa-isc-layer img, main.sfa .sfa-isc--full .sfa-isc-layer img { display: block; inline-size: round(down, var(--ad-w), 6px); max-inline-size: none;
		margin-inline-start: round(down, calc((100% - round(down, var(--ad-w), 6px)) / 2), 1px) !important; }
}
main.sfa .sfa-isc-layer::before { content: none; }
main.sfa .sfa-isc-layer a { display: block; inline-size: 100%; line-height: 0; text-align: center; }
main.sfa .sfa-isc-layer img { display: inline-block; inline-size: var(--ad-w); max-inline-size: 100%; block-size: auto !important; max-block-size: 92svh; border-radius: 0 !important; margin: 0 !important; box-shadow: none; }
@supports not (block-size: 1lvh) {
	main.sfa .sfa-isc-clip { inset-block: -100vh; }
	main.sfa .sfa-isc-layer { block-size: 100vh; }
}
@media (max-width: 760px) {
	main.sfa .sfa-isc { --ad-w: min(300px, calc(100vw - 72px)); max-inline-size: calc(var(--ad-w) + 40px); }
	main.sfa .sfa-isc-win { block-size: calc(var(--ad-h) + 30svh); }
}
/* full-width variant (the published spec): window = text column / screen width, creative as wide as the window */
main.sfa .sfa-isc.sfa-isc--full { max-inline-size: none; margin-inline: 0; --ad-w: min(100cqi, 720px); container-type: inline-size; }
main.sfa .sfa-isc--full .sfa-isc-win { block-size: min(74svh, 600px); }
main.sfa .sfa-isc--full .sfa-isc-layer img { inline-size: auto; max-inline-size: 100%; }
@media (max-width: 760px) {
	main.sfa .sfa-isc.sfa-isc--full { margin-inline: -16px; }
	main.sfa .sfa-isc--full .sfa-isc-layer img { inline-size: 100%; }
}
/* iOS Safari 26 bars stay see-through (user 2026-11-25: 「可不可以像總網一樣變成透明的」). Safari 26 fills its bottom/top
   bar with a solid colour taken from any fixed or STICKY element at that screen edge, and the sticky layer above
   counted even while clipped, so the bar turned the ad's colour. Where scroll-driven animations exist (Safari 26,
   Chrome) the layer is not sticky: it sits at the top of the window and a view-timeline animation moves it by exactly
   the scroll distance, so it still stays put on the screen. Nothing fixed/sticky = Safari keeps the glass bar.
   from: window top at the screen bottom -> layer moved up one screen (-100% of its 100dvh); to: window bottom at the
   screen top -> layer moved down one window height (--win-h, same values as the block-size rules above). */
/* no sideways scrolling on phones (user 2026-11-25 screenshot: the page slid right and showed the navy html background).
   Cause: editor tables carry width="485" / style height, wider than a 390px phone. Tables now fit the text column and
   their cells wrap; main.sfa clips anything else that pokes out (clip, not hidden: no scroll container, sticky still works). */
main.sfa .post_content table { inline-size: 100% !important; max-inline-size: 100%; block-size: auto !important; }
main.sfa .post_content :is(td, th) { overflow-wrap: anywhere; block-size: auto !important; }
main.sfa { overflow-x: clip; }
/* long tags wrap (2026-11-25): 「西爾維婭·斯坎達爾·馬漢（Silvia Scandar Mahan）」 was nowrap and wider than a phone, so the
   whole page scrolled sideways (layout viewport 429px on a 390px phone), which also threw the window ad off. */
main.sfa .sfab-tlist li { max-inline-size: 100%; }
main.sfa .sfab-tag { max-inline-size: 100%; white-space: normal; overflow-wrap: anywhere; block-size: auto !important; min-block-size: 44px; padding-block: 8px; line-height: 1.35; }
.sfa-tint { display: none; }   /* pages cached with the first fix (white sampler strip) */
@supports (animation-timeline: view()) {
	main.sfa .sfa-isc { --win-h: calc(var(--ad-h) + 200px); }
	/* iOS 26 draws the page under its floating bottom bar too, below 100dvh: the fill continues half a screen past both
	   edges of the layer in the creative's edge colours (else the window's other colour showed as a band under the bar). */
	main.sfa .sfa-isc-layer::before, main.sfa .sfa-isc-layer::after { content: ""; position: absolute; inset-inline: 0; block-size: 50lvh; pointer-events: none; }
	main.sfa .sfa-isc-layer::before { inset-block-end: 100%; background: var(--isc-t); }
	main.sfa .sfa-isc-layer::after { inset-block-start: 100%; background: var(--isc-b); }
	main.sfa .sfa-isc-win { view-timeline: --sfa-isc block; view-timeline-inset: 0px; }   /* inset 0: the default 'auto' takes the page's scroll-padding-top (pinned header) and made the ad drift */
	main.sfa .sfa-isc-clip { inset-block: 0; }
	main.sfa .sfa-isc-layer { position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 100dvh; will-change: transform;
		animation: sfa-isc-pin linear both; animation-timeline: --sfa-isc; animation-range: cover 0% cover 100%; }
	@supports (inset-block-start: round(down, 1.5px, 1px)) {
		main.sfa .sfa-isc-layer a { margin-block-start: round(down, calc((100dvh - var(--ad-h)) / 2), 1px); }
	}
	@media (max-width: 760px) { main.sfa .sfa-isc { --win-h: calc(var(--ad-h) + 30svh); } }
	main.sfa .sfa-isc.sfa-isc--full { --win-h: min(74svh, 600px); }
}
/* 2026-11-28 preview ?isc=sticky (user: 「the scrollable ad still move while i am scrolling」 - fine in Chrome, so likely
   Safari's scroll-timeline): the original sticky pin, composited by the browser itself. */
main.sfa .sfa-isc.sfa-isc--sticky .sfa-isc-clip { inset-block: -100lvh; }
main.sfa .sfa-isc.sfa-isc--sticky .sfa-isc-layer { position: sticky; inset-block-start: 0; block-size: 100lvh; animation: none; transform: none; will-change: auto; }
main.sfa .sfa-isc.sfa-isc--sticky .sfa-isc-layer::before, main.sfa .sfa-isc.sfa-isc--sticky .sfa-isc-layer::after { content: none; }
@supports (inset-block-start: round(down, 1.5px, 1px)) {
	main.sfa .sfa-isc.sfa-isc--sticky .sfa-isc-layer a { margin-block-start: round(down, calc((100lvh - var(--ad-h)) / 2), 1px); }
}
@keyframes sfa-isc-pin { from { transform: translateY(-100%); } to { transform: translateY(var(--win-h)); } }
@media (prefers-reduced-motion: reduce) {
	main.sfa .sfa-isc-win, main.sfa .sfa-isc--full .sfa-isc-win { block-size: auto; clip-path: none; overflow: visible; }
	main.sfa .sfa-isc-clip { position: static; }
	main.sfa .sfa-isc-layer { position: static; block-size: auto; padding-block: 24px; animation: none; transform: none; will-change: auto; }
	main.sfa .sfa-isc-layer::before, main.sfa .sfa-isc-layer::after { content: none; }   /* 2026-11-29: the 50lvh colour fills are for the pinned layer only; here they lay over the text above and below the ad */
}

/* ---------- 每日電子報 box after the article (reader-wall engage card, wall.js) ----------
   user 2026-11-25 "這個太小了": on phones the form is a column and the input had flex: 1 (basis 0), which squeezed
   its HEIGHT to ~26px. Here: input flex none, 48px tall, 17px text (no iOS zoom); box rounded like the other boxes,
   no 3px top rule; kicker navy, not the old gold. */
main.sfa .sfw-engage { border: 1px solid var(--sfa-rule) !important; border-radius: 14px !important; background: #f4f5f7 !important; padding: 22px 22px 18px !important; }
main.sfa .sfw-nlbox-k { color: var(--sfa-navy) !important; font-size: .8125rem !important; }
main.sfa .sfw-nlbox-f .sfw-input { flex: none !important; block-size: 48px !important; min-block-size: 48px; padding: 0 14px !important; font-size: 1.0625rem !important; border-radius: 8px !important; background: #fff !important; }
main.sfa .sfw-nlbox-f .sfw-btn { block-size: 48px !important; border-radius: 8px !important; font-size: 1.0625rem !important; }
/* one column on every width: the Cloudflare check sits between input and button and squeezed the input on desktop */
main.sfa .sfw-nlbox-f { flex-direction: column !important; align-items: stretch; gap: 10px !important; max-width: 520px; }
@media (min-width: 761px) { main.sfa .sfw-nlbox-f .sfw-btn { align-self: flex-start; padding-inline: 28px !important; } }

/* ---------- 灣區生活指南 type scale (user 2026-11-25: 字體有點太大) ----------
   Guides are reference reading: body 18px desktop / 17px phone (measured Taiwanese sites: article body 16-17px on
   phones), clear steps between levels: h2 26/22, h3 20/19, tables 16. News articles keep HQ's 20/36.
   No !important on sizes, so the 字級 buttons (inline px) still work. */
main.sfa .sfa-wrap--guide .post_content { font-size: 18px; }
main.sfa .sfa-wrap--guide .post_content p, main.sfa .sfa-wrap--guide .post_content li,
main.sfa .sfa-wrap--guide .post_content .sfg p, main.sfa .sfa-wrap--guide .post_content .sfg li { font-size: 18px; line-height: 1.8; }
main.sfa .sfa-wrap--guide .post_content h2, main.sfa .sfa-wrap--guide .post_content .sfg-h { font-size: 26px; line-height: 1.4; margin-block: 1.6em .6em; }
main.sfa .sfa-wrap--guide .post_content h3 { font-size: 20px; line-height: 1.45; }
main.sfa .sfa-wrap--guide .post_content :is(td, th) { font-size: 16px; line-height: 1.6; }
.sfa-gtitle { font-size: 2.125rem; }
.sfa-gdek { font-size: 1.0625rem; }
@media (max-width: 760px) {
	main.sfa .sfa-wrap--guide .post_content { font-size: 17px; }
	main.sfa .sfa-wrap--guide .post_content p, main.sfa .sfa-wrap--guide .post_content li,
	main.sfa .sfa-wrap--guide .post_content .sfg p, main.sfa .sfa-wrap--guide .post_content .sfg li { font-size: 17px; }
	main.sfa .sfa-wrap--guide .post_content h2, main.sfa .sfa-wrap--guide .post_content .sfg-h { font-size: 22px; }
	main.sfa .sfa-wrap--guide .post_content h3 { font-size: 19px; }
	.sfa-gtitle { font-size: 1.5rem; }
	.sfa-gdek { font-size: 1rem; }
}

/* ============================================================================================================
   GUIDE LAYOUT v2 (2026-11-25; reference: theepochtimes.com Premium Reports article, measured from its HTML/CSS:
   centred kicker / serif headline / dek / tool buttons, picture across the container with the caption under it,
   centred byline line, narrow text column with wide blocks breaking out, plain 3-across grid of more reports).
   Chinese sizes are smaller than the reference's 60px Latin headline (feedback: CJK must not look big).
   Scope: .sfa-g2top / .sfa-g2cover / .sfa-g2by / .sfa-g2 / .sfa-g2more (preview key only, see sf-article-2026.php). */
.sfa-g2top { max-inline-size: 1000px; padding-block: 44px 0; text-align: center; }
.sfa-g2top .sfa-gkick { margin: 0 0 14px; }
.sfa-g2top .sfa-gtitle { font-size: 2.625rem; line-height: 1.32; letter-spacing: .01em; }
.sfa-g2top .sfa-gdek { margin: 16px auto 0; max-inline-size: 36em; font-family: var(--sfa-serif); font-size: 1.1875rem; line-height: 1.7; color: #495255; text-wrap: pretty; }
.sfa-g2tools { justify-content: center; flex-wrap: wrap; margin-block-start: 22px; }

.sfa-g2cover { padding-block-start: 30px; }
.sfa-g2cover .sfa-lead { margin: 0; }
main.sfa .sfa-g2cover .sfa-lead img { inline-size: 100%; block-size: auto; }
main.sfa .sfa-g2cover .sfa-cap { margin: 8px 0 0; padding: 0; border: 0; font-size: .875rem !important; line-height: 1.6; }

.sfa-g2by { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 0; margin-block: 22px 0; font-size: .9375rem; line-height: 1.6; color: var(--sfa-meta); }
.sfa-g2by > * { padding-inline: 12px; }
.sfa-g2by > * + * { border-inline-start: 1px solid var(--sfa-rule-2); }
.sfa-g2by .sfa-by { font-weight: 700; color: var(--sfa-ink); }
.sfa-g2by .etd-rt, .sfa-g2by .sfa-rt { margin: 0 !important; color: var(--sfa-meta) !important; font-size: inherit !important; }

.sfa-g2 .sfa-head { display: none; }
.sfa-wrap--guide.sfa-g2 .sfa-grid { padding-block: 30px 44px; }
main.sfa .sfa-g2 .post_content :is(h2, .sfg-h) { font-family: var(--sfa-serif); letter-spacing: .01em; }
/* the grid under the article replaces the cards typed into the text */
main.sfa .sfa-g2 .post_content .sfg:has(> .sfn-related-cards) { display: none; }

/* wide blocks leave the 680px column (reference: pictures 900-1200px wide in a 640px text column) */
@media (min-width: 1000px) {
	main.sfa .sfa-g2 .post_content .sfg-tablewrap:has(tr > :nth-child(4)) { margin-inline: -120px; max-inline-size: none; }
	main.sfa .sfa-g2 .post_content .sfg-figure { margin-inline: -120px; max-inline-size: none; }
	main.sfa .sfa-g2 .post_content .sfg-figure img { inline-size: auto !important; max-inline-size: 100% !important; max-block-size: 760px; block-size: auto !important; }
	main.sfa .sfa-g2 .post_content .sfg-figure figcaption { text-align: center; }
}

.sfa-g2more { padding-block: 8px 64px; }
.sfa-g2more-in { max-inline-size: 992px; margin-inline: auto; padding-inline: 16px; }
.sfa-g2more-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-block-end: 22px; padding-block-start: 26px; border-block-start: 1px solid var(--sfa-rule-2); }
.sfa-g2more-h h2 { margin: 0; padding: 0; font-size: 1.25rem; line-height: 1.4; font-weight: 700; color: var(--sfa-ink); }
.sfa-g2more-h a { font-size: .9375rem; color: var(--sfa-ink); text-decoration: none; white-space: nowrap; padding-block: 6px; }
.sfa-g2grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.sfa-g2img { margin-block-end: 12px; }
.sfa-g2img img { display: block; inline-size: 100%; block-size: auto; background: #f4f1ea; }
.sfa-g2grid .sfa-card .sfa-t { display: block; margin: 0; padding: 0; font-family: var(--sfa-serif); font-size: 1.125rem; line-height: 1.5; font-weight: 700; overflow: visible; word-break: keep-all; overflow-wrap: anywhere; }
.sfa-g2grid .sfa-card .sfa-t a { color: var(--sfa-ink); text-decoration: none; }

@media (max-width: 1100px) {
	.sfa-g2top .sfa-gtitle { font-size: 2.25rem; }
}
@media (max-width: 760px) {
	.sfa-g2top { padding-block-start: 24px; }
	.sfa-g2top .sfa-gkick { margin-block-end: 10px; font-size: .875rem; }
	.sfa-g2top .sfa-gtitle { font-size: 1.75rem; line-height: 1.38; }
	.sfa-g2top .sfa-gdek { margin-block-start: 12px; font-size: 1rem; line-height: 1.7; }
	.sfa-g2tools { margin-block-start: 16px; }
	.sfa-g2cover { padding-block-start: 22px; }
	.sfa-g2cover .sfa-lead { margin-inline: -16px; }
	main.sfa .sfa-g2cover .sfa-cap { padding-inline: 16px; }
	.sfa-g2by { margin-block-start: 16px; font-size: .875rem; }
	.sfa-g2by > * { padding-inline: 10px; }
	.sfa-wrap--guide.sfa-g2 .sfa-grid { padding-block: 20px 32px; }
	.sfa-g2more { padding-block-end: 44px; }
	.sfa-g2grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.sfa-g2grid .sfa-card:nth-child(n+7) { display: none; }
	.sfa-g2grid .sfa-card .sfa-t { font-size: 1.125rem; }
}
.sfa-g2top .sfa-gkick a { display: inline-block; padding-block: 4px; }

/* ---- v2 "staggered sizes" (user 2026-11-25: 要有尺寸錯開的感覺). The reference mixes a 640px text column with 900px
   and 1200px pictures, 600px centred quotes and a small box floated into the margin. Here: text 680, 速覽 840,
   wide tables 920, pictures 1000, section drawings hang in the left margin, 小提醒 sits in the right margin. */
main.sfa .sfa-g2 .post_content .sfg-figure { text-align: center; }
main.sfa .sfa-g2 .post_content .sfg-figure img { margin-inline: auto; }
main.sfa .sfa-g2 .post_content .sfg-figure figcaption { text-align: center !important; }   /* user: caption in the middle */
@media (min-width: 1100px) {
	main.sfa .sfa-g2 .post_content .sfg-glance { margin-inline: -80px; padding-inline: 0; }
	main.sfa .sfa-g2 .post_content .sfg-glance > h2 { font-family: var(--sfa-serif); font-size: 24px; }
	main.sfa .sfa-g2 .post_content .sfg-figure { margin-inline: -160px; margin-block: 2.6em; max-inline-size: none; inline-size: auto; }
	main.sfa .sfa-g2 .post_content .sfg-figure img { inline-size: auto !important; max-inline-size: 100% !important; max-block-size: 760px; }   /* tall maps: whole picture on one screen, centred */
	main.sfa .sfa-g2 .post_content :is(h2.sfg-h, .sf-faq > h2) { margin-inline-start: -74px; }
	main.sfa .sfa-g2 .post_content .sfg:has(> :is(.sfg-glance, .sfg-figure, .sfg-tablewrap)) { clear: both; }
}
@media (min-width: 1200px) {
	main.sfa .sfa-g2 .post_content .sfg-tip { float: right; clear: right; display: block; inline-size: 204px; margin: 6px -228px 16px 0; padding: 12px 0 0; border-block-start: 2px solid var(--sfa-ink); border-block-end: 0; }
	main.sfa .sfa-g2 .post_content .sfg-tip .sfg-spot { inline-size: 44px; block-size: 44px; margin: 0 0 6px; }
	main.sfa .sfa-g2 .post_content .sfg-tip > div, main.sfa .sfa-g2 .post_content .sfg-tip p { font-size: 15px !important; line-height: 1.7 !important; text-align: start !important; color: #3a3f47; }
	main.sfa .sfa-g2 .post_content .sfg-tip strong.sfg-tip-t { font-size: 16px; margin-block-end: 4px; }
}
/* more guides: one large card + two stacked, then rows of three */
@media (min-width: 761px) {
	.sfa-g2grid .sfa-card:first-child { grid-column: span 2; grid-row: span 2; }
	.sfa-g2grid .sfa-card:first-child .sfa-t { font-size: 1.625rem; line-height: 1.4; }
}
.sfa-g2d { margin: 8px 0 0; padding: 0; font-size: .9375rem; line-height: 1.65; color: var(--sfa-meta); }
@media (max-width: 760px) { .sfa-g2d { display: none; } }

main.sfa .sfa-g2 .post_content .sfa-isc { clear: both; }   /* window ad on guides: below any margin note */

/* 2026-11-25 sidebar fit (script after the sidebar): phones show 10 即時新聞; a 本週熱門 taller than the window stops pinning */
@media (max-width: 1000px) { .sfa-latest > li:nth-child(n+11) { display: none; } }
.sfa-sticky.sfa-nostick { position: static !important; }

/* 2026-11-28 phones: with an 更新 date the byline is two tidy lines (author + date / 更新 + 閱讀時間), no rule dangling at a line start */
@media (max-width: 600px) {
	.sfa-g2by:has(> :nth-child(4)) { row-gap: 0; }
	.sfa-g2by:has(> :nth-child(4))::after { content: ""; flex-basis: 100%; order: 1; }
	.sfa-g2by:has(> :nth-child(4)) > :nth-child(n+3) { order: 2; margin-block-start: 2px; font-size: .8125rem; }
	.sfa-g2by:has(> :nth-child(4)) > :nth-child(3) { border-inline-start: 0; }
}

/* 2026-11-29 user: 不要 scrollable 廣告，變成普通的廣告. The in-article ad (.sfa-isc) is now a plain image in the text
   flow: no window, no pinned layer, no colour fill, no 繼續往下滑 line. This block overrides every window rule above
   (also on cached pages and the ?isc= previews); delete it to get the window ad back. */
main.sfa .sfa-isc, main.sfa .sfa-isc.sfa-isc--full, main.sfa .sfa-isc.sfa-isc--sticky { --ad-w: 402px; max-inline-size: min(var(--ad-w), 100%) !important; margin: 2em auto !important; container-type: normal; }
main.sfa .sfa-isc .sfa-isc-win { block-size: auto !important; clip-path: none !important; overflow: visible !important; background: none !important; view-timeline: none !important; }
main.sfa .sfa-isc .sfa-isc-clip { position: static !important; }
main.sfa .sfa-isc .sfa-isc-layer { position: static !important; display: block !important; block-size: auto !important; padding: 0 !important; animation: none !important; transform: none !important; will-change: auto !important; }
main.sfa .sfa-isc .sfa-isc-layer::before, main.sfa .sfa-isc .sfa-isc-layer::after { content: none !important; }
main.sfa .sfa-isc .sfa-isc-layer a { margin: 0 !important; }
main.sfa .sfa-isc .sfa-isc-layer img { display: block !important; inline-size: 100% !important; max-inline-size: 100% !important; block-size: auto !important; max-block-size: none !important; }
main.sfa .sfa-isc .sfa-isc-cap--end { display: none !important; }

/* 2026-11-29 (user: the text jumps when the picture arrives). Room is kept from width/height on the <img>; a top picture
   whose size is not known yet keeps a 3:2 box until it loads ("auto": the real shape wins once known, nothing is cropped).
   Pictures in the text that got their size from the server (data-sfd) keep their shape at any column width. */
main.sfa .sfa-lead img:not([width]) { aspect-ratio: auto 3 / 2; }
main.sfa .post_content img[data-sfd] { block-size: auto !important; max-inline-size: 100%; }

/* /hm/user_content/themes/tirWH1.09/assets/css/sf-header-2026.css */
/* sf header redesign 2026-11-25 (PREVIEW, includes/sf-header-2026.php). White newspaper masthead like epochtimes.com/taiwan:
   date line, centred nameplate with the paper's name between rules, one row of sections under a thick-thin rule.
   Photos square; buttons 6px, boxes 12-14px; no pills, no gold. */
.sfhd, .sfhd-drawer {
	--hd-navy: #10357e; --hd-ink: #16181d; --hd-text: #3a3f47; --hd-meta: #5c636e; --hd-rule: #dcdfe5;
	--hd-serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU", serif;
}
.sfhd { position: relative; z-index: 100001; background: #fff; color: var(--hd-ink); font-size: 15px; line-height: 1.5; text-align: left; }
.sfhd *, .sfhd-drawer * { box-sizing: border-box; }
.sfhd ul, .sfhd-drawer ul { list-style: none; margin: 0; padding: 0; }
.sfhd p, .sfhd-drawer p { margin: 0; }
.sfhd a { color: inherit; text-decoration: none; }
.sfhd a:hover { color: var(--hd-navy); text-decoration: underline; text-underline-offset: 3px; }
.sfhd :focus-visible, .sfhd-drawer :focus-visible { outline: 2px solid var(--hd-navy); outline-offset: 2px; }
.sfhd-in { max-inline-size: 1180px; margin-inline: auto; padding-inline: 16px; }
.sfhd-vh { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sfhd-icon { display: inline-grid; place-items: center; inline-size: 44px; block-size: 44px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--hd-ink); cursor: pointer; }
.sfhd-icon:hover { background: #f1f3f7; }

/* date line + services */
.sfhd-util { border-block-end: 1px solid var(--hd-rule); font-size: 13.5px; color: var(--hd-text); }
.sfhd-util .sfhd-in { display: flex; align-items: center; gap: 8px 20px; min-block-size: 36px; }
.sfhd-date { display: flex; gap: 12px; color: var(--hd-ink); white-space: nowrap; }
.sfhd-lunar { color: var(--hd-meta); }
.sfhd-links { margin-inline-start: auto; }
.sfhd-links ul { display: flex; flex-wrap: wrap; }
.sfhd-links li + li { border-inline-start: 1px solid var(--hd-rule); }
.sfhd-links a { display: block; padding: 2px 12px; }
.sfhd-lang a { display: block; padding: 2px 4px; }
.sfhd a.sfhd-acct, .sfhd a.sfw-acct-link { display: inline-flex !important; align-items: center; gap: 5px; block-size: 28px !important; padding: 0 12px !important; margin: 0 !important;
	border: 1px solid var(--hd-navy) !important; border-radius: 6px !important; background: #fff !important; color: var(--hd-navy) !important; font-size: 13.5px !important; font-weight: 700; line-height: 1 !important; text-decoration: none !important; }
.sfhd a.sfw-acct-link:hover { background: #eef2fa !important; }
.sfhd a.sfw-acct-link.sfw-in { background: var(--hd-navy) !important; color: #fff !important; }

/* nameplate row */
.sfhd-mast .sfhd-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 20px 14px; }
.sfhd-burger, .sfhd-sbtn { display: none; }
/* 2026-11-25 新唐人直播: newspaper "LIVE" kicker (small red bold caps before the name, as news sites mark live
   coverage); plain text, no box/icon/animation (user: the badge version looked too AI) */
.sfhd-live { justify-self: start; display: inline-flex; align-items: baseline; gap: 8px; font-size: 16px; font-weight: 700; color: var(--hd-ink) !important; text-decoration: none !important; }
.sfhd-live-k { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: #b3261e; }
.sfhd-live-go { color: var(--hd-meta); font-weight: 400; }
.sfhd-live:hover { text-decoration: underline !important; text-decoration-thickness: 1px !important; text-underline-offset: 4px; }
.sfhd-name { grid-column: 2; display: grid; justify-items: center; gap: 8px; }
.sfhd-logo { display: block; line-height: 0; }
.sfhd-logo img { display: block; inline-size: 236px; block-size: auto; }
.sfhd-motto { display: flex; align-items: center; gap: 12px; font-family: var(--hd-serif); font-size: 14px; letter-spacing: .32em; color: var(--hd-ink); white-space: nowrap; }
.sfhd-motto::before, .sfhd-motto::after { content: ""; inline-size: 64px; block-size: 4px; border-block: 1px solid currentColor; }
.sfhd-motto::after { margin-inline-start: -.32em; }
.sfhd-search { grid-column: 3; justify-self: end; display: flex; inline-size: min(100%, 260px); border: 1px solid #c4c9d2; border-radius: 6px; overflow: hidden; background: #fff; }
.sfhd-search:focus-within { border-color: var(--hd-navy); box-shadow: 0 0 0 1px var(--hd-navy); }
.sfhd-search input { flex: 1; min-inline-size: 0; block-size: 38px; padding: 0 12px; border: 0; outline: 0; font: inherit; font-size: 15px; color: var(--hd-ink); background: none; }
.sfhd-search button { flex: none; inline-size: 42px; border: 0; background: none; color: var(--hd-navy); cursor: pointer; display: grid; place-items: center; }

/* section row: thin rule above, thick-thin rule below (same rule as the homepage section titles) */
.sfhd-nav { border-block-start: 1px solid var(--hd-rule); }
.sfhd-nav .sfhd-in { position: relative; }
.sfhd-nav .sfhd-in::after { content: ""; position: absolute; inset-inline: 16px; inset-block-end: 0; block-size: 6px; border-block-start: 2px solid var(--hd-ink); border-block-end: 1px solid var(--hd-ink); }
.sfhd-row { display: flex; justify-content: center; align-items: stretch; padding-block-end: 6px; }
.sfhd-row > li { display: flex; align-items: center; }
.sfhd-row > li > a { display: block; padding: 13px 9px; font-size: 16px; white-space: nowrap; }
.sfhd-g { margin-inline-start: 14px; padding-inline-start: 14px; background: linear-gradient(var(--hd-rule), var(--hd-rule)) left center / 1px 18px no-repeat; }
.sfhd-g:first-child { margin-inline-start: 0; padding-inline-start: 0; background: none; }
.sfhd-row > li > a.sfhd-p { font-weight: 700; color: var(--hd-navy); padding-inline-end: 2px; }
.sfhd-row [aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; color: var(--hd-navy); }
/* section panels (2026-11-25 v2, user didn't like the small floating box): one white panel the width of the page under
   the section row - section name + 「進入… ›」 on the left, every sub-section in even columns. No arrows on mouse screens
   (hover opens it); the toggle button stays for keyboards (visible on focus) and touch screens. */
.sfhd-nav { position: relative; }
.sfhd-g { position: static; }
.sfhd-dd { inline-size: 22px; block-size: 30px; margin-inline-end: 2px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--hd-navy); cursor: pointer; }
.sfhd-dd::before { content: ""; display: block; margin: 0 auto; inline-size: 7px; block-size: 7px; border-inline-end: 1.5px solid currentColor; border-block-end: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.sfhd-g.is-open .sfhd-dd::before { transform: translateY(1px) rotate(-135deg); }
@media (hover: hover) {
	.sfhd-dd:not(:focus-visible) { position: absolute; inline-size: 1px; block-size: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); }
	.sfhd-row > li > a.sfhd-p { padding-inline-end: 9px; }
}
.sfhd-g.is-open > a.sfhd-p { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.sfhd-sub { position: absolute; inset-inline: 16px; inset-block-start: 100%; z-index: 5; background: #fff; border: 1px solid var(--hd-rule); border-block-start: 0; border-radius: 0 0 12px 12px;
	box-shadow: 0 18px 24px -18px rgba(16, 30, 70, .22); opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility 0s linear .15s; }
.sfhd-g.is-open .sfhd-sub { opacity: 1; visibility: visible; transition: opacity .15s ease, visibility 0s; }
.sfhd-sub-in { padding: 24px 28px 26px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.sfhd-sub-h { display: grid; gap: 8px; padding-inline-end: 24px; border-inline-end: 1px solid var(--hd-rule); }
.sfhd-sub-h a:first-child { font-family: var(--hd-serif); font-size: 26px; line-height: 1.3; font-weight: 700; color: var(--hd-ink); }
.sfhd-sub-h a.sfhd-sub-go { font-size: 14.5px; color: var(--hd-navy); }
.sfhd-sub ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px 24px; }
.sfhd-sub li a { display: block; padding: 9px 0; border-block-end: 1px solid #eef0f3; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sfhd-sub li a:hover { text-decoration: none; color: var(--hd-navy); border-block-end-color: var(--hd-navy); }
@media (prefers-reduced-motion: reduce) { .sfhd-sub { transition: none; } }
@media (max-width: 1199px) { .sfhd-q2 { display: none !important; } .sfhd-g { margin-inline-start: 8px; padding-inline-start: 8px; } }

/* phone tabs (hidden on wide screens) */
.sfhd-tabs { display: none; }

/* homepage folio under the new header: the date moved up into the date line, so the folio keeps weather + 新唐人 now
   playing; it loses its heavy double rule (the section row already has one) and the header's own live link hides */
.sfh-folio .sfh-date { display: none !important; }
.sfh-folio { border-block-end: 1px solid var(--s26-rule, #dcdfe5) !important; }
.sfh-folio .sfh-wx::before { content: none !important; }
body:has(.sfh-folio) .sfhd-live { visibility: hidden; }

@media (max-width: 900px) {
	.sfhd-links, .sfhd-lunar, .sfhd-live, .sfhd-search, .sfhd-motto, .sfhd-nav { display: none; }
	.sfhd-util .sfhd-in { min-block-size: 34px; gap: 12px; }
	.sfhd-lang { margin-inline-start: auto; }
	.sfhd a.sfw-acct-link, .sfhd a.sfhd-acct { block-size: 26px !important; padding: 0 10px !important; }
	.sfhd-mast .sfhd-in { grid-template-columns: 44px 1fr 44px; gap: 8px; padding-block: 10px; }
	.sfhd-burger, .sfhd-sbtn { display: inline-grid; }
	.sfhd-burger { grid-column: 1; grid-row: 1; margin-inline-start: -8px; }
	.sfhd-sbtn { grid-column: 3; grid-row: 1; margin-inline-end: -8px; justify-self: end; }
	.sfhd-name { grid-column: 2; grid-row: 1; }
	.sfhd-logo img { inline-size: 150px; }
	.sfhd-tabs { display: block; position: relative; border-block-start: 1px solid var(--hd-rule); }
	.sfhd-tabs::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 5px; border-block-start: 2px solid var(--hd-ink); border-block-end: 1px solid var(--hd-ink); }
	.sfhd-tabs ul { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 0 8px 5px; }
	.sfhd-tabs ul::-webkit-scrollbar { display: none; }
	.sfhd-tabs a { display: block; padding: 11px 9px; font-size: 16px; white-space: nowrap; }
	.sfhd-tabs [aria-current="page"] { color: var(--hd-navy); font-weight: 700; }
}

/* phone menu: modal dialog + scroll-snap swipe (modern-web-guidance navigation-drawer) */
.sfhd-drawer { --dw: min(21em, 86dvw, 100dvw - 24px); --d: 0;
	inset: 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0; background: transparent; border: 0; overflow: visible; color: var(--hd-ink); font-size: 16px; line-height: 1.5; }
.sfhd-drawer:modal { overscroll-behavior: contain; }
.sfhd-drawer::backdrop { background: #0a1430; opacity: calc(var(--d) * .5); overflow: hidden; overscroll-behavior: contain; }
.sfhd-dscroll { position: relative; display: grid; grid-template-columns: var(--dw) 100%; block-size: 100%; overflow-x: scroll; overscroll-behavior: none; scrollbar-width: none; scroll-snap-type: x mandatory; }
.sfhd-dscroll::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) { .sfhd-dscroll { scroll-behavior: smooth; } }
.sfhd-dscroll::after { content: ""; scroll-snap-align: end; scroll-initial-target: nearest; }
.sfhd-sheet { block-size: 100svh; overflow-y: auto; overscroll-behavior: contain; scroll-snap-align: start; scrollbar-width: thin; background: #fff; padding: 0 20px 32px; }
.sfhd-dtop { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin: 0 -20px; padding: 10px 12px 10px 20px; background: #fff; border-block-end: 1px solid var(--hd-rule); }
.sfhd-dtop img { inline-size: 120px; block-size: auto; }
.sfhd-dsearch { display: flex; gap: 8px; margin-block: 16px 8px; }
.sfhd-dsearch input { flex: 1; min-inline-size: 0; block-size: 44px; padding: 0 12px; border: 1px solid #c4c9d2; border-radius: 6px; font: inherit; }
.sfhd-dsearch button { flex: none; padding: 0 16px; border: 0; border-radius: 6px; background: var(--hd-navy); color: #fff; font: inherit; font-weight: 700; }
.sfhd-dg { padding-block: 14px 6px; border-block-end: 1px solid var(--hd-rule); }
.sfhd-dg h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.4; }
.sfhd-dg h2 a { color: var(--hd-navy); text-decoration: none; }
.sfhd-dg ul { display: grid; grid-template-columns: 1fr 1fr; }
.sfhd-dg li a, .sfhd-dutil a { display: block; padding: 9px 0; color: var(--hd-ink); text-decoration: none; }
.sfhd-dutil { display: grid; grid-template-columns: 1fr 1fr; padding-block-start: 12px; font-size: 15px; }
.sfhd-dutil a { color: var(--hd-text); }
@supports (animation-timeline: scroll()) {
	.sfhd-drawer { timeline-scope: --sfhd-fade; animation: sfhd-fade linear both; animation-timeline: --sfhd-fade; }
	.sfhd-dscroll { scroll-timeline: --sfhd-fade x; }
	@property --d { syntax: '<number>'; inherits: true; initial-value: 0; }
	@keyframes sfhd-fade { 0% { --d: 1 } 100% { --d: 0 } }
}
@media (forced-colors: active) { .sfhd-nav .sfhd-in::after, .sfhd-tabs::after { border-color: CanvasText; } }
@media print { .sfhd-util, .sfhd-nav, .sfhd-tabs, .sfhd-search, .sfhd-icon { display: none !important; } }

/* 2026-11-25 slim pinned bar (.sfhd-mini): 48px, one row, slides in on scroll up */
.sfhd-mini { --hd-navy: #10357e; --hd-ink: #16181d; --hd-rule: #dcdfe5;
	position: fixed; inset: 0 0 auto; z-index: 100002; background: #fff; border-block-end: 1px solid var(--hd-rule); box-shadow: 0 2px 10px rgba(16, 30, 70, .08);
	transform: translateY(-110%); visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s; }
.sfhd-mini.is-on { transform: none; visibility: visible; transition: transform .22s ease, visibility 0s; }
.sfhd-mini .sfhd-in { display: flex; align-items: center; gap: 20px; block-size: 48px; }
.sfhd-mini .sfhd-icon { inline-size: 40px; block-size: 40px; }
.sfhd-mburger { display: none !important; margin-inline-start: -8px; }
.sfhd-mlogo { flex: none; display: block; line-height: 0; }
.sfhd-mlogo img { block-size: 30px; inline-size: auto; }
.sfhd-mnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.sfhd-mnav a { display: block; padding: 12px 10px; font-size: 16px; font-weight: 700; color: var(--hd-navy); text-decoration: none; }
.sfhd-mnav a:hover, .sfhd-mnav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.sfhd-msearch { margin-inline-start: auto; margin-inline-end: -8px; }
.sfhd-mini :focus-visible { outline: 2px solid var(--hd-navy); outline-offset: 2px; }
@media (max-width: 900px) {
	.sfhd-mburger { display: inline-grid !important; }
	.sfhd-mnav { display: none; }
	.sfhd-mlogo { margin-inline: auto; }
	.sfhd-mlogo img { block-size: 28px; }
	.sfhd-msearch { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) { .sfhd-mini, .sfhd-mini.is-on { transition: none; } }
@media print { .sfhd-mini { display: none !important; } }
/* pinned things move below the bar while it is showing (article sidebar 本週熱門) */
html.sfhd-mini-on .sfa-sticky { top: 72px !important; transition: top .22s ease; }
html { scroll-padding-top: 60px; }   /* in-page jumps (分享, #comments) land below the pinned bar */

/* 2026-11-25 iPhone: Safari drew a focus frame on the auto-focused ✕ (and the sheet) when the menu was opened by a tap.
   Opened by tap/click: no frame; opened from the keyboard: the frame stays (keyboard users need it). */
.sfhd-drawer, .sfhd-drawer:focus, .sfhd-drawer:focus-visible, .sfhd-sheet:focus { outline: none; }
.sfhd-drawer.sfhd-by-pointer .sfhd-dclose:focus { outline: none; box-shadow: none; }
.sfhd-icon { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.sfhd-tabs a, .sfhd-mnav a, .sfhd-dg a { touch-action: manipulation; }

/* 2026-11-25 iPhone: the panel was 100svh (screen height with Safari's toolbars shown), so a gap opened at the bottom
   once the toolbars shrank. The dialog now fills the dynamic viewport and the panel fills the dialog. */
.sfhd-drawer:modal { block-size: 100dvh; max-block-size: none; }
.sfhd-dscroll { block-size: 100%; }
.sfhd-sheet { block-size: 100%; min-block-size: 100svh; padding-block-end: max(32px, env(safe-area-inset-bottom)); }
.sfhd-sheet:focus, .sfhd-sheet:focus-visible { outline: none; }

/* 2026-11-25 iPhone: in browsers without scroll-driven animations the backdrop stayed fully clear, so the strip of page
   right of the menu showed at full strength (the navy rule under the section tabs looked like a stray blue border).
   Dim it whenever the menu is open, and give the panel a soft edge so the strip reads as "behind". */
@supports not (animation-timeline: scroll()) {
	.sfhd-drawer[open]::backdrop { opacity: .5; }
}
.sfhd-sheet { box-shadow: 1px 0 0 rgba(10, 20, 48, .08), 6px 0 24px rgba(10, 20, 48, .18); }

