/* Free chapters: page-scoped styles matching the ToppersSky course pages. */
#ts-free-chapters{font-family:Inter,sans-serif;font-size:16px;line-height:1.65;color:#0d2a78;background:#fff;overflow:hidden}#ts-free-chapters *{box-sizing:border-box}#ts-free-chapters h1,#ts-free-chapters h2,#ts-free-chapters h3{font-family:'Plus Jakarta Sans',sans-serif;color:#0d2a78;margin:0;font-weight:800;line-height:1.3}#ts-free-chapters h1:before,#ts-free-chapters h2:before{display:none}#ts-free-chapters p{margin:0}#ts-free-chapters a{text-decoration:none}#ts-free-chapters :focus-visible{outline:3px solid #ffad00;outline-offset:5px}#ts-free-chapters .fc-shell{width:min(1280px,calc(100% - 48px));margin-inline:auto}#ts-free-chapters .fc-hero{background:radial-gradient(ellipse at 90% 30%,#078ce6,transparent 60%),linear-gradient(115deg,#003182,#064fc5);color:#fff;position:relative;overflow:hidden}#ts-free-chapters .fc-hero-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:50px;padding-block:65px;min-height:530px}#ts-free-chapters .fc-eyebrow{display:block;font-size:11px;font-weight:700;letter-spacing:1.6px;color:#d5ecff;margin-bottom:17px}#ts-free-chapters .fc-eyebrow>span{color:#ffda00;margin-right:8px}#ts-free-chapters h1{font-size:clamp(36px,3.6vw,51px);color:#fff;line-height:1.17;letter-spacing:-1.8px}#ts-free-chapters h1>span{color:#ffe12e}#ts-free-chapters .fc-hero-copy>p{max-width:560px;color:#e2efff;font-size:16px;line-height:1.8;margin-top:23px}#ts-free-chapters .fc-hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}#ts-free-chapters .fc-button{display:inline-flex;gap:24px;align-items:center;justify-content:center;padding:14px 23px;min-height:49px;background:linear-gradient(0deg,#ffac4f,#ffda00);border:1px solid #ffce44;border-radius:9px;font-size:14px;font-weight:700;color:#0d2a78!important;transition:transform .2s,box-shadow .2s}#ts-free-chapters .fc-button:hover{transform:translateY(-3px);box-shadow:0 8px 20px #001c5b25}#ts-free-chapters .fc-button-outline{background:#ffffff10;border-color:#93caff;color:#fff!important}#ts-free-chapters .fc-hero-facts{display:flex;gap:18px;flex-wrap:wrap;font-size:10px;font-weight:500;margin-top:24px;color:#d8edff}#ts-free-chapters .fc-hero-art{position:relative;height:390px;min-width:0;isolation:isolate}#ts-free-chapters .fc-art-ring{position:absolute;top:0;right:30px;width:370px;height:370px;border:1px solid #ffffff30;border-radius:50%;box-shadow:0 0 0 35px #ffffff06;z-index:-1}#ts-free-chapters .fc-art-spark{position:absolute;right:0;bottom:25px;font-size:70px;color:#ffdd3a;line-height:1}#ts-free-chapters .fc-preview{position:absolute;overflow:hidden;border:5px solid #fff;border-radius:16px;background:#fff;box-shadow:0 15px 35px #001e5f45}#ts-free-chapters .fc-preview img{display:block;width:100%;height:190px;object-fit:cover}#ts-free-chapters .fc-preview-back{width:310px;right:0;top:0;transform:rotate(9deg)}#ts-free-chapters .fc-preview-back>span{position:absolute;top:12px;left:12px;background:#8751dd;padding:3px 12px;color:white;border-radius:20px;font-size:11px}#ts-free-chapters .fc-preview-front{width:340px;left:0;top:115px;transform:rotate(-7deg)}#ts-free-chapters .fc-preview-front>div{padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#0d2a78}#ts-free-chapters .fc-preview-front b{font-size:15px}#ts-free-chapters .fc-preview-front div>span{font-size:10px;color:#486094}#ts-free-chapters .fc-preview-play{position:absolute;top:75px;left:calc(50% - 25px);background:#ffda00;color:#0d2a78;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;font-size:20px;padding-left:3px;box-shadow:0 0 0 7px #ffffff33}#ts-free-chapters .fc-art-note{position:absolute;right:0;bottom:-5px;background:#fff;border:1px solid #d9e8fd;box-shadow:0 12px 35px #00266025;border-radius:12px;padding:14px 18px;display:flex;gap:13px;align-items:center;color:#0d2a78}#ts-free-chapters .fc-art-note>span{display:grid;place-items:center;width:35px;height:35px;background:#eaf3ff;color:#1565c0;border-radius:50%;font-size:12px}#ts-free-chapters .fc-art-note b,#ts-free-chapters .fc-art-note small{display:block;font-size:11px}#ts-free-chapters .fc-art-note small{font-size:10px;color:#486094;margin-top:3px}#ts-free-chapters .fc-class-nav{border-bottom:1px solid #dce9fb;background:#f0f7ff}#ts-free-chapters .fc-class-nav>.fc-shell{display:flex;align-items:center;gap:20px;padding-block:20px}#ts-free-chapters .fc-class-nav .fc-shell>span{font-size:13px;color:#486094;margin-right:auto}#ts-free-chapters .fc-class-nav a{padding:9px 20px;border:1px solid #c8ddfb;border-radius:8px;background:#fff;color:#0d2a78!important;font-size:14px;font-weight:700}#ts-free-chapters .fc-class-nav small{font-size:10px;color:#486094;font-weight:400;margin-left:14px}#ts-free-chapters .fc-class-nav a:hover{background:#e6f0ff}#ts-free-chapters .fc-grade-section{padding:65px 0;scroll-margin-top:100px}#ts-free-chapters #class-9{background:#f2f9ff;border-block:1px solid #e1edf9}#ts-free-chapters .fc-section-heading{display:flex;justify-content:space-between;align-items:center;gap:35px;margin-bottom:30px}#ts-free-chapters .fc-grade-label{display:inline-block;color:#1565c0;font-size:16px;letter-spacing:1.5px;font-weight:800;margin-bottom:12px}#ts-free-chapters h2{font-size:32px;letter-spacing:-1px}#ts-free-chapters h2>span{color:#ffad00;font-weight:500}#ts-free-chapters .fc-section-heading p{max-width:800px;font-size:14px;color:#486094;margin-top:12px}#ts-free-chapters .fc-video-count{font-size:12px;white-space:nowrap;border-radius:30px;border:1px solid #c8ddfb;padding:7px 15px;background:white;color:#1565c0}#ts-free-chapters .fc-chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}#ts-free-chapters .fc-chapter{border-radius:15px;border:1px solid #e1ebf8;overflow:hidden;background:#fff;box-shadow:0 7px 24px #0d47a108;transition:box-shadow .2s}#ts-free-chapters .fc-chapter:hover{box-shadow:0 12px 30px #0d47a118}#ts-free-chapters .fc-media{position:relative;aspect-ratio:16/9;background:#082851;overflow:hidden}#ts-free-chapters .fc-thumbnail{position:absolute;inset:0;display:block}#ts-free-chapters .fc-thumbnail[hidden]{display:none}#ts-free-chapters .fc-thumbnail img{width:100%;height:100%;display:block;object-fit:cover}#ts-free-chapters .fc-play-circle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;width:52px;height:52px;background:#ffffffed;box-shadow:0 0 0 7px #ffffff30;color:#1565c0;padding-left:3px;font-size:19px;transition:background .2s}#ts-free-chapters .fc-thumbnail:hover .fc-play-circle{background:#ffda00}#ts-free-chapters .fc-duration{position:absolute;bottom:10px;right:10px;border-radius:4px;background:#071d3fe6;color:white;font-size:11px;padding:2px 7px}#ts-free-chapters .fc-media iframe{position:absolute;inset:0;width:100%;height:100%;border:0}#ts-free-chapters .fc-chapter-body{padding:20px;display:flex;flex-direction:column;min-height:225px}#ts-free-chapters .fc-subject{align-self:flex-start;background:#e0f6f0;color:#007f6c;border-radius:30px;padding:3px 11px;font-size:10px;font-weight:700;margin-bottom:12px}#ts-free-chapters .fc-subject-maths{background:#fff0e1;color:#a74700}#ts-free-chapters .fc-subject-sst{background:#f1e8ff;color:#7334b5}#ts-free-chapters h3{font-size:19px;line-height:1.5;letter-spacing:-.5px;margin-bottom:10px}#ts-free-chapters .fc-chapter-body>p{font-size:13px;color:#486094;margin-bottom:20px}#ts-free-chapters .fc-card-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #e5effc;margin-top:auto;padding-top:14px}#ts-free-chapters .fc-watch{font-size:13px;font-weight:700;color:#0560e8!important}#ts-free-chapters .fc-watch span{margin-left:5px}#ts-free-chapters .fc-youtube{font-size:11px;color:#486094!important}#ts-free-chapters .fc-chapter.is-playing{border-color:#1565c0;box-shadow:0 0 0 2px #1565c015}#ts-free-chapters .fc-note{display:flex;gap:12px;align-items:center;padding-block:22px;color:#64748b;font-size:12px}#ts-free-chapters .fc-note>span{color:#1565c0}#ts-free-chapters .fc-next-wrap{padding-block:15px 65px}#ts-free-chapters .fc-next{display:flex;gap:30px;align-items:center;justify-content:space-between;background:linear-gradient(110deg,#003182,#086bd4);border-radius:20px;padding:38px 40px;color:white}#ts-free-chapters .fc-next h2{color:white;font-size:28px}#ts-free-chapters .fc-next p{font-size:13px;color:#d8eaff;margin-top:12px;max-width:500px}#ts-free-chapters .fc-next .fc-eyebrow{color:#ffdf49;font-size:10px;margin-bottom:10px}#ts-free-chapters .fc-next-actions{display:flex;gap:12px;flex-shrink:0}#ts-free-chapters .fc-next-actions .fc-button{font-size:12px;padding:13px 18px}#ts-free-chapters .fc-screen-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:1050px){#ts-free-chapters .fc-hero-grid{gap:25px}#ts-free-chapters .fc-preview-front{width:290px}#ts-free-chapters .fc-preview-back{width:270px}#ts-free-chapters .fc-next{flex-direction:column;align-items:flex-start}#ts-free-chapters .fc-chapter-grid{gap:18px}#ts-free-chapters h3{font-size:17px}#ts-free-chapters .fc-section-heading{gap:20px}}
@media(max-width:760px){#ts-free-chapters .fc-shell{width:calc(100% - 32px)}#ts-free-chapters .fc-hero-grid{grid-template-columns:1fr;padding-block:40px 45px;gap:30px}#ts-free-chapters h1{font-size:40px;letter-spacing:-1.3px}#ts-free-chapters .fc-hero-copy>p{font-size:14px}#ts-free-chapters .fc-hero-art{max-width:430px;width:100%;height:340px;margin-inline:auto}#ts-free-chapters .fc-preview-back{width:260px;right:10px}#ts-free-chapters .fc-preview-front{top:95px;width:280px;left:10px}#ts-free-chapters .fc-preview img{height:155px}#ts-free-chapters .fc-preview-play{top:55px}#ts-free-chapters .fc-art-note{bottom:0;right:5px}#ts-free-chapters .fc-art-ring{width:280px;height:280px;right:10px}#ts-free-chapters .fc-art-spark{font-size:50px;bottom:80px;right:10px}#ts-free-chapters .fc-hero-facts{gap:12px;font-size:9px}#ts-free-chapters .fc-button{padding:12px 17px;font-size:12px;gap:15px}#ts-free-chapters .fc-class-nav>.fc-shell{gap:12px;flex-wrap:wrap;padding-block:16px}#ts-free-chapters .fc-class-nav .fc-shell>span{width:100%;font-size:12px}#ts-free-chapters .fc-class-nav a{flex:1;text-align:center;padding:9px 12px;font-size:13px}#ts-free-chapters .fc-class-nav small{margin-left:6px}#ts-free-chapters .fc-grade-section{padding-block:40px;scroll-margin-top:80px}#ts-free-chapters .fc-section-heading{display:block}#ts-free-chapters .fc-video-count{display:none}#ts-free-chapters h2{font-size:27px;line-height:1.4}#ts-free-chapters .fc-section-heading p{font-size:13px}#ts-free-chapters .fc-chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#ts-free-chapters .fc-chapter-body{padding:16px;min-height:245px}#ts-free-chapters .fc-card-actions{gap:8px}#ts-free-chapters .fc-next{padding:28px 24px;gap:24px}#ts-free-chapters .fc-next h2{font-size:25px}#ts-free-chapters .fc-next-actions{flex-wrap:wrap}#ts-free-chapters .fc-next-wrap{padding-bottom:40px}}
@media(max-width:520px){#ts-free-chapters .fc-chapter-grid{grid-template-columns:1fr;gap:23px}#ts-free-chapters .fc-chapter-body{min-height:0;padding:20px}#ts-free-chapters h3{font-size:19px}#ts-free-chapters .fc-watch{font-size:14px}#ts-free-chapters .fc-card-actions{padding-top:16px}#ts-free-chapters .fc-youtube{font-size:12px}#ts-free-chapters .fc-next-actions{width:100%}#ts-free-chapters .fc-next-actions .fc-button{width:100%}}
@media(prefers-reduced-motion:reduce){#ts-free-chapters *{transition:none!important;scroll-behavior:auto!important}html:has(#ts-free-chapters){scroll-behavior:auto}}
/* Class 9 board selection; all chapters remain available without JavaScript. */
#ts-free-chapters .fc-board-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 28px;padding:6px;background:#e5effc;border:1px solid #d1e2f9;border-radius:13px;width:fit-content}
#ts-free-chapters .fc-board-tabs[hidden],#ts-free-chapters .fc-board-panel[hidden],#ts-free-chapters .fc-board-heading[hidden]{display:none}
#ts-free-chapters .fc-board-tabs button{display:flex;align-items:center;justify-content:center;gap:14px;padding:12px 23px;border:1px solid transparent;border-radius:9px;background:transparent;color:#0d2a78;font:700 14px Inter,sans-serif;line-height:1.5;cursor:pointer;transition:background .2s,box-shadow .2s}
#ts-free-chapters .fc-board-tabs button span{font-size:11px;font-weight:500;opacity:.85}
#ts-free-chapters .fc-board-tabs button[aria-selected="true"]{background:linear-gradient(120deg,#003182,#086bd4);color:#fff;box-shadow:0 4px 12px #00318220}
#ts-free-chapters .fc-board-tabs button:hover:not([aria-selected="true"]){background:#fff}
#ts-free-chapters .fc-board-heading{margin:24px 0 18px}
@media(max-width:520px){#ts-free-chapters .fc-board-tabs{width:100%;gap:6px}#ts-free-chapters .fc-board-tabs button{flex:1;flex-direction:column;gap:2px;padding:11px 10px;font-size:13px}}
/* Keep the mobile hero focused on the chapter introduction and class links. */
@media(max-width:767px){
 #ts-free-chapters .fc-hero-art{display:none}
 #ts-free-chapters .fc-hero-grid{grid-template-columns:1fr;min-height:0;gap:0}
}
