/* Homepage colour and navigation refresh. Scoped to the existing homepage. */
@layer mobile-course-app {
body[data-home-shell] #main#main>.hero{width:100%!important;max-width:none!important;margin:0!important;border-radius:0!important;background:radial-gradient(ellipse at 85% 15%,#a477f5 0,transparent 45%),linear-gradient(115deg,#352078 0%,#6138bb 62%,#7a52d1 100%)!important;padding:36px max(32px,calc((100% - 1120px)/2))!important;height:500px!important;min-height:500px!important;max-height:none!important;gap:40px!important;color:#fff!important}
body[data-home-shell] #main#main .hero h1{font-size:46px!important;line-height:1.3!important;color:#fff!important;font-weight:800!important;letter-spacing:-1.5px!important}
body[data-home-shell] #main#main .hero h1 em{color:#b6f3ed!important}
body[data-home-shell] #main#main .hero .eyebrow{display:inline-block;background:#ffffff18;border:1px solid #ffffff45;border-radius:30px;padding:6px 13px;color:#fff!important}
body[data-home-shell] #main#main .hero p,body[data-home-shell] #main#main .hero small{color:#f0eaff!important}
body[data-home-shell] #main#main .hero .button{background:#fff!important;color:#44218f!important;border-color:#fff!important;box-shadow:0 8px 22px #20104a30;font-weight:800!important}
body[data-home-shell] #main#main .hero .button.secondary{background:#ffffff12!important;color:#fff!important;border:1px solid #ffffff90!important;box-shadow:none}
body[data-home-shell] #main#main .hero .hero-art{background:#f1edf9;border:8px solid #ffffff20;border-radius:28px;overflow:hidden;height:390px!important;box-shadow:0 18px 45px #22104a30;transform:rotate(1deg)}
body[data-home-shell] #main#main .hero .hero-art img{height:370px!important}
body[data-home-shell] #main#main #home-explore{background:#f4f1fb;padding:30px max(32px,calc((100% - 1200px)/2)) 32px}
body[data-home-shell] #main#main .bk-learning-shortcuts{padding:0!important}
body[data-home-shell] #main#main .bk-learning-shortcuts nav{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px!important;overflow:visible!important;padding:0!important;border:0!important}
body[data-home-shell] #main#main .bk-learning-shortcuts nav a{background:#fff!important;border:1px solid #ddd4ef!important;box-shadow:0 4px 12px #45277b09;border-radius:15px!important;min-height:118px!important;padding:16px 6px!important;color:#30234b!important;transition:background .15s,border-color .15s}
body[data-home-shell] #main#main .bk-learning-shortcuts nav a:hover{background:#ece3ff!important;border-color:#8054cf!important}
body[data-home-shell] #main#main .service-icon{width:48px!important;height:48px!important;background:#6841b9!important;color:#fff!important}
body[data-home-shell] #main#main .tone-1,body[data-home-shell] #main#main .tone-4{background:#087f83!important}
body[data-home-shell] #main#main .tone-2{background:#c25139!important}
body[data-home-shell] #main#main .tone-3{background:#286ac6!important}
body[data-home-shell] #main#main .tone-5{background:#5058b5!important}
body[data-home-shell] #main#main .tone-6{background:#a43c80!important}
body[data-home-shell] #main#main #courses{padding-top:38px!important}
body[data-home-shell] #main#main #courses>.bk-book-introduction{background:#eef6fa!important;border:1px solid #c9e1ed!important;border-radius:22px;padding:30px 28px!important;margin-bottom:30px!important}
body[data-home-shell] #main#main .bk-service-value-title{font-size:32px!important;margin-bottom:10px!important}
body[data-home-shell] #main#main .bk-service-value-copy{min-height:0!important;margin-bottom:10px!important}
body[data-home-shell] #main#main .bk-service-counts{margin:10px auto 0!important;padding:0!important}
body[data-home-shell] #main#main .bk-service-counts__note{min-height:0!important;margin:12px auto!important}
body[data-home-shell] #main#main .byk-home-action{min-height:0!important;margin:14px 0 0!important}
body[data-home-shell] #main#main .course{--course-accent:#087c77;--course-bg:#dff3ef;background:var(--course-bg)!important;border:1px solid color-mix(in srgb,var(--course-accent) 25%,white)!important;border-top:5px solid var(--course-accent)!important;border-radius:24px!important;padding:32px!important;margin-bottom:32px!important;gap:30px!important}
body[data-home-shell] #main#main #course-kids{--course-accent:#2464bb;--course-bg:#e6effd}
body[data-home-shell] #main#main #course-junior{--course-accent:#7943b4;--course-bg:#efe5fa}
body[data-home-shell] #main#main #course-teens{--course-accent:#404c9c;--course-bg:#e7eafb}
body[data-home-shell] #main#main #course-general{--course-accent:#266f87;--course-bg:#e1f0f5}
body[data-home-shell] #main#main #course-newspaper{--course-accent:#3559a6;--course-bg:#e8effa}
body[data-home-shell] #main#main .course-art{background:#ffffff80!important;border-radius:18px!important}
body[data-home-shell] #main#main .course-copy h3{color:#202a40!important}
body[data-home-shell] #main#main .course-copy>p{color:#405068!important}
body[data-home-shell] #main#main .course-meta b{color:var(--course-accent)!important;font-size:20px!important}
body[data-home-shell] #main#main .course-link{background:var(--course-accent)!important;color:#fff!important;border:0!important;border-radius:10px;padding:12px 18px!important}
body[data-home-shell] #main#main .course-recommendations{background:#ffffffb8!important;border-radius:16px;padding:20px!important;border:0!important}
body[data-home-shell] #main#main .closing{background:#3c277d!important;color:white!important;border-radius:22px;padding:36px!important}
body[data-home-shell] #main#main .closing :is(h2,p,.eyebrow){color:#fff!important}
body[data-home-shell] #main#main .closing .button{background:#fff!important;color:#44218f!important}
body[data-home-shell] #byk-site-header#byk-site-header#byk-site-header .byk-site-nav{gap:4px!important;min-height:76px!important}
body[data-home-shell] #byk-site-header#byk-site-header#byk-site-header .byk-site-nav>a{font-family:Pretendard,'Noto Sans KR','Malgun Gothic',sans-serif!important;font-size:18px!important;font-weight:750!important;letter-spacing:-.35px!important;padding:12px 11px!important;border:0!important;border-radius:9px!important;color:#252039!important;line-height:1.5!important}
body[data-home-shell] #byk-site-header#byk-site-header#byk-site-header .byk-site-nav>a:is(:hover,[aria-current]){background:#eae0fa!important;color:#53259d!important}
body[data-home-shell] #byk-site-header#byk-site-header#byk-site-header .byk-site-mobile-nav a{font-size:18px!important;font-weight:700!important;line-height:1.6!important}
@media(max-width:1200px) and (min-width:801px){body[data-home-shell] #byk-site-header#byk-site-header#byk-site-header .byk-site-nav>a{font-size:16px!important;padding:12px 6px!important}}
@media(max-width:800px){
body[data-home-shell] #main#main>.hero{padding:30px 22px!important;height:auto!important;min-height:0!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;gap:26px!important}
body[data-home-shell] #main#main .hero h1{font-size:33px!important;letter-spacing:-1px!important}
body[data-home-shell] #main#main .hero .hero-art{height:250px!important;max-width:430px;margin:auto!important;width:100%;transform:none}
body[data-home-shell] #main#main .hero .hero-art img{height:240px!important}
body[data-home-shell] #main#main #home-explore{padding:22px 18px!important}
body[data-home-shell] #main#main .bk-shortcuts-desktop{display:block!important}
body[data-home-shell] #main#main .bk-shortcuts-mobile{display:none!important}
body[data-home-shell] #main#main .bk-learning-shortcuts nav{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
body[data-home-shell] #main#main .bk-learning-shortcuts nav a{min-height:108px!important;padding:12px 3px!important;white-space:normal!important}
body[data-home-shell] #main#main .bk-learning-shortcuts nav b{font-size:14px!important}
body[data-home-shell] #main#main .bk-shortcut-heading{margin-bottom:16px!important}
body[data-home-shell] #main#main .course{padding:22px 16px!important;border-radius:18px!important;gap:20px!important}
body[data-home-shell] #main#main .course-recommendations{padding:14px!important}
body[data-home-shell] #main#main #courses>.bk-book-introduction{padding:26px 16px!important}
body[data-home-shell] #main#main .bk-service-value-title{font-size:25px!important}
}
}

@layer mobile-course-app {
body[data-home-shell] #main#main .recommendations-heading{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;padding:0 0 16px!important;border-bottom:2px solid #d4dce7!important;margin-bottom:18px!important}
body[data-home-shell] #main#main .course-expand{font-size:22px!important;line-height:1.5!important;font-weight:800!important;color:#202b44!important;padding:8px 0!important;white-space:normal!important;text-align:left!important}
body[data-home-shell] #main#main .recommendations-toggle-icon{display:inline-grid;place-items:center;background:var(--course-accent,#5840a4)!important;color:white!important;width:28px;height:28px;border-radius:8px;font-size:22px!important;margin-left:8px}
body[data-home-shell] #main#main .recommendations-meta{font-size:15px!important;font-weight:600!important;color:#43516a!important}
body[data-home-shell] #main#main .inline-library-tools{gap:16px!important;flex-wrap:wrap!important;margin-bottom:22px!important}
body[data-home-shell] #main#main .library-levels{gap:8px!important;flex-wrap:wrap!important}
body[data-home-shell] #main#main .library-levels button{min-width:58px!important;min-height:48px!important;padding:10px 15px!important;border:1px solid #aebbd0!important;border-radius:10px!important;background:#fff!important;color:#334360!important;font-size:18px!important;font-weight:750!important}
body[data-home-shell] #main#main .library-levels button[aria-pressed=true]{background:var(--course-accent,#5840a4)!important;border-color:var(--course-accent,#5840a4)!important;color:#fff!important;box-shadow:0 3px 8px #20355325}
body[data-home-shell] #main#main .library-levels button:hover{outline:2px solid var(--course-accent,#5840a4);outline-offset:2px}
body[data-home-shell] #main#main .inline-library-tools>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:10px 16px!important;min-height:48px!important;border:1px solid var(--course-accent,#5840a4)!important;border-radius:10px!important;color:var(--course-accent,#5840a4)!important;background:#fff!important;font-size:16px!important;font-weight:750!important;text-decoration:none!important}
body[data-home-shell] #main#main .book-card-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;border-top:0!important;padding-top:8px!important;align-items:stretch!important}
body[data-home-shell] #main#main .book-card-actions a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;margin:0!important;padding:10px 7px!important;font-size:16px!important;font-weight:750!important;line-height:1.5!important;white-space:nowrap!important;border:1px solid var(--course-accent,#5840a4)!important;border-radius:9px!important;background:#fff!important;color:var(--course-accent,#5840a4)!important;text-decoration:none!important}
body[data-home-shell] #main#main .book-card-actions a.learn-action{background:var(--course-accent,#5840a4)!important;color:#fff!important}
body[data-home-shell] #main#main .book-card-actions a:hover{filter:brightness(.94)}
@media(max-width:800px){body[data-home-shell] #main#main .course-expand{font-size:20px!important}body[data-home-shell] #main#main .recommendations-meta{font-size:14px!important}body[data-home-shell] #main#main .inline-library-tools>a{width:100%!important}body[data-home-shell] #main#main .book-card-actions{grid-template-columns:1fr!important}}
}

/* Refine shortcuts; keep the book-count panel white. */
@layer mobile-course-app {
body[data-home-shell] #main#main .bk-learning-shortcuts nav a{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:16px!important;gap:12px!important;padding:12px 5px!important}
body[data-home-shell] #main#main .bk-learning-shortcuts nav a:hover{background:#e9e2f7!important;border:0!important}
body[data-home-shell] #main#main .bk-learning-shortcuts .service-icon{width:60px!important;height:60px!important;border-radius:50%!important;background:#e5daf9!important;color:#6335aa!important;box-shadow:inset 0 0 0 1px #ffffff80!important}
body[data-home-shell] #main#main .bk-learning-shortcuts .service-icon svg{width:27px!important;height:27px!important;stroke-width:1.8}
body[data-home-shell] #main#main .bk-learning-shortcuts .tone-1,body[data-home-shell] #main#main .bk-learning-shortcuts .tone-4{background:#d1eeea!important;color:#087a77!important}
body[data-home-shell] #main#main .bk-learning-shortcuts .tone-2{background:#f6dfd8!important;color:#b44732!important}
body[data-home-shell] #main#main .bk-learning-shortcuts .tone-3{background:#dce9fc!important;color:#245fb5!important}
body[data-home-shell] #main#main .bk-learning-shortcuts .tone-5{background:#e0e2f8!important;color:#494eae!important}
body[data-home-shell] #main#main .bk-learning-shortcuts .tone-6{background:#f2dfee!important;color:#973776!important}
body[data-home-shell] #main#main .bk-learning-shortcuts nav b{font-weight:650!important;color:#302840!important}
body[data-home-shell] #main#main #courses>.bk-book-introduction{background:#fff!important;border-color:#e3e7ed!important;box-shadow:none!important}
@media(max-width:800px){body[data-home-shell] #main#main .bk-learning-shortcuts .service-icon{width:52px!important;height:52px!important}body[data-home-shell] #main#main .bk-learning-shortcuts nav a{min-height:104px!important}}
}

/* One consistent colour system for the newspaper introduction and articles. */
@layer mobile-course-app {
body[data-home-shell] #main#main #newspaper-curriculum{background:#e8effa!important;border:1px solid #c4d1e9!important;border-top:5px solid #3559a6!important;border-radius:24px!important;box-sizing:border-box;width:100%!important;margin:0 0 32px!important;padding:28px 24px!important}
body[data-home-shell] #main#main #newspaper-curriculum h3{color:#202a40!important}
body[data-home-shell] #main#main #newspaper-curriculum .filter-buttons button{background:#fff!important;color:#3559a6!important;border:1px solid #b8c9e6!important;border-radius:9px!important;font-weight:700!important}
body[data-home-shell] #main#main #newspaper-curriculum .filter-buttons button:is(.active,[aria-pressed="true"],[aria-selected="true"]){background:#3559a6!important;color:#fff!important;border-color:#3559a6!important}
body[data-home-shell] #main#main #newspaper-curriculum a{color:#3559a6!important}
body[data-home-shell] #main#main #newspaper-curriculum #news-issue,body[data-home-shell] #main#main #newspaper-curriculum .news-bottom{color:#435b80!important}
body[data-home-shell] #main#main #newspaper-curriculum .news-grid article{background:#fff!important;border-radius:12px!important;overflow:hidden}
@media(max-width:800px){body[data-home-shell] #main#main #newspaper-curriculum{padding:22px 16px!important;border-radius:18px!important}}
}

/* Adult recommendations use the same card and action layout as other courses. */
@layer mobile-course-app {
body[data-home-shell] #main#main #books-for-general .gl-card{background:#fff!important;display:flex!important;flex-direction:column!important;min-width:0!important;padding:0!important;overflow:hidden}
body[data-home-shell] #main#main #books-for-general .gl-card>small{margin:18px 18px 0!important;font-size:14px!important;line-height:1.65!important}
body[data-home-shell] #main#main #books-for-general .gl-card>h3{margin:12px 18px 0!important;font-size:20px!important;line-height:1.5!important}
body[data-home-shell] #main#main #books-for-general .gl-card>p{margin:8px 18px 0!important;font-size:16px!important;line-height:1.65!important}
body[data-home-shell] #main#main #books-for-general .gl-card>footer{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0!important;margin-top:auto!important;padding:24px 18px 18px!important;border:0!important;background:#fff!important}
body[data-home-shell] #main#main #books-for-general .gl-card>footer a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;padding:10px 7px!important;margin:0!important;font-size:16px!important;font-weight:750!important;line-height:1.5!important;white-space:nowrap!important;border:1px solid var(--course-accent,#266f87)!important;border-radius:9px!important;background:#fff!important;color:var(--course-accent,#266f87)!important;text-decoration:none!important}
body[data-home-shell] #main#main #books-for-general .gl-card>footer a:last-child{background:var(--course-accent,#266f87)!important;color:#fff!important}
body[data-home-shell] #main#main #books-for-general .gl-card>footer a:hover{filter:brightness(.94)}
@media(max-width:800px){body[data-home-shell] #main#main #books-for-general .gl-card>footer{grid-template-columns:1fr!important;padding:20px 14px 14px!important}body[data-home-shell] #main#main #books-for-general .gl-card>small,body[data-home-shell] #main#main #books-for-general .gl-card>h3,body[data-home-shell] #main#main #books-for-general .gl-card>p{margin-left:14px!important;margin-right:14px!important}}
}

@layer mobile-course-app {
body[data-home-shell] #main#main #course-newspaper>#newspaper-curriculum{grid-column:1 / -1!important;width:100%!important;min-width:0!important;background:#ffffffb8!important;border:0!important;border-radius:16px!important;margin:0!important;padding:20px!important;box-shadow:none!important;order:3!important}
body[data-home-shell] #main#main #course-newspaper{height:auto!important;max-height:none!important}
body[data-home-shell] #main#main #courses>.bk-book-introduction{border:0!important;box-shadow:none!important;border-radius:0!important}
@media(max-width:800px){body[data-home-shell] #main#main #course-newspaper>#newspaper-curriculum{padding:14px!important}}
}
