html{scroll-behavior:smooth;scroll-padding-top:140px}body{min-width:0}*{box-sizing:border-box}.fk-header-row{min-height:110px;gap:28px}.fk-brand{flex:0 0 auto}.fk-header .fk-logo{width:240px!important;height:auto!important;max-height:none!important}.start-link{display:flex;align-items:center;gap:9px;font-weight:800;white-space:nowrap;color:#382255}.site-search{display:flex;align-items:center;border:1px solid #d8cfeb;background:#faf7ff;border-radius:50px;max-width:340px;flex:1;margin-left:auto;min-width:0;padding:4px 5px 4px 18px}.site-search input{background:none;border:0;outline:0;width:100%;min-width:0;font:inherit;font-size:14px;color:#382255}.site-search:focus-within{outline:3px solid var(--brand-purple);outline-offset:3px}.site-search button{display:grid;place-items:center;border:0;border-radius:50%;background:var(--brand-purple);color:white;flex:0 0 44px;height:44px;cursor:pointer}.fk-video-ratio{aspect-ratio:16/9;overflow:hidden;background:#efe5ff}.fk-video-ratio video{width:100%;height:100%;display:block;object-fit:contain}.fk-intro-area{min-width:0}.fk-hero-grid{padding-bottom:90px}.hero-wave{position:absolute;bottom:-1px;width:100%;height:50px;background:#fff;border-radius:50% 50% 0 0 / 100% 100% 0 0}.fk-hero{position:relative}.fk-hero-reassurance .icon{width:18px;height:18px}.fk-level-body{height:auto!important}.fk-level-subjects a{text-decoration:none}.fk-level[open] .fk-level-toggle{transform:rotate(45deg)}.fk-level:nth-child(2){--level-accent:var(--brand-purple)}.fk-level:nth-child(3){--level-accent:#ef5d88}.fk-level:nth-child(4){--level-accent:#e19a18}.fk-level:nth-child(5){--level-accent:#39a384}.fk-level:nth-child(6){--level-accent:#7393d9}.fk-level-icon{color:var(--level-accent,#2b82df)}.fk-level summary{min-height:108px}.fk-topic-button{min-height:48px}.fk-footer-main .footer-logo{width:240px;height:auto}.fk-footer{margin-top:0}.fk-footer-main nav{display:flex;gap:25px;flex-wrap:wrap}.fk-footer-bottom a{color:inherit}.search-main{padding-top:75px;padding-bottom:100px;min-height:60vh}.search-main h1{font-size:clamp(30px,5vw,48px);line-height:1.2;margin:14px 0 22px}.search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:32px}.result-card{padding:24px;border:1px solid #ded5ee;border-radius:20px;background:#faf7ff;color:inherit;text-decoration:none}.result-card h2{font-size:21px;display:flex;justify-content:space-between;gap:12px}.result-card:hover{border-color:var(--brand-purple)}.empty-search{padding:30px 0}.fk-level-subjects:empty{display:none}:focus-visible{outline:3px solid var(--brand-purple);outline-offset:4px}.fk-video-caption{gap:10px;flex-wrap:wrap}
@media(min-width:1500px){.fk-wrap{max-width:1240px}}
@media(max-width:760px){html{scroll-padding-top:175px}.fk-header-row{display:flex;flex-wrap:wrap;gap:10px;padding-top:10px;padding-bottom:12px}.fk-header .fk-logo{width:180px!important}.fk-header-row nav{margin-left:auto}.site-search{flex:0 0 100%;max-width:none;margin:0}.fk-hero-grid{grid-template-columns:1fr!important;gap:45px;padding-top:38px;padding-bottom:70px}.fk-hero-copy h1{font-size:clamp(38px,9vw,62px)!important}.fk-hero-copy p br{display:none}.fk-sticker{font-size:13px}.fk-intro-footnote{font-size:13px}.fk-star-cluster{right:0!important}.fk-section{padding-top:48px;padding-bottom:52px}.fk-small-note{display:none}.fk-level summary{padding:18px 16px;gap:12px}.fk-level-status{display:none}.fk-level-name{min-width:0;flex:1}.fk-level-name strong{font-size:21px}.fk-level-name small{white-space:normal;line-height:1.5}.fk-level-icon{width:45px;height:45px;flex:0 0 45px}.fk-level-toggle{flex:0 0 30px}.fk-level-body{padding:0 18px 22px}.fk-level-subjects{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fk-topic-button{white-space:normal;gap:8px;font-size:14px;padding:12px}.fk-topic-button .icon{flex-shrink:0}.fk-footer-main{gap:25px}.fk-footer-main nav{gap:18px}.fk-footer-bottom{gap:15px;flex-wrap:wrap}.search-results{grid-template-columns:1fr}.fk-hero-reassurance{flex-wrap:wrap}.fk-video-caption small{font-size:11px}}
@media(max-width:360px){.fk-wrap{width:calc(100% - 32px)!important}.fk-level-subjects{grid-template-columns:1fr!important}.fk-kicker{font-size:10px;letter-spacing:1px}.fk-hero-actions .btn{font-size:14px}.fk-video-caption strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.fk-brand picture{display:block}}
.fk-header-row{height:auto!important}.fk-hero-copy p br::after{content:' '}.fk-star-cluster{bottom:8px!important;left:-14px!important;right:auto!important}.fk-hero-reassurance{gap:18px}
@media(max-width:760px){.fk-header-row{min-height:144px}.fk-hero-copy p{font-size:15px!important;line-height:1.8!important}.fk-level-name strong{min-width:0}.fk-star-cluster{bottom:28px!important;left:-7px!important;transform:scale(.65);transform-origin:left bottom}.fk-video-caption{padding-left:22px!important}.fk-level-body{margin-inline:8px!important}}

.intro-trigger{position:relative;display:block;width:100%;height:100%;padding:0;border:0;cursor:pointer;background:#e9dbff;overflow:hidden}.intro-trigger img{display:block;width:100%;height:100%;object-fit:cover}.intro-trigger::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 55%,#20113d85)}.intro-play{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:#fff;color:var(--brand-purple);box-shadow:0 0 0 10px #ffffff35,0 8px 30px #31185835;transition:transform .2s}.intro-play .icon{width:32px;height:32px;fill:currentColor;stroke-width:1.5;margin-left:5px}.intro-trigger:hover .intro-play{transform:translate(-50%,-50%) scale(1.08)}.intro-watch{position:absolute;z-index:1;bottom:16px;left:16px;right:16px;color:white;font-size:14px;font-weight:800;text-align:center}.intro-dialog{padding:0;border:0;background:transparent;width:min(1080px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:visible;margin:auto;color:white}.intro-dialog::backdrop{background:#160b2fe8;backdrop-filter:blur(7px)}.intro-modal-content{position:relative;padding-top:58px}.intro-dialog video{display:block;width:100%;height:auto;max-height:calc(100dvh - 110px);aspect-ratio:16/9;object-fit:contain;border-radius:20px;background:#000;box-shadow:0 20px 80px #0006}.intro-close{position:absolute;right:0;top:0;width:46px;height:46px;display:grid;place-items:center;border:1px solid #ffffff70;border-radius:50%;color:white;background:#ffffff20;cursor:pointer}.intro-close:hover{background:var(--brand-purple)}.intro-close .icon{width:24px;height:24px}.intro-play-error{position:absolute;bottom:15px;left:20px;right:20px;text-align:center;pointer-events:none}.video-open{overflow:hidden}@media(max-width:760px){.intro-play{width:66px;height:66px}.intro-play .icon{width:26px;height:26px}.intro-watch{font-size:12px;bottom:10px}.intro-dialog video{border-radius:12px}}
/* Keep the close action visible before hover, including touch devices. */
.bright-site .intro-dialog{background:transparent;border:0;box-shadow:none}
.intro-dialog .intro-close{z-index:2;opacity:1;visibility:visible;background:var(--brand-purple);color:#fff;border:2px solid #fff;box-shadow:0 3px 12px #0005}
.intro-dialog .intro-close .icon{stroke:currentColor;opacity:1}
.intro-dialog .intro-close:hover{background:#5c0cba}
.intro-modal-media{position:relative}
.intro-replay{position:absolute;inset:0;border-radius:20px;height:100%;z-index:1}
.intro-replay[hidden]{display:none}
@media(max-width:760px){.intro-replay{border-radius:12px}}
.intro-timeline{display:flex;align-items:center;gap:14px;margin-top:12px;padding:14px 18px;background:#251440;border:1px solid #ffffff26;border-radius:16px;color:#fff;box-shadow:0 6px 24px #0003}
.intro-timeline[hidden]{display:none}
.intro-timeline span{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;min-width:34px;text-align:center}
.intro-seek{--progress:0%;appearance:none;-webkit-appearance:none;flex:1;min-width:0;height:8px;border:0;border-radius:99px;background:linear-gradient(to right,#c26bff 0%,#a757ff var(--progress),#ffffff30 var(--progress),#ffffff30 100%);cursor:pointer;margin:8px 0;padding:0;touch-action:pan-y}
.intro-seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:20px;height:20px;border:3px solid #fff;border-radius:50%;background:#9d38ff;box-shadow:0 0 0 4px #ac5dff30}
.intro-seek::-moz-range-thumb{width:14px;height:14px;border:3px solid #fff;border-radius:50%;background:#9d38ff;box-shadow:0 0 0 4px #ac5dff30}
.intro-seek:disabled{opacity:.5;cursor:wait}
.intro-dialog video{max-height:calc(100dvh - 180px)}
@media(max-width:760px){.intro-timeline{padding:12px;gap:10px}.intro-timeline span{font-size:12px}}
/* Join playback and timeline into one uninterrupted panel. */
.intro-dialog video{border-bottom-left-radius:0;border-bottom-right-radius:0;max-height:calc(100dvh - 174px)}
.intro-timeline{margin:0;border:0;border-radius:0 0 20px 20px;box-shadow:none;background:#251440}
.intro-seek{touch-action:none}
@media(max-width:760px){.intro-timeline{border-radius:0 0 12px 12px}}
.grade-link{display:flex;align-items:center;gap:20px;padding:24px 30px;min-height:108px;text-decoration:none;cursor:pointer}.grade-link .fk-level-name{flex:1}.grade-link-label{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:800}.grade-link:hover{filter:brightness(1.04);transform:translateY(-2px)}.catalog-main,.game-page{padding-top:28px;padding-bottom:70px;background:#f5f0ff}.catalog-main .fk-wrap{padding-bottom:20px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;font-size:13px;color:#66567a;margin-bottom:38px}.breadcrumbs a{color:#6b1bc3;text-decoration:none}.breadcrumbs>*+*::before{content:'/';margin-right:10px;color:#a48ebc}.catalog-intro{margin-bottom:44px}.catalog-intro h1,.game-heading h1{font-size:clamp(30px,4.5vw,52px);line-height:1.16;margin:16px 0;color:#291a45}.catalog-intro p,.game-heading p{color:#66567a;line-height:1.8;max-width:640px}.category-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.category-heading h2{font-size:clamp(24px,3vw,34px);margin:0}.discover-link{display:flex;align-items:center;gap:12px;padding:12px 22px;border:2px solid #9c62d9;border-radius:40px;color:#6720ac;text-decoration:none;font-weight:800;white-space:nowrap}.category-shelf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;background:#e6d5fa;border-radius:32px;padding:28px;border:1px solid #d6bdf3}.learning-card{position:relative;display:block;aspect-ratio:16/10;border:4px solid #ae7ede;border-bottom:8px solid #60259e;border-radius:24px;overflow:hidden;box-shadow:0 5px 0 #c7a6e9;color:#fff;text-decoration:none}.learning-card img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.learning-card:hover img{transform:scale(1.04)}.card-title{position:absolute;bottom:12px;left:12px;right:12px;width:fit-content;max-width:calc(100% - 24px);padding:9px 13px;background:#382052ed;border-radius:20px;font-size:15px;font-weight:800;line-height:1.4}.card-play{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#fff;color:var(--brand-purple);box-shadow:0 0 0 6px #ffffff45}.card-play .icon{fill:currentColor;margin-left:3px}.catalog-note{margin-top:25px;color:#66567a}.game-page{background:transparent}.game-heading{margin-bottom:30px}.game-stage{border:2px solid #dabdf1;border-radius:28px;background:linear-gradient(140deg,#eee0ff,#fff4dd);overflow:hidden;position:relative;box-shadow:0 15px 45px #57257513}.game-launch{display:grid;grid-template-columns:1.1fr 1fr;align-items:stretch;min-height:560px}.launch-art{position:relative;overflow:hidden}.launch-art img{height:100%;width:100%;object-fit:cover}.launch-badge{position:absolute;left:24px;bottom:26px;right:24px;text-align:center;font-size:28px;font-weight:900;padding:18px;background:#7d10f7e8;color:#fff;border-radius:22px}.launch-bottom{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:30px 12px}.game-ad{width:336px;height:306px;max-width:100%;display:flex;flex-direction:column;align-items:center;overflow:hidden;background:#ffffff7a;border-radius:12px}.ad-label{height:26px;line-height:26px;color:#7c6b90;font-size:10px;text-transform:uppercase;letter-spacing:1.5px}.game-start{border:0;min-width:200px;cursor:pointer}.launch-note{margin:0;color:#6d587e;font-size:12px;text-align:center}.game-loading{min-height:560px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;gap:15px}.game-loading h2{font-size:28px}.loading-orbit{width:60px;height:60px;border:6px solid #d3b3f0;border-top-color:var(--brand-purple);border-right-color:#ed4c96;border-radius:50%;animation:game-spin .8s linear infinite}@keyframes game-spin{to{transform:rotate(360deg)}}.game-mount iframe{width:100%;height:clamp(560px,72vh,840px);display:block;border:0;background:#f4ecff}.game-load-error{padding:45px;text-align:center}.game-article{max-width:820px;margin:55px auto 0}.game-article h2{font-size:32px;margin:18px 0}.game-article h3{font-size:23px;margin:30px 0 14px}.game-article p{color:#61546d;font-size:16px;line-height:1.95;margin:0 0 20px}.game-launch[hidden],.game-loading[hidden],.game-mount[hidden],.game-load-error[hidden]{display:none}
@media(max-width:1000px){.category-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.game-launch{grid-template-columns:1fr}.launch-art{height:280px}.launch-bottom{padding:26px 12px}.game-mount iframe{height:720px}}
@media(max-width:760px){.grade-link{padding:22px 16px;gap:12px}.grade-link-label{font-size:0;gap:0}.grade-link-label .icon{width:22px}.category-heading{align-items:flex-start;flex-wrap:wrap;gap:15px}.discover-link{padding:9px 16px;font-size:13px}.category-shelf{grid-template-columns:1fr;border-radius:24px;padding:16px;gap:20px}.learning-card{max-width:500px}.catalog-main,.game-page{padding-top:22px;padding-bottom:45px}.catalog-intro{margin-bottom:30px}.game-heading h1{font-size:30px}.launch-art{height:230px}.launch-badge{font-size:22px;padding:12px}.game-stage{border-radius:20px}.game-loading{min-height:540px}.game-mount iframe{height:740px}.game-article h2{font-size:27px}.game-article p{font-size:15px}}
.game-ad .adsbygoogle{max-width:100%;width:336px!important}
@media(max-width:380px){.game-ad .adsbygoogle{width:100%!important}}
.game-launch{position:relative;display:flex;justify-content:center;min-height:590px}
.launch-art{position:absolute;inset:0;height:100%;width:100%}
.launch-art::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,#6c23bdaa,#e9d8ffb5)}
.launch-badge{top:24px;bottom:auto;left:24px;right:24px;z-index:1;font-size:24px;background:#7d10f7e8}
.launch-bottom{position:relative;z-index:1;justify-content:flex-end;padding:105px 14px 30px;width:100%}
.game-ad{background:#fff;border:1px solid #e1d1f0;box-shadow:0 8px 30px #30105422}
.launch-note{color:#fff;background:#3e1c6fcc;padding:6px 12px;border-radius:20px}
.fk-level.grade-link{background:var(--level);color:var(--level-ink);border-radius:60px;box-shadow:0 3px 0 var(--level-shadow)}
.category-tiles,.game-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.subcategory-card{display:block;color:#291a45;text-decoration:none;overflow:hidden;border-radius:24px;background:white;border:2px solid #d8b9f0;box-shadow:0 5px 0 #dbc6ec;transition:transform .2s}
.subcategory-card:hover{transform:translateY(-3px)}
.subcategory-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.subcategory-card>div{padding:18px}.subcategory-card h2{font-size:24px;margin:0 0 8px}.subcategory-card span{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#79528f}
.plain-catalog{background:#fff}.game-tiles .learning-card{background:transparent;border:0;border-radius:0;box-shadow:none;aspect-ratio:auto;overflow:visible;color:#291a45}.game-tiles .learning-card img{aspect-ratio:16/9;height:auto;border-radius:18px;display:block}.game-tiles .card-title{position:static;display:block;width:auto;max-width:none;background:none;padding:14px 0;border-radius:0;color:#291a45;font-size:17px}.game-tiles .card-play{top:calc((100% - 62px)/2)}
@media(max-width:1000px){.category-tiles,.game-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.category-tiles,.game-tiles{grid-template-columns:1fr}.subcategory-card,.game-tiles .learning-card{max-width:500px}}
.game-card-art{display:block;position:relative;overflow:hidden}
.game-list-card .game-card-art img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;transition:transform .2s}
.game-list-card:hover .game-card-art img{transform:scale(1.03)}
.game-list-card .card-play{top:50%;left:50%;color:var(--brand-purple)}
.game-list-card h2{font-size:20px;line-height:1.4}
.subcategory-card .game-card-art{display:block}
.subcategory-card .card-play{display:grid;place-items:center}
.fk-header{position:relative;top:auto}
html{scroll-padding-top:20px}
.content-ad{width:100%;max-width:820px;margin:26px auto;overflow:hidden;clear:both}
.content-ad .adsbygoogle{width:100%;max-width:100%}
.game-ad{height:280px;border:0}
.launch-bottom .game-loading{min-height:0;height:54px;display:flex;flex-direction:row;align-items:center;justify-content:center;padding:12px 24px;border-radius:30px;background:var(--brand-purple);color:white;font-size:17px;font-weight:800;gap:12px}
.launch-bottom .game-loading[hidden],.game-start[hidden]{display:none}
.launch-bottom .loading-orbit{width:24px;height:24px;border-width:3px;border-color:#ffffff50;border-top-color:#fff}
@media(max-width:760px){html{scroll-padding-top:12px}}
/* One shared height for the launch screen and the loaded game. */
.game-stage{--game-height:590px}
.game-launch{height:var(--game-height);min-height:var(--game-height)}
.game-mount{height:var(--game-height)}
.game-mount iframe{height:100%;min-height:0}
/* Preserve the game's original height; make the preview match it. */
.game-stage{--game-height:clamp(560px,72vh,840px)}
@media(max-width:1000px){.game-stage{--game-height:720px}}
@media(max-width:760px){.game-stage{--game-height:740px}}
/* Show the complete landscape artwork even in a tall phone preview. */
.launch-art{background:linear-gradient(160deg,#d9c9fa,#eee1ff 58%,#f9e7df)}
.launch-art img{object-fit:contain;object-position:center top}
.launch-art::after{background:linear-gradient(135deg,#6c23bd45,#e9d8ff55)}
.launch-art picture{display:block;width:100%;height:100%}
.launch-art img{object-fit:cover;object-position:center}
.launch-art::after{background:linear-gradient(135deg,#6c23bd30,#e9d8ff20)}
@media(max-width:760px){.launch-art img{object-position:center top}}
/* Override the category text-row alignment on the play medallion. */
.subcategory-card .card-play{display:flex;align-items:center;justify-content:center;gap:0}
.subcategory-card .card-play .icon{display:block;flex:0 0 24px;width:24px;height:24px;margin:0;transform:translateX(1px)}
.site-search input:focus,.site-search input:focus-visible{outline:none;box-shadow:none;border:0}
.search-card-grid{margin-top:32px;align-items:stretch}
.search-pagination{display:flex;justify-content:center;gap:24px;margin-top:30px}
.worksheet-group{margin-bottom:48px}.worksheet-page{padding-top:28px;padding-bottom:70px}.pdf-section{max-width:900px;margin:0 auto 45px}.pdf-section h2{display:flex;justify-content:space-between;align-items:center;font-size:24px;margin-bottom:18px}.pdf-section h2 small{font-size:13px;color:#79528f}.worksheet-pdf{display:block;width:100%;height:760px;border:1px solid #d8b9f0;border-radius:18px;background:#fff}.pdf-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;margin-top:20px}.pdf-actions .btn{gap:10px;min-width:170px}.pdf-actions .primary{background:var(--brand-purple);color:#fff}@media(max-width:760px){.worksheet-pdf{height:580px}.worksheet-page{padding-top:22px}.pdf-actions{gap:12px}.pdf-actions .btn{min-width:130px;font-size:14px}}

.grade-coming-soon{cursor:default}.grade-coming-soon .grade-link-label{font-size:14px;white-space:nowrap}

/* Homepage learning menu: glossy color cards with no decorative icons. */
.fk-curriculum .fk-level-list{gap:18px}
.fk-curriculum .fk-level.grade-link{--card-top:#aa69ef;--card-bottom:#6b39ed;--card-edge:#c79bff;--card-icon:#7745fa;display:flex;gap:26px;min-height:112px;padding:16px 32px 16px 22px;border:3px solid var(--card-edge);border-radius:999px;background:linear-gradient(155deg,var(--card-top),var(--card-bottom));color:#171344;box-shadow:inset 0 2px 1px #ffffff65,inset 0 -3px 1px #0000000c,0 9px 17px #39214c1a;transition:transform .18s,filter .18s}
.fk-curriculum .fk-level:nth-child(1){color:#fff}
.fk-curriculum .fk-level:nth-child(2){--card-top:#f373ca;--card-bottom:#df45ab;--card-edge:#ffa7e4;--card-icon:#d213a6}
.fk-curriculum .fk-level:nth-child(3){--card-top:#f7a346;--card-bottom:#ed8121;--card-edge:#ffc87e;--card-icon:#ff7738}
.fk-curriculum .fk-level:nth-child(4){--card-top:#96d970;--card-bottom:#70be4f;--card-edge:#bcf19d;--card-icon:#46ae34}
.fk-curriculum .fk-level:nth-child(5){--card-top:#70c7f2;--card-bottom:#42ace3;--card-edge:#ace7ff;--card-icon:#0a9bea}
.fk-curriculum .fk-level:nth-child(6){--card-top:#f4e143;--card-bottom:#efd21e;--card-edge:#fff58e;--card-icon:#f4b600}
.fk-curriculum .fk-level-icon{width:74px;height:74px;flex:0 0 74px;background:linear-gradient(145deg,#fff,#ffffffdf);border:1px solid #ffffffb0;color:var(--card-icon);box-shadow:0 3px 8px #44275914}
.fk-curriculum .fk-level-icon .icon{width:36px;height:36px}
.fk-curriculum .fk-level-name{gap:0;min-width:0;flex:1}
.fk-curriculum .fk-level-name strong{font-size:29px;min-width:205px;letter-spacing:-.5px;padding-right:22px}
.fk-curriculum .fk-level-name small{font-size:15px;line-height:1.5;border-left:1px solid #ffffff75;padding-left:28px;opacity:1}
.fk-curriculum .grade-link-label{justify-content:center;flex:0 0 170px;min-height:54px;gap:12px;padding:12px 20px;border:1px solid #ffffff85;border-radius:999px;background:linear-gradient(145deg,#fffffff2,#ffffffb0);color:#171344;font-size:16px;font-weight:800;white-space:nowrap}
.fk-curriculum .grade-link-label .icon{width:25px;height:25px}
.fk-curriculum .grade-coming-soon{cursor:default}
.fk-curriculum .grade-coming-soon:hover{filter:none;transform:none}
@media(max-width:1100px){.fk-curriculum .fk-level.grade-link{gap:18px;padding-right:22px}.fk-curriculum .fk-level-name strong{min-width:175px;font-size:25px}.fk-curriculum .fk-level-name small{padding-left:20px;font-size:13px}.fk-curriculum .grade-link-label{flex-basis:145px;font-size:14px}}
@media(max-width:760px){.fk-curriculum .fk-level-list{gap:14px}.fk-curriculum .fk-level.grade-link{gap:12px;padding:15px 16px 15px 12px;min-height:108px;border-radius:36px}.fk-curriculum .fk-level-icon{width:48px;height:48px;flex-basis:48px}.fk-curriculum .fk-level-icon .icon{width:26px;height:26px}.fk-curriculum .fk-level-name{flex-direction:column;align-items:flex-start;gap:4px}.fk-curriculum .fk-level-name strong{min-width:0;padding:0;font-size:22px}.fk-curriculum .fk-level-name small{border:0;padding:0;font-size:11px;line-height:1.5}.fk-curriculum .grade-link-label{flex-basis:110px;min-height:43px;padding:10px 12px;font-size:12px;gap:7px}.fk-curriculum .grade-link-label .icon{width:18px;height:18px}}
@media(max-width:390px){.fk-curriculum .fk-level.grade-link{gap:9px;padding-right:10px}.fk-curriculum .fk-level-icon{width:40px;height:40px;flex-basis:40px}.fk-curriculum .fk-level-name strong{font-size:18px}.fk-curriculum .grade-link-label{flex-basis:88px;font-size:10px;padding-inline:7px}.fk-curriculum .fk-level-name small{font-size:10px}}

/* Shared action palette, matching the learning menu. */
.bright-site .btn.coral{background:var(--action-orange);color:var(--brand-ink);box-shadow:0 3px 0 #bc5b13,inset 0 1px 0 #ffffff55}
.bright-site .btn.coral:hover{background:var(--action-orange-hover);color:var(--brand-ink)}
.bright-site .btn.primary,.site-search button,.launch-bottom .game-loading{background:var(--action-purple);color:#fff}
.bright-site .btn.primary{box-shadow:0 3px 0 var(--brand-purple-deep),inset 0 1px 0 #ffffff40}
.bright-site .btn.primary:hover,.site-search button:hover{background:var(--action-purple-hover)}
.discover-link{border-color:#a17bdc;color:var(--brand-purple-deep)}

/* Purple actions coordinated with the Preschool card. */
.bright-site .btn.coral,.bright-site .btn.primary{background:var(--action-purple);color:#fff;box-shadow:0 3px 0 #5526ca,inset 0 1px 0 #ffffff30}
.bright-site .btn.coral:hover,.bright-site .btn.primary:hover{background:var(--action-purple-hover);color:#fff}

/* Expanded game viewport; portrait phones get a landscape iframe if OS lock is unavailable. */
body.game-fullscreen-open{overflow:hidden}
.game-stage.game-expanded{position:fixed;inset:0;z-index:2147483000;width:100vw;width:100dvw;height:100vh;height:100dvh;margin:0;max-width:none;border:0;border-radius:0;background:#09252e;box-shadow:none;overflow:hidden}
.game-stage.game-expanded .game-mount{display:block;position:absolute;inset:0;width:100%;height:100%}
.game-stage.game-expanded .game-mount iframe{display:block;width:100%;height:100%;min-height:0;max-height:none;border:0}
@media(orientation:portrait){.game-stage.game-expanded.force-landscape .game-mount{inset:auto;left:50%;top:50%;width:100vh;width:100dvh;height:100vw;height:100dvw;transform:translate(-50%,-50%) rotate(90deg)}}
