/* Learn block (ln-). Tokens only; controls are the base k- classes. One authored moment: the right answer settles
   on --spring (700 ms) and the lesson ends on the k-mark spring; reduced motion fades both. */
.ln { --ln-w: 680px; --ln-gap: clamp(24px, 4vw, 56px); }
.ln-wrap { display: flex; flex-direction: column; gap: 28px; }
.ln-head { display: flex; flex-direction: column; gap: 12px; max-width: var(--w-prose); }
.ln-empty { margin: 0; padding: 20px; border: 1px dashed var(--field); border-radius: var(--radius); color: var(--muted); }
.ln-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; font-weight: 500; color: var(--muted); }
.ln-meta .k-pill { padding: 3px 10px; }
.ln-crumb { align-self: flex-start; min-height: 44px; margin: -10px 0 -6px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; }
.ln-crumb svg { transition: transform var(--d) var(--ease); }

/* ---- the ring and the meter: --p is 0 to 100, set by mount ----------------------------------------------------- */
.ln-ring { --ln-ring: 56px; position: relative; flex: none; width: var(--ln-ring); height: var(--ln-ring); display: grid; place-items: center; }
.ln-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ln-ring circle { fill: none; stroke-width: 4; }
.ln-ring-t { stroke: var(--line); }
.ln-ring-f { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p)); transition: stroke-dashoffset .6s var(--ease), opacity var(--d) ease; }
.ln-ring[data-new] .ln-ring-f { opacity: 0; }
.ln-ring-n { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.ln-meter { display: block; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.ln-meter > span { display: block; height: 100%; background: var(--brand); border-radius: inherit; transform-origin: left; transform: scaleX(calc(var(--p) / 100)); transition: transform .6s var(--ease); }

/* ---- catalogue: one row per course, progress first ------------------------------------------------------------- */
.ln-courses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 16px; }
.ln-course-a { height: 100%; display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform var(--d) var(--ease), box-shadow var(--d) var(--ease); }
.ln-course-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ln-course-t { font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.ln-course-x { font-size: 15px; color: var(--muted); }
.ln-course-main .ln-meta { margin-top: 4px; }
.ln-course-img { flex: none; width: 96px; height: 96px; border-radius: var(--radius-sm); object-fit: cover; background: var(--placeholder); }
.ln-go { flex: none; color: var(--muted); display: grid; transition: transform var(--d) var(--ease), color var(--d) ease; }

/* ---- course: the summary column sticks, the lessons are a path ------------------------------------------------- */
.ln-course-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--ln-gap); align-items: start; }
.ln-side { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.ln-stage { width: 100%; aspect-ratio: 4 / 3; height: auto; border-radius: var(--radius); object-fit: cover; background: var(--placeholder); }
.ln-sum { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ln-sum-t { margin: 0; font-weight: 600; }
.ln-cta .k-btn { width: 100%; }
.ln-lessons { list-style: none; margin: 0; padding: 0; }
.ln-les { position: relative; }
.ln-les:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: calc(50% + 24px); height: calc(100% - 48px); width: 2px; border-radius: 2px; background: var(--line); }
.ln-les[data-done]:not(:last-child)::after { background: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.ln-les-a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 84px; padding: 14px 10px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; transition: background-color var(--d) var(--ease); }
.ln-les-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--field); background: var(--ground); color: var(--muted); font-weight: 700; transition: background-color var(--d) ease, border-color var(--d) ease, color var(--d) ease; }
.ln-les-n svg { display: none; }
.ln-les[data-done] .ln-les-n { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.ln-les[data-done] .ln-les-n svg { display: block; }
.ln-les[data-done] .ln-les-i { display: none; }
.ln-les-a[aria-current] .ln-les-n { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.ln-les-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ln-les-t { font-size: 17px; font-weight: 600; line-height: 1.3; }
.ln-les-m { font-size: 14px; color: var(--muted); white-space: normal; }
.ln-les-p { width: 112px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ln-les-p .ln-meter { width: 100%; }
.ln-les-pct { min-height: 1.4em; font-size: 14px; font-weight: 600; color: var(--muted); }
.ln-next { grid-column: 2 / -1; justify-self: start; margin-top: -6px; }

/* ---- the player -------------------------------------------------------------------------------------------------- */
.ln-player { max-width: var(--ln-w); margin: 0 auto; padding: 0 var(--pad); display: flex; flex-direction: column; gap: 20px; }
.ln-top { display: flex; flex-direction: column; gap: 8px; }
.ln-intro { max-width: 60ch; font-size: 17px; display: flex; flex-direction: column; gap: 10px; }
.ln-intro strong { font-weight: 600; }
.ln-progress, .ln-done { scroll-margin-top: calc(var(--header-h) + 12px); }
.ln-progress { display: flex; align-items: center; gap: 14px; }
.ln-rail { flex: 1; display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ln-rail li { flex: 1; height: 6px; border-radius: 999px; background: var(--line); transition: background-color var(--d) ease; }
.ln-rail li[data-current] { background: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.ln-rail li[data-res="ok"] { background: var(--brand); }
.ln-rail li[data-res="miss"] { background: color-mix(in srgb, var(--danger) 70%, var(--line)); }
.ln-count { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.ln-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ln-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 4vw, 32px); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.ln[data-js] .ln-card { outline-offset: 4px; }
.ln[data-js] .ln-card:focus:not(:focus-visible) { outline: none; }
.ln-ask { font-size: 14px; font-weight: 600; color: var(--muted); }
.ln-prompt { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: anywhere; }
.ln-img { width: 100%; aspect-ratio: 4 / 3; height: auto; border-radius: var(--radius-sm); object-fit: cover; background: var(--placeholder); }
.ln-expl { font-size: 15px; color: var(--ink); max-width: 60ch; }
.ln-hint { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--ground); color: var(--muted); font-size: 15px; }
.ln-reveal summary { min-height: 44px; display: inline-flex; align-items: center; color: var(--brand); font-weight: 600; cursor: pointer; }
.ln-reveal p { margin-top: 6px; }
.ln[data-js] .ln-reveal { display: none; }
.ln-speak { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--field); background: var(--surface); color: var(--brand); transition: border-color var(--d) ease, background-color var(--d) ease; }

/* flash: the card itself turns over; the two faces are the surfaces */
.ln-card[data-type="flash"] { padding: 0; background: none; box-shadow: none; gap: 10px; }
.ln-flip { display: grid; perspective: 1200px; }
.ln-face { grid-area: 1 / 1; min-height: 220px; padding: clamp(20px, 4vw, 32px); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; gap: 14px; backface-visibility: hidden; transition: transform .45s var(--ease), opacity var(--d) ease; }
.ln-back { background: var(--brand-soft); transform: rotateY(180deg); }
.ln-back .ln-ans { color: var(--brand); }
.ln-back .ln-speak { position: absolute; top: 16px; right: 16px; }
.ln-back { position: relative; }
.ln:not([data-js]) .ln-back { display: none; }
.ln[data-step="front"] .ln-card[data-current] .ln-flip { cursor: pointer; }
.ln-card[data-flipped] .ln-front { transform: rotateY(-180deg); }
.ln-card[data-flipped] .ln-back { transform: rotateY(0deg); }
.ln-card:not([data-flipped]) .ln-back, .ln-card[data-flipped] .ln-front { pointer-events: none; }

/* choice */
.ln-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.ln-opt, .ln-tile { min-height: 56px; padding: 10px 16px; border: 1px solid var(--field); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.3; transition: background-color var(--d) var(--ease), border-color var(--d) var(--ease), color var(--d) var(--ease), opacity var(--d) ease, box-shadow var(--d) ease; }
.ln-opt { display: flex; align-items: center; gap: 12px; text-align: left; }
.ln-k { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--ground); color: var(--muted); font-size: 13px; font-weight: 700; transition: background-color var(--d) ease, color var(--d) ease; }
.ln-opt:disabled { cursor: default; }
.ln-opt:disabled:not([data-state]) { opacity: .55; }
.ln-opt[data-state="ok"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.ln-opt[data-state="ok"] .ln-k { background: color-mix(in srgb, var(--on-brand) 22%, transparent); color: var(--on-brand); }
.ln-opt[data-state="no"] { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }
.ln-opt[data-state="right"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-soft); color: var(--brand); }

/* type */
.ln-type input { min-height: 56px; font-size: 20px; font-weight: 600; }
.ln-card[data-res="ok"] .ln-type input { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.ln-diff { display: flex; flex-direction: column; gap: 6px; font: 500 16px/1.5 var(--font-mono); overflow-wrap: anywhere; }
.ln-diff-r { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; align-items: baseline; }
.ln-diff-l { font: 500 13px/1.4 var(--font); color: var(--muted); }
.ln-diff del { color: var(--danger); background: var(--danger-soft); text-decoration-thickness: 2px; border-radius: 3px; }
.ln-diff ins { color: var(--brand); background: var(--brand-soft); text-decoration: none; box-shadow: inset 0 -2px 0 var(--brand); border-radius: 3px; }

/* match: tap left, then right; matched pairs carry the same number */
.ln-match { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ln-col { display: flex; flex-direction: column; gap: 10px; }
.ln-tile { position: relative; text-align: center; overflow-wrap: break-word; hyphens: auto; }
.ln-tile[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-soft); color: var(--brand); }
.ln-tile[data-done] { cursor: default; background: var(--brand); border-color: var(--brand); color: var(--on-brand); padding-left: 40px; padding-right: 40px; }
.ln-tile[data-done]::before { content: attr(data-done); position: absolute; left: 10px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: color-mix(in srgb, var(--on-brand) 22%, transparent); }

/* order */
.ln-order { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ln-step { display: flex; align-items: center; gap: 6px; min-height: 56px; padding: 4px 6px 4px 2px; border: 1px solid var(--field); border-radius: var(--radius-sm); background: var(--surface); transition: border-color var(--d) ease, background-color var(--d) ease, box-shadow var(--d) ease; }
.ln-grip { flex: none; width: 40px; height: 44px; display: grid; place-items: center; color: var(--muted); cursor: grab; touch-action: none; }
.ln-step-t { flex: 1; min-width: 0; font-weight: 600; line-height: 1.3; padding: 8px 0; }
.ln-mv { flex: none; display: flex; gap: 4px; }
.ln-mv button { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--ground); color: var(--ink); display: grid; place-items: center; transition: background-color var(--d-fast) ease, opacity var(--d) ease; }
.ln-mv button:disabled { opacity: .35; cursor: default; }
.ln-up svg { transform: rotate(-90deg); }
.ln-down svg { transform: rotate(90deg); }
.ln-step[data-drag] { border-color: var(--brand); box-shadow: var(--shadow); position: relative; z-index: 1; }
.ln-step[data-drag] .ln-grip { cursor: grabbing; }
.ln-step[data-state="ok"] { border-color: var(--brand); background: var(--brand-soft); }
.ln-step[data-state="moved"] { border-style: dashed; border-color: var(--danger); }
.ln-card[data-res] .ln-mv, .ln-card[data-res] .ln-grip { visibility: hidden; }

/* feedback under the card */
.ln-fb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border-radius: var(--radius-sm); }
.ln-fb-t { flex: 1; min-width: 12em; font-weight: 600; }
.ln-fb .ln-expl { flex-basis: 100%; }
.ln-card[data-res="ok"] .ln-fb { background: var(--brand-soft); color: var(--brand); }
.ln-card[data-res="miss"] .ln-fb { background: var(--danger-soft); color: var(--danger); }
.ln-card[data-res] .ln-fb .ln-expl { color: var(--ink); }

/* the action bar: under the card on desktop, stuck to the bottom on phones */
.ln-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.ln-say { flex: 1; min-width: 12em; margin: 0; font-size: 15px; color: var(--muted); }
.ln-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.ln-b { min-width: 160px; }
.ln-keys { display: none; flex-basis: 100%; margin: 0; font-size: 13px; color: var(--muted); text-align: right; }
.ln[data-step="done"] .ln-keys { display: none; }
/* once the card shows the answer, the bar's line would repeat it: keep it for screen readers only */
.ln:is([data-step="answered"], [data-step="back"]) .ln-say { color: transparent; user-select: none; }

/* the summary */
.ln-done { outline: none; }
.ln-sum-card { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: clamp(24px, 5vw, 40px); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.ln-sum-h { font-size: var(--t-h1); animation: k-focus .7s .3s var(--ease) backwards; }
.ln-sum-x { color: var(--muted); max-width: 46ch; }
.ln-score { margin: 0; display: flex; justify-content: center; align-items: flex-end; gap: 48px; }
.ln-score > div { display: flex; flex-direction: column-reverse; align-items: center; gap: 2px; }
.ln-score dt { font-size: 14px; color: var(--muted); }
.ln-score dd { margin: 0; font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.ln-score dd span { font-size: 22px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.ln-sum-l { margin: 0; font-weight: 600; }
.ln-miss { align-self: stretch; text-align: left; }
.ln-miss-h { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ln-miss ul { list-style: none; margin: 0; padding: 0; }
.ln-miss li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ln-miss-p { color: var(--muted); }
.ln-miss-a { font-weight: 600; overflow-wrap: anywhere; }
.ln-sum-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.ln-saved { margin: 0; }

/* ---- dashboard --------------------------------------------------------------------------------------------------- */
.ln-dash .ln-head { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; max-width: none; gap: 8px 24px; }
.ln-stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.ln-stat { display: flex; flex-direction: column-reverse; gap: 4px; padding: 20px 24px; }
.ln-stat + .ln-stat { border-left: 1px solid var(--line); }
.ln-stat dt { font-size: 14px; font-weight: 500; color: var(--muted); }
.ln-stat dd { margin: 0; font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.ln-by { display: flex; flex-direction: column; gap: 4px; }
.ln-by-h { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ln-bars { list-style: none; margin: 0; padding: 0; }
.ln-bar-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 220px) 48px 72px; align-items: center; gap: 16px; min-height: 60px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ln-bar-t { min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--ink); text-decoration: none; }
.ln-bar-pct { font-weight: 600; text-align: right; }
.ln-bar-due { font-size: 14px; color: var(--muted); text-align: right; }

/* ---- motion: the one authored moment ---------------------------------------------------------------------------- */
@keyframes ln-settle { from { transform: scale(.94); } }
.ln-opt[data-state="ok"], .ln-tile[data-done], .ln-card[data-res="ok"] .ln-type, .ln-card[data-res="ok"] .ln-order { animation: ln-settle var(--d-spring) var(--spring); }
.ln-nope { animation: k-nope .45s var(--ease); }
.ln-nudge { animation: k-nudge .4s var(--ease); border-color: var(--danger); }
.ln-card[data-current] { animation: k-in var(--d-enter) var(--ease) backwards; }
.ln-card[data-type="flash"][data-current] { animation: none; }
.ln-card[data-type="flash"][data-current] .ln-flip { animation: k-in var(--d-enter) var(--ease) backwards; }

@media (hover: hover) and (pointer: fine) {
  .ln-course-a:hover { transform: translateY(-2px); box-shadow: var(--shadow), 0 10px 24px color-mix(in srgb, var(--ink) 8%, transparent); }
  .ln-course-a:hover .ln-go { transform: translateX(3px); color: var(--brand); }
  .ln-crumb:hover { color: var(--brand); }
  .ln-crumb:hover svg { transform: translateX(-3px); }
  .ln-les-a:hover { background: var(--surface); }
  .ln-opt:not(:disabled):hover, .ln-tile:not([data-done]):hover { border-color: var(--brand); }
  .ln-mv button:not(:disabled):hover { background: var(--line); }
  .ln-speak:hover { border-color: var(--brand); background: var(--brand-soft); }
  .ln-bar-t:hover { color: var(--brand); }
  .ln[data-js] .ln-keys { display: block; }
}

@media (max-width: 720px) {
  .ln-course-a { padding: 16px; gap: 14px; }
  .ln-course-img { width: 64px; height: 64px; }
  .ln-course-page { grid-template-columns: 1fr; gap: 24px; }
  .ln-side { position: static; }
  .ln-cta { position: sticky; bottom: 0; z-index: 2; margin: 0 calc(-1 * var(--pad)); padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -1px 0 var(--line), 0 -8px 24px color-mix(in srgb, var(--ink) 8%, transparent); order: 10; }
  .ln-les-a { grid-template-columns: 44px minmax(0, 1fr) 72px; gap: 12px; padding: 12px 0; }
  .ln-les:not(:last-child)::after { left: 21px; }
  .ln-les-p { width: 72px; }
  .ln-player { padding: 0; }
  .ln-player > :not(.ln-bar) { margin-left: var(--pad); margin-right: var(--pad); }
  .ln-cards { margin: 0 calc(var(--pad) - 4px); }
  .ln-bar { position: sticky; bottom: 0; z-index: 2; padding: 10px var(--pad) calc(12px + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -1px 0 var(--line), 0 -8px 24px color-mix(in srgb, var(--ink) 8%, transparent); gap: 8px; }
  .ln-say { flex-basis: 100%; font-size: 14px; }
  .ln-acts { flex: 1; flex-wrap: nowrap; }
  .ln-acts .ln-b { flex: 1; min-width: 0; padding: 0 14px; }
  .ln-acts .ln-hint-b { flex: none; min-height: 56px; }
  .ln-face { min-height: 200px; }
  .ln-match { gap: 8px; }
  .ln-opt, .ln-tile { font-size: 16px; }
  .ln-tile { padding-left: 10px; padding-right: 10px; }
  .ln-tile[data-done] { padding-left: 30px; padding-right: 12px; }
  .ln-tile[data-done]::before { left: 6px; width: 20px; height: 20px; }
  .ln[data-js] .ln-keys { display: none; }
  .ln-score { gap: 28px; }
  .ln-sum-acts { flex-direction: column; align-self: stretch; }
  .ln-miss li { grid-template-columns: 1fr; gap: 2px; }
  .ln-stat { padding: 14px 12px; }
  .ln-stat dt { font-size: 13px; }
  .ln-bar-row { grid-template-columns: minmax(0, 1fr) 48px; grid-template-areas: "t pct" "m due"; gap: 4px 12px; padding: 10px 0; }
  .ln-bar-t { grid-area: t; min-height: 36px; }
  .ln-bar-row .ln-meter { grid-area: m; }
  .ln-bar-pct { grid-area: pct; }
  .ln-bar-due { grid-area: due; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .ln-face { transition: opacity .3s ease; }
  .ln-back { transform: none; opacity: 0; }
  .ln-card[data-flipped] .ln-front { transform: none; opacity: 0; }
  .ln-card[data-flipped] .ln-back { opacity: 1; }
  .ln-opt[data-state="ok"], .ln-tile[data-done], .ln-card[data-res="ok"] .ln-type, .ln-card[data-res="ok"] .ln-order,
  .ln-card[data-current], .ln-card[data-type="flash"][data-current] .ln-flip, .ln-sum-h { animation: k-fade .3s ease both; }
  .ln-nope, .ln-nudge { animation: none; }
  .ln-ring-f, .ln-meter > span { transition: none; }
  .ln-course-a, .ln-go, .ln-crumb svg { transition-property: box-shadow, color; }
}
