:root{color-scheme:light dark;
--fg:#1a1a1c;--fg-2:#45454a;--muted:#6b6b72;--bg:#fbfbf9;--card:#fff;--line:#e4e4e0;--accent:#a6720a;--accent-ink:#7a5200;--warn:#b42318;
--sans:"PingFang TC","Noto Sans TC","Microsoft JhengHei","Heiti TC",system-ui,-apple-system,"Segoe UI",sans-serif;
--measure:34em;--wide:46rem;--gutter:clamp(1rem,4vw,1.5rem)}
@media (prefers-color-scheme:dark){:root{--fg:#ececee;--fg-2:#c4c4ca;--muted:#9a9aa2;--bg:#141416;--card:#1c1c1f;--line:#2e2e33;--accent:#e2b24a;--accent-ink:#f0c870;--warn:#ff7a6b}}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--sans);font-size:clamp(17px,.94rem + .25vw,18.5px);line-height:1.85;
font-kerning:normal;line-break:strict;text-spacing-trim:normal;text-autospace:normal;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration-thickness:.06em;text-decoration-color:var(--accent);text-underline-offset:.25em}
a:hover{color:var(--accent-ink)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:2px}
.wrap{max-width:var(--wide);margin:0 auto;padding-inline:var(--gutter)}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

header.site{border-bottom:1px solid var(--line);background:var(--bg)}
header.site .wrap{display:flex;gap:1.25rem;align-items:baseline;flex-wrap:wrap;padding-block:.9rem}
header.site .name{font-weight:800;font-size:1.15rem;letter-spacing:.08em;text-decoration:none;margin-right:auto}
header.site nav{display:flex;gap:1rem;font-size:.9rem}header.site nav a{color:var(--muted);text-decoration:none}header.site nav a:hover{color:var(--fg)}
main{padding-block:clamp(1.5rem,4vw,2.75rem) 4rem}

/* article */
article{max-width:var(--measure);margin:0 auto}
.headline{font-size:clamp(1.55rem,1.15rem + 1.9vw,2.3rem);line-height:1.32;font-weight:800;letter-spacing:.01em;margin:0 0 .55em;text-wrap:pretty}
.dek{font-size:1.1em;line-height:1.7;color:var(--fg-2);margin:0 0 1.1em;text-wrap:pretty}
.meta{color:var(--muted);font-size:.84rem;line-height:1.6;letter-spacing:.02em;display:flex;flex-wrap:wrap;gap:.25rem .9rem;margin:0 0 1.75rem}
.prose{letter-spacing:.02em}
.prose p{margin:0 0 1.15em;text-wrap:pretty;hanging-punctuation:allow-end}
.prose h2{font-size:1.28em;line-height:1.45;font-weight:750;letter-spacing:.01em;margin:2.1em 0 .65em;text-wrap:pretty}
.prose h3{font-size:1.08em;line-height:1.5;margin:1.7em 0 .5em}
.prose ul,.prose ol{padding-left:1.4em;margin:0 0 1.15em}.prose li{margin:.3em 0}
.prose blockquote{margin:1.4em 0;padding:.1em 0 .1em 1em;border-left:3px solid var(--accent);color:var(--fg-2)}
.prose code{font-size:.9em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:0}
.prose strong{font-weight:700}
.tags{display:flex;flex-wrap:wrap;gap:.4rem;margin:2rem 0 0;padding:0;list-style:none;font-size:.85rem}
.tags a{display:inline-block;padding:.15em .7em;border:1px solid var(--line);border-radius:99px;text-decoration:none;color:var(--fg-2)}
.sources{margin:2.5rem 0 0;padding:1.1rem 1.25rem;border:1px solid var(--line);border-radius:.6rem;background:var(--card);font-size:.88rem;line-height:1.7}
.sources h2{font-size:.82rem;letter-spacing:.12em;color:var(--muted);margin:0 0 .5rem;font-weight:700}
.sources ul{margin:0;padding-left:1.1em}.sources li{margin:.2em 0;overflow-wrap:anywhere}
.disclosure{margin:.9rem 0 0;color:var(--muted);font-size:.8rem;line-height:1.6}
.notice,.corrections{padding:.75rem 1rem;margin:0 0 1.5rem;border-radius:.5rem;font-size:.92rem;line-height:1.7}
.notice{border-left:3px solid var(--warn);background:color-mix(in srgb,var(--warn) 8%,transparent)}
.corrections{border-left:3px solid var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent)}
.corrections ul{margin:.3rem 0 0;padding-left:1.1em}

/* video */
figure.video{margin:0 0 2rem}
figure.video video{display:block;width:100%;height:auto;background:#000;border-radius:.6rem}
figure.video--portrait video{max-height:78vh;width:auto;max-width:100%;margin:0 auto}
@media (max-width:640px){figure.video:not(.video--portrait){margin-inline:calc(var(--gutter) * -1)}figure.video:not(.video--portrait) video{border-radius:0}}

/* lists */
.section-title{font-size:.82rem;letter-spacing:.14em;color:var(--muted);font-weight:700;margin:0 0 .75rem}
.lead{display:grid;gap:1rem;margin:0 0 2.5rem;text-decoration:none;color:inherit}
.lead img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:.6rem;background:var(--line)}
.lead h2{font-size:clamp(1.35rem,1.05rem + 1.3vw,1.85rem);line-height:1.35;font-weight:800;margin:0;text-wrap:pretty}
.lead p{margin:0;color:var(--fg-2);text-wrap:pretty}
@media (min-width:760px){.lead{grid-template-columns:1.25fr 1fr;align-items:center;gap:1.75rem}}
ol.list{list-style:none;padding:0;margin:0}
ol.list li{padding:1.15rem 0;border-top:1px solid var(--line)}
ol.list a.title{font-weight:700;font-size:1.08em;line-height:1.5;text-decoration:none;text-wrap:pretty}
ol.list a.title:hover{color:var(--accent-ink)}
ol.list p{margin:.35rem 0 .3rem;color:var(--fg-2);font-size:.94em;line-height:1.7;text-wrap:pretty}
ol.list .meta{margin:0}
.has-video::after{content:"▶";font-size:.7em;margin-left:.45em;color:var(--accent);vertical-align:.12em}
.pager{display:flex;justify-content:space-between;margin-top:2rem;font-size:.92rem}
h1.page{font-size:1.5rem;line-height:1.35;margin:0 0 1.25rem}
input[type=search]{width:100%;font:inherit;padding:.7rem .9rem;border:1px solid var(--line);border-radius:.5rem;background:var(--card);color:var(--fg)}
footer.site{border-top:1px solid var(--line);color:var(--muted);font-size:.82rem;padding-block:2rem}
