@font-face{font-family:Manrope;src:url('./assets/manrope.ttf') format('truetype');font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f5f8fb;color:#10264f;font-family:Manrope,Arial,sans-serif}button,select,a{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #139abf;outline-offset:4px}button:disabled{opacity:.38;cursor:default}.skip{position:fixed;top:-60px;left:20px;z-index:20;background:white;padding:12px}.skip:focus{top:10px}.shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{padding:35px 20px;background:#fff;border-right:1px solid #e0e7ef;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;margin-bottom:56px}.brand img{width:62px;height:62px;object-fit:contain}.brand span{font-size:19px;font-weight:800}.brand small{display:block;font-size:8px;letter-spacing:1.6px;margin-top:5px;color:#64748b}.nav-label{font-size:10px;font-weight:800;letter-spacing:1.3px;color:#687b91;display:flex;justify-content:space-between;margin:0 10px 18px}.nav-label span{color:#149ab9}nav{display:grid;gap:8px}nav a{display:flex;align-items:center;gap:12px;text-decoration:none;border-radius:12px;padding:17px 12px;font-size:14px;font-weight:700;color:#5f7085}nav a .number{font-size:11px;opacity:.55;font-weight:800}nav a .chevron{margin-left:auto}nav a:hover{background:#f1f6fa}nav a[aria-current=page]{background:#19366a;color:white;box-shadow:0 8px 22px #19366a18}.sidebar-note{margin-top:auto;padding:34px 12px 10px;border-top:1px solid #e5edf2}.spark{color:#29b5d2;font-size:36px}.sidebar-note p{font-size:19px;font-weight:700;line-height:1.6}.sidebar-note small{color:#7a899b;font-size:11px;line-height:1.8}main{padding:0 clamp(24px,3.2vw,70px);min-width:0;max-width:2100px;width:100%;margin:auto}.topbar{height:76px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dde5ed;font-size:10px;letter-spacing:1.6px;font-weight:800;color:#708297}.topbar>span{display:flex;align-items:center;gap:10px}.topbar i{width:7px;height:7px;border-radius:50%;background:#26b1cc}.quiet{border:0;background:none;color:#19366a;font-size:12px;font-weight:700;letter-spacing:0}.intro{padding:36px 0 28px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.8px;color:#1389a9;margin:0 0 12px}.intro-line{display:flex;align-items:center;justify-content:space-between;gap:20px}h1{font-size:clamp(30px,3.2vw,55px);letter-spacing:-1.8px;line-height:1.16;margin:0;font-weight:800}h1::after{content:'.';color:#27b3d1}#intro{font-size:16px;color:#64758b;margin:14px 0 0;line-height:1.6}.film-badge{font-size:9px;font-weight:800;letter-spacing:1.4px;white-space:nowrap;border:1px solid #bddce6;color:#1785a1;border-radius:20px;padding:9px 13px}.viewer-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(290px,1fr);border-radius:22px;overflow:hidden;border:1px solid #dae4ed;background:white;box-shadow:0 16px 46px #162c4d08}.cinema{min-width:0;background:#0b1421;color:#e4edf6;display:flex;flex-direction:column}.film-top{height:46px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;color:#9eb1c8;font-size:10px;letter-spacing:1px;font-weight:700}.screen{aspect-ratio:16/9;position:relative;background:#000;min-height:210px;overflow:hidden}.screen iframe,#player{width:100%;height:100%;position:absolute;inset:0;border:0}#cover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px;background:radial-gradient(ellipse at 50% 30%,#263f5c 0,#111d2d 50%,#09121e 100%);text-align:center;gap:18px}#cover[hidden]{display:none}#cover p{font-size:clamp(18px,2vw,28px);font-weight:700;max-width:490px;line-height:1.4;margin:0}#cover small{font-size:11px;color:#9cafc6}.cover-mark{width:64px;height:64px;display:grid;place-items:center;border:1px solid #3b6681;color:#5ad4ea;border-radius:50%;padding-left:4px;font-size:20px}.primary,.secondary,.next{border:0;border-radius:9px;padding:12px 18px;font-size:13px;font-weight:800;min-height:44px}.primary{background:#38bdd7;color:#072b43}.primary:hover{background:#6cdaec}.secondary{background:#eaf0f6;color:#19366a}.secondary:hover{background:#dce7f0}.transport{display:flex;align-items:center;gap:9px;padding:17px 18px}.transport .secondary{background:#1c293b;color:#d7e4f2}.transport .primary{min-width:125px}.rate-label{font-size:11px;color:#96a9c0;display:flex;align-items:center;gap:6px;margin-left:auto}select{border:1px solid #324259;border-radius:7px;background:#182538;color:#e3edf9;padding:8px;font-size:12px;min-height:38px}.time{font-size:11px;color:#a4b4c7;min-width:73px;text-align:right;font-variant-numeric:tabular-nums}.progress-track{height:3px;background:#26364a;margin:0 19px}.progress-track>div{height:100%;width:0;background:#40c9e5}.player-message{display:flex;justify-content:space-between;gap:16px;padding:13px 20px 17px;font-size:10px;line-height:1.5;margin-top:auto;color:#9db0c8}.player-message a{white-space:nowrap;color:#85d7ea;text-underline-offset:3px}.explanation{padding:27px clamp(22px,2.5vw,42px);display:flex;flex-direction:column;min-width:0}.chapter-line{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:27px;font-size:8px;color:#8493a7;font-weight:800;letter-spacing:.8px}#chapter-number{color:#188dab;font-size:12px;letter-spacing:1px;white-space:nowrap}.copy h2{font-size:clamp(24px,2.2vw,37px);letter-spacing:-1px;line-height:1.2;margin:0 0 17px}.copy>p{font-size:clamp(15px,1.3vw,21px);line-height:1.7;color:#586b83;margin:0}.takeaway{border-left:3px solid #36bdd6;padding:0 0 0 16px;margin:25px 0}.takeaway small{font-size:8px;letter-spacing:1.4px;color:#1585a2;font-weight:800}.takeaway p{font-size:clamp(14px,1.15vw,18px);font-weight:700;line-height:1.6;margin:8px 0 0}.step-arrows{display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding-top:12px}.next{background:#19366a;color:white;flex:1}.journey{padding:32px 0 25px}.section-line{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.section-line h2{font-size:25px;letter-spacing:-.7px;margin:0}.section-line .eyebrow{margin-bottom:7px}.chapters{display:grid;grid-template-columns:repeat(var(--count,6),minmax(0,1fr));gap:9px}.chapter{padding:16px 12px 14px;text-align:left;border:1px solid #dce5ed;border-radius:11px;background:white;min-height:112px;color:#61748b}.chapter .step-top{display:flex;justify-content:space-between;font-size:10px;font-weight:800;margin-bottom:17px}.chapter strong{font-size:12px;line-height:1.4;display:block;color:#334c6b}.chapter[aria-current=step]{border-color:#36accb;background:#eaf8fc;box-shadow:inset 0 3px #32b7d7}.chapter[aria-current=step] strong,.chapter[aria-current=step] .step-top{color:#126b87}.chapter:hover{border-color:#4d9cb6}.motion-hint{font-size:11px;color:#73859a;line-height:1.6;margin:14px 1px 0}.context{border-top:1px solid #dce5ed;border-bottom:1px solid #dce5ed;display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);gap:45px;padding:24px 0}.context>div>p:last-child{font-size:12px;line-height:1.8;color:#66788f;margin:0}.source-card{border-left:1px solid #d7e3ec;padding-left:28px;display:flex;flex-direction:column;gap:9px}.source-card span{font-size:9px;color:#8291a4;letter-spacing:1.4px;font-weight:800}.source-card a{font-size:12px;font-weight:800;text-underline-offset:4px;line-height:1.5}.source-card small{font-size:10px;line-height:1.6;color:#74859a}.more{padding:32px 0 26px}.tabs{display:flex;gap:25px;border-bottom:1px solid #dce5ed;overflow-x:auto}.tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:13px 0 15px;font-size:12px;font-weight:700;color:#74859a;white-space:nowrap}.tabs button[aria-selected=true]{color:#19366a;border-bottom-color:#27a9cd}#info{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding-top:23px}#info h3{font-size:14px;margin:0 0 9px}#info p{font-size:12px;color:#718298;line-height:1.8;margin:0}.references{border-top:1px solid #dce5ed;padding:20px 0;color:#64758c;font-size:12px;line-height:1.8}.references summary{cursor:pointer;font-weight:800;color:#314b70}.references li{margin:7px 0}.references>p{max-width:900px}.references a{text-underline-offset:3px}footer{display:flex;justify-content:space-between;gap:20px;padding:23px 0 30px;border-top:1px solid #dce5ed;font-size:10px;color:#8b99a9}footer b{color:#40b5d0;padding:0 12px}body.presentation .sidebar,body.presentation .more,body.presentation .references,body.presentation footer,body.presentation .context{display:none}body.presentation .shell{display:block}body.presentation main{max-width:1900px}body.presentation .intro{padding-top:24px}body.presentation .copy>p{font-size:clamp(19px,1.6vw,27px)}body.presentation .copy h2{font-size:clamp(29px,2.6vw,43px)}@media(min-width:1800px){.shell{grid-template-columns:290px 1fr}.sidebar{padding:45px 28px}.brand span{font-size:21px}nav a{font-size:17px;padding:21px 15px}.chapter strong{font-size:16px}.chapter{min-height:125px}.transport button{font-size:15px}.player-message{font-size:12px}.context>div>p:last-child,#info p{font-size:15px}#info h3{font-size:18px}.tabs button{font-size:15px}}@media(max-width:1180px){.shell{grid-template-columns:210px 1fr}.sidebar{padding:25px 14px}.brand img{width:47px}.brand span{font-size:16px}.brand small{font-size:7px}.viewer-layout{grid-template-columns:minmax(0,1.45fr) minmax(270px,1fr)}main{padding:0 25px}.film-badge{display:none}.transport{flex-wrap:wrap}.rate-label{margin-left:0}.time{margin-left:auto}.copy>p{font-size:15px}.chapter-line{margin-bottom:20px}.chapters{grid-template-columns:repeat(3,1fr)}.chapter{min-height:90px}.chapter .step-top{margin-bottom:9px}}@media(max-width:900px){.shell{display:block}.sidebar{height:auto;position:static;padding:15px 22px 12px;border-right:0;border-bottom:1px solid #dce5ed}.brand{margin:0 0 15px}.brand img{width:42px;height:42px}.brand small{font-size:8px}.nav-label,.sidebar-note{display:none}nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:3px}nav a{flex-shrink:0;padding:12px;font-size:12px}nav .number,nav .chevron{display:none}.topbar{height:55px}.intro{padding:24px 0}.viewer-layout{grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr)}.explanation{padding:22px}.chapter-line>span:last-child{display:none}.context{gap:22px}.source-card{padding-left:20px}.copy h2{font-size:25px}}@media(max-width:700px){main{padding:0 17px}.topbar{font-size:8px;letter-spacing:1px}.quiet{font-size:10px}.intro h1{font-size:32px;letter-spacing:-1px}#intro{font-size:14px}.viewer-layout{display:flex;flex-direction:column;border-radius:15px}.screen{min-height:200px}.explanation{padding:24px}.chapter-line{margin-bottom:14px}.chapter-line>span:last-child{display:block}.copy h2{font-size:29px;max-width:400px}.copy>p{font-size:17px}.takeaway p{font-size:16px}.takeaway{margin:20px 0}.transport{padding:13px;gap:7px}.transport button{padding:11px 13px;font-size:12px}.transport .primary{min-width:115px}.rate-label{margin-left:auto}.time{width:100%;text-align:left;font-size:10px;display:none}.player-message{font-size:10px;padding:12px 14px}.chapters{grid-template-columns:repeat(2,1fr);gap:8px}.chapter{padding:13px;min-height:83px}.chapter strong{font-size:13px}.section-line h2{font-size:23px}.section-line>.secondary{font-size:11px;padding:11px 12px}.context{grid-template-columns:1fr;gap:20px}.source-card{padding-left:0;border-left:0}.context>div>p:last-child{font-size:13px}.more{padding-top:28px}#info{grid-template-columns:1fr;gap:22px}#info h3{font-size:16px}#info p{font-size:14px}.tabs{gap:19px}.tabs button{font-size:11px}footer{flex-direction:column;font-size:10px}.references{font-size:12px}.film-top{padding:0 14px;font-size:8px;letter-spacing:.6px}#cover{gap:12px;padding:15px}.cover-mark{height:44px;width:44px;font-size:14px}#cover small{font-size:9px}#cover p{font-size:20px}.motion-hint{font-size:11px}}
#cover{background-image:linear-gradient(0deg,rgba(5,15,28,.94),rgba(5,15,28,.63)),var(--poster);background-size:cover;background-position:center}

/* Concise explanations stay visible beneath every chapter heading. */
/* Keep the layout steady and retain keyboard access when pause controls hide. */
.pause-hidden{opacity:0;pointer-events:none}
.pause-hidden:focus-visible{opacity:1;pointer-events:auto}
.chapter{display:flex;flex-direction:column;min-height:168px}
.chapter .step-top{width:100%;margin-bottom:13px}
.chapter strong{font-size:13px;line-height:1.45}
.chapter-description{display:block;font-size:11px;line-height:1.65;font-weight:500;color:#667a90;margin-top:9px}
.chapter[aria-current=step] .chapter-description{color:#436f80}
.film-top #film-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:12px}
.film-top #clip-length{white-space:nowrap;flex-shrink:0}
@media(min-width:1800px){.chapter{min-height:190px}.chapter strong{font-size:16px}.chapter-description{font-size:14px}}
@media(max-width:1180px){.chapter{min-height:145px}.chapter-description{font-size:12px}}
@media(max-width:700px){.chapter{min-height:155px}.chapter strong{font-size:14px}.chapter-description{font-size:12px;line-height:1.6}}

/* Multilingual typography and room for ten guides. */
body{font-family:Manrope,"PingFang SC","Microsoft YaHei",Arial,sans-serif}
.sidebar{overflow-y:auto}.brand{margin-bottom:30px}.sidebar-note{padding-top:22px}.sidebar-note p{font-size:16px}
.language-note{font-size:11px;line-height:1.7;color:#64758b;margin:0 0 24px}
:lang(zh-Hans) h1,:lang(zh-Hans) h2{letter-spacing:0}
:lang(zh-Hans) .eyebrow,:lang(zh-Hans) .brand small{letter-spacing:1px}
.nav-label>span:first-child{color:#687b91}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Native language names stay visible; the selected pill moves between them. */
.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:clamp(14px,1.8vw,32px);height:auto;min-height:88px;padding:18px 0}
.consultation-label{line-height:1.6;letter-spacing:1.2px}
.consultation-label i{flex-shrink:0}
.language-control{display:flex;align-items:center;gap:12px;letter-spacing:0}
.language-label{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:#637991;white-space:nowrap}
.language-label svg{width:17px;height:17px;color:#1687a4;flex-shrink:0}
.language-switch{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:330px;max-width:100%;padding:4px;border:1px solid #d9e4ee;border-radius:15px;background:#eaf0f6;box-shadow:inset 0 1px 3px #14335e05}
.language-highlight{position:absolute;z-index:-1;left:4px;top:4px;bottom:4px;width:calc((100% - 8px)/3);border-radius:11px;background:#19366a;box-shadow:0 3px 8px #19366a20,inset 0 1px 0 #ffffff15;transform:translateX(calc(var(--language-index,0)*100%));transition:transform 220ms cubic-bezier(.2,.8,.2,1)}
.language-switch button{min-height:44px;min-width:0;padding:10px 7px;border:0;border-radius:11px;background:transparent;color:#506780;font-size:12px;font-weight:650;letter-spacing:0;line-height:1.3;white-space:normal;transition:color 160ms ease,background-color 160ms ease}
.language-switch button:hover:not([aria-checked=true]){background:#ffffffa8;color:#19366a}
.language-switch button[aria-checked=true]{color:#fff;font-weight:800;text-shadow:0 1px 1px #10264f30}
.language-switch button:focus-visible{outline:2px solid #22a9c7;outline-offset:3px}
.topbar #present{min-height:44px;max-width:145px;padding:8px 0 8px 14px;border-left:1px solid #dce5ed;text-align:right;font-size:11px;line-height:1.5}
@media(min-width:901px){.sidebar nav{gap:4px}.sidebar nav a{padding:13px 10px}.sidebar-note{margin-top:28px}}
@media(max-width:1300px){.language-label>span{display:none}.language-control{gap:9px}.topbar{gap:18px}.language-switch{width:300px}}
@media(max-width:1050px){
 .topbar{grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:16px 0}
 .language-control{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:20px}
 .language-label>span{display:inline}.language-switch{width:330px}
 .topbar #present{grid-column:2;grid-row:1;border:0;max-width:180px;padding:0}
}
@media(max-width:900px){.sidebar{overflow:visible}.brand{margin-bottom:15px}}
@media(max-width:700px){
 .topbar{gap:11px;min-height:0;padding:12px 0 16px}.topbar #present{font-size:10px;min-height:32px;max-width:145px}
 .language-control{display:block}.language-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .language-switch{width:100%;border-radius:15px}.language-switch button{min-height:46px;font-size:12px}
 .section-line{align-items:flex-start}.chapter-line{line-height:1.5}.transport{flex-wrap:wrap}.player-message{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.language-highlight,.language-switch button{transition:none}}

/* Return to the matching language on the main Tooth Family website. */
.sidebar .brand{margin-bottom:16px}
.main-site-link{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;min-height:44px;padding:8px 10px;margin-bottom:22px;border-radius:10px;color:#47657e;font-size:11px;font-weight:700;line-height:1.5;text-decoration:none}
.main-site-link:hover{background:#edf6fa;color:#19366a}
@media(max-width:900px){.sidebar .brand{margin-bottom:2px}.main-site-link{margin-bottom:8px}}
