/* Student HLV identity. Primary channels come from the approved main hero CTA. */
.sofl-video-page, .student-hlv-page, .student-hlv-surface, .student-hlv-watchlist {
  --hlv-primary-rgb: 0, 73, 181;
  --hlv-primary: #00255c;
  --hlv-primary-hover: color-mix(in srgb, var(--hlv-primary) 85%, var(--sofl-dark));
  --hlv-primary-soft: #eef6ff;
  --hlv-primary-border: #d9e9ff;
  --hlv-interactive-border: color-mix(in srgb, var(--hlv-primary) 40%, white);
  --hlv-primary-gradient: linear-gradient(90deg, var(--hlv-primary), var(--hlv-primary-hover));
  --hlv-hero-gradient: linear-gradient(105deg, #f7fbff 0%, var(--hlv-primary-soft) 55%, #e2f0ff 100%);
  --hlv-hero-glow: radial-gradient(circle at 76% 45%, rgba(var(--hlv-primary-rgb), .16), transparent 47%);
  --hlv-ink: var(--sofl-dark);
  --hlv-muted: var(--sofl-muted);
  --hlv-line: var(--sofl-border);
  --student-ink: var(--sofl-dark);
  --student-muted: var(--sofl-muted);
  --student-line: var(--sofl-border);
}
:is(.sofl-video-page, .student-hlv-watchlist) .module-theme-hlv {
  --module-accent: var(--hlv-primary);
  --module-accent-rgb: var(--hlv-primary-rgb);
  --module-bg: var(--hlv-primary-soft);
  --module-border: var(--hlv-primary-border);
  background: var(--hlv-hero-gradient);
  border-color: var(--hlv-primary-border);
}
.hlv-btn-primary, .hlv-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 44px; padding: .7rem 1rem; border: 1px solid; border-radius: 10px;
  font-family: var(--font-body); font-weight: 600; text-decoration: none;
}
.hlv-btn-primary { background: var(--hlv-primary); border-color: var(--hlv-primary); color: var(--sofl-surface); }
.hlv-btn-primary:hover, .hlv-btn-primary:active { background: var(--hlv-primary-hover); border-color: var(--hlv-primary-hover); color: var(--sofl-surface); }
.hlv-btn-secondary { background: var(--sofl-surface); border-color: var(--hlv-interactive-border); color: var(--sofl-dark); }
.hlv-btn-secondary:hover { background: var(--hlv-primary-soft); border-color: var(--hlv-primary); color: var(--hlv-primary); }
:is(.sofl-video-page, .student-hlv-surface, .student-hlv-watchlist) :is(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--hlv-primary); outline-offset: 3px; box-shadow: none; }
:is(.sofl-video-page, .student-hlv-watchlist) :is(h1,h2,h3) { font-family: var(--font-heading); }
:is(.sofl-video-page, .student-hlv-surface) :is(.student-link, .sofl-video-kicker, .sofl-related-chips a) { color: var(--hlv-primary); }
.sofl-video-page .sofl-section-heading > a { color: var(--hlv-primary); }
.sofl-video-page :is(.sofl-simple-page-header, .sofl-video-login-cta) { border-color: var(--hlv-primary-border); background: var(--hlv-hero-gradient); }
.sofl-video-page .sofl-simple-page-header::before { background: var(--hlv-hero-glow); }
.sofl-video-page .sofl-login-cta-icon { background: var(--hlv-primary-soft); color: var(--hlv-primary); }
.sofl-video-page .sofl-video-login-cta > span { color: var(--hlv-primary); }
.sofl-video-page :is(.sofl-watch-progress-bar, .student-hlv-progress .progress-bar) { background: var(--hlv-primary-gradient); }
.sofl-video-page .sofl-sidebar-current { background: var(--hlv-primary); }
.sofl-video-page .sofl-sidebar-current > span { background: rgba(255,255,255,.15); color: var(--sofl-surface); }
:is(.sofl-video-page, .student-hlv-surface) .sofl-video-card:hover { border-color: var(--hlv-interactive-border); background: var(--hlv-primary-soft); }
:is(.sofl-video-page, .student-hlv-surface) .sofl-video-card-thumb > span { background: var(--hlv-primary); color: var(--sofl-surface); }
.sofl-video-page .student-hlv-lesson:hover { border-color: var(--hlv-interactive-border); }
.sofl-video-page .student-hlv-lesson-thumb:hover > span { color: var(--hlv-primary-soft); }
.sofl-video-page .student-hlv-lesson-open:hover { color: var(--hlv-primary); border-color: var(--hlv-interactive-border); }
.sofl-video-page .student-hlv-lesson-action:hover { color: var(--hlv-primary); border-color: var(--hlv-interactive-border); }
.sofl-video-page .student-hlv-details-count { background: var(--hlv-primary-soft); border: 1px solid var(--hlv-primary-border); }
.sofl-video-page .student-hlv-details-count i { color: var(--hlv-primary); }
.sofl-video-page :is(.student-outline-btn, .student-icon-btn):hover { border-color: var(--hlv-interactive-border); background: var(--hlv-primary-soft); color: var(--hlv-primary); }
.sofl-video-page .student-icon-btn.is-active { background: var(--hlv-primary-soft); border-color: var(--hlv-interactive-border); color: var(--hlv-primary); }
.sofl-video-page .student-hlv-search:focus-within { border-color: var(--hlv-primary); box-shadow: 0 0 0 3px rgba(var(--hlv-primary-rgb), .15); }
.sofl-video-page .student-hlv-pagination { --bs-pagination-active-bg: var(--hlv-primary); --bs-pagination-active-border-color: var(--hlv-primary); --bs-pagination-color: var(--hlv-primary); --bs-pagination-focus-box-shadow: 0 0 0 3px rgba(var(--hlv-primary-rgb), .15); }
.sofl-video-page .student-hlv-dropdown .dropdown-item:is(:hover,:focus) { background: var(--hlv-primary-soft); color: var(--hlv-primary); }
.sofl-video-page .student-hlv-dropdown .dropdown-item.active { background: var(--hlv-primary); color: var(--sofl-surface); }
.sofl-video-page .student-empty-state { border-color: var(--hlv-interactive-border); }
.sofl-video-page .student-empty-icon { background: var(--hlv-primary-soft); color: var(--hlv-primary); }
.sofl-video-page .student-hlv-saved-mark { color: var(--hlv-primary); }
.sofl-video-page .student-hlv-login-banner { border-color: var(--hlv-primary-border); background: var(--hlv-primary-soft); }
.sofl-video-page .student-hlv-login-banner span { color: var(--hlv-primary); }
.student-hlv-watchlist .student-module-hero-actions .student-module-btn:first-child { background: var(--hlv-primary); border-color: var(--hlv-primary); color: var(--sofl-surface); }
.student-hlv-watchlist :is(.student-saved-filter.active, .student-view-toggle button.active) { background: var(--hlv-primary); border-color: var(--hlv-primary); color: var(--sofl-surface); }
.student-hlv-watchlist :is(.student-link, .student-empty-icon, .sofl-modal-kicker) { color: var(--hlv-primary); }
.student-hlv-watchlist .student-empty-icon { background: var(--hlv-primary-soft); }
.student-hlv-watchlist .student-empty-state { border-color: var(--hlv-interactive-border); }
.student-hlv-playlist-card .student-hlv-playlist-media { position: relative; display: block; overflow: hidden; background: var(--sofl-dark); }
.student-hlv-playlist-card :is(.student-hlv-video-count, .student-hlv-access-pill) { position: absolute; display: inline-flex; align-items: center; gap: .4rem; border-radius: 99px; color: var(--sofl-surface); }
/* Premium is a global semantic status, rather than an HLV interactive accent. */
.student-hlv-playlist-card .student-hlv-access-pill { right: 12px; bottom: 12px; padding: .4rem .6rem; background: var(--sofl-gold); color: var(--sofl-dark); }
.student-hlv-playlist-card .student-hlv-card-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.student-hlv-playlist-card .student-hlv-card-badges span { display: inline-flex; align-items: center; gap: .4rem; border-radius: 99px; padding: .3rem .6rem; background: var(--hlv-primary-soft); color: var(--sofl-dark); font: 600 .75rem var(--font-body); }

/* Shared student playlist card; compact featured/video components stay separate. */
.student-hlv-playlist-card { display:flex; flex-direction:column; height:100%; border:1px solid var(--sofl-border); border-radius:22px; background:var(--sofl-surface); box-shadow:0 8px 24px rgba(15,23,42,.06); }
.student-hlv-playlist-card .student-hlv-playlist-media { flex:none; width:100%; aspect-ratio:16/9; }
.student-hlv-playlist-card .student-hlv-playlist-media img { display:block; width:100%; height:100%; object-fit:cover; }
.student-hlv-playlist-card .student-hlv-video-count { left:16px; bottom:16px; padding:9px 14px; background:var(--sofl-dark); font-family:var(--font-body); font-size:.9rem; font-weight:600; }
.student-hlv-playlist-card .student-hlv-card-body,
.student-hlv-page .student-hlv-playlist-card .student-hlv-card-body { flex:1; display:flex; flex-direction:column; gap:14px; padding:24px; }
.student-hlv-playlist-card h3 { margin:0; font-family:var(--font-heading); font-size:clamp(1.15rem,1.7vw,1.5rem); font-weight:700; line-height:1.35; }
.student-hlv-playlist-card h3 a { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; color:var(--sofl-dark); text-decoration:none; }
.student-hlv-playlist-card .student-hlv-card-description { min-height:3em; font-family:var(--font-body); color:var(--sofl-muted); font-size:.95rem; line-height:1.5; font-weight:400; }
.student-hlv-playlist-card .student-hlv-card-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:auto; padding-top:8px; }
.student-hlv-playlist-card .student-hlv-card-actions form { flex:none; margin:0; }
.student-hlv-playlist-card .student-hlv-playlist-cta { display:inline-flex; flex:1 1 145px; align-items:center; justify-content:center; gap:12px; min-height:46px; padding:12px 14px; border-radius:12px; background:var(--hlv-primary); color:var(--sofl-surface); font-family:var(--font-body); font-weight:600; text-decoration:none; white-space:nowrap; }
.student-hlv-playlist-cta:hover { background:var(--hlv-primary-hover); }
.student-hlv-playlist-cta i { transition:transform .15s ease; }
.student-hlv-playlist-cta:hover i { transform:translateX(3px); }
.student-hlv-playlist-card .student-icon-btn { width:46px; height:46px; min-width:46px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--sofl-border); border-radius:12px; background:var(--sofl-surface); color:var(--sofl-dark); font-size:1.15rem; }
.student-hlv-playlist-card .student-icon-btn:hover,
.student-hlv-playlist-card .student-icon-btn.is-active { background:var(--hlv-primary-soft); border-color:var(--hlv-primary-border); color:var(--hlv-primary); }
.student-hlv-playlist-card a:focus-visible,
.student-hlv-playlist-card button:focus-visible { outline:3px solid var(--hlv-primary); outline-offset:3px; }
@media(max-width:575.98px) {
  .student-hlv-playlist-card .student-hlv-playlist-cta { flex-basis:100%; }
  .student-hlv-playlist-card .student-hlv-card-body { padding:20px; }
}
@media(prefers-reduced-motion:reduce) { .student-hlv-playlist-cta i { transition:none; } }

.sofl-video-card.student-hlv-surface:hover { border-color: var(--hlv-interactive-border); background: var(--hlv-primary-soft); }
.sofl-video-card.student-hlv-surface .sofl-video-card-thumb > span { background: var(--hlv-primary); color: var(--sofl-surface); }
.sofl-video-card.student-hlv-surface strong { font-family: var(--font-heading); font-weight: 600; }
.student-hlv-watchlist .student-saved-filter:is(:hover,:focus-visible) { background: var(--hlv-primary-hover); border-color: var(--hlv-primary); color: var(--sofl-surface); }
.student-hlv-watchlist .student-saved-search:focus-within { border-color: var(--hlv-primary); }
.sofl-video-page .student-module-hero-actions .student-module-btn:first-child:hover { background: var(--hlv-primary-hover); border-color: var(--hlv-primary-hover); }
:is(.sofl-video-page, .student-hlv-surface) .sofl-video-card.is-complete,
.sofl-video-card.student-hlv-surface.is-complete { border-color: color-mix(in srgb, var(--sofl-success) 45%, white); }
.student-hlv-watchlist .student-module-hero.module-theme-hlv { background: var(--hlv-hero-gradient); border-color: var(--hlv-primary-border); }
.student-hlv-watchlist .student-module-hero.module-theme-hlv::before { background: var(--hlv-hero-glow); }
.student-hlv-watchlist .student-saved-empty .hlv-empty-icon { background: var(--hlv-primary-soft); color: var(--hlv-primary); }
.student-hlv-watchlist .sofl-collection-modal .modal-header { background: var(--hlv-primary-soft); }
.student-hlv-watchlist .student-saved-empty .hlv-empty-icon i { background: var(--hlv-primary-soft); color: var(--hlv-primary); }
.student-hlv-watchlist .student-saved-empty-actions .hlv-btn-primary i { background: transparent; color: inherit; }

/* Individual HLV watch experience; all interaction colors inherit the module tokens. */
.hlv-watch-page { min-width: 0; }
.hlv-watch-breadcrumb { margin-bottom: 1.2rem; font-family: var(--font-body); font-size: .875rem; }
.hlv-watch-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; list-style: none; padding: 0; margin: 0; }
.hlv-watch-breadcrumb li { display: inline-flex; align-items: center; gap: 1rem; color: var(--sofl-dark); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.hlv-watch-breadcrumb a { color: var(--sofl-muted); font-weight: 500; text-decoration: none; }
.hlv-watch-breadcrumb a:hover { color: var(--hlv-primary); }
.hlv-watch-breadcrumb i { color: var(--sofl-muted); font-size: .65rem; }
.hlv-watch-layout { display: grid; grid-template-areas: "main sidebar" "related sidebar"; grid-template-columns: minmax(0, 2.2fr) minmax(290px, 1fr); gap: 1.5rem; align-items: start; }
.hlv-watch-main { grid-area: main; display: grid; gap: 1rem; min-width: 0; }
.hlv-watch-page .sofl-video-player { border-radius: var(--sofl-radius-sm); width: 100%; aspect-ratio: 16 / 9; }
.hlv-watch-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hlv-watch-actions { display: flex; align-items: center; gap: .6rem; }
.hlv-watch-actions form, .hlv-watch-navigation form { margin: 0; }
.hlv-watch-actions .student-hlv-lesson-action { width: 48px; height: 48px; }
.hlv-watch-actions .student-hlv-lesson-action.is-active { color: var(--hlv-primary); background: var(--hlv-primary-soft); border-color: var(--hlv-interactive-border); }
.hlv-watch-page .hlv-watch-information { padding: 1.5rem; border: 1px solid var(--sofl-border); border-radius: var(--sofl-radius-sm); box-shadow: none; background: var(--sofl-surface); }
.hlv-watch-information .sofl-video-kicker { text-decoration: none; font-size: .8rem; }
.hlv-watch-information h1 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; font-size: clamp(1.5rem, 2.4vw, 2.5rem); margin: .5rem 0; overflow-wrap: anywhere; }
.hlv-watch-information p { margin: 0; color: var(--sofl-muted); line-height: 1.65; overflow-wrap: anywhere; }
.hlv-watch-information-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1.15rem; }
.hlv-watch-information .student-hlv-lesson-meta { font-weight: 500; }
.hlv-watch-information .student-hlv-lesson-meta > span:first-child i { font-size: 1.15rem; }
.hlv-watch-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-left: auto; }
.hlv-watch-progress-summary { display: flex; gap: .7rem; justify-content: space-between; margin: 1rem 0 .4rem; color: var(--sofl-muted); font-size: .8rem; }
.hlv-watch-completed { color: var(--sofl-success); }
.hlv-watch-sidebar { grid-area: sidebar; display: grid; gap: 1.25rem; min-width: 0; }
.hlv-watch-panel { padding: 1.25rem; border: 1px solid var(--sofl-border); border-radius: var(--sofl-radius-sm); background: var(--sofl-surface); min-width: 0; scroll-margin-top: 100px; }
.hlv-watch-panel header { margin-bottom: 1rem; }
.hlv-watch-panel h2 { display: flex; gap: .7rem; align-items: center; margin: 0; font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; line-height: 1.4; color: var(--sofl-dark); overflow-wrap: anywhere; }
.hlv-watch-panel h2 i { flex-shrink: 0; }
.hlv-watch-panel header p { margin: .4rem 0 0; color: var(--sofl-muted); font-size: .875rem; line-height: 1.5; }
.hlv-playlist-flow { display: grid; gap: .6rem; padding: 0; margin: 0 0 1rem; list-style: none; }
.hlv-playlist-flow-link { display: grid; grid-template-columns: minmax(75px, 37%) minmax(0, 1fr); gap: .8rem; align-items: center; padding: .65rem; border: 1px solid var(--sofl-border); border-radius: 12px; background: var(--sofl-surface); color: var(--sofl-dark); text-decoration: none; }
.hlv-playlist-flow-link:hover { border-color: var(--hlv-interactive-border); background: var(--hlv-primary-soft); }
.hlv-playlist-flow-link.is-current { border-color: var(--hlv-primary-border); background: var(--hlv-primary-soft); }
.hlv-playlist-flow-thumb { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; }
.hlv-playlist-flow-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hlv-playlist-flow-thumb > i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--sofl-surface); text-shadow: 0 1px 6px var(--sofl-dark); }
.hlv-playlist-flow-copy { min-width: 0; }
.hlv-playlist-flow-copy strong { display: block; font: 600 .85rem/1.5 var(--font-heading); overflow-wrap: anywhere; }
.hlv-playlist-flow-copy small { display: block; margin-top: .35rem; color: var(--sofl-muted); font-size: .8rem; }
.hlv-playlist-flow-copy .hlv-playlist-current-label { color: var(--hlv-primary); font-weight: 600; }
.hlv-playlist-flow-copy .hlv-watch-completed { color: var(--sofl-success); }
.hlv-playlist-full-link { width: 100%; }
.hlv-explore-panel nav { display: grid; gap: .55rem; }
.hlv-explore-panel nav a { display: grid; grid-template-columns: 20px minmax(0,1fr) auto 12px; align-items: center; gap: .75rem; min-height: 48px; border: 1px solid var(--sofl-border); border-radius: 10px; padding: .65rem .8rem; color: var(--sofl-dark); text-decoration: none; font-size: .875rem; font-weight: 600; }
.hlv-explore-panel nav a:hover { border-color: var(--hlv-interactive-border); background: var(--hlv-primary-soft); color: var(--hlv-primary); }
.hlv-explore-panel small { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 99px; background: var(--sofl-bg); color: var(--sofl-muted); }
.hlv-watch-related { grid-area: related; display: grid; gap: 1.2rem; margin-top: .4rem; }
.hlv-related-term-chips { display: flex; flex-wrap: wrap; gap: .55rem .7rem; }
.hlv-related-term-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: .55rem 1rem; border-radius: 99px; background: var(--sofl-bg); color: var(--sofl-dark); text-decoration: none; font-size: .85rem; font-weight: 500; overflow-wrap: anywhere; max-width: 100%; }
.hlv-related-term-chips a:hover { background: var(--hlv-primary-soft); color: var(--hlv-primary); }
/* Carousel geometry and HLV controls only. Card styling stays in the shared FinLexicon assets. */
.hlv-related-terms-panel { container-type: inline-size; min-width: 0; max-width: 100%; box-shadow: 0 12px 30px rgba(15, 23, 42, .05); }
.hlv-related-terms-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.hlv-related-terms-header > div:first-child { min-width: 0; }
.hlv-related-terms-header h2 { flex-wrap: wrap; }
.hlv-related-terms-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 99px; background: var(--hlv-primary-soft); color: var(--hlv-primary); font: 600 .75rem/1 var(--font-body); }
.hlv-related-terms-controls { display: flex; flex: 0 0 auto; gap: .5rem; }
.hlv-related-terms-controls button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--hlv-primary-border); border-radius: 10px; background: var(--hlv-primary-soft); color: var(--hlv-primary); }
.hlv-related-terms-controls button:hover:not(:disabled) { background: var(--hlv-primary); color: white; }
.hlv-related-terms-controls button:focus-visible { outline: 3px solid var(--hlv-interactive-border); outline-offset: 2px; }
.hlv-related-terms-controls button:disabled { opacity: .4; cursor: default; }
.hlv-related-terms-track { --term-card-accent: var(--student-gold, #bb8c2b); --term-card-accent-soft: rgba(201, 152, 47, .09); display: flex; gap: 16px; min-width: 0; max-width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scrollbar-width: thin; padding: 4px 0 16px; }
.hlv-related-terms-track > [class*="col-"] { flex: 0 0 100%; width: 100%; min-width: 0; scroll-snap-align: start; }
.hlv-related-terms-track .student-term-card { height: 100%; }
.hlv-related-terms-track:focus-visible { outline: 2px solid var(--hlv-interactive-border); outline-offset: 2px; }
@container (min-width: 560px) { .hlv-related-terms-track > [class*="col-"] { flex-basis: calc((100% - 16px) / 2); } }
@container (min-width: 960px) { .hlv-related-terms-track > [class*="col-"] { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 479px) { .hlv-related-terms-header { align-items: flex-start; gap: .5rem; } .hlv-related-terms-controls { gap: .25rem; } .hlv-related-terms-controls button { width: 36px; height: 36px; } }
.hlv-related-blog-list { display: grid; gap: .6rem; }
.hlv-related-blog-link { display: block; padding: .8rem 1rem; border: 1px solid var(--sofl-border); border-radius: 10px; text-decoration: none; }
.hlv-related-blog-link:hover { border-color: var(--hlv-interactive-border); background: var(--hlv-primary-soft); }
.hlv-related-blog-link h3 { margin: 0; color: var(--sofl-dark); font: 600 .95rem/1.5 var(--font-heading); overflow-wrap: anywhere; }
.hlv-related-blog-link p { color: var(--sofl-muted); font-size: .85rem; line-height: 1.5; margin: .25rem 0 0; }
.hlv-watch-related .student-hlv-lesson { grid-template-columns: minmax(120px, 22%) minmax(0, 1fr) auto; gap: .9rem; }
.hlv-watch-related .student-hlv-lesson h3 { font-size: .875rem; }
.hlv-watch-related .student-hlv-lesson-copy p { font-size: .8rem; }
.hlv-watch-related .student-hlv-lesson-actions { gap: .4rem; }
.hlv-watch-related .student-hlv-lesson-open { width: 44px; min-width: 44px; }
.hlv-watch-page.is-theatre .sofl-video-player { position: fixed; z-index: 1080; inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); width: calc(100vw - 36px); max-width: calc((100dvh - 110px) * 16 / 9); height: auto; aspect-ratio: 16 / 9; }
.hlv-watch-page.is-theatre [data-sofl-theatre-toggle] { position: fixed; top: 12px; right: 18px; z-index: 1081; background: var(--sofl-surface); }
@media (max-width: 1199px) {
  .hlv-watch-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "sidebar" "related"; }
  .hlv-watch-main { display: grid; }
  .hlv-watch-layout .sofl-video-player { order: 0; }
  .hlv-watch-toolbar { order: 1; }
  .hlv-watch-information { order: 2; }
  .hlv-watch-sidebar { order: 3; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; }
  .hlv-watch-related { order: 4; }
  .hlv-watch-related .student-hlv-lesson-thumb { grid-row: auto; }
  .hlv-watch-related .student-hlv-lesson-actions { grid-column: auto; }
}
@media (max-width: 767px) {
  .hlv-watch-sidebar { grid-template-columns: minmax(0,1fr); }
  .hlv-watch-page .hlv-watch-information, .hlv-watch-panel { padding: 1rem; }
  .hlv-watch-navigation { width: 100%; margin-left: 0; }
  .hlv-watch-navigation > :is(a,form) { flex: 1; }
  .hlv-watch-navigation form button { width: 100%; }
  .hlv-watch-related .student-hlv-lesson { grid-template-columns: minmax(0,1fr); }
  .hlv-watch-related .student-hlv-lesson-open { width: auto; min-width: 44px; }
  .hlv-watch-breadcrumb { font-size: .8rem; }
}
@media (max-width: 479px) {
  .hlv-watch-toolbar > button { flex: 1; }
  .hlv-watch-actions .student-hlv-lesson-action { width: 44px; height: 44px; }
  .hlv-playlist-flow-link { grid-template-columns: 110px minmax(0,1fr); }
}
.sofl-front-page .hlv-watch-page { max-width: 1500px; margin: 0 auto; padding: clamp(16px, 3vw, 40px); }
.hlv-watch-page.is-theatre::after { content: ''; position: fixed; inset: 0; z-index: 1070; background: color-mix(in srgb, var(--sofl-dark) 82%, transparent); }
@media (max-width: 767px) { .hlv-watch-related .student-hlv-lesson-open { width: auto; } }

/* Consistent HLV actions, including the watch completion CTA. */
:is(.sofl-video-page,.student-hlv-page,.student-hlv-watchlist) :is(.sofl-btn-gold,.student-gold-btn){background:#00255c;border-color:#00255c;color:#fff}
:is(.sofl-video-page,.student-hlv-page,.student-hlv-watchlist) :is(.sofl-btn-gold,.student-gold-btn):hover{background:#00255c;border-color:#00255c;color:#fff;filter:brightness(.92)}
