/* SKAPA-SYNS (Linh 2026-11-20, docs/design/skapa-syns-handoff.md): the create button with the blinking stars, the card on Läs,
   the card on Hem and the card after a prepared situation. Tokens only; --card comes from css/las-story-ny.css, --blue-ink
   falls back to --blue (it exists only in dark). */

/* The stars: one large and two small, each blinking in turn. The one new motion; still under reduced motion and body.stilla. */
@keyframes sk-blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .25; transform: scale(.6); } }
.sk-stjarnor { flex: none; overflow: visible; }
.sk-stj { transform-box: fill-box; transform-origin: center; animation: sk-blink 2.4s ease-in-out infinite; }
.sk-s2 { animation-delay: .8s; }
.sk-s3 { animation-delay: 1.6s; }
@media (prefers-reduced-motion: reduce) { .sk-stj { animation: none; } }
body.stilla .sk-stj { animation: none; }

/* The create button: filled, or outlined (.kontur). The label wraps, never cut. */
.sk-knapp {
  min-width: 0; min-height: 52px; padding: 6px 14px; margin: 0;
  border: 1.5px solid var(--blue); border-radius: 14px; background: var(--blue); color: var(--on-blue);
  display: flex; align-items: center; gap: 10px; font: inherit; font-size: 16.5px; font-weight: 600; line-height: 1.25;
  text-align: start; cursor: pointer;
}
.sk-knapp > svg { flex: none; }
.sk-knapp .sk-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.sk-knapp.kontur { background: var(--card, #fff); color: var(--blue-ink, var(--blue)); border-color: var(--blue-ink, var(--blue)); }
.sk-pil { display: inline-flex; flex: none; }
.sk-pil svg { display: block; }
[dir="rtl"] .sk-pil svg { transform: scaleX(-1); }

/* Läs: a learner who has created nothing gets the lilac card; afterwards only the two outlined buttons. */
.sk-las { margin: 18px 0 0; /* .ls-las already keeps the page's 16 px gutter */ padding: 8px 16px 16px; border-radius: 16px; background: var(--blue-soft); display: flex; flex-direction: column; gap: 6px; }
.sk-las.sk-las-liten { padding: 0; background: none; border-radius: 0; }
.sk-las.sk-las-liten .sk-knapp { min-height: 48px; }
.sk-lashuvud { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; color: var(--blue-ink, var(--blue)); }
.sk-lashuvud h2 { flex: 1; min-width: 0; margin: 0; color: var(--ink); font: 700 22px/1.2 var(--serif); }
.sk-fler, .sk-exempel button {
  min-height: 44px; padding: 0 2px; margin: 0; border: 0; background: none; color: var(--blue-ink, var(--blue));
  font: inherit; font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 2px;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.sk-par { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-par .sk-knapp { flex: 1 1 140px; }

/* Hem: a white card above the I dag band, in the place of the group invitation note. */
.sk-hem { margin: 12px 16px 0; padding: 12px 12px 4px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--card, #fff); }
.sk-hemrad { display: flex; align-items: center; gap: 4px; }
.sk-hemrad .sk-knapp { flex: 1; }
.sk-stang { flex: none; width: 44px; min-height: 52px; padding: 0; margin: 0; border: 0; background: none; color: var(--granite); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.sk-exempel { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; padding-inline-start: 4px; color: var(--granite); font-size: 15px; }
.sk-exempel button { font-size: 15px; gap: 6px; }
.sk-exempel button svg { flex: none; }

/* After a prepared situation: under Öva, which stays the only filled button. */
.sk-slut { margin: 16px 0 0; padding: 14px 16px 16px; border-radius: 16px; background: var(--blue-soft); display: flex; flex-direction: column; gap: 10px; }
.sk-slut h3 { margin: 0; color: var(--ink); font: 600 20px/1.25 var(--serif); }

/* The wizard opened from an example (handoff C): one status line above the open card, and the helper with Rensa. */
.sk-fran { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 10px; color: var(--granite); font-size: 14px; line-height: 1.4; }
.sk-fran svg { flex: none; margin-top: 1px; }
.sk-hjalp { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 10px; }
.sk-hjalp .link { min-height: 44px; }
