/* q.docx review: section navigation, sign-in alignment and seamless footer. */
.ts-home #ear-movie,.ts-home #china-to-see,.ts-home #china-chic-gift{scroll-margin-top:calc(var(--ts-page-header-offset,106px) + clamp(32px,6vw,110px))}

/* The title must wrap inside the same centered column as the form. */
.ts-auth-screen{width:100%;margin-inline:0;grid-template-columns:minmax(0,1fr);align-items:center}
.ts-auth-screen .ts-auth-visual{position:absolute;inset:0 0 0 auto;width:32%;min-height:0;z-index:0}
.ts-auth-screen .ts-auth-panel{position:relative;z-index:2;grid-column:1}
.ts-auth-screen .ts-auth-panel{min-width:0;width:min(840px,calc(100% - 48px));margin-inline:auto;padding:clamp(40px,5vw,76px) 20px;box-sizing:border-box}
.ts-auth-panel h1{white-space:normal;overflow-wrap:normal;font-size:clamp(32px,4.4vw,86px);line-height:1.15;letter-spacing:-.025em;text-align:center;text-wrap:balance}
.ts-auth-panel .ts-auth-subtitle{font-size:clamp(16px,1.5vw,25px);margin:20px auto 40px;text-align:center}
.ts-auth-panel .ts-auth-form,.ts-auth-panel .ts-auth-legal{width:min(100%,620px);margin-inline:auto}
.ts-auth-panel .ts-auth-form input{box-sizing:border-box;max-width:100%}
@media(max-width:1180px){
 .ts-auth-screen{display:grid;grid-template-columns:minmax(0,1fr)}
 .ts-auth-screen .ts-auth-panel{width:min(720px,calc(100% - 32px));margin:auto}
}
@media(max-width:620px){
 .ts-auth-screen .ts-auth-panel{width:calc(100% - 24px);padding:32px 8px 40px}
 .ts-auth-panel h1{font-size:clamp(30px,8vw,44px)}
 .ts-auth-panel .ts-auth-subtitle{margin:16px auto 28px}
}

/* Closed SVG border and shadow were drawing a horizontal seam at the join. */
.ts-footer .ts-footer-wave{margin-bottom:-2px}
.ts-footer-wave>path:first-of-type{stroke:none;filter:none}
.ts-footer .ts-footer-content{border:0;background:var(--ts-footer-mint)}
.ts-footer .ts-wrap{padding-right:0}
.ts-footer .ts-footer-grid{padding-right:25%}
.ts-footer .ts-payment,.ts-footer .ts-copy{margin-left:auto;margin-right:auto;text-align:center}
.ts-footer .ts-copy{width:100%}
.ts-footer .ts-footer-character{filter:none}
@media(max-width:1050px){.ts-footer .ts-footer-grid{padding-right:23%}}
@media(max-width:680px){.ts-footer .ts-footer-grid{padding-right:0}}

/* Each tier uses its own source character. Never modify checkout or entitlement data. */
.ts-membership .tsp-plan-artwork{left:-2%;right:0;top:clamp(130px,12vw,267px);bottom:0;background:none}
.tsp-plan-artwork>[data-tsp-plan-art]{position:relative;width:100%;height:100%}
.tsp-plan-artwork img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;object-position:left top}
.tsp-plan-artwork>[hidden],.ts-membership-note[hidden]{display:none!important}
.tsp-plan-character-label{position:absolute;left:15%;right:5%;top:0;color:#a4c4a9;text-align:right;font-weight:700}
.tsp-plan-character-label b{display:block;font:700 clamp(28px,4vw,82px)/1.1 "TS Design Calligraphy",KaiTi,STKaiti,serif;opacity:.65}
.tsp-plan-character-label small{display:block;font-size:clamp(12px,1.3vw,26px)}
[data-tsp-plan-art="yearly"] .tsp-plan-character-label,[data-tsp-plan-art="lifetime"] .tsp-plan-character-label{left:55%;top:12%}
.ts-membership-tabs,.ts-membership-shell,.ts-membership-options,.ts-plan-grid{box-sizing:border-box;max-width:100%;min-width:0}
@media(max-width:980px){.ts-membership .tsp-plan-artwork{left:53%;right:0;top:0;bottom:0}}
