/* Course pages (templates/drobo/course_v2.html). Built on css/drobo-ui.css tokens, so light and dark come for free.
   Owner, 2026-10-26: "it looks ugly", "shit crammed together", "the page aint even animated": room around everything,
   nothing boxed in a box, and motion that helps (things arrive in order, the lesson playing shows it is playing). */

.cx-discord { flex: 0 0 auto; color: #5865f2; }
.ui-btn:not(.ui-btn--outline):not(.ui-btn--ghost) .cx-discord { color: currentColor; }

.cx { max-width: 82rem; margin: 0 auto; }
.cx-empty { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cx-empty > div { flex: 1 1 14rem; }
.cx-bar { display: block; height: 5px; overflow: hidden; background: var(--ui-border); border-radius: 999px; }
.cx-bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--ui-primary), color-mix(in srgb, var(--ui-primary) 60%, #a855f7)); border-radius: inherit; transition: width .8s var(--ui-ease); }

/* ── A lesson: the video and what's under it, the course beside it ── */
.cx-cols { display: grid; grid-template-columns: minmax(0, 1fr) 23rem; gap: 2.75rem; align-items: start; padding: .5rem 0 2.5rem; }
.cx-main { display: grid; gap: 2.25rem; min-width: 0; }

.cx-stage {
  overflow: hidden; aspect-ratio: 16 / 9; background: #000; border-radius: calc(var(--ui-radius) + 6px);
  box-shadow: 0 0 0 1px var(--ui-border), 0 24px 60px -28px rgba(0, 0, 0, .55);
}
.cx-video { display: block; width: 100%; height: 100%; background: #000; }
.cx-stage { position: relative; }

/* Up next: over the finished video, the next lesson with a countdown ring; it plays when the ring closes. */
.cx-auto { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 1rem; background: rgba(5, 5, 8, .72); backdrop-filter: blur(10px); animation: cx-auto-in .35s var(--ui-ease) both; }
.cx-auto[hidden] { display: none; }
.cx-auto__card { display: grid; justify-items: center; gap: .85rem; max-width: 22rem; text-align: center; color: #fff; }
.cx-auto__card small { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .7); }
.cx-auto__card b { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }
.cx-auto__shot { position: relative; display: block; width: 15rem; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--ui-radius); box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }
.cx-auto__shot img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); transition: filter .2s, transform .4s var(--ui-ease); }
.cx-auto__shot:hover img { filter: brightness(.75); transform: scale(1.04); }
.cx-auto__ring { position: absolute; inset: 50% auto auto 50%; width: 3.5rem; height: 3.5rem; transform: translate(-50%, -50%) rotate(-90deg); }
.cx-auto__ring circle { fill: rgba(0, 0, 0, .35); stroke: rgba(255, 255, 255, .3); stroke-width: 3; }
.cx-auto__ring .cx-auto__fill { fill: none; stroke: #fff; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.cx-auto.is-counting .cx-auto__fill { animation: cx-ring var(--cx-wait, 6s) linear forwards; }
.cx-auto__shot .ti { position: absolute; inset: 50% auto auto 50%; font-size: 1.2rem; color: #fff; transform: translate(-50%, -50%); }
.cx-auto__row { display: flex; gap: .5rem; }
.cx-auto__cancel { color: rgba(255, 255, 255, .85) !important; }
.cx-auto__cancel:hover { color: #fff !important; background: rgba(255, 255, 255, .12) !important; }
@keyframes cx-ring { to { stroke-dashoffset: 0; } }
@keyframes cx-auto-in { from { opacity: 0; } }
.cx-auto__card { animation: cx-rise .45s var(--ui-ease) .05s both; }

/* Started by itself without sound (the browser's rule): one tap turns it on. */
.cx-sound { position: absolute; left: 1rem; top: 1rem; z-index: 1; display: inline-flex; align-items: center; gap: .45rem; height: 2.25rem; padding: 0 .9rem; font: inherit; font-size: .875rem; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .72); border: 0; border-radius: 999px; cursor: pointer; backdrop-filter: blur(6px); animation: cx-rise .4s var(--ui-ease) both; }
.cx-sound[hidden] { display: none; }
.cx-sound:hover { background: rgba(0, 0, 0, .85); }

.cx-lesson { display: grid; gap: 2.5rem; min-width: 0; }
.cx-lesson__head { display: grid; gap: .7rem; }
.cx-kicker { margin: 0; font-size: .875rem; font-weight: 600; color: var(--ui-primary); font-variant-numeric: tabular-nums; }
.cx-lesson__title { margin: 0; font-size: 2rem; font-weight: 700; line-height: 1.15; letter-spacing: -.025em; color: var(--ui-fg); text-wrap: balance; }
.cx-summary { max-width: 44rem; margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ui-fg-2); text-wrap: pretty; }
.cx-path { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; margin: .25rem 0 0; font-size: .9375rem; color: var(--ui-muted); }
.cx-path b { color: var(--ui-fg); font-weight: 600; }
.cx-path a { padding: .2rem .7rem; font-size: .875rem; color: var(--ui-fg-2); text-decoration: none; border: 1px solid var(--ui-border); border-radius: 999px; transition: border-color .15s, color .15s; }
.cx-path a:hover { color: var(--ui-fg); border-color: var(--ui-border-strong); }

.cx-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: -1rem; }
.cx-nav__next .ti { transition: transform .2s var(--ui-ease); }
.cx-nav__next:hover .ti { transform: translateX(3px); }
.cx-nav__prev { margin-left: auto; }
.cx-done[aria-pressed="true"] { color: var(--ui-ok) !important; }
.cx-done[aria-pressed="true"] .ti { animation: cx-tick .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes cx-tick { from { transform: scale(.3) rotate(-25deg); opacity: 0; } }

.cx-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: -1rem; }
.cx-links__note { font-size: .8125rem; color: var(--ui-muted); margin-right: .5rem; }

/* What's in the video: a plain list, each line jumps there. */
.cx-in h2 { margin: 0 0 .85rem; font-size: 1.125rem; font-weight: 650; letter-spacing: -.01em; color: var(--ui-fg); }
.cx-chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .25rem 1.5rem; margin: 0 -.75rem; padding: 0; list-style: none; }
.cx-chapters button, .cx-transcript button {
  display: flex; align-items: baseline; gap: 1rem; width: 100%; padding: .7rem .75rem; font: inherit; font-size: .9375rem; line-height: 1.5;
  text-align: left; color: var(--ui-fg-2); background: none; border: 0; border-radius: var(--ui-radius-md); cursor: pointer; transition: background .2s, color .2s;
}
.cx-chapters button:hover, .cx-transcript button:hover { color: var(--ui-fg); background: var(--ui-hover); }
.cx-chapters time, .cx-transcript time { flex: 0 0 2.75rem; font-size: .8125rem; font-weight: 600; color: var(--ui-primary); font-variant-numeric: tabular-nums; }
.cx-chapters button.is-now { color: var(--ui-fg); background: var(--ui-primary-soft); }
.cx-in.is-in .cx-chapters li { animation: cx-rise .5s var(--ui-ease) both; animation-delay: calc(var(--n, 0) * 45ms + 150ms); }

/* The transcript: behind one quiet toggle. */
.cx-transcript > summary { display: inline-flex; align-items: center; gap: .4rem; font-size: .9375rem; font-weight: 600; color: var(--ui-fg-2); cursor: pointer; list-style: none; }
.cx-transcript > summary::-webkit-details-marker { display: none; }
.cx-transcript > summary:hover { color: var(--ui-fg); }
.cx-transcript > summary .ti { transition: transform .25s var(--ui-ease); }
.cx-transcript[open] > summary .ti { transform: rotate(180deg); }
.cx-transcript__close, .cx-transcript[open] .cx-transcript__open { display: none; }
.cx-transcript[open] .cx-transcript__close { display: inline; }
.cx-transcript ol { display: grid; gap: .1rem; max-height: 28rem; margin: 1rem -.75rem 0; padding: 0; overflow: auto; list-style: none; animation: cx-rise .4s var(--ui-ease) both; }
.cx-transcript time { color: var(--ui-muted); font-weight: 500; }

.cx-read { margin: 0; padding-top: 1.75rem; font-size: .9375rem; color: var(--ui-muted); border-top: 1px solid var(--ui-border); }
.cx-read a { color: var(--ui-fg-2); text-underline-offset: 3px; }
.cx-read a:hover { color: var(--ui-fg); }

/* ── The course beside the video, as a playlist ── */
.cx-side {
  position: sticky; top: 4.75rem; display: grid; max-height: calc(100vh - 6rem); overflow: auto; padding: 0 .25rem 1rem;
  scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: transparent transparent; interpolate-size: allow-keywords;
}
/* The scrollbar only shows while the pointer is over the list (owner: "the scroll bar is sorta annoying"). */
.cx-side:hover, .cx-side:focus-within { scrollbar-color: color-mix(in srgb, var(--ui-fg) 22%, transparent) transparent; }
.cx-side__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .7rem 1rem; padding: .25rem .5rem 1.25rem; }
.cx-side__head a { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; color: var(--ui-fg); text-decoration: none; }
.cx-side__head a:hover { color: var(--ui-primary); }
.cx-side__head small { font-size: .8125rem; color: var(--ui-muted); font-variant-numeric: tabular-nums; }
.cx-side__head b { font-weight: 650; color: var(--ui-fg); }
.cx-side__head .cx-bar { grid-column: 1 / -1; }

.cx-sec { padding: .4rem 0; border-top: 1px solid var(--ui-border); scroll-margin-top: 5rem; }
/* A part opens and closes smoothly (where the browser can animate to auto). */
.cx-sec::details-content { block-size: 0; overflow-y: clip; transition: block-size .38s var(--ui-ease), content-visibility .38s allow-discrete; }
.cx-sec[open]::details-content { block-size: auto; }
.cx-sec__title { display: flex; align-items: center; gap: .6rem; padding: .7rem .5rem; cursor: pointer; list-style: none; border-radius: var(--ui-radius-md); transition: background .2s; }
.cx-sec__title::-webkit-details-marker { display: none; }
.cx-sec__title:hover { background: var(--ui-hover); }
.cx-sec__title > span { display: grid; flex: 1; gap: .15rem; min-width: 0; font-size: .9375rem; font-weight: 650; color: var(--ui-fg); }
.cx-sec__title small { font-size: .75rem; font-weight: 600; color: var(--ui-muted); }
.cx-sec__done { display: none; font-size: 1.15rem; color: var(--ui-ok); }
.cx-sec.is-done .cx-sec__done { display: block; animation: cx-tick .5s cubic-bezier(.34, 1.56, .64, 1); }
.cx-sec__chev { color: var(--ui-muted); transition: transform .25s var(--ui-ease); }
.cx-sec[open] .cx-sec__chev { transform: rotate(180deg); }

.cx-steps { display: grid; gap: .3rem; margin: 0; padding: .3rem 0 .6rem; list-style: none; }
.cx-sec[open] .cx-step { animation: cx-slide .45s var(--ui-ease) both; animation-delay: calc(var(--r, 0) * 55ms + 60ms); }
.cx-step > a { display: grid; grid-template-columns: 7.25rem minmax(0, 1fr); align-items: center; gap: .9rem; padding: .5rem; color: inherit; text-decoration: none; border-radius: var(--ui-radius-md); transition: background .2s; }
.cx-step > a:hover { background: var(--ui-hover); }
.cx-step.is-current > a { background: var(--ui-primary-soft); }
.cx-step__shot { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ui-hover); border: 1px solid var(--ui-border); border-radius: 8px; transition: border-color .2s; }
.cx-step__shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ui-ease), opacity .2s; }
.cx-step > a:hover .cx-step__shot img { transform: scale(1.07); }
.cx-step.is-current .cx-step__shot { border-color: var(--ui-primary); }
.cx-step.is-done:not(.is-current) .cx-step__shot img { opacity: .55; }
.cx-step__shot time { position: absolute; right: .3rem; bottom: .3rem; padding: 0 .3rem; font-size: .6875rem; font-weight: 600; line-height: 1.5; color: #fff; background: rgba(0, 0, 0, .72); border-radius: 4px; font-variant-numeric: tabular-nums; }
.cx-step__text { display: grid; gap: .3rem; min-width: 0; }
.cx-step__text b { display: -webkit-box; overflow: hidden; font-size: .875rem; font-weight: 600; line-height: 1.35; color: var(--ui-fg); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cx-step__text small { display: none; align-items: center; gap: .3rem; font-size: .75rem; color: var(--ui-muted); }
.cx-step__text .cx-step__num { display: block; }
.cx-step.is-current .cx-step__num, .cx-step.is-done .cx-step__num { display: none; }
.cx-step.is-current .cx-step__now { display: inline-flex; font-weight: 600; color: var(--ui-primary); }
.cx-step.is-done:not(.is-current) .cx-step__seen { display: inline-flex; font-weight: 600; color: var(--ui-ok); }

/* Now playing: three bars, moving while the video plays. */
.cx-eq { display: inline-flex; align-items: flex-end; gap: 2px; width: .8rem; height: .7rem; margin-right: .1rem; }
.cx-eq i { flex: 1; height: 35%; background: currentColor; border-radius: 1px; }
.cx-eq i:nth-child(2) { height: 80%; }
.cx-eq i:nth-child(3) { height: 55%; }
.cx.is-playing .cx-eq i { animation: cx-eq .8s ease-in-out infinite; }
.cx.is-playing .cx-eq i:nth-child(2) { animation-delay: -.25s; }
.cx.is-playing .cx-eq i:nth-child(3) { animation-delay: -.5s; }
@keyframes cx-eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

@keyframes cx-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes cx-slide { from { opacity: 0; transform: translateX(10px); } }

@media (max-width: 1100px) {
  .cx-cols { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .cx-side { position: static; max-height: none; overflow: visible; padding: 0; }
}
@media (max-width: 560px) {
  .cx-cols { padding-top: 0; }
  .cx-main { gap: 1.5rem; }
  .cx-lesson { gap: 2rem; }
  .cx-lesson__title { font-size: 1.5rem; }
  .cx-summary { font-size: 1rem; }
  .cx-nav { margin-top: -.5rem; }
  .cx-nav__next { flex: 1 1 100%; justify-content: center; }
  .cx-nav__prev { margin-left: 0; }
  .cx-stage { margin: 0 calc(-1 * var(--ui-gutter, 0px)); border-radius: var(--ui-radius); }
}
@media (prefers-reduced-motion: reduce) {
  .cx-bar i, .cx-sec__chev, .cx-transcript > summary .ti, .cx-step__shot img, .cx-sec::details-content { transition: none; }
  .cx-done[aria-pressed="true"] .ti, .cx-sec.is-done .cx-sec__done, .cx-in.is-in .cx-chapters li, .cx-transcript ol,
  .cx-sec[open] .cx-step, .cx.is-playing .cx-eq i, .cx-auto, .cx-auto__card, .cx-sound { animation: none; }
}

/* ── The course's home: an Up next card, then each part as a heading and a row of video cards (owner, 2026-10-26:
   "simple design you still got shit crammed together", "make the page engaging for people to learn"). Room between
   everything, one size of text per role, the videos' own frames as the pictures. ── */
.cx-home { display: grid; gap: 3.5rem; max-width: 70rem; margin: 0; padding: .75rem 0 2rem; }
.cx-top { display: grid; gap: .75rem; }
.cx-top h1 { margin: 0; font-size: 2rem; font-weight: 700; line-height: 1.15; letter-spacing: -.025em; color: var(--ui-fg); }
.cx-top p { max-width: 38rem; margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ui-fg-2); text-wrap: pretty; }
.cx-top__progress { display: flex; align-items: center; gap: .75rem; margin-top: .25rem; }
.cx-top__progress .cx-bar { flex: 0 0 11rem; height: 6px; }
.cx-top__progress small { font-size: .875rem; color: var(--ui-muted); font-variant-numeric: tabular-nums; }
.cx-top__progress b { font-weight: 650; color: var(--ui-fg); }

/* Up next: the one thing to do now. */
.cx-next {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.25rem; align-items: center; margin-top: -1.25rem;
  padding: 1.25rem; color: inherit; text-decoration: none; background: var(--ui-card); border: 1px solid var(--ui-border);
  border-radius: calc(var(--ui-radius) + 4px); box-shadow: var(--ui-shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s var(--ui-ease);
}
.cx-next:hover { border-color: var(--ui-border-strong); box-shadow: var(--ui-shadow); transform: translateY(-2px); }
.cx-next__shot { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #000; border-radius: var(--ui-radius); }
.cx-next__shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ui-ease); }
.cx-next:hover .cx-next__shot img { transform: scale(1.03); }
.cx-next__play {
  position: absolute; left: .85rem; bottom: .85rem; display: inline-flex; align-items: center; gap: .5rem; height: 2.25rem; padding: 0 .9rem 0 .75rem;
  font-size: .875rem; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .72); border-radius: 999px; backdrop-filter: blur(6px);
  font-variant-numeric: tabular-nums;
}
.cx-next__play .ti { font-size: 1rem; }
.cx-next__text { display: grid; gap: .65rem; align-content: center; min-width: 0; padding-right: 1rem; }
.cx-next__text small { font-size: .8125rem; font-weight: 600; color: var(--ui-primary); }
.cx-next__text b { font-size: 1.625rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--ui-fg); text-wrap: balance; }
.cx-next__sub { font-size: 1rem; line-height: 1.55; color: var(--ui-fg-2); }
.cx-next__sub:empty { display: none; }
.cx-next__go { justify-self: start; margin-top: .6rem; }

/* A part: its name and goal, then its lessons. */
.cx-part { display: grid; gap: 1.5rem; }
.cx-part__head { display: grid; gap: .35rem; }
.cx-part__head small { font-size: .8125rem; font-weight: 600; color: var(--ui-muted); }
.cx-part__head h2 { margin: 0; font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; color: var(--ui-fg); }
.cx-part__head p { margin: 0; font-size: 1rem; color: var(--ui-fg-2); }
.cx-part.is-done .cx-part__head small { color: var(--ui-ok); }
.cx-part.is-done .cx-part__head small::after { content: " · done"; }

.cx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 2rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.cx-card > a { display: grid; gap: .9rem; color: inherit; text-decoration: none; }
.cx-card__shot {
  position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ui-hover); border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius); transition: box-shadow .2s, transform .2s var(--ui-ease), border-color .2s;
}
.cx-card__shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ui-ease), opacity .2s; }
.cx-card > a:hover .cx-card__shot { transform: translateY(-3px); box-shadow: var(--ui-shadow); border-color: var(--ui-border-strong); }
.cx-card > a:hover .cx-card__shot img { transform: scale(1.04); }
.cx-card__play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.cx-card__play .ti { display: grid; place-items: center; width: 3rem; height: 3rem; font-size: 1.1rem; color: #111; background: rgba(255, 255, 255, .94); border-radius: 50%; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.cx-card > a:hover .cx-card__play, .cx-card > a:focus-visible .cx-card__play { opacity: 1; }
.cx-card__shot time { position: absolute; right: .55rem; bottom: .55rem; padding: .1rem .45rem; font-size: .75rem; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .72); border-radius: 6px; font-variant-numeric: tabular-nums; }
.cx-card__flag { position: absolute; left: .55rem; top: .55rem; display: none; align-items: center; gap: .3rem; padding: .2rem .55rem; font-size: .75rem; font-weight: 600; color: #fff; border-radius: 999px; }
.cx-card__flag--done { background: var(--ui-ok); }
.cx-card__flag--next { background: var(--ui-primary); }
.cx-card.is-done .cx-card__flag--done { display: inline-flex; }
.cx-card.is-done .cx-card__shot img { opacity: .55; }
.cx-card.is-next:not(.is-done) .cx-card__flag--next { display: inline-flex; }
.cx-card.is-next:not(.is-done) .cx-card__shot { border-color: var(--ui-primary); box-shadow: 0 0 0 3px var(--ui-primary-soft); }
.cx-card__body { display: grid; gap: .3rem; min-width: 0; }
.cx-card__body small { font-size: .8125rem; color: var(--ui-muted); font-variant-numeric: tabular-nums; }
.cx-card__body b { font-size: 1.0625rem; font-weight: 650; line-height: 1.35; letter-spacing: -.01em; color: var(--ui-fg); text-wrap: pretty; transition: color .15s; }
.cx-card__body > span { display: -webkit-box; overflow: hidden; font-size: .9375rem; line-height: 1.5; color: var(--ui-fg-2); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cx-card > a:hover .cx-card__body b { color: var(--ui-primary); }

/* Motion: each part's cards arrive one after another as the part scrolls in; the Up next play button breathes. */
.ui-js .cx-part:not(.is-in) .cx-card { opacity: 0; }
.cx-part.is-in .cx-card { animation: cx-card-in .6s var(--ui-ease) both; animation-delay: calc(var(--n, 0) * 70ms + 120ms); }
@keyframes cx-card-in { from { opacity: 0; transform: translateY(16px) scale(.98); filter: blur(4px); } }
.cx-next__play { animation: cx-pulse 2.6s ease-out infinite; }
@keyframes cx-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } }
.cx-next .cx-next__go .ti { transition: transform .2s var(--ui-ease); }
.cx-next:hover .cx-next__go .ti { transform: translateX(3px); }

.cx-home__read { margin: -1rem 0 0; padding-top: 2rem; font-size: .9375rem; color: var(--ui-muted); border-top: 1px solid var(--ui-border); }
.cx-home__read a { color: var(--ui-fg-2); text-underline-offset: 3px; }
.cx-home__read a:hover { color: var(--ui-fg); }

@media (max-width: 860px) {
  .cx-next { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .cx-next__text { padding: 0 .25rem .25rem; }
}
@media (max-width: 560px) {
  .cx-home { gap: 2.75rem; padding-top: .25rem; }
  .cx-top h1 { font-size: 1.625rem; }
  .cx-next { margin-top: -.75rem; padding: .85rem; }
  .cx-next__text b { font-size: 1.3rem; }
  .cx-next__go { justify-self: stretch; justify-content: center; }
  /* Phones: each lesson a row, its picture beside its name. */
  .cx-grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .cx-card > a { grid-template-columns: 9.5rem minmax(0, 1fr); gap: .9rem; align-items: start; }
  .cx-card__body b { font-size: .9375rem; }
  .cx-card__body > span { font-size: .875rem; }
  .cx-card__flag { left: .35rem; top: .35rem; padding: .1rem .45rem; font-size: .6875rem; }
  .cx-card__shot time { right: .35rem; bottom: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-fold__chev, .cx-next, .cx-next__shot img, .cx-card__shot, .cx-card__shot img { transition: none; }
  .cx-next:hover, .cx-card > a:hover .cx-card__shot { transform: none; }
  .cx-next:hover .cx-next__shot img, .cx-card > a:hover .cx-card__shot img { transform: none; }
  .cx-part.is-in .cx-card, .cx-next__play { animation: none; }
  .ui-js .cx-part:not(.is-in) .cx-card { opacity: 1; }
}
