/* Skiliograph Solar System & Space v1.2.2 — built from Earth's Systems Lab 1.0.0 (same look, text sizes and full width) */
.sko-game {
  --sko-ink: #2b2d42;
  --sko-soft: #5c5f78;
  --sko-card: #ffffff;
  --sko-bg: #fff7e6;
  --sko-line: #e8dcc4;
  --sko-dash: #cfc4ad;
  --sko-sun: #ffcf4a;   --sko-sun-deep: #e8a917;
  --sko-sky: #a9dcff;   --sko-sky-deep: #7cbfee;
  --sko-lilac: #dccbff; --sko-lilac-deep: #b49ef0;
  --sko-peach: #ffd3a8; --sko-peach-deep: #f0ae70;
  --sko-mint: #bff0d4;  --sko-mint-deep: #7fd3a3;
  --sko-right: #8fe3a5; --sko-right-deep: #5cc27b; --sko-right-soft: #eafbef;
  --sko-no: #ffc2c7;    --sko-no-deep: #ee8f99;    --sko-no-soft: #fff1e6;
  --sko-leaf: #4a3fb0;  --sko-leaf-soft: #e6e3ff;
  --sko-gold: #ffb703;  --sko-gold-deep: #d99500;
  --sko-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  container-type: inline-size;
  container-name: sko;
  width: 100%;
  max-width: none;
  margin: 24px 0;
  padding: 16px 16px 24px;
  background: var(--sko-bg);
  border-radius: 24px;
  text-align: center;
  font-family: "Baloo 2", "Comic Sans MS", "Trebuchet MS", system-ui, sans-serif;
  color: var(--sko-ink);
  box-sizing: border-box;
  line-height: 1.35;
}
.sko-game *, .sko-game *::before, .sko-game *::after { box-sizing: border-box; }
.sko-game [hidden] { display: none !important; }
.sko-game p { margin: 0; }
.sko-game ol, .sko-game ul { margin: 0; padding: 0; list-style: none; }
.sko-game button {
  font-family: inherit; -webkit-tap-highlight-color: transparent; line-height: 1.2;
  text-transform: none; letter-spacing: normal; color: var(--sko-ink); margin: 0;
}
.sko-game button:focus-visible, .sko-game [tabindex]:focus-visible { outline: 4px solid var(--sko-ink); outline-offset: 3px; }
.sko-game [tabindex="-1"]:focus { outline: none; }
.sko-emo { font-family: var(--sko-emoji); font-weight: 400; line-height: 1; }

.sko-screen { display: flex; flex-direction: column; gap: 14px; }
.sko-title { margin: 0; font-size: 32px; font-weight: 800; line-height: 1.15; color: var(--sko-ink); font-family: inherit; text-wrap: balance; }
.sko-lead { font-size: 20px; font-weight: 600; color: var(--sko-soft); text-wrap: balance; }
.sko-label { font-size: 17px; font-weight: 800; color: var(--sko-soft); letter-spacing: .03em; }
.sko-h3 { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.2; font-family: inherit; color: var(--sko-ink); }
.sko-how { font-size: 19px; font-weight: 600; color: var(--sko-soft); max-width: 60ch; margin: 0 auto; text-wrap: balance; }
.sko-msg { min-height: 1.6em; font-size: 22px; font-weight: 700; text-wrap: balance; }

/* ---------- top bar ---------- */
.sko-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px;
  margin-bottom: 16px; padding: 8px 10px 8px 12px; text-align: left;
  background: var(--sko-card); border-radius: 18px; box-shadow: 0 4px 0 var(--sko-line);
}
.sko-where { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 220px; }
.sko-subject {
  display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto;
  padding: 3px 10px; border-radius: 999px; background: var(--sko-leaf-soft); color: var(--sko-leaf);
  font-size: 16px; font-weight: 800;
}
.sko-loc { font-size: 18px; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sko-stats { display: flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; }
.sko-score {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 999px;
  background: var(--sko-sun); font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums;
  box-shadow: 0 3px 0 var(--sko-sun-deep);
}
.sko-score-star { color: #fff; text-shadow: 0 1px 0 var(--sko-sun-deep); }
.sko-badge-btn {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%;
  padding: 4px 12px; cursor: pointer; font-size: 17px; font-weight: 800;
  background: #fff; border: 2px solid var(--sko-ink); border-radius: 999px;
}
.sko-badge-btn:hover { background: var(--sko-leaf-soft); color: var(--sko-ink); }
.sko-badge-btn .sko-emo { font-size: 20px; }
.sko-badge-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- buttons shared with the other games ---------- */
.sko-big {
  display: block; width: 100%; padding: 15px 20px; cursor: pointer;
  font-size: 26px; font-weight: 800; color: var(--sko-ink);
  background: var(--sko-sun); border: none; border-radius: 18px;
  box-shadow: 0 6px 0 var(--sko-sun-deep);
  transition: transform .1s, box-shadow .1s;
}
.sko-big:hover { transform: translateY(-2px); background: var(--sko-sun); color: var(--sko-ink); }
.sko-big:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--sko-sun-deep); }
.sko-link {
  padding: 8px 12px; cursor: pointer; background: none; border: none;
  font-size: 18px; font-weight: 700; color: var(--sko-ink); text-decoration: underline; text-underline-offset: 4px;
}
.sko-link:hover { background: none; color: var(--sko-ink); }
.sko-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sko-back {
  padding: 6px 14px; cursor: pointer; font-size: 18px; font-weight: 700; color: var(--sko-ink);
  background: #fff; border: 2px solid var(--sko-ink); border-radius: 999px;
}
.sko-back:hover { background: #fff; color: var(--sko-ink); }
.sko-back:active { transform: scale(.95); }
.sko-tag { font-size: 18px; font-weight: 800; padding: 5px 14px; border-radius: 999px; background: #fff; }
.sko-game[data-tone="sun"] .sko-tag { background: var(--sko-sun); }
.sko-game[data-tone="sky"] .sko-tag { background: var(--sko-sky); }
.sko-game[data-tone="lilac"] .sko-tag { background: var(--sko-lilac); }
.sko-game[data-tone="peach"] .sko-tag { background: var(--sko-peach); }
.sko-game[data-tone="mint"] .sko-tag { background: var(--sko-mint); }
.sko-modtitle { display: block; }
.sko-modtitle .sko-emo { font-size: 34px; margin-right: 8px; vertical-align: -2px; }
.sko-mod { display: flex; flex-direction: column; gap: 14px; }

/* ---------- journey map ---------- */
.sko-maphead { display: flex; flex-direction: column; gap: 4px; }
.sko-trail { position: relative; padding: 6px 0; }
.sko-trail-line { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.sko-trail-line path { fill: none; stroke: var(--sko-dash); stroke-width: 5; stroke-dasharray: 2 12; stroke-linecap: round; }
.sko-stops { position: relative; display: flex; flex-direction: column; gap: 18px; }
.sko-stop { display: flex; }
.sko-stop-l { justify-content: flex-start; }
.sko-stop-r { justify-content: flex-end; }
.sko-stop-btn {
  display: flex; align-items: center; gap: 14px; width: min(100%, 470px);
  padding: 12px 16px 12px 12px; cursor: pointer; text-align: left;
  border: 3px solid transparent; border-radius: 22px;
  box-shadow: 0 5px 0 rgba(43, 45, 66, .13);
  transition: transform .1s, border-color .15s;
}
.sko-stop-r .sko-stop-btn { flex-direction: row-reverse; text-align: right; padding: 12px 12px 12px 16px; }
.sko-stop-btn:hover { transform: translateY(-2px); color: var(--sko-ink); }
.sko-tone-sun   { background: #fff1a8; } .sko-tone-sun:hover   { background: #fff1a8; }
.sko-tone-sky   { background: #d6ecff; } .sko-tone-sky:hover   { background: #d6ecff; }
.sko-tone-lilac { background: #ebe1ff; } .sko-tone-lilac:hover { background: #ebe1ff; }
.sko-tone-peach { background: #ffe4cb; } .sko-tone-peach:hover { background: #ffe4cb; }
.sko-tone-mint  { background: #d6f6e3; } .sko-tone-mint:hover  { background: #d6f6e3; }
.sko-stop-bubble {
  position: relative; flex: 0 0 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; box-shadow: 0 4px 0 rgba(43, 45, 66, .12);
}
.sko-stop-bubble .sko-emo { font-size: 38px; }
.sko-stop-num {
  position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sko-ink); color: #fff; font-size: 16px; font-weight: 800;
}
.sko-stop-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sko-stop-name { font-size: 24px; font-weight: 800; line-height: 1.15; }
.sko-stop-blurb { font-size: 17px; font-weight: 600; color: var(--sko-soft); line-height: 1.25; }
.sko-stop-stars { font-size: 25px; line-height: 1.1; letter-spacing: 2px; margin-top: 2px; }
.sko-mini-star { color: #ddd3bf; }
.sko-mini-star.is-on { color: var(--sko-gold); text-shadow: 0 2px 0 var(--sko-gold-deep); }
.sko-lock { font-size: 16px; font-weight: 800; letter-spacing: 0; color: var(--sko-soft); }
.sko-stop-btn.is-locked { background: #f1ebe0; box-shadow: 0 5px 0 #e3dacb; cursor: not-allowed; }
.sko-stop-btn.is-locked:hover { transform: none; background: #f1ebe0; }
.sko-stop-btn.is-locked .sko-stop-bubble { filter: grayscale(1); opacity: .55; }
.sko-stop-btn.is-locked .sko-stop-name { color: var(--sko-soft); }
.sko-stop-btn.is-done .sko-stop-bubble { box-shadow: 0 0 0 4px var(--sko-right-deep), 0 4px 0 rgba(43, 45, 66, .12); }
.sko-go { margin-top: 4px; }
.sko-grown { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 12px; font-size: 16px; }
.sko-grown .sko-link { font-size: 16px; color: var(--sko-soft); }
.sko-confirm { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; }
.sko-confirm-q { font-weight: 700; }
.sko-confirm-yes { padding: 6px 14px; cursor: pointer; font-size: 16px; font-weight: 800; color: #fff !important; background: #c4495a; border: none; border-radius: 999px; }
.sko-confirm-yes:hover { background: #a93a4a; }

/* ---------- cards you can drag ---------- */
.sko-tile {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; cursor: grab;
  font-size: 20px; font-weight: 800; color: var(--sko-ink); text-align: left;
  background: var(--sko-card); border: 3px solid transparent; border-radius: 16px;
  box-shadow: 0 4px 0 var(--sko-line); touch-action: none; user-select: none; -webkit-user-select: none;
  transition: transform .1s, opacity .15s, border-color .15s;
}
.sko-tile:hover { background: var(--sko-card); color: var(--sko-ink); transform: translateY(-2px); }
.sko-tile .sko-emo { font-size: 32px; }
.sko-tile[aria-pressed="true"] { border-color: var(--sko-ink); transform: translateY(-3px); background: #fffbe8; }
.sko-tile.is-lifted { opacity: .3; }
.sko-ghost {
  position: fixed !important; left: 0; top: 0; margin: 0 !important; z-index: 99998; pointer-events: none;
  box-shadow: 0 14px 30px rgba(43, 45, 66, .25) !important; opacity: .95;
}
.sko-pool { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }


/* ---------- module 2: habitats ---------- */
.sko-pool-row { min-height: 56px; }
.sko-pool-row:empty { display: none; }
.sko-hab-top { min-width: 0; flex-wrap: wrap; row-gap: 2px; }
.sko-hab-name { min-width: 0; }
.sko-chip { max-width: 100%; }
.sko-chip > span:last-child { min-width: 0; overflow-wrap: break-word; }
.sko-habitats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sko-hab {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-height: 128px; padding: 10px; cursor: pointer;
  text-align: left; border: 3px solid transparent; border-radius: 20px; box-shadow: 0 5px 0 rgba(43, 45, 66, .13);
  transition: border-color .15s, transform .1s;
}
.sko-hab:hover { color: var(--sko-ink); }
.sko-hab-top { display: flex; align-items: center; gap: 8px; }
.sko-hab-top .sko-emo { font-size: 34px; }
.sko-hab-name { font-size: 22px; font-weight: 800; }
.sko-hab-items { display: flex; flex-wrap: wrap; gap: 6px; }
.sko-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); font-size: 16px; font-weight: 800; animation: sko-pop .4s ease;
}
.sko-chip .sko-emo { font-size: 20px; }
.sko-habmod.is-picking .sko-hab { border-style: dashed; border-color: var(--sko-ink); }
.sko-hab.is-glow { animation: sko-glow .9s ease; }
.sko-pop {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; text-align: left;
  background: var(--sko-card); border-radius: 18px; box-shadow: 0 5px 0 var(--sko-line);
}
.sko-pop.is-in { animation: sko-rise-in .35s ease; }
.sko-pop-text { font-size: 19px; font-weight: 600; }
.sko-need {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px; flex: 0 0 72px;
  padding: 6px 4px; border-radius: 14px; font-size: 16px; font-weight: 800;
}
.sko-need .sko-emo { font-size: 27px; }

/* ---------- module 3: balance the ecosystem ---------- */
.sko-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; counter-reset: none; }
.sko-step {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 5px; border-radius: 999px;
  background: #efe8da; color: var(--sko-soft); font-size: 17px; font-weight: 800;
}
.sko-step-num { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 15px; }
.sko-step.is-now { background: var(--sko-lilac); color: var(--sko-ink); box-shadow: 0 3px 0 var(--sko-lilac-deep); }
.sko-step.is-now .sko-step-num { background: var(--sko-ink); color: #fff; }
.sko-step.is-done { background: var(--sko-right-soft); color: var(--sko-leaf); }
.sko-step.is-done .sko-step-num { background: var(--sko-right-deep); color: #fff; font-size: 0; }
.sko-step.is-done .sko-step-num::after { content: "✓"; font-size: 16px; }
.sko-task { border: 3px solid var(--sko-lilac-deep); }
.sko-task-intro { font-size: 19px; font-weight: 600; color: var(--sko-soft); text-wrap: balance; }
.sko-task-hint { min-height: 1.3em; font-size: 19px; font-weight: 700; color: #b0495a; }
.sko-task-hint:empty { display: none; }
.sko-real { padding: 10px 14px; text-align: left; font-size: 18px; font-weight: 600; background: #fffbe8; border: 2px solid var(--sko-sun); border-radius: 14px; }
.sko-real-kicker { font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sko-sun-deep); }
.sko-season {
  min-height: 3.2em; padding: 10px 14px; font-size: 19px; font-weight: 700; text-align: left;
  background: #fffbe8; border: 2px solid var(--sko-sun); border-radius: 16px;
}
.sko-season { display: flex; flex-direction: column; gap: 2px; }
.sko-season-num { font-size: 15px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--sko-sun-deep); font-variant-numeric: tabular-nums; }
.sko-season.is-new .sko-season-text { animation: sko-rise-in .4s ease; }
.sko-ask { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--sko-card); border-radius: 20px; box-shadow: 0 5px 0 var(--sko-line); }
.sko-ask-q { font-size: 22px; font-weight: 800; text-wrap: balance; }
.sko-why { font-size: 19px; font-weight: 600; text-align: left; padding: 10px 12px; background: var(--sko-right-soft); border-radius: 14px; }
.sko-cont { align-self: center; width: auto; padding: 10px 22px; font-size: 22px; }

/* ---------- answer buttons (fact check, quiz, balance) ---------- */
.sko-opts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sko-opt {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 14px; cursor: pointer;
  font-size: 21px; font-weight: 800; color: var(--sko-ink); text-align: center;
  border: none; border-radius: 18px; transition: transform .1s, box-shadow .1s;
}
.sko-opts-4 .sko-opt { justify-content: flex-start; text-align: left; }
.sko-opt-letter {
  flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .7); font-size: 18px;
}
.sko-c0 { background: var(--sko-sky);   box-shadow: 0 5px 0 var(--sko-sky-deep); }
.sko-c1 { background: var(--sko-lilac); box-shadow: 0 5px 0 var(--sko-lilac-deep); }
.sko-c2 { background: var(--sko-peach); box-shadow: 0 5px 0 var(--sko-peach-deep); }
.sko-c3 { background: var(--sko-mint);  box-shadow: 0 5px 0 var(--sko-mint-deep); }
.sko-c0:hover { background: var(--sko-sky); } .sko-c1:hover { background: var(--sko-lilac); }
.sko-c2:hover { background: var(--sko-peach); } .sko-c3:hover { background: var(--sko-mint); }
.sko-opt:hover { transform: translateY(-2px); color: var(--sko-ink); }
.sko-opt:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(43, 45, 66, .15); }
.sko-opt.is-correct, .sko-opt.is-correct:disabled { background: var(--sko-right); box-shadow: 0 5px 0 var(--sko-right-deep); color: var(--sko-ink); animation: sko-pop .4s ease; }
.sko-opt.is-wrong, .sko-opt:disabled { background: #ece6da; box-shadow: 0 5px 0 #d8d0c0; color: #8f897b; cursor: default; transform: none; }
.sko-opt.is-wrong { text-decoration: line-through; text-decoration-thickness: 2px; }

.sko-dots { display: flex; justify-content: center; gap: 8px; }
.sko-pip { width: 16px; height: 16px; border-radius: 50%; background: #e7dfcf; border: 3px solid transparent; transition: background .2s; }
.sko-pip.is-now { border-color: var(--sko-ink); background: #fff; }
.sko-pip.is-right { background: var(--sko-right-deep); }
.sko-pip.is-miss { background: var(--sko-peach-deep); }
.sko-fact {
  display: flex; flex-direction: column; gap: 10px; padding: 30px 18px; border-radius: 22px;
  background: var(--sko-card); box-shadow: 0 6px 0 var(--sko-line), 0 10px 24px rgba(0, 0, 0, .06);
}
.sko-fact.is-new { animation: sko-flip .45s ease; }
.sko-fact-num { font-size: 17px; font-weight: 800; color: var(--sko-soft); letter-spacing: .04em; }
.sko-fact-text { font-size: clamp(24px, 5.2cqi, 32px); font-weight: 800; line-height: 1.25; text-wrap: balance; }
.sko-qcard { padding: 22px 18px; }
.sko-q-text { font-size: clamp(22px, 4.6cqi, 28px); }
.sko-tf { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sko-tf-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 8px; cursor: pointer;
  font-size: clamp(27px, 7cqi, 38px); font-weight: 800; color: var(--sko-ink); border: none; border-radius: 20px;
  transition: transform .1s, box-shadow .1s;
}
.sko-tf-btn .sko-emo { font-size: 34px; }
.sko-true { background: var(--sko-right); box-shadow: 0 6px 0 var(--sko-right-deep); }
.sko-false { background: var(--sko-no); box-shadow: 0 6px 0 var(--sko-no-deep); }
.sko-true:hover { background: var(--sko-right); } .sko-false:hover { background: var(--sko-no); }
.sko-tf-btn:hover { transform: translateY(-2px); color: var(--sko-ink); }
.sko-tf-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(43, 45, 66, .15); }
.sko-tf-btn:disabled { background: #ece6da; box-shadow: 0 6px 0 #d8d0c0; color: #8f897b; cursor: default; transform: none; }
.sko-tf-btn.is-correct:disabled { color: var(--sko-ink); animation: sko-pop .4s ease; }
.sko-true.is-correct:disabled { background: var(--sko-right); box-shadow: 0 6px 0 var(--sko-right-deep); }
.sko-false.is-correct:disabled { background: var(--sko-no); box-shadow: 0 6px 0 var(--sko-no-deep); }
.sko-tf-btn.is-wrong { text-decoration: line-through; text-decoration-thickness: 3px; }
.sko-result { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; text-align: left; border-radius: 18px; border: 3px solid; animation: sko-rise-in .3s ease; }
.sko-result.is-ok { background: var(--sko-right-soft); border-color: var(--sko-right); }
.sko-result.is-no { background: var(--sko-no-soft); border-color: var(--sko-peach); }
.sko-result-head { font-size: 22px; font-weight: 800; }
.sko-result-why { font-size: 19px; font-weight: 600; }

/* ---------- results ---------- */
.sko-done { align-items: center; padding-top: 4px; }
.sko-done > .sko-big { max-width: 640px; }
.sko-bigstars { display: flex; gap: 10px; font-size: 81px; line-height: 1; }
.sko-bigstar { color: #ddd3bf; display: inline-block; }
.sko-bigstar.is-on { color: var(--sko-gold); text-shadow: 0 5px 0 var(--sko-gold-deep); animation: sko-star-in .6s cubic-bezier(.2, .9, .3, 1.4) both; }
.sko-done-title { font-size: 38px; font-weight: 800; line-height: 1.15; }
.sko-done-text { font-size: 20px; font-weight: 600; color: var(--sko-soft); max-width: 52ch; text-wrap: balance; }
.sko-donelinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; }
.sko-rankup {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: var(--sko-sun); font-size: 20px; font-weight: 800; box-shadow: 0 4px 0 var(--sko-sun-deep);
}
.sko-rankup .sko-emo { font-size: 27px; }
.sko-togo { font-size: 18px; font-weight: 700; color: var(--sko-soft); }
.sko-unlock { padding: 6px 14px; border-radius: 999px; background: var(--sko-lilac); font-size: 18px; font-weight: 800; }
.sko-hero {
  display: flex; align-items: center; gap: 16px; width: 100%; max-width: 640px; padding: 14px 16px; text-align: left;
  background: var(--sko-card); border-radius: 22px; box-shadow: 0 5px 0 var(--sko-line);
}
.sko-medal {
  position: relative; flex: 0 0 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff1a8, #ffcf4a 55%, #e8a917);
  border: 5px solid #fff; box-shadow: 0 0 0 4px var(--sko-gold), 0 6px 0 4px var(--sko-gold-deep);
}
.sko-medal .sko-emo { font-size: 45px; }
.sko-hero.is-locked .sko-medal { filter: grayscale(1); opacity: .5; }
.sko-hero-text { display: flex; flex-direction: column; min-width: 0; }
.sko-hero-kicker { font-size: 16px; font-weight: 800; color: var(--sko-leaf); letter-spacing: .06em; text-transform: uppercase; }
.sko-hero-name { font-size: 29px; font-weight: 800; line-height: 1.1; }
.sko-hero-sub { font-size: 17px; font-weight: 600; color: var(--sko-soft); }
.sko-summary { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 640px; text-align: left; }
.sko-summary li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; padding: 8px 12px;
  background: var(--sko-card); border-radius: 14px; font-size: 17px; font-weight: 600;
}
.sko-sum-mark { grid-row: 1 / span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; }
.sko-summary .is-ok .sko-sum-mark { background: var(--sko-right-deep); }
.sko-summary .is-no .sko-sum-mark { background: var(--sko-peach-deep); }
.sko-sum-a { font-weight: 800; color: var(--sko-leaf); }

/* ---------- badges ---------- */
.sko-badges { align-items: stretch; }
.sko-prog { display: flex; flex-direction: column; gap: 6px; }
.sko-prog-text { font-size: 18px; font-weight: 800; }
.sko-prog-track { height: 18px; border-radius: 999px; background: #efe6d4; overflow: hidden; }
.sko-prog-fill { height: 100%; border-radius: 999px; background: var(--sko-sun); box-shadow: inset 0 -4px 0 var(--sko-sun-deep); }
.sko-ladder { display: flex; flex-direction: column-reverse; gap: 8px; }
.sko-rung {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-align: left;
  background: var(--sko-card); border: 3px solid transparent; border-radius: 18px;
}
.sko-rung-icon { flex: 0 0 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sko-leaf-soft); }
.sko-rung-icon .sko-emo { font-size: 29px; }
.sko-rung-text { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.sko-rung-name { font-size: 21px; font-weight: 800; line-height: 1.15; }
.sko-rung-at { font-size: 16px; font-weight: 700; color: var(--sko-soft); }
.sko-rung-you { padding: 2px 10px; border-radius: 999px; background: var(--sko-ink); color: #fff; font-size: 15px; font-weight: 800; }
.sko-rung.is-now { border-color: var(--sko-ink); background: #fffbe8; }
.sko-rung.is-future { background: #f6f0e4; }
.sko-rung.is-future .sko-rung-icon { background: #ebe3d3; }
.sko-rung.is-future .sko-rung-name { color: var(--sko-soft); }

/* ---------- wider screens ---------- */
@container sko (min-width: 600px) {
  .sko-habitats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sko-hab { min-height: 170px; }
  .sko-lab { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
  .sko-opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sko-opts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sko-stop-btn { width: min(60%, 620px); }
  .sko-title { font-size: 36px; }
}
@container sko (max-width: 420px) {
  .sko-stop-btn, .sko-stop-r .sko-stop-btn { width: 100%; }
  .sko-stop-r .sko-stop-btn { flex-direction: row; text-align: left; padding: 12px 16px 12px 12px; }
  .sko-stop-bubble { flex-basis: 58px; height: 58px; }
  .sko-stop-bubble .sko-emo { font-size: 32px; }
  .sko-stop-name { font-size: 21px; }
  .sko-tile { font-size: 18px; padding: 8px 10px 8px 8px; gap: 6px; }
  .sko-tile .sko-emo { font-size: 27px; }
  .sko-hab { min-height: 112px; padding: 8px; }
  .sko-hab-name { font-size: 19px; }
  .sko-hab-top .sko-emo { font-size: 27px; }
  .sko-badge-name { max-width: 140px; }
  .sko-need { flex-basis: 62px; }
}

@container sko (max-width: 340px) {
  .sko-hab-top { gap: 5px; }
  .sko-hab-top .sko-emo { font-size: 22px; }
  .sko-hab-name { font-size: 17px; }
  .sko-hab { padding: 7px; }
  .sko-chip { font-size: 14px; gap: 3px; padding: 3px 7px 3px 4px; }
  .sko-chip .sko-emo { font-size: 17px; }
}

/* ---------- celebration (same as the other games) ---------- */
.sko-party { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 99999; transition: opacity .7s ease; }
.sko-party.is-leaving { opacity: 0; }
.sko-confetti { position: absolute; inset: 0; }
.sko-banner {
  position: absolute; top: 36%; left: 50%; transform: translate(-50%, -50%);
  background: #fff; color: #2b2d42; padding: 14px 28px; border-radius: 999px;
  font: 800 clamp(25px, 6vw, 38px)/1.2 "Baloo 2", "Comic Sans MS", system-ui, sans-serif;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .15); white-space: nowrap;
  animation: sko-banner-in .8s cubic-bezier(.2, .9, .3, 1.2) .15s both;
}
.sko-balloon { position: absolute; bottom: -150px; animation-name: sko-rise; animation-timing-function: cubic-bezier(.35, .1, .6, 1); animation-fill-mode: both; }
.sko-balloon-body {
  position: relative; width: 56px; height: 70px; background: var(--c); border-radius: 50% 50% 46% 46%;
  box-shadow: inset -8px -10px 0 rgba(0, 0, 0, .1); animation: sko-sway 2s ease-in-out infinite alternate; transform-origin: 50% 140%;
}
.sko-balloon-body::before { content: ""; position: absolute; top: 12px; left: 13px; width: 10px; height: 16px; background: rgba(255, 255, 255, .6); border-radius: 50%; }
.sko-balloon-body::after { content: ""; position: absolute; top: 70px; left: 27px; width: 2px; height: 60px; background: rgba(0, 0, 0, .25); }

.sko-game .is-shake { animation: sko-shake .4s ease; }
@keyframes sko-flip { 0% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }
@keyframes sko-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-10px); } 75% { transform: translateX(10px); } }
@keyframes sko-nope { 0%, 100% { box-shadow: 0 0 0 0 rgba(196, 73, 90, 0); } 30% { box-shadow: 0 0 0 5px rgba(196, 73, 90, .55); } }
@keyframes sko-glow { 0% { box-shadow: 0 0 0 0 rgba(92, 194, 123, .9); } 100% { box-shadow: 0 0 0 16px rgba(92, 194, 123, 0); } }
@keyframes sko-pulse { 50% { transform: scale(1.04); } }
@keyframes sko-pop { 50% { transform: scale(1.1); } }
@keyframes sko-rise-in { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sko-star-in { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }
@keyframes sko-rise { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 100% { transform: translateY(calc(-100vh - 260px)); opacity: 1; } }
@keyframes sko-sway { from { transform: rotate(-7deg) translateX(-6px); } to { transform: rotate(7deg) translateX(6px); } }
@keyframes sko-banner-in { from { transform: translate(-50%, -40%) scale(.85); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .sko-game *, .sko-game *::before, .sko-game *::after { animation: none !important; transition: none !important; }
  .sko-banner { animation-duration: .01s; }
}

/* ================================================================== */
/* Water Cycle & Weather additions                                     */
/* ================================================================== */
.sko-scene { margin: 0; padding: 0; border-radius: 20px; overflow: hidden; background: var(--sko-card); box-shadow: 0 5px 0 var(--sko-line); }
.sko-scene svg { display: block; width: 100%; height: auto; }
.sko-scene.is-new { animation: sko-rise-in .35s ease; }
.sko-svg-label { font-family: inherit; font-size: 13px; font-weight: 800; fill: var(--sko-ink); }
.sko-svg-small { font-family: inherit; font-size: 11px; font-weight: 800; fill: var(--sko-soft); }
.sko-svg-light { fill: #fff; }

/* ---------- stop 1: water cycle ---------- */
.sko-mark { cursor: pointer; }
.sko-mark circle { fill: #fff; stroke: var(--sko-ink); stroke-width: 3; transition: fill .2s; }
.sko-mark text { font-family: inherit; font-size: 15px; font-weight: 800; fill: var(--sko-ink); pointer-events: none; }
.sko-mark[data-drop] circle { fill: var(--sko-sun); }
.sko-mark.is-over circle { fill: #fffbe8; stroke-width: 4; }
.sko-mark.is-done { cursor: default; }
.sko-mark.is-done circle { fill: var(--sko-right-deep); stroke: #fff; }
.sko-mark.is-done text { fill: #fff; }
.sko-mark.is-lit circle { stroke: var(--sko-sun-deep); stroke-width: 5; }
.sko-cyclemod.is-picking .sko-mark[data-drop] circle { stroke-dasharray: 5 3; }
.sko-droplet { fill: #2f80ed; stroke: #fff; stroke-width: 2.5; pointer-events: none; }
.sko-spots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.sko-spot {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 8px 12px; cursor: pointer; text-align: left;
  background: rgba(255, 255, 255, .6); border: 3px dashed var(--sko-dash); border-radius: 16px;
  transition: border-color .15s, background .15s;
}
.sko-spot:hover { background: #fff; color: var(--sko-ink); }
.sko-spot-num {
  flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sko-sun); font-size: 18px; font-weight: 800; border: 3px solid var(--sko-ink);
}
.sko-spot-body { display: flex; flex-direction: column; min-width: 0; }
.sko-spot-q { font-size: 18px; font-weight: 700; color: var(--sko-soft); }
.sko-spot-name { font-size: 20px; font-weight: 800; line-height: 1.15; }
.sko-spot-what { font-size: 17px; font-weight: 600; color: var(--sko-soft); line-height: 1.3; }
.sko-spot > .sko-emo { font-size: 29px; flex: 0 0 auto; }
.sko-spot.is-over { border-style: solid; border-color: var(--sko-ink); background: #fffbe8; }
.sko-spot.is-nope { animation: sko-nope .5s ease; }
.sko-spot.is-glow { animation: sko-glow .9s ease; }
.sko-spot.is-filled { cursor: default; background: var(--sko-right-soft); border: 3px solid var(--sko-right-deep); }
.sko-spot.is-filled .sko-spot-num { background: var(--sko-right-deep); color: #fff; border-color: var(--sko-right-deep); }
.sko-spot.is-lit { box-shadow: 0 0 0 4px var(--sko-sun), 0 0 18px var(--sko-sun); }
.sko-cyclemod.is-picking .sko-spot:not(.is-filled) { border-color: var(--sko-ink); }
.sko-story { min-height: 4.4em; }

/* ---------- stop 2: weather lab ---------- */
.sko-lab { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sko-lab-left, .sko-lab-right { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sko-meters { display: flex; flex-direction: column; gap: 10px; padding: 12px; background: var(--sko-card); border-radius: 18px; box-shadow: 0 4px 0 var(--sko-line); }
.sko-meter { display: grid; grid-template-columns: minmax(0, 1fr) 84px; grid-template-rows: auto auto; column-gap: 10px; row-gap: 4px; align-items: center; text-align: left; }
.sko-meter-label { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 800; line-height: 1.15; min-width: 0; }
.sko-meter-label .sko-emo { font-size: 22px; }
.sko-meter-val { grid-row: 1 / span 2; grid-column: 2; font-size: 18px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sko-meter-track { height: 14px; border-radius: 999px; background: #efe6d4; overflow: hidden; }
.sko-meter-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: #4aa3df; box-shadow: inset 0 -3px 0 #2f80ed; }

/* ---------- stop 3: cloud spotter ---------- */
.sko-guide-btn { align-self: center; }
.sko-guide { padding: 12px; background: var(--sko-card); border-radius: 18px; box-shadow: 0 4px 0 var(--sko-line); text-align: left; }
.sko-guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sko-guide-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sko-guide-pic { display: block; width: 100%; height: auto; border-radius: 12px; }
.sko-guide-text { display: flex; flex-direction: column; font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--sko-soft); }
.sko-guide-text strong { font-size: 18px; color: var(--sko-ink); }
.sko-guide-baro { margin-top: 10px !important; font-size: 17px; font-weight: 600; }
.sko-sky-note { font-size: 20px; font-weight: 800; padding: 8px 12px; background: #fffbe8; border: 2px solid var(--sko-sun); border-radius: 14px; }
.sko-clues { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sko-clue { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--sko-card); box-shadow: 0 3px 0 var(--sko-line); font-size: 18px; font-weight: 800; }
.sko-clue .sko-emo { font-size: 22px; }
.sko-askpart { display: flex; flex-direction: column; gap: 10px; }
.sko-askpart + .sko-askpart { padding-top: 12px; border-top: 2px dashed var(--sko-line); }
.sko-skymod .sko-opts-4 .sko-opt { justify-content: flex-start; }

/* ---------- stop 4: climate zones ---------- */
.sko-zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sko-zones .sko-hab:last-child { grid-column: 1 / -1; }
.sko-hab-sub { font-size: 15px; font-weight: 700; color: var(--sko-soft); line-height: 1.2; }
.sko-zone-tropical { background: #c8efc2; } .sko-zone-tropical:hover { background: #c8efc2; }
.sko-zone-dry { background: #ffe7a3; } .sko-zone-dry:hover { background: #ffe7a3; }
.sko-zone-temperate { background: #d6ecff; } .sko-zone-temperate:hover { background: #d6ecff; }
.sko-zone-continental { background: #e3dcff; } .sko-zone-continental:hover { background: #e3dcff; }
.sko-zone-polar { background: #eef8ff; border-color: #cfe6f5; } .sko-zone-polar:hover { background: #eef8ff; }
.sko-zonemod .sko-tile { max-width: 100%; }
.sko-zonemod .sko-tile-name { min-width: 0; overflow-wrap: break-word; }
.sko-zonetag-tropical { background: #c8efc2; }
.sko-zonetag-dry { background: #ffe7a3; }
.sko-zonetag-temperate { background: #d6ecff; }
.sko-zonetag-continental { background: #e3dcff; }
.sko-zonetag-polar { background: #e3f4ff; }
.sko-zonetag span:last-child { font-size: 14px; }
.sko-bonus { border: 3px solid var(--sko-sun); }
.sko-wx { background: var(--sko-sky); box-shadow: 0 6px 0 var(--sko-sky-deep); }
.sko-cl { background: var(--sko-lilac); box-shadow: 0 6px 0 var(--sko-lilac-deep); }
.sko-wx:hover { background: var(--sko-sky); } .sko-cl:hover { background: var(--sko-lilac); }
.sko-wx.is-correct:disabled { background: var(--sko-right); box-shadow: 0 6px 0 var(--sko-right-deep); }
.sko-cl.is-correct:disabled { background: var(--sko-right); box-shadow: 0 6px 0 var(--sko-right-deep); }
.sko-bonus .sko-tf-btn { font-size: clamp(22px, 5.5cqi, 32px); }

@container sko (min-width: 600px) {
  .sko-spots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sko-guide-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sko-lab { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
  .sko-zones { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sko-zones .sko-hab, .sko-zones .sko-hab:last-child { grid-column: span 2; min-height: 150px; }
  .sko-zones .sko-hab:nth-child(n+4) { grid-column: span 3; }
}
@container sko (max-width: 420px) {
  .sko-spot-name { font-size: 19px; }
  .sko-spot-what { font-size: 16px; }
  .sko-meter { grid-template-columns: minmax(0, 1fr) 72px; }
  .sko-clue { font-size: 17px; }
}

/* v1.1.0 — Science Discovery Path: members-only stops, gold Expert badge */
.sko-stop-btn.is-members .sko-lock { color: #2f8f4f; }
.sko-stop-btn.is-members { cursor: pointer; }
.sko-hero.is-gold { background: linear-gradient(135deg, #fff8d6, #ffe7a0); box-shadow: 0 5px 0 #e8c25a; }
.sko-hero.is-gold .sko-medal { background: radial-gradient(circle at 35% 30%, #fffbe0, #ffd34d 50%, #c98a00); box-shadow: 0 0 0 4px #c98a00, 0 6px 0 4px #8a5d00; }
.sko-hero.is-gold.is-locked { background: var(--sko-card); box-shadow: 0 5px 0 var(--sko-line); }
.sko-hero + .sko-hero { margin-top: 10px; }
.sko-game .skd-member.is-shake { animation: sko-shake .4s; }

/* v1.1.1 — full content width (like the Growth Path). Wide screens: picture beside its cards,
   question screens kept to a comfortable reading width. */
.sko-quizmod, .sko-skymod, .sko-badges, .sko-done { width: 100%; max-width: 900px; margin-left: auto; margin-right: auto; }
@container sko (min-width: 900px) {
  .sko-cyclemod { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 20px; row-gap: 14px; align-items: start; }
  .sko-cyclemod > * { grid-column: 1 / -1; }
  .sko-cyclemod > .sko-cyclescene { grid-column: 1; grid-row: 3 / span 4; }
  .sko-cyclemod > .sko-pool, .sko-cyclemod > .sko-spots, .sko-cyclemod > .sko-story { grid-column: 2; }
  .sko-cyclemod .sko-spots { grid-template-columns: minmax(0, 1fr); }
  .sko-zonemod, .sko-labmod { max-width: 1100px; margin: 0 auto; width: 100%; }
}

/* ================================================================== */
/* Solar System & Space additions                                      */
/* ================================================================== */
.sko-svg-dim { fill: #c9cbf2; }
.sko-picon { display: block; flex: 0 0 auto; overflow: visible; }
.sko-figcap { padding: 6px 12px 8px; font-size: 15px; font-weight: 700; color: var(--sko-soft); text-align: center; }
.sko-scene .sko-mark circle { stroke: #fff; }

/* stop 1: planet lineup */
.sko-pname { paint-order: stroke; stroke: #1b1d4a; stroke-width: 4px; stroke-linejoin: round; font-size: 12px; }
.sko-rocket .sko-flame { animation: sko-flicker .25s infinite alternate; transform-origin: -15px 0; }
@keyframes sko-flicker { from { transform: scaleX(.75); } to { transform: scaleX(1.15); } }
.sko-planetmod .sko-tile, .sko-moonmod .sko-tile { padding-left: 8px; }
.sko-spot > .sko-picon { margin: 0 2px; }
.sko-rocky { background: var(--sko-peach); box-shadow: 0 6px 0 var(--sko-peach-deep); }
.sko-giant { background: var(--sko-lilac); box-shadow: 0 6px 0 var(--sko-lilac-deep); }
.sko-rocky:hover { background: var(--sko-peach); } .sko-giant:hover { background: var(--sko-lilac); }
.sko-rocky.is-correct:disabled, .sko-giant.is-correct:disabled { background: var(--sko-right); box-shadow: 0 6px 0 var(--sko-right-deep); }
.sko-bonus .sko-tf-btn { font-size: clamp(19px, 4.6cqi, 26px); }
.sko-bonus .sko-ask-q { font-size: 24px; }

/* stop 3: moon phases (flashlight model). The explanation box sits beside the Moon on wide screens, under the picture on phones. */
.sko-moonmod { width: 100%; max-width: 1000px; margin-left: auto; margin-right: auto; }
.sko-moonstage { position: relative; }
.sko-moonfig { margin: 0; }
.sko-moonfig svg { display: block; width: 100%; height: auto; }
.sko-callout { margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 3px solid var(--sko-sun); box-shadow: 0 4px 0 var(--sko-line); text-align: left; display: flex; flex-direction: column; gap: 6px; transition: opacity .2s; }
.sko-moonstage.is-wide .sko-callout { position: absolute; margin: 0; z-index: 3; }
.sko-callout.is-ok { border-color: var(--sko-right-deep); }
.sko-callout.is-no { border-color: var(--sko-peach-deep); }
.sko-callout.is-moving { opacity: .35; }
.sko-callout p { margin: 0 !important; }
.sko-callkick { font-size: 15px; font-weight: 800; letter-spacing: .03em; color: var(--sko-soft); text-transform: uppercase; }
.sko-callname { font-size: 22px; font-weight: 800; line-height: 1.1; color: var(--sko-ink); }
.sko-calltext { font-size: 17px; line-height: 1.35; color: var(--sko-ink); }
.sko-callview { display: inline-flex; align-self: flex-start; padding: 6px; border-radius: 50%; background: #141640; }
.sko-callbtn { width: 100%; margin-top: 4px; font-size: 18px; padding: 10px 12px; }
.sko-moonstage:not(.is-wide) .sko-callout { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.sko-moonstage:not(.is-wide) .sko-callout > p, .sko-moonstage:not(.is-wide) .sko-callout > button { flex: 1 1 100%; }
.sko-moonstage:not(.is-wide) .sko-callout > .sko-callname { flex: 1 1 0; }
.sko-moonask { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 10px; border-radius: 16px; background: #fff; box-shadow: 0 4px 0 var(--sko-line); text-align: left; }
.sko-moonask .sko-ask-q { font-size: 20px; margin: 0 !important; }
.sko-moonask-text { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; }
.sko-moonask .sko-opts { margin-top: 4px; }
.sko-odot { cursor: pointer; }
.sko-odot.is-seen { fill: #ffcf4a; }
.sko-ball { cursor: pointer; outline: none; }
.sko-ball-ring { stroke: transparent; stroke-width: 3; }
.sko-ball:focus-visible .sko-ball-ring, .sko-ball.is-over .sko-ball-ring { stroke: #fff; }
.sko-ball.is-done { cursor: default; }
.sko-ball.is-done .sko-ball-ring { stroke: #5cc27b; stroke-width: 4; }
.sko-ball.is-tried .sko-ball-ring { stroke: var(--sko-peach-deep); }
.sko-view { cursor: pointer; outline: none; }
.sko-view:focus-visible .sko-view-frame, .sko-view.is-over .sko-view-frame { stroke: #ffcf4a; stroke-width: 3; }
.sko-moonmod.is-picking .sko-view[data-drop] .sko-view-frame { stroke: #ffcf4a; }
.sko-view.is-done { cursor: default; }
.sko-view.is-done .sko-view-frame { stroke: #5cc27b; stroke-width: 3; stroke-dasharray: none; fill: #141640; }
.sko-view.is-pointed .sko-view-frame { stroke: #ffcf4a; stroke-width: 4; stroke-dasharray: none; fill: #141640; }
.sko-roam { pointer-events: none; }
.sko-moonmod .sko-pool { gap: 8px; }
.sko-moonmod .sko-namecard { font-size: 18px; min-height: 0; padding: 6px 14px 6px 8px; flex: 0 1 auto; }
.sko-namecard .sko-picon { flex: 0 0 auto; background: #141640; border-radius: 50%; padding: 3px; box-sizing: content-box; }
@container sko (max-width: 360px) { .sko-moonmod .sko-namecard { font-size: 15px; gap: 6px; } .sko-moonmod .sko-namecard .sko-picon { width: 26px; height: 26px; } }
@container sko (max-width: 520px) {
  .sko-moonmod .sko-pool { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* icons line up in a column; the text follows; a left inset keeps the group near the middle */
  .sko-moonmod .sko-namecard { font-size: 16px; padding: 7px 6px 7px clamp(6px, 10%, 44px); justify-content: flex-start; text-align: left; line-height: 1.15; }
  .sko-moonmod .sko-namecard .sko-tile-name { min-width: 0; }
}

/* stop 4: weight chart beside the true/false card */
.sko-gstage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sko-gside { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sko-gpanel { padding: 12px; border-radius: 18px; background: #1d1f55; color: #fff; text-align: left; box-shadow: 0 4px 0 var(--sko-line); }
.sko-ghead { font-size: 17px; font-weight: 800; margin-bottom: 8px !important; }
.sko-gnote { margin-top: 8px !important; font-size: 15px; font-weight: 600; color: #c9cbf2; }
.sko-gstrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sko-world { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon val" "name name"; align-items: center; column-gap: 6px; padding: 6px 8px; border-radius: 12px; background: rgba(255, 255, 255, .08); transition: opacity .2s, box-shadow .2s; }
.sko-world .sko-picon { grid-area: icon; width: 26px; height: 26px; }
.sko-gname { grid-area: name; font-size: 15px; font-weight: 700; color: #dfe1ff; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sko-gbar { display: none; }
.sko-gval { grid-area: val; font-size: 20px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.sko-gstrip.has-lit .sko-world:not(.is-lit) { opacity: .4; }
.sko-world.is-lit { box-shadow: 0 0 0 3px var(--sko-sun), 0 0 14px var(--sko-sun); background: rgba(255, 207, 74, .18); }
@container sko (min-width: 640px) {
  .sko-gstage { grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr); align-items: start; }
  .sko-gstrip { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .sko-world { grid-template-columns: 28px 74px minmax(0, 1fr) 46px; grid-template-areas: none; padding: 5px 8px; }
  .sko-world .sko-picon, .sko-gname, .sko-gbar, .sko-gval { grid-area: auto; }
  .sko-gname { font-size: 16px; }
  .sko-gbar { display: block; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .15); overflow: hidden; }
  .sko-gfill { display: block; height: 100%; border-radius: 999px; background: var(--sko-sun); }
  .sko-gval { font-size: 18px; }
}
.sko-labmod .sko-meter { grid-template-columns: minmax(0, 1fr) auto; }
.sko-gravmod { width: 100%; max-width: 1100px; margin-left: auto; margin-right: auto; }
@container sko (min-width: 900px) {
  .sko-planetmod { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}
