/* ==========================================================================
   SwimSafe — Landing: Levels tabs + level detail dialogs
   Companion of public-landing.css (same ll- namespace, same tokens).
   Tone classes map the original palette onto SwimSafe token families.
   ========================================================================== */

/* ---------- Tones ---------- */
.ll-tone--ocean    { background: var(--tint-ocean);    color: var(--ocean-600); }
.ll-tone--aqua     { background: var(--tint-aqua);     color: var(--aqua-600); }
.ll-tone--sun      { background: var(--tint-sun);      color: var(--sun-800); }
.ll-tone--lavender { background: var(--tint-lavender); color: var(--color-new); }
.ll-tone--coral    { background: var(--tint-coral);    color: var(--color-error); }
.ll-tone--ink      { background: var(--ink-50);        color: var(--ink-600); }

.ll-text-tone--wassergewoehnung  { color: var(--aqua-600); }
.ll-text-tone--basiskompetenz    { color: var(--ocean-600); }
.ll-text-tone--antriebskompetenz { color: var(--sun-800); }
.ll-text-tone--bewegungskompetenz{ color: var(--color-new); }
.ll-bg-tone--wassergewoehnung  { background: var(--aqua-400); }
.ll-bg-tone--basiskompetenz    { background: var(--ocean-400); }
.ll-bg-tone--antriebskompetenz { background: var(--sun-400); }
.ll-bg-tone--bewegungskompetenz{ background: var(--color-new); }
.ll-text-tone--ocean { color: var(--ocean-600); }
.ll-text-tone--aqua { color: var(--aqua-600); }
.ll-text-tone--sun { color: var(--sun-800); }
.ll-text-tone--lavender { color: var(--color-new); }
.ll-text-tone--coral { color: var(--color-error); }
.ll-text-tone--ink { color: var(--ink-600); }

/* ---------- Tabs ---------- */
.ll-tabs__list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  max-width: 760px; margin: 0 auto var(--space-3);
  padding: var(--space-1); border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--ink-100); box-shadow: var(--shadow-card);
}
.ll-tabs__tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--ink-600); cursor: pointer;
  font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-sm);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.ll-tabs__tab:hover { background: var(--tint-ocean); color: var(--ocean-600); }
.ll-tabs__tab[aria-selected="true"] { background: var(--ocean-600); color: #fff; box-shadow: var(--shadow-card); }
.ll-tabs__tab:disabled { opacity: .4; cursor: default; }
.ll-tabs__tab:focus-visible { outline: 3px solid var(--ocean-200); outline-offset: 2px; }

.ll-lv-source { text-align: center; margin: 0 auto var(--space-3); max-width: 680px; }
.ll-lv-source__intro { margin: 0; font-style: italic; color: var(--ink-400); font-size: var(--text-sm); }
.ll-lv-source__link { margin: 6px 0 0; color: var(--ink-300); font-size: var(--text-xs); }
.ll-lv-source__link a { color: var(--ocean-600); }

/* ---------- Card grids ---------- */
.ll-lv-grid { display: grid; gap: var(--space-2); align-items: start; }

/* ---------- Level cards ---------- */
.ll-lv-card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-1);
  width: 100%; text-align: left;
  background: var(--card); border: 1px solid var(--ink-100); border-radius: var(--radius-xl);
  padding: var(--space-2) var(--space-2) var(--space-3); box-shadow: var(--shadow-card);
  font-family: var(--font-body); font-size: var(--text-body); color: var(--ink-900);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.ll-lv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--ocean-200); }

.ll-lv-card__head { display: flex; align-items: center; gap: var(--space-2); }
.ll-lv-card__badge { width: 52px; height: 52px; object-fit: contain; flex: 0 0 auto;
  transition: transform var(--dur-base) var(--ease-spring); }
.ll-lv-card--clickable:hover .ll-lv-card__badge,
.ll-lv-card--clickable:hover .ll-lv-card__num { transform: scale(1.1); }
.ll-lv-card__num {
  flex: 0 0 auto; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; font-family: var(--font-display); font-weight: var(--weight-bold); font-size: 1.2rem;
  transition: transform var(--dur-base) var(--ease-spring);
}
.ll-lv-card__num--reward { background: var(--grad-reward); color: #fff; box-shadow: var(--shadow-reward); }
.ll-lv-card__name { display: block; font-family: var(--font-display); font-size: var(--text-h3); font-weight: var(--weight-bold); }
.ll-lv-card__sub { display: block; color: var(--ink-400); font-size: var(--text-sm); }

.ll-lv-bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ll-lv-bullets li { position: relative; padding-left: 16px; color: var(--ink-600); font-size: var(--text-body); }
.ll-lv-bullets li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--ocean-400);
}
.ll-lv-bullets--check li::before { background: var(--aqua-400); }
.ll-lv-bullets__more { color: var(--ocean-600); font-weight: var(--weight-semibold); }
.ll-lv-bullets__more::before { display: none; }

/* collapsed cards hide bullets beyond the 4th */
.ll-lv-card--collapsed:not(.is-expanded) .ll-lv-bullets li:nth-child(n+5) { display: none; }
.ll-lv-more {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: var(--space-1); padding: 8px 0 0; border: 0; border-top: 1px solid var(--ink-50);
  width: 100%; background: none; color: var(--ocean-600); cursor: pointer;
  font-size: var(--text-sm); font-weight: var(--weight-semibold);
}
.ll-lv-more .ll-icon { transition: transform var(--dur-base) var(--ease-out); }
.is-expanded .ll-lv-more .ll-icon { transform: rotate(180deg); }

.ll-lv-card__quote {
  display: flex; align-items: center; gap: 8px; margin-top: var(--space-1); padding-top: var(--space-1);
  border-top: 1px solid var(--ink-50); color: var(--ink-400); font-size: var(--text-sm); font-style: italic;
}
.ll-lv-card__quote img { width: 26px; height: 26px; object-fit: contain; }

/* Clickable card: the hint pill is the real <button>; its ::after stretches
   over the whole card so the entire card is the hit area (keyboard-focusable,
   single tab stop, works without JS-side keyboard handling). */
.ll-lv-card--clickable { cursor: pointer; }
.ll-lv-card__hint {
  order: 99; margin-left: auto; margin-top: var(--space-1);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border: 0; border-radius: var(--radius-pill);
  background: var(--tint-ocean); color: var(--ocean-600); cursor: pointer;
  font-size: var(--text-xs); font-weight: var(--weight-bold);
  opacity: 0; transition: opacity var(--dur-fast) var(--ease-out);
}
.ll-lv-card__hint .ll-icon { width: 14px; height: 14px; }
.ll-lv-card__hint::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-xl); }
.ll-lv-card--clickable:hover .ll-lv-card__hint,
.ll-lv-card--clickable:focus-within .ll-lv-card__hint { opacity: 1; }
.ll-lv-card__hint:focus-visible { outline: none; }
.ll-lv-card__hint:focus-visible::after { outline: 3px solid var(--ocean-200); outline-offset: -3px; }

/* ---------- Taglines (NZ / AU) ---------- */
.ll-lv-tagline {
  max-width: 760px; margin: 0 auto var(--space-3); padding: var(--space-3);
  border-radius: var(--radius-xl); border: 1px solid var(--aqua-200);
  background: linear-gradient(120deg, var(--tint-aqua), var(--tint-ocean));
  text-align: center; font-family: var(--font-display); font-weight: var(--weight-semibold);
  font-size: var(--text-h3); font-style: italic;
}
.ll-lv-tagline--sun { border-color: var(--sun-100); background: linear-gradient(120deg, var(--tint-sun), var(--tint-ocean)); }

/* ---------- NZ panels ---------- */
.ll-lv-nz { margin-bottom: var(--space-2); }
.ll-lv-panelcard__title {
  display: flex; align-items: center; gap: 8px; margin: 0 0 4px;
  font-family: var(--font-display); font-size: var(--text-h3);
}
.ll-lv-panelcard__title .ll-icon { color: var(--aqua-600); width: 20px; height: 20px; }
.ll-lv-panelcard__intro { margin: 0 0 var(--space-2); color: var(--ink-400); font-size: var(--text-sm); }

.ll-lv-skills { display: grid; gap: 8px; }
.ll-lv-skill {
  display: flex; align-items: center; gap: var(--space-2); width: 100%; text-align: left;
  padding: 10px 12px; border: 1px solid var(--ink-100); border-radius: var(--radius-md);
  background: var(--card); cursor: pointer; font-family: var(--font-body); font-size: var(--text-body);
  color: var(--ink-900);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.ll-lv-skill:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--ocean-200); }
.ll-lv-skill:focus-visible { outline: 3px solid var(--ocean-200); outline-offset: 2px; }
.ll-lv-skill__icon {
  flex: 0 0 auto; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: transform var(--dur-base) var(--ease-spring);
}
.ll-lv-skill:hover .ll-lv-skill__icon { transform: scale(1.1); }
.ll-lv-skill__icon .ll-icon { width: 19px; height: 19px; }
.ll-lv-skill__name { flex: 1 1 auto; font-weight: var(--weight-semibold); }
.ll-lv-skill__sub { display: block; color: var(--ink-400); font-weight: var(--weight-regular); font-size: var(--text-sm); }
.ll-lv-skill__eye { color: var(--ink-300); opacity: 0; transition: opacity var(--dur-fast) var(--ease-out); }
.ll-lv-skill:hover .ll-lv-skill__eye { opacity: 1; }
.ll-lv-skill__eye .ll-icon { width: 16px; height: 16px; }

.ll-lv-timeline { position: relative; display: grid; gap: var(--space-2); padding-left: 26px; }
.ll-lv-timeline::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px;
  background: linear-gradient(to bottom, var(--ocean-400), var(--aqua-400) 45%, var(--sun-400) 75%, var(--ink-200));
}
.ll-lv-timeline__item { position: relative; }
.ll-lv-timeline__dot {
  position: absolute; left: -30px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 2px solid var(--card); box-shadow: var(--shadow-card); font-size: 12px;
}

.ll-lv-checklist { margin-top: var(--space-2); background: linear-gradient(120deg, var(--tint-aqua), var(--tint-ocean)); border-color: var(--aqua-200); }
.ll-lv-checklist--sun { background: linear-gradient(120deg, var(--tint-sun), var(--tint-ocean)); border-color: var(--sun-100); }
.ll-lv-checklist__grid { display: grid; gap: var(--space-1); }
.ll-lv-checklist__item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .72); border: 1px solid var(--ink-50); font-size: var(--text-sm);
}
.ll-lv-checklist__item .ll-icon { flex: 0 0 auto; width: 18px; height: 18px; color: var(--aqua-600); margin-top: 1px; }

.ll-lv-strands { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-1); }
.ll-lv-strand {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: var(--text-sm); font-weight: var(--weight-semibold);
}
.ll-lv-strand .ll-icon { width: 17px; height: 17px; }

/* ==========================================================================
   Dialogs
   ========================================================================== */
.ll-dialog {
  width: min(100vw - 2 * var(--space-2), 880px);
  max-height: min(90dvh, 90vh);
  padding: 0; border: 0; border-radius: var(--radius-2xl);
  background: var(--bg-main); color: var(--ink-900);
  box-shadow: 0 24px 80px rgba(12, 42, 77, .35);
}
.ll-dialog--sm { width: min(100vw - 2 * var(--space-2), 560px); }
.ll-dialog::backdrop { background: rgba(12, 42, 77, .45); backdrop-filter: blur(3px); }
.ll-dialog[open] { animation: ll-dialog-in var(--dur-base) var(--ease-out); }

.ll-dialog__frame { display: flex; flex-direction: column; max-height: inherit; }
.ll-dialog__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  background: rgba(244, 249, 255, .95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink-100);
}
.ll-dialog__close, .ll-dialog__navbtn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 10px; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--ink-600); cursor: pointer;
  font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-sm);
}
.ll-dialog__close:hover, .ll-dialog__navbtn:hover { background: var(--tint-ocean); color: var(--ocean-600); }
.ll-dialog__navbtn:disabled { opacity: .35; cursor: default; }
.ll-dialog__navbtns { display: flex; gap: 4px; }
.ll-dialog__close .ll-icon, .ll-dialog__navbtn .ll-icon { width: 16px; height: 16px; }

.ll-dialog__scroll { overflow-y: auto; padding: var(--space-3); overscroll-behavior: contain; }

.ll-dialog__head {
  display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap;
  margin-bottom: var(--space-3);
}
.ll-dialog__badge { width: 62px; height: 62px; object-fit: contain; }
[data-ll-dialog-page].is-shown .ll-dialog__badge { animation: ll-pop var(--dur-slow) var(--ease-spring) both; }
.ll-dialog__num {
  flex: 0 0 auto; width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; font-family: var(--font-display); font-weight: var(--weight-bold); font-size: 1.35rem;
}
.ll-dialog__num--reward { background: var(--grad-reward); color: #fff; box-shadow: var(--shadow-reward); }
.ll-dialog__num .ll-icon { width: 26px; height: 26px; }
.ll-dialog__title { flex: 1 1 auto; min-width: 0; }
.ll-dialog__title h3 { margin: 0; font-family: var(--font-display); font-size: var(--text-h2); }
.ll-dialog__title p { margin: 2px 0 0; color: var(--ink-400); font-size: var(--text-sm); }
.ll-dialog__meta { text-align: right; font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.ll-dialog__meta-crit { display: flex; align-items: center; justify-content: flex-end; gap: 4px; color: var(--sun-800); font-size: var(--text-xs); }
.ll-dialog__meta-crit .ll-icon { width: 13px; height: 13px; }

.ll-dialog__section-title { font-family: var(--font-display); font-size: var(--text-h3); margin: var(--space-3) 0 var(--space-2); }
.ll-dialog__list { display: grid; gap: var(--space-2); }
.ll-dialog__footer { display: flex; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-3); }

/* entrance replay for page content */
html.ll-js [data-ll-dialog-page].is-shown > * { animation: ll-dlg-rise var(--dur-slow) var(--ease-out) both; }
html.ll-js [data-ll-dialog-page].is-shown > :nth-child(2) { animation-delay: 60ms; }
html.ll-js [data-ll-dialog-page].is-shown > :nth-child(3) { animation-delay: 120ms; }
html.ll-js [data-ll-dialog-page].is-shown > :nth-child(n+4) { animation-delay: 180ms; }

/* ---------- Dialog cards ---------- */
.ll-dlg-card {
  background: var(--card); border: 1px solid var(--ink-100); border-radius: var(--radius-md);
  padding: var(--space-2); box-shadow: var(--shadow-card);
}
.ll-dlg-card__title { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--space-2); font-family: var(--font-display); font-size: var(--text-body-lg); }
.ll-dlg-card__title .ll-icon { width: 18px; height: 18px; color: var(--ocean-600); }
.ll-dlg-card h5 { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-family: var(--font-display); font-size: var(--text-body); }
.ll-dlg-card h5 .ll-icon { width: 16px; height: 16px; }
.ll-dlg-card p { margin: 0; color: var(--ink-600); font-size: var(--text-sm); }
.ll-dlg-card--tone { border-color: transparent; }
.ll-dlg-card--tone p { color: inherit; opacity: .85; }
.ll-dlg-duo { display: grid; gap: var(--space-2); margin-top: var(--space-2); }

/* competency distribution bars */
.ll-dlg-bar { margin-bottom: var(--space-1); }
.ll-dlg-bar__row { display: flex; justify-content: space-between; font-size: var(--text-xs); margin-bottom: 4px; }
.ll-dlg-bar__label { font-weight: var(--weight-bold); }
.ll-dlg-bar__count { color: var(--ink-400); }
.ll-dlg-bar__track { height: 8px; border-radius: 8px; background: var(--ink-50); overflow: hidden; }
.ll-dlg-bar__fill { height: 100%; border-radius: 8px; width: var(--bar, 0%); }
html.ll-js [data-ll-dialog-page].is-shown .ll-dlg-bar__fill { animation: ll-bar-grow var(--dur-slow) var(--ease-out) .2s both; }

/* note box */
.ll-dlg-note {
  display: flex; gap: var(--space-1); align-items: flex-start;
  margin-top: var(--space-2); padding: var(--space-2);
  border: 1px solid var(--sun-100); border-radius: var(--radius-md); background: var(--tint-sun);
}
.ll-dlg-note > .ll-icon { flex: 0 0 auto; width: 20px; height: 20px; color: var(--sun-800); margin-top: 2px; }
.ll-dlg-note__title { margin: 0 0 2px; font-weight: var(--weight-bold); color: var(--sun-800); font-size: var(--text-sm); }
.ll-dlg-note p { margin: 0; font-size: var(--text-sm); color: var(--ink-600); }

/* ---------- Milestone cards ---------- */
.ll-ms {
  display: grid; gap: var(--space-2);
  background: var(--card); border: 1px solid var(--ink-100); border-radius: var(--radius-md);
  padding: var(--space-2); box-shadow: var(--shadow-card);
}
.ll-ms--critical { border-color: var(--sun-400); box-shadow: 0 0 0 1px var(--sun-400), var(--shadow-card); }
.ll-ms--row { grid-template-columns: auto 1fr; align-items: start; }
.ll-ms__num {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-sm);
}
.ll-ms__content { min-width: 0; }
.ll-ms__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.ll-ms__name { margin: 0; flex: 1 1 auto; font-family: var(--font-display); font-size: var(--text-body-lg); }
.ll-ms__desc { margin: 0 0 var(--space-1); color: var(--ink-600); font-size: var(--text-sm); line-height: var(--leading-loose); }
.ll-ms__desc--pre { white-space: pre-line; }
.ll-ms__depth {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--radius-pill); background: var(--bg-soft);
  color: var(--ink-400); font-size: var(--text-xs); font-weight: var(--weight-semibold);
}
.ll-ms__depth-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ocean-400); }

.ll-ms-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: var(--radius-pill);
  background: var(--bg-soft); color: var(--ink-600);
  font-size: var(--text-xs); font-weight: var(--weight-bold);
}
.ll-ms-badge .ll-icon { width: 12px; height: 12px; }
.ll-ms-badge--wassergewoehnung  { background: var(--tint-aqua); color: var(--aqua-600); }
.ll-ms-badge--basiskompetenz    { background: var(--tint-ocean); color: var(--ocean-600); }
.ll-ms-badge--antriebskompetenz { background: var(--tint-sun); color: var(--sun-800); }
.ll-ms-badge--bewegungskompetenz{ background: var(--tint-lavender); color: var(--color-new); }
.ll-ms-badge--critical          { background: var(--tint-sun); color: var(--sun-800); }

/* milestone media stepper */
.ll-ms__media { position: relative; }
.ll-ms__frames { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--ink-900); }
.ll-ms__frame { display: block; margin: 0; position: relative; }
.ll-ms__frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ll-ms__step, .ll-ms__yt {
  position: absolute; bottom: 8px; left: 8px;
  padding: 3px 8px; border-radius: var(--radius-sm);
  background: rgba(244, 249, 255, .88); color: var(--ink-900);
  font-size: var(--text-xs); font-weight: var(--weight-semibold);
  display: inline-flex; align-items: center; gap: 4px;
}
.ll-ms__yt .ll-icon { width: 12px; height: 12px; }
.ll-ms__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.ll-ms__play .ll-icon {
  width: 52px; height: 52px; padding: 14px; box-sizing: border-box;
  border-radius: 50%; background: rgba(12, 42, 77, .68); fill: currentColor;
  transition: transform var(--dur-base) var(--ease-spring);
}
.ll-ms__frame--video:hover .ll-ms__play .ll-icon { transform: scale(1.1); }
.ll-ms__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: rgba(244, 249, 255, .9); color: var(--ink-900);
  cursor: pointer; box-shadow: var(--shadow-card);
}
.ll-ms__nav:hover { background: #fff; }
.ll-ms__nav--prev { left: 8px; }
.ll-ms__nav--next { right: 8px; }
.ll-ms__nav .ll-icon { width: 16px; height: 16px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 720px) {
  .ll-lv-grid--3, .ll-lv-grid--4, .ll-lv-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .ll-lv-checklist__grid { grid-template-columns: 1fr 1fr; }
  .ll-dlg-duo { grid-template-columns: 1fr 1fr; }
  .ll-ms { grid-template-columns: 2fr 3fr; }
  .ll-ms--row { grid-template-columns: auto 1fr; }
  .ll-ms--noimg { grid-template-columns: 1fr; }
}

@media (min-width: 980px) {
  .ll-lv-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .ll-lv-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .ll-lv-strands { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1180px) {
  .ll-lv-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .ll-lv-grid--5 { grid-template-columns: repeat(5, 1fr); }
}

/* ==========================================================================
   Animations + reduced motion
   ========================================================================== */
@keyframes ll-dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
@keyframes ll-dlg-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ll-bar-grow {
  from { width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ll-dialog, .ll-dialog *, .ll-dialog *::before, .ll-dialog *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
