/* 田松 · 没有远方：一页是一个环。炭黑的底子上飘着一点灰，唯一的亮色是余烬的橘；
   数字用模板字（像集装箱和垃圾箱上喷的编号），标题用粗黑的无衬线体。 */
.c-tian-song {
  --bg: #161411; --paper: #1f1c18; --ink: #ece4d3; --ink-2: #c3baa7; --ink-3: #978d7b; --rule: rgba(236, 228, 211, .15);
  --acc: #ef8a4f; --acc-ink: #161411; --ash: #6e665a; --ash-2: #3a352e; --low: #8fb9a8;
  --head: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sten: "Big Shoulders Stencil Display", "Noto Sans SC", sans-serif;
  --bar-bg: rgba(22, 20, 17, .9); --bar-ink: #ece4d3; --chip-bg: rgba(236, 228, 211, .06); --chip-ring: #161411;
  background-color: var(--bg);
  background-image: radial-gradient(1.2px 1.2px at 12% 18%, rgba(236, 228, 211, .10), transparent), radial-gradient(1px 1px at 68% 42%, rgba(236, 228, 211, .08), transparent),
    radial-gradient(1.4px 1.4px at 38% 76%, rgba(236, 228, 211, .07), transparent), radial-gradient(1px 1px at 86% 88%, rgba(236, 228, 211, .09), transparent),
    radial-gradient(1px 1px at 52% 8%, rgba(236, 228, 211, .07), transparent);
  background-size: 230px 230px, 310px 310px, 270px 270px, 190px 190px, 350px 350px;
  font-size: 16px;
}
.c-tian-song .dlg .msg--me .msg__o summary, .c-tian-song .dlg .msg--me .msg__src a { color: inherit; }
.c-tian-song .dlg { --dlg-bg: #1d1a16; --dlg-paper: #26221d; --dlg-ink: #ece4d3; --dlg-ink-2: #c3baa7; --dlg-ink-3: #a1977f; --dlg-rule: rgba(236, 228, 211, .14);
  --dlg-me: #ef8a4f; --dlg-me-ink: #161411; --dlg-acc: #ef8a4f; --dlg-mod: rgba(236, 228, 211, .08); }
.c-tian-song .c3bar { border-bottom-color: rgba(236, 228, 211, .14); }
.c-tian-song .mk { color: var(--acc); letter-spacing: .2em; }
.c-tian-song a { text-decoration-color: rgba(239, 138, 79, .6); text-underline-offset: 3px; }
.c-tian-song .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ts-sten { font-family: var(--sten); font-weight: 800; letter-spacing: .04em; }

/* 目录：一只环。当前这一屏转到正上方，环只往前转，不回零 */
.c-tian-song .c3toc { --rs: 132px; right: 22px; width: var(--rs); height: var(--rs); }
.c-tian-song .c3toc ol.ts-ring-nav { position: relative; display: block; width: var(--rs); height: var(--rs); margin: 0; padding: 0; border-radius: 50%;
  border: 2px solid var(--ash-2); transform: rotate(var(--turn, 0deg)); transition: transform .7s cubic-bezier(.3, .7, .3, 1); }
.ts-ring-nav li { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(calc(var(--i) * 360deg / var(--n))) translateY(calc(var(--rs) / -2)); }
.c-tian-song .c3toc .ts-ring-nav a { position: absolute; left: -20px; top: -20px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%;
  background: radial-gradient(circle, var(--dot, var(--bg)) 0 11px, var(--ring, var(--ash)) 11px 13px, transparent 13.5px); border: 0; color: var(--ink-3); text-decoration: none; place-content: center;
  transform: rotate(calc(-1 * var(--i) * 360deg / var(--n) - var(--turn, 0deg))); transition: transform .7s cubic-bezier(.3, .7, .3, 1), background .3s, border-color .3s; }
.c-tian-song .c3toc a::after { display: none; }
.c-tian-song .c3toc .ts-ring-nav a b { font: 800 11px/1 var(--sten); color: inherit; letter-spacing: 0; }
.c-tian-song .c3toc .ts-ring-nav a span { position: absolute; right: calc(100% + 12px); top: 50%; display: none; max-width: none; transform: translateY(-50%);
  padding: 4px 9px; white-space: nowrap; background: #26221d; border: 1px solid var(--rule); color: var(--ink); font-size: 12.5px; }
.c-tian-song .c3toc .ts-ring-nav a:hover span, .c-tian-song .c3toc .ts-ring-nav a:focus-visible span { display: block; }
.c-tian-song .c3toc .ts-ring-nav a[aria-current="true"] { --dot: var(--acc); --ring: var(--acc); color: var(--acc-ink); }
.c-tian-song .c3toc .ts-ring-nav a:hover { --ring: var(--acc); }
.c-tian-song .c3toc .ts-ring-nav a[data-dumped]::before { content: ""; position: absolute; right: 2px; bottom: 4px; width: 9px; height: 8px; border-radius: 2px 2px 3px 3px; background: #c9bfa9; box-shadow: 0 0 0 2px var(--bg); }
.ts-ring-nav__c { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; text-align: center; pointer-events: none; }
.ts-ring-nav__c b { font: 800 30px/1 var(--sten); color: var(--ink); }
.ts-ring-nav__c span { margin-top: 3px; font: 700 13px/1 var(--sten); color: var(--acc); letter-spacing: .08em; }

/* 版式 */
.c-tian-song .c3hero, .c-tian-song .c3q, .c-tian-song .c3end { display: block; padding: calc(var(--bar) + 40px) clamp(16px, 5vw, 72px) 64px; }
.c-tian-song .c3hero { padding-top: calc(var(--bar) + 28px); }

@media (min-width: 861px) { .c-tian-song .c3hero, .c-tian-song .c3q, .c-tian-song .c3end { padding-right: max(clamp(16px, 5vw, 72px), 176px); } }
@media (min-width: 861px) and (max-width: 1280px) {
  .c-tian-song .c3toc { --rs: 106px; right: 12px; }
  .c-tian-song .c3hero, .c-tian-song .c3q, .c-tian-song .c3end { padding-right: 138px; }
  .ts-ring-nav__c b { font-size: 24px; }
}

/* 首屏 */
.ts-hero { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ts-k { margin: 0; font-size: 13px; letter-spacing: .22em; color: var(--acc); }
.ts-hero h1 { margin: 4px 0 0; font: 900 clamp(76px, 8.6vw, 128px)/.95 var(--head); letter-spacing: .06em; color: var(--ink); }
.ts-en { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin: 10px 0 12px; font-size: 21px; color: var(--ink-2); }
.ts-en .ts-sten { font-size: 27px; color: var(--acc); }
.ts-who { margin: 0 0 4px; font-size: 19px; font-weight: 700; line-height: 1.5; }
.ts-now { margin: 0 0 10px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.ts-key { margin: 0 0 14px; font-size: 14px; line-height: 1.75; }
.ts-key .mk { display: inline; margin-right: 10px; }
.ts-key a { text-decoration: none; color: var(--ink); border-bottom: 1px solid rgba(239, 138, 79, .45); }
.ts-key a:hover { color: var(--acc); }
.ts-rel { margin: 0 0 14px; padding: 4px 0 4px 14px; border-left: 3px solid var(--acc); }
.ts-rel .mk { margin-bottom: 2px; }
.ts-rel p { margin: 0; font-size: 14.5px; line-height: 1.75; }
.ts-loop { margin: 0 0 14px; }
.ts-loop ol { position: relative; margin: 0; padding: 0 0 0 30px; list-style: none; }
.ts-loop ol::before { content: ""; position: absolute; left: 4px; top: 13px; bottom: 13px; width: 18px; border: 2px solid var(--ash); border-right: 0; border-radius: 18px 0 0 18px; }
.ts-loop ol::after { content: ""; position: absolute; left: 18px; top: 8px; border: 6px solid transparent; border-left: 8px solid var(--ash); }
.ts-loop a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; padding: 3px 0; border-bottom: 1px solid rgba(236, 228, 211, .07); text-decoration: none; }
.ts-loop a b { width: 1.5em; font: 800 16px/1 var(--sten); color: var(--ink-3); }
.ts-loop__y { width: 2.3em; font: 800 17px/1 var(--sten); color: var(--acc); letter-spacing: .03em; }
.ts-loop__q { font-size: 15.5px; font-weight: 700; line-height: 1.5; }
.ts-loop small { margin-left: auto; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); text-align: right; }
.ts-loop a:hover .ts-loop__q, .ts-loop a:focus-visible .ts-loop__q { color: var(--acc); }
.ts-loop__back { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); }
.c-tian-song .c3-btn { border-radius: 2px; font-weight: 700; }
.c-tian-song .c3-btn--go { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.c-tian-song .c3-btn--deep { background: transparent; color: var(--ink); border-color: rgba(236, 228, 211, .55); }
.ts-go { margin: 0; }

/* 首屏右边：一颗垃圾山做的地球，外圈转着博客题记 */
.ts-earth { margin: 0; }
.ts-earth__o { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin: 0 auto; }
.ts-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.ts-ring__c { fill: none; stroke: var(--ash-2); stroke-width: 1.5; }
.ts-ring text { fill: #8f8676; font: 500 19px var(--body); letter-spacing: 2px; }
.ts-earth__d { position: absolute; inset: 10%; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 5px var(--ash-2), 0 0 0 6px rgba(236, 228, 211, .12), 0 40px 80px -30px rgba(0, 0, 0, .9); }
.ts-earth__d img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ts-smog { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(96, 90, 82, .95), rgba(96, 90, 82, 0) 64%); opacity: calc(var(--smog, 0) * .13); transition: opacity 1.2s; pointer-events: none; }
.ts-earth figcaption { max-width: 520px; margin: 14px auto 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); text-align: center; }

/* 首屏下面一条：履历、成就、著作、链接 */
.ts-band { max-width: 1280px; margin: 48px auto 0; padding-top: 22px; border-top: 2px solid var(--ash-2); display: grid; grid-template-columns: 1.1fr 1fr 1.1fr .9fr; gap: 28px; }
.ts-facts { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }
.c-tian-song .c3-feats { margin: 0; padding: 0; list-style: none; }
.c-tian-song .c3-feats li { position: relative; padding: 4px 0 4px 18px; font-size: 13.5px; line-height: 1.7; }
.c-tian-song .c3-feats li::before { content: ""; position: absolute; left: 1px; top: .78em; width: 8px; height: 8px; border: 2px solid var(--acc); border-radius: 50%; }
.c-tian-song .c3-books li, .c-tian-song .c3-links li { padding: 5px 0; font-size: 14px; border-bottom: 1px solid rgba(236, 228, 211, .09); }

/* 每一问：环上的一站 */
.ts-st { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-areas: "h art" "b art";
  grid-template-rows: auto 1fr; column-gap: clamp(28px, 4.4vw, 72px); }
.c-tian-song .c3q:nth-of-type(odd) .ts-st { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-areas: "art h" "art b"; }
.ts-st__h { grid-area: h; }
.ts-st__art { grid-area: art; align-self: start; min-width: 0; position: sticky; top: calc(var(--bar) + 24px); }
.ts-st__b { grid-area: b; }
.ts-no { margin: 0 0 4px; font: 800 clamp(64px, 7.4vw, 116px)/.82 var(--sten); color: var(--ash-2); letter-spacing: .02em; }
.ts-no i { margin-left: 6px; font-size: .32em; font-style: normal; color: var(--ash); }
.c-tian-song .c3q__when { gap: 12px; }
.c-tian-song .c3q__when b { font: 800 42px/1 var(--sten); color: var(--acc); letter-spacing: .02em; }
.c-tian-song .c3q__when span { color: var(--ink-2); }
.c-tian-song .c3q__q { margin: 8px 0 18px; font-family: var(--head); font-size: clamp(30px, 3.5vw, 48px); line-height: 1.22; font-weight: 900; }
.c-tian-song .c3q__lede { margin: 0 0 16px; font-size: 16.5px; line-height: 1.9; }
.c-tian-song .c3-quote { margin: 20px 0; padding: 12px 16px; border-left: 3px solid var(--acc); background: rgba(236, 228, 211, .04); }
.c-tian-song .c3-quote blockquote p { font-size: 18px; font-weight: 700; line-height: 1.7; }
.c-tian-song .c3-quote figcaption { color: var(--ink-3); }
.c-tian-song .c3-orig { color: var(--ink-2); }
.c-tian-song .c3-tags li { border-color: rgba(236, 228, 211, .22); border-radius: 2px; color: var(--ink-2); }
.c-tian-song .c3-works small, .c-tian-song .c3-books small, .c-tian-song .c3-links small { color: var(--ink-3); }
.c-tian-song .talk { border-radius: 4px; border-color: rgba(236, 228, 211, .2); }
.c-tian-song .talk:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .5); }
.c-tian-song .c3-deeplink { color: var(--acc); }
.c-tian-song .c3-ask { border-color: rgba(236, 228, 211, .25); }

/* 图 */
.ts-fig { margin: 0; }
.ts-fig img { display: block; width: 100%; height: auto; }
.ts-fig figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }
.ts-fig--print img { box-shadow: 0 0 0 1px rgba(236, 228, 211, .1), 0 26px 50px -24px rgba(0, 0, 0, .9); }
.ts-fig--tall img, .ts-fig--glow img { width: auto; max-width: 100%; max-height: 72vh; margin: 0 auto; }
.ts-fig--glow figcaption, .ts-fig--tall figcaption { max-width: 460px; margin-left: auto; margin-right: auto; }

/* 纳西：人与署 */
.ts-shu { position: relative; max-width: 420px; margin: 22px auto 0; aspect-ratio: 420 / 150; }
.ts-shu svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ts-shu__a { fill: none; stroke: var(--acc); stroke-width: 2; stroke-dasharray: 6 6; }
.ts-shu__n { position: absolute; top: 50%; margin: 0; transform: translate(-50%, -50%); font: 900 40px/1 var(--head); text-align: center; }
.ts-shu__n--h { left: 18%; }
.ts-shu__n--s { left: 82%; }
.ts-shu__n small { display: block; margin-top: 4px; font: 400 12px/1.2 var(--body); color: var(--ink-3); white-space: nowrap; }
.ts-shu__t, .ts-shu__b { position: absolute; left: 50%; margin: 0; transform: translateX(-50%); white-space: nowrap; font-size: 14px; }
.ts-shu__t { top: -4px; font-weight: 700; }
.ts-shu__b { bottom: -6px; color: var(--acc); }

/* 牛奶：题目本身 */
.ts-milk { margin: 0 0 18px; font: 900 clamp(26px, 3.1vw, 42px)/1.18 var(--head); }
.ts-milk span { display: block; }
.ts-milk em { font-style: normal; color: var(--acc); }

/* 好的归科学，坏的归魔鬼 */
.ts-ledger { max-width: 460px; margin: 0 auto 20px; padding: 8px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.ts-ledger p { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 4px 0; font: 900 clamp(22px, 2.4vw, 30px)/1.3 var(--head); }
.ts-ledger p + p { border-top: 1px dashed rgba(236, 228, 211, .3); }
.ts-ledger b { color: var(--acc); }

/* 跳高：十二帧重新跳起来 */
.ts-zoe__view { width: min(100%, 230px); aspect-ratio: 200 / 372; margin: 0 auto 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(236, 228, 211, .12), 0 24px 46px -24px rgba(0, 0, 0, .9); }
.ts-zoe__view img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 0% 0; animation: ts-zoe 1.56s infinite; }
.ts-zoe__strip { position: relative; }
.ts-zoe__strip img { display: block; width: 100%; height: auto; opacity: .55; }
.ts-zoe__hl { position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% / 12); box-shadow: 0 0 0 2px var(--acc) inset; animation: ts-zoe-hl 1.56s infinite; }
.ts-zoe.is-paused .ts-zoe__view img, .ts-zoe.is-paused .ts-zoe__hl { animation-play-state: paused; }
.ts-zoe__ctl { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }
.ts-zoe__ctl button { flex: none; min-width: 64px; min-height: 40px; border: 1.5px solid var(--ink-2); border-radius: 2px; background: transparent; color: var(--ink); font: 700 14px var(--body); cursor: pointer; }
@keyframes ts-zoe {
  0% { object-position: 0.0000% 0; } 8.333% { object-position: 9.0909% 0; } 16.667% { object-position: 18.1818% 0; } 25% { object-position: 27.2727% 0; } 33.333% { object-position: 36.3636% 0; } 41.667% { object-position: 45.4545% 0; } 50% { object-position: 54.5455% 0; } 58.333% { object-position: 63.6364% 0; } 66.667% { object-position: 72.7273% 0; } 75% { object-position: 81.8182% 0; } 83.333% { object-position: 90.9091% 0; } 91.667%, 100% { object-position: 100% 0; }
}
@keyframes ts-zoe-hl {
  0% { left: 0; } 8.333% { left: 8.3333%; } 16.667% { left: 16.6667%; } 25% { left: 25%; } 33.333% { left: 33.3333%; } 41.667% { left: 41.6667%; }
  50% { left: 50%; } 58.333% { left: 58.3333%; } 66.667% { left: 66.6667%; } 75% { left: 75%; } 83.333% { left: 83.3333%; } 91.667%, 100% { left: 91.6667%; }
}
.ts-zoe__view img, .ts-zoe__hl { animation-timing-function: step-end; }

/* 有限地球：扔到别处 */
.ts-cap { margin: 0 0 10px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.ts-fin__stage svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--body); }
.ts-fin__air { fill: none; stroke: #8a8378; stroke-width: 30; opacity: calc(var(--smog, 0) * .09); transition: opacity 1s; }
.ts-fin__ring { fill: none; stroke: #4a443b; stroke-width: 16; }
.ts-fin__in { fill: none; color: var(--low); stroke: currentColor; stroke-width: 3; }
.ts-fin__out { fill: none; color: var(--acc); stroke: currentColor; stroke-width: 3; }
.ts-fin__back { fill: none; stroke: var(--acc); stroke-width: 2; stroke-dasharray: 3 9; opacity: .55; animation: ts-flow 2.4s linear infinite; }
@keyframes ts-flow { to { stroke-dashoffset: -48; } }
.ts-fin__lab { fill: var(--ink); font-size: 15px; font-weight: 700; }
.ts-fin__lab--in { fill: var(--low); }
.ts-fin__lab--out { fill: var(--acc); }
.ts-fin__lab2 { fill: var(--ink-3); font-size: 13px; }
.ts-city rect { fill: #24201b; stroke: #a59c8a; stroke-width: 1.2; }
.ts-city .ts-city__w { fill: var(--acc); stroke: none; opacity: .85; }
.ts-pend line { stroke: var(--ink); stroke-width: 1.6; }
.ts-tower { fill: #1b1814; stroke: #a59c8a; stroke-width: 1.2; }
.ts-tower__f { fill: none; stroke: #a59c8a; stroke-width: 1.2; }
.ts-fin__core { fill: #6e665a; font-size: 26px; font-weight: 900; letter-spacing: 6px; }
.ts-pend circle { fill: var(--acc); }
.ts-pend__arm { transform-box: view-box; transform-origin: 300px 48px; animation: ts-swing 46s cubic-bezier(.4, 0, .6, 1) forwards; }
@keyframes ts-swing {
  0% { transform: rotate(26deg); } 4% { transform: rotate(-24deg); } 8% { transform: rotate(22deg); } 12% { transform: rotate(-20deg); } 16% { transform: rotate(18deg); }
  20% { transform: rotate(-16.5deg); } 24% { transform: rotate(15deg); } 28% { transform: rotate(-13.5deg); } 32% { transform: rotate(12deg); } 36% { transform: rotate(-10.8deg); }
  40% { transform: rotate(9.6deg); } 44% { transform: rotate(-8.4deg); } 48% { transform: rotate(7.3deg); } 52% { transform: rotate(-6.3deg); } 56% { transform: rotate(5.4deg); }
  60% { transform: rotate(-4.6deg); } 64% { transform: rotate(3.8deg); } 68% { transform: rotate(-3.1deg); } 72% { transform: rotate(2.5deg); } 76% { transform: rotate(-2deg); }
  80% { transform: rotate(1.5deg); } 84% { transform: rotate(-1.1deg); } 88% { transform: rotate(.8deg); } 92% { transform: rotate(-.5deg); } 96% { transform: rotate(.2deg); } 100% { transform: rotate(0deg); }
}
.ts-pend__n { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.ts-bag path, .ts-heap path { fill: #c9bfa9; stroke: #161411; stroke-width: 1.2; }
.ts-bag .ts-bag__tie, .ts-heap .ts-bag__tie { fill: none; stroke: #c9bfa9; stroke-width: 1.6; }
.ts-heap .ts-res { fill: #8f8676; stroke: none; }
.ts-puff { fill: #8a8378; opacity: 0; }
.ts-fin__ctl, .ts-u__tg { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.ts-fin__ctl button, .ts-u__tg button { min-height: 42px; padding: 7px 15px; border: 1.5px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink);
  font: 700 15px/1.2 var(--body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ts-fin__ctl button:hover, .ts-u__tg button:hover { border-color: var(--acc); color: var(--acc); }
.ts-fin__ctl button:disabled { opacity: .5; cursor: default; }
.ts-fin__ctl .ts-fin__reset { margin-left: auto; border-style: dashed; color: var(--ink-2); border-color: var(--ash); }
.ts-u__tg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.ts-u__tg button[aria-pressed="true"]:hover { color: var(--bg); }
.ts-out { min-height: 3.6em; margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid var(--acc); background: rgba(236, 228, 211, .045); font-size: 14.5px; line-height: 1.8; }
.ts-out a { color: var(--acc); }
.ts-count { margin: 8px 0 0; font-size: 13px; color: var(--ink-3); }

/* U 形曲线 */
.ts-u svg { display: block; width: 100%; height: auto; font-family: var(--body); touch-action: pan-y; cursor: ew-resize; }
.ts-u__ax path { fill: none; stroke: var(--ink-3); stroke-width: 1.5; }
.ts-u__yl, .ts-u__xl { fill: var(--ink-2); font-size: 13.5px; }
.ts-u__d { fill: none; stroke: #8f8676; stroke-width: 2.5; stroke-dasharray: 9 7; transition: opacity .3s; }
.ts-u__u { fill: none; stroke: var(--acc); stroke-width: 4; stroke-linecap: round; transition: opacity .3s; }
.ts-u__dl { fill: #a59c8a; font-size: 13.5px; transition: opacity .3s; }
.ts-u__ul { fill: var(--acc); font-size: 13.5px; font-weight: 700; transition: opacity .3s; }
.ts-u__pd { fill: #a59c8a; transition: opacity .3s; }
.ts-u__pu { fill: var(--acc); stroke: var(--bg); stroke-width: 3; transition: opacity .3s; }
.ts-u__v { stroke: rgba(236, 228, 211, .25); stroke-dasharray: 3 4; }
.ts-u.no-d .ts-u__d, .ts-u.no-d .ts-u__dl, .ts-u.no-d .ts-u__pd, .ts-u.no-u .ts-u__u, .ts-u.no-u .ts-u__ul, .ts-u.no-u .ts-u__pu { opacity: 0; }
.ts-u__r { display: block; margin: 2px 0 0 10.7%; width: 85%; }
.ts-u__r input { width: 100%; min-height: 40px; accent-color: var(--acc); }
.ts-note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }

/* 扔到别处：落在下游各屏的垃圾 */
.ts-dump { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.ts-dump[hidden] { display: none; }
.ts-dump__i { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 6px; border: 1px dashed rgba(236, 228, 211, .32); border-radius: 3px;
  background: rgba(0, 0, 0, .3); font-size: 12.5px; color: var(--ink-2); animation: ts-land .7s cubic-bezier(.3, 1.4, .5, 1) both; }
.ts-dump__i svg { width: 18px; height: 20px; flex: none; }
.ts-dump__i svg path { fill: #c9bfa9; stroke: #161411; stroke-width: 1.2; }
.ts-dump__i a { color: var(--acc); }
@keyframes ts-land { from { opacity: 0; transform: translateY(-40px) rotate(-14deg); } to { opacity: 1; transform: none; } }
.ts-earth__d .ts-dump { position: absolute; left: 50%; bottom: 30%; max-width: 70%; margin: 0; justify-content: center; transform: translateX(-50%); gap: 2px; }
.ts-earth__d .ts-dump__i { padding: 0; border: 0; background: none; }
.ts-end .ts-dump { margin: 22px 0 0; }
.ts-haze { position: fixed; left: 0; right: 0; top: 0; z-index: 650; height: 45vh; pointer-events: none; background: linear-gradient(rgba(120, 112, 100, .55), rgba(120, 112, 100, 0));
  opacity: calc(var(--smog, 0) * .05); transition: opacity 1.2s; }

/* 结尾 */
.ts-end { max-width: 1120px; margin: 0 auto; }
.c-tian-song .c3end h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; }
.c-tian-song .c3-lin li { border-color: rgba(236, 228, 211, .13); border-radius: 2px; background: rgba(236, 228, 211, .035); }
.c-tian-song .c3-lin li p { color: var(--ink-2); }
.ts-coda { margin: 44px 0 26px; padding: 30px 0; border-top: 2px solid var(--ash-2); border-bottom: 2px solid var(--ash-2); text-align: center; }
.ts-coda__q { margin: 0; font: 900 clamp(22px, 3vw, 36px)/1.45 var(--head); }
.ts-coda__q small { display: block; margin-top: 6px; font: 400 13px var(--body); color: var(--ink-3); }
.ts-coda__go { margin: 18px 0 0; }
.ts-coda__go a { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 18px; border: 1.5px solid var(--acc); color: var(--acc); font-weight: 700; text-decoration: none; }
.ts-coda__go a::after { content: "↻"; font-size: 1.2em; }
.c-tian-song .c3-credits, .c-tian-song .c3-fine { color: var(--ink-3); }
.ts-again { display: block; }
.ts-again[hidden] { display: none; }
@media print { .ts-again, .ts-haze, .ts-dump { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  .ts-zoe__view img { animation: none; object-position: 54.5454% 0; }
  .ts-zoe__hl { animation: none; left: 50%; }
  .ts-pend__arm, .ts-fin__back { animation: none; }
}

/* 平板 */
@media (max-width: 1180px) {
  .ts-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 手机：先读问题，再看图 */
@media (max-width: 900px) {
  .c-tian-song .c3hero, .c-tian-song .c3q, .c-tian-song .c3end { padding: calc(var(--bar) + 22px) 16px 64px; }
  .ts-hero { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ts-earth__o { width: min(100%, 360px); }
  .ts-band { grid-template-columns: minmax(0, 1fr); margin-top: 34px; }
  .ts-st, .c-tian-song .c3q:nth-of-type(odd) .ts-st { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "art" "b"; }
  .ts-st__art { position: static; margin: 6px 0 22px; }
  .ts-fig--tall img, .ts-fig--glow img { max-height: 52vh; }
  .ts-zoe__view { width: 150px; }
  .ts-no { font-size: 64px; }
}
@media (max-width: 480px) {
  .ts-hero h1 { font-size: 78px; }
  .ts-loop small { margin-left: 0; text-align: left; flex-basis: 100%; padding-left: calc(1.5em + 2.3em + 20px); }
  .ts-fin__lab { font-size: 17px; }
  .ts-fin__lab2 { font-size: 15px; }
  .ts-u__yl, .ts-u__xl, .ts-u__dl, .ts-u__ul { font-size: 16px; }
  .ts-shu__n { font-size: 34px; }
}
.ts-fin__stage .ts-res { fill: #8f8676; stroke: none; }
@media (max-width: 480px) {
  .ts-fin__stage .ts-fin__lab { font-size: 22px; }
  .ts-fin__stage .ts-fin__lab2 { font-size: 19px; }
  .ts-u .ts-u__yl, .ts-u .ts-u__xl, .ts-u .ts-u__dl, .ts-u .ts-u__ul { font-size: 20px; }
}
