@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@font-face{font-family:SUIT;src:url('https://cdn.jsdelivr.net/gh/sun-typeface/SUIT@2/fonts/variable/woff2/SUIT-Variable.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0020-007E}
:root{font-family:'Pretendard Variable',Pretendard,system-ui,sans-serif;color:#233b38;background:#f8fbfa;font-synthesis:none;color-scheme:light;--green:#256a59;--muted:#5a716b;--line:#d9e5df;--purple:#75698c}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:var(--green);text-underline-offset:4px}button,select{background:#fff;border:1px solid #b8cdc3;border-radius:8px;padding:9px 12px;color:#233b38;cursor:pointer;min-height:42px}button:hover,a.card:hover,a.marker:hover{background:#edf5ef}button:disabled{opacity:.4;cursor:default}:focus-visible{outline:3px solid #bb7f24;outline-offset:3px}header{padding:18px max(20px,4vw);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);max-width:1240px;margin:auto}header h1{font-size:1.45rem;letter-spacing:-.04em;margin:0}.brand{text-decoration:none;color:#233b38}.brand span{color:var(--green)}header>a{font-size:.875rem}main{max-width:1160px;margin:auto;padding:20px 28px 52px}.explorer{border:1px solid #ccded4;border-radius:16px;background:#fff;padding:18px;overflow:hidden;box-shadow:0 8px 40px #326c4c06}.explore-top,.toolbar,.readout,.section-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.explore-top{font-size:.875rem;font-family:SUIT,'Pretendard Variable',sans-serif}.explore-top small{font-size:.75rem;color:var(--muted)}.badge{font-size:.75rem;border:1px solid #c2d8cc;border-radius:30px;padding:4px 9px;color:#416253;background:#f4f8f5}.toolbar{margin:12px 0 4px}.segmented{display:flex;gap:3px}.segmented button{border:0;border-radius:6px;padding:6px 14px;min-height:36px;font-size:.875rem}.segmented [aria-pressed=true]{background:#dfede3;color:#1a614c;font-weight:700}.primary{background:#276c56;color:white;border-color:#276c56}.primary:hover{background:#1b5945}.axis-wrap{position:relative}.track-label{position:absolute;left:0;font-size:.75rem;z-index:5;background:#ffffffeb;padding:3px 6px;pointer-events:none}.track-label.korea{top:0;color:var(--purple)}.track-label.taiwan{bottom:0;color:var(--green);font-weight:700}.viewport{position:relative;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a0b9ac #f0f5f1;touch-action:pan-y pinch-zoom;cursor:grab;overscroll-behavior-x:none}.track{position:relative;height:530px;min-width:100%}.chart-grid{position:absolute;inset:10px 0 42px;background:repeating-linear-gradient(0deg,transparent 0 43px,#eaf0eb 43px 44px),repeating-linear-gradient(90deg,transparent 0 79px,#eaf0eb 79px 80px)}.baseline{position:absolute;top:320px;width:100%;height:1px;background:#84a494}.tick{position:absolute;top:331px;color:#546f63;border-left:1px solid #8da89a;height:16px;padding-left:6px;font-size:.8rem;white-space:nowrap}.candle{position:absolute;bottom:210px;width:5px;height:var(--h);border:1px solid #9cbfb055;opacity:.6;background:#aac6b52b}.candle:before{content:"";position:absolute;left:1px;width:1px;top:-8px;bottom:-8px;background:#9cbfb055}#cursor{position:absolute;top:20px;bottom:24px;background:#aac3b6;width:1px;pointer-events:none}#markers-kr,#markers-tw{position:absolute;inset:0;pointer-events:none}.marker{position:absolute;transform:translateX(-50%);display:block;text-decoration:none;border:1px solid #a1c8b5;background:#eaf5ec;border-radius:7px;padding:6px 9px;min-height:40px;max-width:210px;white-space:nowrap;font-size:.75rem;z-index:2;pointer-events:auto;line-height:1.45}.marker.kr{background:#f1edf8;border-color:#c1b6d6;color:#635581}.marker.culture{background:#fff5db;border-color:#d8bd7d;color:#75612d}.marker.period{border-style:dashed}.marker span{display:block}.marker-title{overflow:hidden;text-overflow:ellipsis}.traveler{position:absolute;top:82px;transform:translateX(-50%);width:120px;display:flex;flex-direction:column;align-items:center;cursor:default;pointer-events:none;user-select:none;z-index:4}.viewport.panning{cursor:grabbing}.bubble{font-family:SUIT,sans-serif;background:#286b53;color:#fff;border-radius:5px;padding:4px 7px;font-size:.75rem;font-weight:650;white-space:nowrap}#character{width:104px;height:130px;object-fit:contain;background:#fff;border:1px solid #deeadf;border-radius:7px;margin-top:5px;pointer-events:none}.character-caption{font-size:.65rem;background:#fff6dc;color:#735b28;padding:2px 5px;white-space:nowrap;border-radius:3px}.handle{font-size:1rem;color:#2c7057;line-height:14px}.traveler[data-era="2010"] .bubble{background:#75698c}.traveler[data-era="2000"] .bubble{background:#906e31}.traveler[data-era="1990"] .bubble{background:#506e88}.readout{margin-top:10px;align-items:center}.readout label{font-size:.8rem;color:var(--muted)}.readout input{max-width:180px;display:block;font-family:SUIT,sans-serif;font-size:1.05rem;font-weight:700;border:0;border-bottom:1px solid #bbd1c2;background:#fff;color:#233b38;padding:4px 0}.actions{display:flex;gap:6px}.actions button{font-size:.8rem;padding:6px 10px;min-height:36px}input[type=range]{width:100%;accent-color:#367957;margin:12px 0 4px;cursor:ew-resize}.hint{font-size:.875rem;color:var(--muted);line-height:1.7}#outfit{font-size:.75rem}p{line-height:1.9;color:#526a61}h2{font-size:1.6rem;letter-spacing:-.04em;line-height:1.4}h3{font-size:1.1rem;margin-top:26px}h4{font-size:1rem}.intro{padding:32px 4px 12px}.eyebrow{font-size:.75rem;letter-spacing:.14em;color:var(--green);font-weight:650}.intro h2{margin:10px 0}.intro p{max-width:750px}.intro details{font-size:.875rem;line-height:1.8;margin:18px 0}summary{cursor:pointer;color:var(--green)}main>section:not(.explorer){margin-bottom:32px}.status{border:1px solid var(--line);padding:16px;border-radius:12px;background:#f0f6f1}.daily-country{padding:8px 0}.daily-country>span{display:block;line-height:1.7;font-size:.875rem}.record-link{display:block;margin:8px 0;padding:12px;border:1px solid #cfddd2;border-radius:7px;font-size:.9rem;text-decoration:none;background:#fff;line-height:1.6}.daily-country .record-link{font-size:.875rem}.comparison{padding:20px;border:1px solid var(--line);border-radius:12px;background:#fff}.comparison h2{margin-top:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.card{display:flex;flex-direction:column;align-items:start;text-align:left;min-height:210px;padding:20px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#233b38;text-decoration:none}.card h3{font-size:1.12rem;margin:12px 0 4px}.card p{font-size:.9rem;margin:0 0 14px}.card time{font-size:.8rem;color:var(--green)}.card.kr time{color:var(--purple)}.card-bottom{margin-top:auto;font-size:.75rem;color:var(--muted)}select{font-size:.875rem;appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23567162' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.editorial{border-top:1px solid var(--line);padding-top:20px}.meta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;font-size:.875rem}.meta-grid span{display:block;color:var(--muted);margin-bottom:8px}footer{border-top:1px solid var(--line);padding:24px;text-align:center;font-size:.8rem;color:var(--muted)}#error{padding:20px;border:1px solid #c17c4a;color:#8c4c20}.article-shell{max-width:760px;padding-top:24px}.article-shell h1{font-size:clamp(1.9rem,5vw,2.8rem);line-height:1.4;letter-spacing:-.04em}.article-shell h2{margin-top:36px;font-size:1.35rem}.article-shell p{font-size:1.05rem;line-height:1.95}.article-shell .metadata{font-size:.875rem;border-top:1px solid var(--line);padding-top:16px}.article-shell .article-label{color:#785a19;background:#fff2d4;border-radius:7px;padding:12px;font-size:.9rem;line-height:1.7}.sources{padding-left:22px;line-height:1.9;overflow-wrap:anywhere}.sources li{margin-bottom:16px}.sources p{font-size:.9rem}.back-link{display:inline-block;padding:10px 0}.visit-entry{display:inline-block;padding:12px 18px;border:1px solid #77a18a;border-radius:8px;text-decoration:none}.article-shell .hint{font-size:.875rem}@media(max-width:760px){header{padding:14px 18px}header h1{font-size:1.35rem}header>a{font-size:.8rem}main{padding:12px 12px 40px}.explorer{padding:12px;border-radius:12px}.toolbar{margin:8px 0 2px}.segmented button{padding:5px 12px}.explore-top{font-size:.8rem}.explore-top small{font-size:.7rem}.cards{grid-template-columns:1fr}.card{min-height:175px}.intro{padding:26px 8px 8px}.intro h2{font-size:1.55rem}.marker{max-width:165px;font-size:.7rem}.comparison{padding:16px}.meta-grid{grid-template-columns:1fr;gap:18px}.article-shell{padding:12px 22px 40px}.article-shell p{font-size:1rem}#outfit{font-size:.72rem}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.marker span:first-child{font-size:.875rem}.marker-title{font-size:.75rem}@media(max-width:760px){.explore-top{font-size:.875rem}}

/* C and the reading point stay outside the horizontally scrolling date track. */
.traveler{left:90%;width:min(120px,20%)}
.traveler #character{width:min(104px,100%)}
.traveler .bubble,.traveler .character-caption{align-self:flex-end}
#cursor{left:90%;z-index:3}
#reading-point{position:absolute;left:90%;top:235px;width:10px;height:10px;background:#286b53;border:2px solid #fff;border-radius:50%;transform:translateX(-50%);pointer-events:none;z-index:5}

/* Mobile homepage v2: the finger, not the body centre, is the date anchor. */
.home .explorer{padding:0;border:0;box-shadow:none;background:#fff;overflow:hidden}
.home .explore-top{padding:10px 16px 0;font-size:.875rem}
.home .toolbar{padding:0 16px;margin:8px 0 0}
.home .axis-wrap{--reading:60%;--finger-y:420px;--c-width:300px;isolation:isolate}
.home .landscape{position:absolute;inset:0 0 auto;height:auto;aspect-ratio:16/9;background:url('/images/taiwan-landscape-v4.jpg') center top/contain no-repeat;pointer-events:none;z-index:-1;opacity:1}
.home .journey-note{display:none;position:absolute;right:18px;top:28px;color:#416e63;font-size:.75rem;letter-spacing:.13em;line-height:1.9;pointer-events:none}
.home .viewport{background:transparent;scrollbar-width:none}
.home .viewport::-webkit-scrollbar{display:none}
.home .track{height:398px}
.home .chart-grid{inset:246px 0 48px;background:linear-gradient(180deg,#edf4ed00,#f0f5ed80)}
.home .baseline{top:420px;height:1px;background:#a3bcae}
.home .tick{top:433px;height:16px;font-size:.8rem;padding-left:6px;color:#355f52}
.home .traveler{top:calc(var(--finger-y) - var(--c-width)*var(--c-aspect,.888722)*var(--finger-y-ratio,.919628));left:calc(var(--reading) - var(--c-width)*var(--finger-x,.696241));width:var(--c-width);height:calc(var(--c-width)*var(--c-aspect,.888722));transform:none;display:block;z-index:4}
.home .traveler #character{width:100%;height:100%;object-fit:contain;margin:0;border:0;background:none;border-radius:0;clip-path:none}
.home #character[hidden]{display:none}
.home .character-missing{position:absolute;left:70px;top:180px;width:150px;background:#eef3e9;padding:18px;border-radius:10px;color:#456955;font-size:.875rem}
.home .character-missing[hidden]{display:none}
.home .bubble{position:absolute;top:calc(var(--c-width)*var(--c-aspect,.888722)*var(--finger-y-ratio,.919628) + 36px);left:calc(var(--c-width)*var(--finger-x,.696241));transform:translateX(-50%);background:#ebf2e7;color:#285f45;border-radius:20px;padding:4px 10px;font-size:.875rem;z-index:6}
.home #cursor{left:var(--reading);top:407px;bottom:auto;height:25px;background:#b38b3e;z-index:5}
.home #reading-point{left:var(--reading);top:414px;width:13px;height:13px;background:#e9b24d;border:3px solid white;box-shadow:0 0 0 1px #ba8b32;z-index:6}
.home .track-label{font-size:.75rem;padding:3px 7px;border-radius:4px;z-index:5;left:12px}
.home .track-label.korea{top:0}
.home .track-label.taiwan{top:457px;bottom:auto}
.home .marker{max-width:156px;font-size:.75rem;padding:5px 9px;min-height:45px;border-radius:8px;z-index:6;white-space:nowrap;box-shadow:0 2px 7px #264b3910}
.home .marker span:first-child{font-size:.75rem}.home .marker-title{font-size:.75rem}
.home .drag-hint{margin:0 16px;font-size:.75rem;line-height:1.6;color:#5d7468}
.home .readout{margin:10px 16px 0}.home .readout input{font-size:1rem}
.home input[type=range]{width:calc(100% - 32px);margin:8px 16px 0}
.home #outfit{padding:0 16px 10px;font-size:.75rem;margin:0}
.home .intro{padding:18px 4px 0;margin-bottom:20px}.home .intro .eyebrow{font-size:.75rem}.home .intro h2{font-size:1.5rem;margin:8px 0}.home .intro p{font-size:1rem;line-height:1.7;margin:8px 0}
.home h2{font-size:1.25rem}.home .status{padding:8px 14px;background:#fff;border-color:#dbe7dd}
.home .daily-country{font-size:.875rem}.home .daily-country p{margin:4px 0;font-size:.75rem}
.home .comparison-disclosure{margin:24px 0;font-size:.875rem}.home .comparison-disclosure>summary{padding:14px;border:1px solid #dbe7dd;border-radius:8px}
.home .editorial details{font-size:.875rem;margin-bottom:22px}
@media(max-width:760px){
 .home header{padding:14px 16px;background:white}.home header h1{font-size:1.25rem}.home main{padding:0 12px 36px}.home .explorer{margin:0 -12px;border-radius:0}.home .explore-top{font-size:.8rem}.home .explore-top small{font-size:.75rem}
 .home .segmented button{font-size:.875rem;padding:5px 16px}.home .primary{font-size:.875rem;min-height:36px;padding:6px 12px}
 .home .toolbar{margin-top:6px}.home .section-top{gap:8px}.home .badge{font-size:.75rem}
 .home .card{min-height:150px;padding:16px}.home .card h3{font-size:1.05rem}
}

.home .tick{font-size:.875rem}.home .track-label{font-size:.875rem}.home .marker-title{font-size:.875rem}.home .marker{line-height:1.4}

/* One continuous gesture surface, including the fixed date badge and point. */
.home .axis-wrap{touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}
.home .axis-wrap.panning{cursor:grabbing}
.home .axis-wrap .traveler,.home .axis-wrap .traveler *,.home #cursor,.home #reading-point,.home .axis-wrap .track-label{pointer-events:none}
.home .axis-wrap::after{content:'';position:absolute;left:0;right:0;top:409px;height:80px;border-top:1px solid #bed3c3;border-bottom:1px solid #bed3c3;background:#dfeee21f;pointer-events:none;z-index:1}
.home .axis-wrap .tick{z-index:2}
.home .landscape{height:200px;aspect-ratio:auto;background-position:right top;background-size:contain}

.timeline-jumps{display:flex;gap:6px}.home #begin{min-height:36px;font-size:.875rem;padding:6px 10px;background:#f3f7ee}
/* Historical dates need room for the full date badge at the new left anchor. */
.home .character-missing{top:60px}

/* Storytelling layer only. Timeline geometry and gesture styles stay unchanged. */
.home .landscape{height:350px;background-size:cover;background-position:center top;mask-image:linear-gradient(#000 0 78%,transparent 100%);-webkit-mask-image:linear-gradient(#000 0 78%,transparent 100%)}
.hero-message{position:absolute;right:12px;top:230px;width:37%;z-index:5;pointer-events:none;transform:rotate(-4deg);color:#244f43}
.hero-message p{margin:0;font-size:clamp(15px,4vw,19px);font-weight:600;line-height:1.6;letter-spacing:-.045em;color:inherit;text-shadow:0 1px 7px #fff,0 1px 3px #fff}
.hero-message strong{font-weight:750}.hero-message>span{display:block;width:70%;height:8px;border-top:3px solid #a9c579;border-radius:50%;margin:7px 0 0 auto;transform:rotate(-6deg)}
.home .intro{padding:12px 4px 0;margin-bottom:18px}.home .intro p{margin:0;font-size:.875rem;line-height:1.6}
.home .selected-stories .status{display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:14px;align-items:start;padding:16px;background:#fff;border-radius:15px;box-shadow:0 4px 18px #365c3f05}
.status-illustration{width:76px;height:100px;object-fit:contain;grid-row:1 / span 2;align-self:center;background:#f7f5eb;border-radius:10px}
.home .daily-country{padding:4px 0;font-size:.8125rem}.home .daily-country>strong{font-size:.8125rem;display:block;margin-bottom:4px}.home .daily-country>span{font-size:.8125rem;line-height:1.55}.home .daily-country .hint{font-size:.75rem;line-height:1.5;margin:4px 0}.home .daily-country .record-link{font-size:.875rem;padding:8px;margin:5px 0;line-height:1.5}
.stories-heading{display:flex;align-items:center;gap:8px}.stories-heading img{object-fit:contain}
.home #records>p{font-size:.8125rem;line-height:1.6}.home #records h3{font-size:.875rem;margin:18px 0 10px;color:#536e5d}
.home #records .cards{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 24px)/3);grid-template-columns:none;gap:12px;overflow-x:auto;padding:2px 0 12px;scroll-snap-type:x proximity;scrollbar-width:thin}
.home #records .card{padding:0 0 12px;min-height:220px;border-radius:13px;overflow:hidden;scroll-snap-align:start;gap:0;background:#fffdf8}
.story-thumbnail{width:100%;height:118px;object-fit:cover;background:#eef2e5;display:block;flex:none}
.home #records .card time{margin:9px 10px 0;font-size:.75rem;font-weight:650}.home #records .card h3{margin:5px 10px 8px;font-size:.875rem;line-height:1.45;color:#294e3e;overflow-wrap:anywhere}
.home #records .card p{display:none}.home #records .card-bottom{padding:0 10px;font-size:.75rem;line-height:1.45}
@media(min-width:761px){.hero-message{right:7%;top:230px;width:29%}.hero-message p{font-size:25px}.home #records .cards{grid-auto-columns:calc((100% - 36px)/4)}.story-thumbnail{height:160px}}
@media(max-width:430px){.home #records .cards{gap:10px;grid-auto-columns:calc((100% - 20px)/3)}.story-thumbnail{height:96px}.home #records .card{min-height:225px}.home #records .card h3{margin-left:8px;margin-right:8px}.home #records .card time{margin-left:8px;margin-right:8px}.home #records .card-bottom{padding:0 8px}}

/* Keep the larger scenery readable and the caption clear of C's face. */
.home .landscape{height:280px;background-size:cover}
.hero-message{top:282px;right:4px;width:33%}
.hero-message p{font-size:clamp(14px,3.9vw,17px)}
@media(min-width:761px){.home .landscape{height:350px;background-size:contain}.hero-message{top:260px;right:5%;width:28%}.hero-message p{font-size:25px}}
