.td-outcome {container-type:inline-size;--td-line:color-mix(in srgb,currentColor 43%,transparent);--td-accent:var(--accent)}
.td-outcome > p {max-width:70ch}
.td-route {
  --step-gap:clamp(1.25rem,5cqi,5rem);
  list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--step-gap);
  width:100%;padding:clamp(.75rem,1.5cqi,1.4rem);box-sizing:border-box;
  background:var(--td-lilac);border-radius:.6rem;margin:1.6rem 0 2.65rem
}
.td-route li {position:relative;min-width:0}
.td-route li:not(:last-child)::after {
  content:"→";position:absolute;left:100%;width:var(--step-gap);top:50%;transform:translateY(-50%);
  text-align:center;line-height:1;font-size:1.15rem;color:var(--td-violet)
}
.td-route a {
  position:relative;display:flex;height:100%;min-height:clamp(8.5rem,11cqi,10.5rem);flex-direction:column;align-items:center;
  justify-content:center;gap:.55rem;box-sizing:border-box;padding:1.15rem .65rem;
  border:1px solid color-mix(in srgb,var(--td-marker) 44%,var(--td-panel));border-radius:.3rem;
  background:var(--td-panel);color:var(--ink);text-align:center;
  font-size:clamp(.95rem,1.5cqi,1.2rem);line-height:1.24;font-weight:570
}
.td-route a b {position:absolute;top:.34rem;left:.48rem;font-size:.72rem;letter-spacing:.04em;color:var(--td-violet)}
.td-outcome .td-route img {width:clamp(2rem,4.3cqi,3.75rem);height:clamp(2rem,4.3cqi,3.75rem);object-fit:contain}
.td-route a:hover,.td-route a:focus-visible {border-color:var(--td-violet)}
:root[data-theme="dark"] .td-route img {filter:brightness(0) invert(.91)}
.td-flow {position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);grid-template-areas:"one phone two" "help phone three" ". card card";gap:clamp(2.8rem,4.4vw,5rem) clamp(1.6rem,4.2vw,5rem);align-items:start}
.td-flow > * {min-width:0}
.td-links {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;color:var(--td-line);overflow:visible}
.td-links g path {fill:none;stroke:currentColor;stroke-width:1.25;marker-end:url(#td-arr);vector-effect:non-scaling-stroke}
.td-stop-1 {grid-area:one}.td-stop-2 {grid-area:two}.td-stop-3 {grid-area:three}
.td-stop > small {font-size:.88rem;font-weight:620;line-height:1.4;display:block;margin:0 0 .45rem}
.td-outcome .td-stop h3 {font-size:clamp(1.27rem,1.85vw,2rem);margin:0}
.td-outcome .td-stop h4 {margin:1rem 0 .45rem}
.td-stop > p,.td-help p,.td-keepsake p,.td-diary > p,.td-build p {line-height:1.55;text-wrap:pretty}
.td-stop p + p {color:var(--muted);font-size:.93em}
.td-press {position:relative;display:grid;align-items:center;justify-items:center;margin-block:.6rem .3rem;height:clamp(135px,16vw,255px);isolation:isolate}
.td-press-film {width:100%;max-width:calc(clamp(135px,16vw,255px) * var(--ratio));aspect-ratio:var(--ratio);background-image:var(--sprite);background-size:1200% 100%;background-position:0% 0;background-repeat:no-repeat;animation:td-press-cycle 3.4s steps(11,end) infinite;animation-play-state:paused}
.td-press.is-visible .td-press-film {animation-play-state:running}
.td-press-3 {--wall-colour:inherit}
.td-press-3::after{content:"";position:absolute;left:27%;top:40%;width:16%;height:16%;background:radial-gradient(ellipse,var(--wall-colour,transparent),transparent 70%);pointer-events:none}
@keyframes td-press-cycle {0%,13%{background-position:0% 0}44%,58%{background-position:100% 0}89%,100%{background-position:0% 0}}
.td-diary {grid-area:phone;align-self:center;scroll-margin:1.25rem}
.td-outcome .td-diary h3 {margin:0 0 .5rem}
.td-diary > p {margin:0 auto 1.1rem;text-align:center}
.td-help {grid-area:help;align-self:start}
.td-outcome .td-help h4 {margin-bottom:.55rem}
.td-colours {display:flex;gap:.4rem .7rem;flex-wrap:wrap;margin:1.1rem 0}
.td-colours>div {display:grid;gap:.38rem;justify-items:start;font-size:.81rem;line-height:1.3}
.td-colours i {display:block;width:1.25rem;height:1.25rem;background:var(--emotion);border-radius:50%;border:1px solid #5f586d28}
.td-guide {
  margin:.65rem 0 1rem;padding:.8rem 1rem;border:1px solid var(--td-marker);
  border-radius:.65rem;background:var(--td-lilac);color:var(--ink);line-height:1.42
}
.td-guide-leader {fill:none;stroke:var(--td-marker);stroke-width:1;vector-effect:non-scaling-stroke}
.td-guide-label {display:flex;align-items:center;gap:.42em;font-size:.82rem;font-weight:700;color:var(--td-violet);margin-bottom:.27rem}
.td-guide-label::before {content:"";width:.46rem;height:.46rem;border-radius:50%;background:currentColor}
#td-tip {font-size:.96rem;line-height:1.43;color:var(--ink)}

#airport-touch-demo .td-switches {display:flex;justify-content:center;gap:.4rem;flex-wrap:wrap;margin:1rem 0;line-height:1.2;color:var(--ink)}
#airport-touch-demo .td-switches button {min-height:42px;min-width:0;line-height:1.2;padding:.55rem .75rem;letter-spacing:0;font-size:.89rem;font-weight:580;color:var(--paper);background:var(--ink);border:1px solid transparent;border-radius:0}
#airport-touch-demo .td-switches button:disabled {color:var(--muted);background:transparent;border-color:var(--line);opacity:.65;cursor:default}
#airport-touch-demo .td-switches button:focus-visible,.ap-phone button:focus-visible {outline:2px solid currentColor;outline-offset:3px}
.td-keepsake {grid-area:card;display:flex;gap:clamp(1rem,3vw,3.5rem);align-items:center;margin-inline:auto;width:100%;max-width:42rem}
.td-outcome img.td-result {display:block;width:clamp(80px,10vw,170px);border-radius:12%;height:auto;box-shadow:0 9px 18px -12px #14121c88}
.td-keepsake>div {max-width:28rem}
.td-build {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.75rem,5vw,5rem);align-items:center;margin-top:clamp(3rem,6vw,6rem);padding-top:clamp(2rem,3.5vw,4rem)}
@container(max-width:54rem){
 .td-flow {grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"one two" "help phone" "three phone" "card card";gap:2.5rem clamp(1.5rem,4vw,3rem)}
 .td-diary{align-self:start}.td-press{height:clamp(160px,26vw,240px)}
 .td-press-film{max-width:calc(clamp(160px,26vw,240px) * var(--ratio))}
 .td-build {grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
}
@container(max-width:36rem){
 .td-route {--step-gap:clamp(.7rem,3.5cqi,1.2rem);margin-bottom:1.8rem;padding:.42rem}
 .td-route a {justify-content:flex-start;min-height:7rem;padding:1.35rem .125rem .65rem;font-size:clamp(.78rem,3.4cqi,.95rem);letter-spacing:-.015em}
 .td-route a b {left:.32rem;top:.26rem}
 .td-route li:not(:last-child)::after{font-size:.8rem}
 .td-flow {display:flex;flex-flow:column;gap:2rem}
 .td-flow > :not(.td-links) {width:100%}
 .td-stop-1{order:1}.td-stop-2{order:2}.td-diary{order:3}.td-help{order:4}.td-stop-3{order:5}.td-keepsake{order:6}
 .td-stop,.td-diary,.td-help,.td-keepsake{position:relative}
 .td-stop-2::before,.td-diary::before,.td-stop-3::before,.td-keepsake::before{content:"↓";display:block;margin:0 0 .5rem;color:var(--td-accent);font-size:1.6rem;line-height:1}
 .td-keepsake::before{position:absolute;top:-1.5rem;left:0}
 .td-links{display:none}
 .td-outcome .td-stop h3 {font-size:1.4rem}
 .td-press {height:clamp(180px,54vw,270px)}
 .td-press-film {max-width:calc(clamp(180px,54vw,270px) * var(--ratio))}
 .td-help {margin-top:-.5rem}
 .td-build {grid-template-columns:1fr}
 #airport-touch-demo .ap-device {min-width:min(100%,220px)}
 .td-keepsake{margin-top:.5rem}
}
.td-standalone main{max-width:640px;margin:auto;padding:1.5rem}
.td-standalone [lang="zh-CN"]{display:none}
@media(prefers-reduced-motion:reduce){.td-press-film{animation:none}}
@container(max-width:36rem){
 #airport-touch-demo {display:flex;flex-direction:column}
 #airport-touch-demo .td-switches {order:1;justify-content:start;margin:0 0 .6rem}
 #airport-touch-demo .ap-stage {order:2}
}


.td-press {height:auto;width:100%;margin-inline:auto}
.td-press-film {width:100%;max-width:none}
.td-press-2 {width:84%}
.td-stop > small {display:inline-block;background:var(--td-butter);color:var(--ink);padding:.14em .52em;font-weight:650}
.td-stop > h4,.td-em-purple {color:var(--td-violet)}
.td-em-ink {color:var(--ink)}
.td-em-warm {background:var(--td-butter);color:var(--ink);box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:.02em .13em}
.td-build {grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr)}
.td-exploded {position:relative;display:grid;align-items:stretch;grid-template-columns:57% 26%;justify-content:space-between;aspect-ratio:1.13;min-height:20rem}
.td-stack {width:100%;height:100%;overflow:visible}
.td-leaders {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;color:var(--td-violet)}
.td-leaders polyline {stroke:currentColor;fill:none;stroke-width:1;vector-effect:non-scaling-stroke}
.td-leaders circle {fill:currentColor}
.td-exploded ol {display:grid;grid-template-rows:1.35fr .92fr .75fr 1fr 1fr .92fr 1.2fr;align-items:center;list-style:none;margin:0;padding:3% 0 2%}
.td-exploded li {font-size:clamp(.87rem,1.1vw,1.13rem);line-height:1.24;font-weight:640;color:var(--ink)}
.td-exploded small {display:block;font-size:.84em;line-height:1.2;font-weight:450;color:var(--muted);margin-top:.24em}
@container(max-width:56rem){.td-build{grid-template-columns:minmax(0,1fr)}.td-exploded{width:min(100%,47rem);justify-self:center}}
@container(max-width:36rem){.td-press-2{width:82%;max-width:27rem}.td-exploded{grid-template-columns:54% 34%;min-height:23rem}.td-exploded li{font-size:.84rem}}
.td-exploded {grid-template-rows:minmax(0,1fr)}
.td-exploded .td-stack {min-width:0;min-height:0}
