html[data-ui-theme] #main .xd-video-heading { margin-bottom:24px; }
html[data-ui-theme] #main .xd-video-page .v2-video-course-layout { grid-template-columns:minmax(0,1fr) 330px;gap:26px; }
html[data-ui-theme] #main .xd-video-page .v2-video-lesson-panel { padding:0;max-height:calc(100vh - 125px);position:sticky;top:105px;border-radius:10px; }
.xd-course-enrollment { padding:22px 22px 20px;background:color-mix(in srgb,var(--action) 4%,#fff);border-bottom:1px solid var(--line); }
html[data-ui-theme] #main .xd-course-enrollment h2 { margin:0 0 8px;font-size:17px;line-height:1.6; }
.xd-course-outline-summary { font-size:12px;line-height:1.9;color:var(--muted);margin:0; }
.xd-enrollment-price { display:flex;gap:18px;align-items:baseline;margin:16px 0; }.xd-enrollment-price strong { font-size:30px;color:var(--ink);font-weight:600;letter-spacing:-.03em; }.xd-enrollment-price span { font-size:12px;color:var(--action); }
html[data-ui-theme] #main .xd-enroll-course { display:flex;justify-content:center;width:100%;min-height:46px;border-radius:999px;font-size:14px;background:var(--action);color:#fff; }
.xd-course-enrollment > small { display:block;font-size:11px;line-height:1.8;color:var(--muted);margin-top:9px;text-align:center; }
.xd-enrollment-success { font-size:13px;color:var(--action);padding:11px 14px;border:1px solid color-mix(in srgb,var(--action) 22%,transparent);border-radius:6px;margin:0;text-align:center; }
.xd-course-directory-heading { padding:20px 22px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px; }.xd-course-directory-heading span { font-size:11px;color:var(--muted); }
html[data-ui-theme] #main .xd-course-directory-heading h2 { font-size:16px;margin:0;line-height:1.5; }
.xd-course-chapters { padding:0 12px 16px; }.xd-course-chapter { border-bottom:1px solid var(--line); }.xd-course-chapter:last-child { border:0; }
.xd-directory-note { padding:0 22px 20px;margin:0;font-size:11px;line-height:1.9;color:var(--muted); }
.xd-planned-lesson { display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:8px;padding:12px 10px;font-size:12px;line-height:1.8;color:var(--muted); }.xd-planned-lesson small { font-size:10px; }
.xd-course-chapter summary { display:flex;align-items:center;gap:8px;min-height:48px;padding:10px;font-size:13px;font-weight:550;cursor:pointer;line-height:1.7; }.xd-course-chapter summary::after { content:'+';font-weight:400;color:var(--muted); }.xd-course-chapter[open] summary::after { content:'−'; }.xd-course-chapter summary small { margin-left:auto;font-size:11px;font-weight:400;color:var(--muted);white-space:nowrap; }
html[data-ui-theme] #main .xd-course-chapters ol { list-style:none;margin:0 0 6px;padding:0; }
html[data-ui-theme] #main .xd-course-chapters li a { margin:2px 0;border:0;border-radius:6px;padding:10px;grid-template-columns:22px minmax(0,1fr);gap:3px 8px;font-size:12px;line-height:1.8;min-height:58px; }
.xd-course-chapters .v2-video-lesson-number { font-size:11px;line-height:1.9;font-variant-numeric:tabular-nums;color:var(--muted); }
html[data-ui-theme] #main .xd-course-chapters li a[aria-current] { background:color-mix(in srgb,var(--action) 8%,#fff);color:var(--action); }
html[data-ui-theme] #main .xd-course-chapters .v2-video-lesson-state { font-size:10px;color:var(--muted); }
html[data-ui-theme] #main .xd-course-chapters li:first-child a[href$='lesson=0'] .v2-video-lesson-state { color:var(--action); }
.xd-video-gate { position:relative;display:grid;place-items:center;aspect-ratio:16/9;overflow:hidden;background:#172a3d;border-radius:10px;color:#fff;isolation:isolate; }
.xd-video-gate > img { position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:.12;filter:blur(3px);z-index:-1; }
.xd-video-gate > div { text-align:center;padding:32px; }.xd-lock-symbol { display:flex;align-items:center;justify-content:center;width:50px;height:50px;border:1px solid #ffffff6b;border-radius:50%;margin:0 auto 20px;color:#fff; }
html[data-ui-theme] #main .xd-video-gate h2 { font-size:24px;line-height:1.5;color:#fff;margin:0 0 10px; }.xd-video-gate p { font-size:13px;line-height:1.85;color:#d4dfeb;margin:0 0 24px; }
html[data-ui-theme] #main .xd-video-gate .btn { border-radius:999px;min-height:44px;padding:10px 28px;color:#fff;background:var(--action); }
.xd-video-gate a { display:block;min-height:44px;align-content:center;width:fit-content;margin:9px auto 0;font-size:12px;color:#e1ebf6;text-decoration:underline;text-underline-offset:4px; }
html[data-ui-theme] #main .xd-video-page .v2-video-title-row { display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 0;margin:0;border-bottom:1px solid var(--line); }
html[data-ui-theme] #main .xd-video-page .v2-video-title-row h2 { font-size:19px;line-height:1.65;margin:0; }.xd-video-page .v2-video-title-row > .status { font-size:11px; }
.xd-video-feedback:not([hidden]) { font-size:13px;line-height:1.8;color:var(--muted);border-left:2px solid var(--action);padding:10px 14px;margin:18px 0; }
.xd-video-save-retry { margin-bottom:14px; }
.xd-course-about { margin-top:12px; }
.xd-course-about-tabs { display:flex;gap:26px;border-bottom:1px solid var(--line);margin-bottom:22px; }
.xd-course-about-tabs button { display:block;min-height:48px;padding:10px 0;border:0;border-bottom:2px solid transparent;background:none;font:inherit;font-size:15px;color:var(--muted);cursor:pointer; }
.xd-course-about-tabs button[aria-selected=true] { border-color:var(--action);color:var(--action);font-weight:600; }
.xd-course-about [role=tabpanel] { padding-bottom:26px; }
html[data-ui-theme] #main .xd-course-about h3 { font-size:18px;line-height:1.7;margin:0 0 12px; }.xd-course-about p,.xd-course-about li { font-size:14px;line-height:1.95;color:var(--muted); }.xd-course-about p { margin:0 0 14px; }.xd-course-about ul { margin:12px 0 20px;padding-left:20px; }.xd-course-about li { margin-bottom:4px; }
.xd-course-format { display:flex;gap:8px;flex-wrap:wrap; }.xd-course-format span { font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:5px 13px;background:#fff; }
.xd-course-mentor-heading { display:flex;gap:16px;align-items:center;margin-bottom:20px; }.xd-course-mentor-heading > span { display:grid;place-items:center;width:56px;height:56px;flex:none;background:color-mix(in srgb,var(--action) 10%,#fff);color:var(--action);border-radius:50%;font-size:22px; }.xd-course-mentor-heading h3 { margin-bottom:4px!important; }.xd-course-mentor-heading p { font-size:12px;margin:0; }
.xd-course-about .xd-mentor-pending { font-size:12px;color:var(--muted); }
html[data-ui-theme] #main .xd-video-page :is(a,button,summary):focus-visible { outline:2px solid var(--action);outline-offset:3px; }
html[data-ui-theme=atelier] #main .xd-video-page :is(.v2-video-player-frame,.v2-video-lesson-panel,.xd-video-gate) { border-radius:0; }
html[data-ui-theme=studio] #main .xd-video-page :is(.v2-video-player-frame,.v2-video-lesson-panel,.xd-video-gate) { border-radius:4px; }
@media(max-width:1050px) {
 html[data-ui-theme] #main .xd-video-page .v2-video-course-layout { grid-template-columns:minmax(0,1fr) 300px;gap:20px; }
 .xd-video-gate > div { padding:24px; }.xd-video-gate h2 { font-size:21px!important; }.xd-lock-symbol { margin-bottom:14px; }
}
@media(max-width:850px) {
 html[data-ui-theme] #main .xd-video-page .v2-video-course-layout { display:flex;flex-direction:column;gap:24px; }
 html[data-ui-theme] #main .xd-video-page .v2-video-player-column { width:100%; }
 html[data-ui-theme] #main .xd-video-page .v2-video-lesson-panel { position:static;max-height:none;width:100%; }
 .xd-video-gate { aspect-ratio:auto;min-height:280px; }.xd-video-gate > div { padding:28px 20px; }.xd-video-gate h2 { font-size:21px!important; }.xd-video-gate p { margin-bottom:16px; }.xd-lock-symbol { margin-bottom:16px; }
 html[data-ui-theme] #main .xd-video-heading h1 { font-size:24px; }.xd-course-about h3 { font-size:17px!important; }
 .xd-course-enrollment { padding:20px; }.xd-course-chapters { padding-inline:10px; }.xd-course-directory-heading { padding-inline:20px; }
}
