/* Scoped to the structured theme; existing canvas and archive themes are unchanged. */
body.youth-studio-page{background:#050505;color:#f5f5f7;overflow-x:clip}
body.youth-studio-page #page-root{max-width:none;width:100%;padding:0;margin:0}
body.youth-studio-page #act_header{position:relative!important;top:auto!important;transform:none!important}
.ys-page,.ys-dialog{font-family:"Pretendard","Apple SD Gothic Neo",-apple-system,sans-serif;letter-spacing:-.035em;word-break:keep-all;line-height:1.6}
.ys-page *,.ys-dialog *{box-sizing:border-box}
.ys-page{background:#050505;color:#f5f5f7;--ys-accent:#a990ef}
.ys-page a{color:inherit;text-decoration:none}.ys-page button,.ys-dialog button{font:inherit;cursor:pointer}.ys-page button:disabled{opacity:.35;cursor:default}
.ys-page :focus-visible,.ys-dialog :focus-visible{outline:3px solid #bda9ff;outline-offset:4px}
.ys-wrap{max-width:1180px;padding:0 40px;margin:auto}.ys-page h1,.ys-page h2,.ys-page h3{color:#f5f5f7;font-weight:650;word-break:keep-all;letter-spacing:-.065em}
.ys-page h1{font-size:clamp(44px,6.6vw,88px);line-height:1.14;margin:22px 0}.ys-page h2{font-size:clamp(34px,4.6vw,60px);line-height:1.18;margin:0}.ys-page h3{font-size:28px;line-height:1.3;margin:0 0 20px}
.ys-nav{position:sticky;top:0;z-index:90;background:#111113ed;backdrop-filter:blur(20px);border-bottom:1px solid #ffffff1c}.ys-nav>.ys-wrap{display:flex;align-items:center;gap:24px;min-height:62px}.ys-course{font-size:17px;font-weight:600;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ys-nav-links{display:flex;gap:22px;margin-left:auto;overflow-x:auto;white-space:nowrap;font-size:12px;color:#aaaab2}.ys-nav-links a:hover{color:white}.ys-nav-apply{padding:7px 15px;border-radius:24px;background:var(--ys-accent);color:#14121c!important;font-size:12px;white-space:nowrap}.ys-menu{display:none}
.ys-hero{scroll-margin-top:85px;text-align:center;padding-top:100px;padding-bottom:90px}.ys-kicker{color:var(--ys-accent);font-size:12px;letter-spacing:.14em;font-weight:600;margin-bottom:22px}.ys-hero>p{font-size:21px;color:#a4a4ad;line-height:1.7;max-width:720px;margin:28px auto}.ys-hero-image{display:block;width:100%;max-height:540px;object-fit:contain;margin:55px auto 35px;border-radius:24px}.ys-link-button{display:inline-block;background:var(--ys-accent);color:#14121c!important;border-radius:28px;padding:12px 24px;margin-top:28px;font-size:15px;font-weight:600}.ys-facts{display:flex;gap:35px;justify-content:center;color:#a4a4ad;font-size:14px;margin-top:30px}.ys-section{padding:110px 0;scroll-margin-top:90px}.ys-section-head{margin-bottom:45px}.ys-section-head>p{font-size:19px;line-height:1.8;color:#9c9ca6;max-width:740px;margin:26px 0 0}.ys-intro,.ys-experience,.ys-faq{background:#111113}.ys-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.ys-card{position:relative;min-width:0}.ys-card p{font-size:17px;color:#9c9ca6;line-height:1.8;white-space:pre-wrap;margin:0}.ys-card-image{width:100%;height:300px;object-fit:cover;border-radius:22px;margin-bottom:27px}.ys-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#38383d transparent;padding:0 0 20px}.ys-rail>.ys-card{flex:0 0 78%;min-height:390px;background:#050505;border-radius:28px;padding:38px;scroll-snap-align:start}.ys-rail>.ys-card:has(.ys-plus){padding-bottom:75px}.ys-arrows{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.ys-arrows button{border:0;border-radius:50%;width:42px;height:42px;background:#303034;color:white;font-size:26px}.ys-plus{border:0;background:#dddde5;color:#222;width:34px;height:34px;border-radius:50%;font-size:25px!important;margin-top:20px}.ys-rail .ys-plus{position:absolute;right:25px;bottom:25px}.ys-more{display:flex;align-items:center;gap:25px;width:fit-content;margin:40px auto 0;border:0;border-radius:30px;background:#29292e;color:#eee;padding:9px 9px 9px 22px;font-size:14px!important}.ys-more span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--ys-accent);color:#111;font-size:25px}.ys-feature-image{display:block;width:100%;max-height:620px;object-fit:contain;border-radius:26px;margin:45px auto}.ys-program .ys-section-head,.ys-stats .ys-section-head{text-align:center}.ys-program .ys-section-head>p,.ys-stats .ys-section-head>p{margin:26px auto 0}.ys-program .ys-items{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:25px}.ys-program .ys-card{border-top:1px solid #645678;padding-top:25px}.ys-program .ys-card small{display:block;color:var(--ys-accent);font-size:11px;letter-spacing:.12em;margin-bottom:25px}.ys-program .ys-card h3{font-size:24px}.ys-recommend .ys-card{background:#151517;border-radius:25px;padding:32px}.ys-stats .ys-items{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));text-align:center}.ys-stat strong{font-size:58px;font-weight:600;line-height:1.2;letter-spacing:-.06em}.ys-stat p{color:#9999a3;font-size:16px}.ys-faq .ys-items{display:block}.ys-faq details{padding:24px 0;border-bottom:1px solid #36363c}.ys-faq summary{cursor:pointer;font-size:22px}.ys-faq details p{color:#a4a4ae;font-size:17px;line-height:1.8;padding-top:20px}.ys-cta .ys-section-head{text-align:center}.ys-section.ys-cta{display:block;background:#08070b;color:white!important;border-radius:0;margin:0;padding:110px 0}.ys-section.ys-cta .ys-wrap{text-align:center}.ys-section.ys-cta .ys-section-head p{margin:26px auto 0}
.ys-editorbar{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:14px 20px;background:#edeaf4;color:#25202f;font-size:13px}.ys-editorbar span{margin-right:12px}.ys-editorbar button,.ys-controls button{border:1px solid #c4bfcd;background:white;color:#2b2533;border-radius:7px;padding:7px 12px}.ys-editorbar button[data-action=save]{background:#473464;color:white;border-color:#473464}.ys-controls{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:25px;font-size:12px}.ys-dialog{width:min(940px,calc(100% - 28px));max-height:88vh;border:1px solid #34343b;border-radius:28px;background:#111113;color:#f5f5f7;padding:0}.ys-dialog::backdrop{background:#000b;backdrop-filter:blur(10px)}.ys-close{position:sticky;top:18px;display:block;margin:18px 18px -54px auto;z-index:2;background:#393940;color:white;width:36px;height:36px;border:0;border-radius:50%;font-size:25px!important}.ys-dialog-body,.ys-form{padding:65px}.ys-dialog h2{font-size:42px;font-weight:600;line-height:1.2;margin:12px 0 30px;letter-spacing:-.05em;color:white}.ys-dialog-body p{font-size:18px;color:#b2b2bd;line-height:1.9;white-space:pre-wrap}@media(max-width:760px){.ys-wrap{padding-left:24px;padding-right:24px}.ys-nav>.ys-wrap{gap:12px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.ys-course{flex:1;max-width:calc(100% - 150px);font-size:15px}.ys-nav-links{display:none;order:4;width:100%;margin:0;padding:12px 0;gap:20px}.ys-menu-open .ys-nav-links{display:flex}.ys-menu{display:block;background:transparent;color:white;border:0;font-size:22px!important}.ys-hero{padding-top:65px;padding-bottom:65px}.ys-hero>p{font-size:17px}.ys-hero-image{margin:35px auto;max-height:360px}.ys-facts{flex-direction:column;gap:8px}.ys-section{padding:75px 0}.ys-section-head>p{font-size:17px}.ys-items{grid-template-columns:1fr}.ys-rail>.ys-card{flex-basis:90%;padding:28px;min-height:330px}.ys-card h3{font-size:27px}.ys-card p{font-size:16px}.ys-card-image{height:220px}.ys-program .ys-items{grid-template-columns:1fr 1fr;gap:30px 20px}.ys-program .ys-card h3{font-size:22px}.ys-dialog-body,.ys-form{padding:65px 24px 30px}.ys-dialog h2{font-size:32px}.ys-editorbar{justify-content:flex-start}.ys-editorbar strong,.ys-editorbar span{width:auto}.ys-type-picker{grid-template-columns:1fr}.ys-section.ys-cta{padding:75px 0}}
@media(prefers-reduced-motion:reduce){.ys-page *{scroll-behavior:auto!important}}

.ys-blank{min-height:calc(100vh - 65px)}
body.youth-studio-page #act_header{background:#111113!important;color:#f5f5f7!important}
body.youth-studio-page #act_header .nav-compact-title,body.youth-studio-page #act_header .nav-pill,body.youth-studio-page #act_header .header_util a,body.youth-studio-page #act_header button{color:#f5f5f7!important}

/* One course navigation, with the site's original brand typography. */
body.youth-studio-unified-nav #act_header{display:none!important}
.ys-brand{flex-shrink:0;font-family:"Google Sans",sans-serif;font-size:18px;font-weight:500;letter-spacing:.06em;white-space:nowrap}
.ys-nav-links{font-weight:400}
.ys-nav-apply{font-weight:500}
@media(max-width:900px){
 .ys-nav>.ys-wrap{gap:12px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}
 .ys-brand{margin-right:auto;font-size:16px;letter-spacing:.04em}
 .ys-nav-links{display:none;order:4;width:100%;margin:0;padding:12px 0;gap:20px}
 .ys-menu-open .ys-nav-links{display:flex}
 .ys-menu{display:block;background:transparent;color:white;border:0;font-size:22px!important}
}
@media(max-width:380px){
 .ys-nav>.ys-wrap{padding-left:16px;padding-right:16px;gap:8px}
 .ys-brand{font-size:14px;letter-spacing:.02em}
 .ys-nav-apply{padding:7px 10px}
}

body.youth-ondevice-original #act_footer{display:block!important;margin-top:0}

/* Shared footer, toned down only on the on-device course detail. */
body.youth-ondevice-original #act_footer .footer{background:#050505!important;color:#99999f!important}
body.youth-ondevice-original #act_footer .footer-col{color:#99999f}
body.youth-ondevice-original #act_footer .footer-col h4,
body.youth-ondevice-original #act_footer .footer-col>div[style*="font-size:25px"]{color:#d2d2d7!important}
body.youth-ondevice-original #act_footer .footer-col a{color:#aaaab0!important}
body.youth-ondevice-original #act_footer .footer-col a:hover{color:#f5f5f7!important}
body.youth-ondevice-original #act_footer .footer-bottom{color:#77777f;border-top-color:#252528}

body.youth-ondevice-original .course-apply-fixed{border:0;border-radius:24px;background:#a990ef;color:#17121e;padding:10px 18px;font-family:inherit;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}
body.youth-ondevice-original .course-apply-fixed span{margin-left:10px}
body.youth-ondevice-original .ys-nav-apply{background:transparent;color:#bbb4c5!important;padding:7px 0}
.course-apply-mobile{display:none}
.course-apply-dialog{max-width:440px;width:calc(100% - 40px);border:1px solid #40354e;border-radius:20px;padding:30px;background:#17141d;color:#f5f5f7}
.course-apply-dialog::backdrop{background:#0009}
.course-apply-dialog h2{font-size:22px;line-height:1.4;margin:0 0 16px}
.course-apply-dialog p{color:#b4acbf;line-height:1.8;font-size:14px}
.course-apply-dialog button{border:0;border-radius:22px;background:#a990ef;padding:10px 24px;cursor:pointer;margin-top:10px;color:#17121e}
@media(max-width:700px){
 body.youth-ondevice-original .ys-nav .course-apply-fixed{display:none}
 body.youth-ondevice-original .course-apply-mobile{display:block;position:fixed;z-index:95;bottom:0;left:0;right:0;padding:10px 20px calc(10px + env(safe-area-inset-bottom));background:#080808ed;border-top:1px solid #ffffff14;backdrop-filter:blur(16px)}
 body.youth-ondevice-original .course-apply-mobile[hidden]{display:none}
 body.youth-ondevice-original .course-apply-mobile button{display:block;width:100%;font-size:15px;min-height:44px}
 body.youth-ondevice-original{padding-bottom:calc(65px + env(safe-area-inset-bottom))}
}

/* Floating application bar shared by desktop and mobile. */
body.youth-ondevice-original .course-apply-mobile{display:flex;align-items:center;justify-content:space-between;gap:24px;position:fixed;z-index:95;left:50%;right:auto;bottom:36px;transform:translateX(-50%);width:min(660px,calc(100% - 48px));padding:14px 16px 14px 24px;background:rgba(32,29,38,.94);border:1px solid #ffffff24;border-radius:18px;box-shadow:0 8px 32px #0006;backdrop-filter:blur(20px);box-sizing:border-box}
body.youth-ondevice-original .course-apply-mobile[hidden]{display:none}
body.youth-ondevice-original .course-apply-caption{margin:0;color:#e7e1ef;font-size:14px;line-height:1.5;word-break:keep-all}
body.youth-ondevice-original .course-apply-caption small{display:none}
body.youth-ondevice-original .course-apply-mobile button{flex:none;width:auto;min-height:44px;padding:12px 20px;border-radius:12px;font-size:14px}
body.youth-ondevice-original{padding-bottom:124px;background:#050505}
@media(max-width:700px){
 body.youth-ondevice-original .course-apply-mobile{width:calc(100% - 32px);bottom:calc(16px + env(safe-area-inset-bottom));padding:10px 12px;gap:12px;border-radius:16px}
 body.youth-ondevice-original .course-apply-caption span{display:none}
 body.youth-ondevice-original .course-apply-caption small{display:block;font-size:12px}
 body.youth-ondevice-original .course-apply-mobile button{padding:10px 14px;font-size:13px}
 body.youth-ondevice-original{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
}

body.youth-ondevice-original .course-apply-caption em{font-style:normal;font-size:10px;color:#b7a9c8;margin-left:6px;white-space:nowrap}

body.youth-ondevice-original .course-apply-caption{display:flex;align-items:center;gap:12px}
body.youth-ondevice-original .course-apply-countdown{font-size:21px;font-weight:700;letter-spacing:-.03em;color:#ccb5ff;white-space:nowrap}
body.youth-ondevice-original .course-apply-mobile button:disabled{background:#38333f;color:#aaa2b4;cursor:default}
@media(max-width:700px){body.youth-ondevice-original .course-apply-caption{gap:7px}body.youth-ondevice-original .course-apply-countdown{font-size:17px}body.youth-ondevice-original .course-apply-caption em{margin-left:3px}}
@media(max-width:380px){body.youth-ondevice-original .course-apply-caption{align-items:flex-start;flex-direction:column;gap:2px}}

/* Compact mobile course shell. */
@media(max-width:700px){
body.youth-ondevice-original .ys-page{padding-top:52px}
body.youth-ondevice-original .ys-nav{position:fixed!important;top:0;left:0;right:0;height:52px;z-index:100;background:#111114f5;backdrop-filter:blur(18px)}
body.youth-ondevice-original .ys-nav .ys-wrap{height:52px;display:flex;gap:14px;padding:0 16px;overflow-x:auto;scrollbar-width:none}
body.youth-ondevice-original .ys-nav .ys-brand,body.youth-ondevice-original .ys-nav .ys-menu{display:none}
body.youth-ondevice-original .ys-nav .ys-nav-links{display:flex!important;position:static;flex-direction:row;gap:16px;flex-shrink:0;padding:0;background:none;border:0}
body.youth-ondevice-original .ys-nav a{white-space:nowrap;font-size:12px}
body.youth-ondevice-original .ys-nav .ys-nav-apply{display:block;background:none;padding:0;color:#aaa;flex-shrink:0}
body.youth-ondevice-original .ys-nav a[aria-current="location"]{color:#c7afff;border-bottom:2px solid #b79be9;padding-bottom:7px}
body.youth-ondevice-original .course-apply-mobile{bottom:calc(30px + env(safe-area-inset-bottom));}
body.youth-ondevice-original{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
body.youth-ondevice-original #act_footer .footer{padding:28px 0 20px!important}
body.youth-ondevice-original #act_footer .footer-grid{grid-template-columns:1fr 1fr;gap:20px 16px}
body.youth-ondevice-original #act_footer .footer-grid>div:first-child{grid-column:1/-1}
body.youth-ondevice-original #act_footer .footer-grid h4{font-size:15px!important;margin-bottom:8px}
body.youth-ondevice-original #act_footer .footer-grid div{font-size:12px!important;line-height:1.7}
}

@media(max-width:700px){body.youth-ondevice-original .ys-nav .ys-wrap{flex-wrap:nowrap;min-height:52px}body.youth-ondevice-original .ys-nav .ys-nav-links{order:0;width:auto;margin:0;overflow:visible}body.youth-ondevice-original .ys-nav .ys-course{display:none}body.youth-ondevice-original .ys-nav .ys-nav-apply{order:1}}

.mobile-section-select{display:none}
@media(max-width:700px){
body.youth-ondevice-original .ys-nav .ys-wrap{justify-content:space-between;align-items:center;gap:12px;overflow:visible}
body.youth-ondevice-original .ys-nav .ys-nav-links,body.youth-ondevice-original .ys-nav .ys-nav-apply{display:none!important}
body.youth-ondevice-original .ys-nav .ys-brand{display:block;margin-left:auto;font-size:13px;line-height:1.2;font-weight:650;letter-spacing:-.035em;white-space:nowrap}
body.youth-ondevice-original .ys-nav .mobile-section-select{display:block;width:112px;min-width:0;height:40px;padding:0 4px;border:0;background:#111114;color:#c7afff;font-family:inherit;font-size:13px;line-height:normal;cursor:pointer}
}

.mobile-contents{display:none}
@media(max-width:700px){
body.youth-ondevice-original .ys-nav .ys-brand{order:0;margin:0 auto 0 0;font-weight:500;letter-spacing:.02em;font-size:13px}
body.youth-ondevice-original .ys-nav .mobile-contents{display:block;order:2;position:relative;color:#cab4ef;font-size:13px}
.mobile-contents summary{height:44px;display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none}.mobile-contents summary::-webkit-details-marker{display:none}.mobile-contents summary svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;transition:transform .2s}.mobile-contents[open] summary svg{transform:rotate(180deg)}
.mobile-contents-panel{position:absolute;right:0;top:48px;width:190px;padding:7px;background:#211c29;border:1px solid #51415e;border-radius:14px;box-shadow:0 16px 36px #0008;display:grid;gap:3px}
body.youth-ondevice-original .ys-nav .mobile-contents-panel a{display:block;border:0;padding:12px 14px;border-radius:9px;color:#c9c2d1;font-size:13px;line-height:1.3}
body.youth-ondevice-original .ys-nav .mobile-contents-panel a[aria-current="location"]{background:#3b2c4c;color:#dfc8fa;border:0;padding:12px 14px}
}
