/* Skiliograph Water Cycle & Weather v1.1.1 (text 1.125× larger, fills the content width, Nov 7 2026) — shares the look of the Skiliograph math and reading games */
.skw-game {
  --skw-ink: #2b2d42;
  --skw-soft: #5c5f78;
  --skw-card: #ffffff;
  --skw-bg: #fff7e6;
  --skw-line: #e8dcc4;
  --skw-dash: #cfc4ad;
  --skw-sun: #ffcf4a;   --skw-sun-deep: #e8a917;
  --skw-sky: #a9dcff;   --skw-sky-deep: #7cbfee;
  --skw-lilac: #dccbff; --skw-lilac-deep: #b49ef0;
  --skw-peach: #ffd3a8; --skw-peach-deep: #f0ae70;
  --skw-mint: #bff0d4;  --skw-mint-deep: #7fd3a3;
  --skw-right: #8fe3a5; --skw-right-deep: #5cc27b; --skw-right-soft: #eafbef;
  --skw-no: #ffc2c7;    --skw-no-deep: #ee8f99;    --skw-no-soft: #fff1e6;
  --skw-leaf: #1f6fb2;  --skw-leaf-soft: #dbeafe;
  --skw-gold: #ffb703;  --skw-gold-deep: #d99500;
  --skw-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  container-type: inline-size;
  container-name: skw;
  width: 100%;
  max-width: none;
  margin: 24px 0;
  padding: 16px 16px 24px;
  background: var(--skw-bg);
  border-radius: 24px;
  text-align: center;
  font-family: "Baloo 2", "Comic Sans MS", "Trebuchet MS", system-ui, sans-serif;
  color: var(--skw-ink);
  box-sizing: border-box;
  line-height: 1.35;
}
.skw-game *, .skw-game *::before, .skw-game *::after { box-sizing: border-box; }
.skw-game [hidden] { display: none !important; }
.skw-game p { margin: 0; }
.skw-game ol, .skw-game ul { margin: 0; padding: 0; list-style: none; }
.skw-game button {
  font-family: inherit; -webkit-tap-highlight-color: transparent; line-height: 1.2;
  text-transform: none; letter-spacing: normal; color: var(--skw-ink); margin: 0;
}
.skw-game button:focus-visible, .skw-game [tabindex]:focus-visible { outline: 4px solid var(--skw-ink); outline-offset: 3px; }
.skw-game [tabindex="-1"]:focus { outline: none; }
.skw-emo { font-family: var(--skw-emoji); font-weight: 400; line-height: 1; }

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

/* ---------- top bar ---------- */
.skw-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(--skw-card); border-radius: 18px; box-shadow: 0 4px 0 var(--skw-line);
}
.skw-where { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 220px; }
.skw-subject {
  display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto;
  padding: 3px 10px; border-radius: 999px; background: var(--skw-leaf-soft); color: var(--skw-leaf);
  font-size: 16px; font-weight: 800;
}
.skw-loc { font-size: 18px; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skw-stats { display: flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; }
.skw-score {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 999px;
  background: var(--skw-sun); font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums;
  box-shadow: 0 3px 0 var(--skw-sun-deep);
}
.skw-score-star { color: #fff; text-shadow: 0 1px 0 var(--skw-sun-deep); }
.skw-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(--skw-ink); border-radius: 999px;
}
.skw-badge-btn:hover { background: var(--skw-leaf-soft); color: var(--skw-ink); }
.skw-badge-btn .skw-emo { font-size: 20px; }
.skw-badge-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

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

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

/* ---------- cards you can drag ---------- */
.skw-tile {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; cursor: grab;
  font-size: 20px; font-weight: 800; color: var(--skw-ink); text-align: left;
  background: var(--skw-card); border: 3px solid transparent; border-radius: 16px;
  box-shadow: 0 4px 0 var(--skw-line); touch-action: none; user-select: none; -webkit-user-select: none;
  transition: transform .1s, opacity .15s, border-color .15s;
}
.skw-tile:hover { background: var(--skw-card); color: var(--skw-ink); transform: translateY(-2px); }
.skw-tile .skw-emo { font-size: 32px; }
.skw-tile[aria-pressed="true"] { border-color: var(--skw-ink); transform: translateY(-3px); background: #fffbe8; }
.skw-tile.is-lifted { opacity: .3; }
.skw-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;
}
.skw-pool { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }


/* ---------- module 2: habitats ---------- */
.skw-pool-row { min-height: 56px; }
.skw-pool-row:empty { display: none; }
.skw-hab-top { min-width: 0; flex-wrap: wrap; row-gap: 2px; }
.skw-hab-name { min-width: 0; }
.skw-chip { max-width: 100%; }
.skw-chip > span:last-child { min-width: 0; overflow-wrap: break-word; }
.skw-habitats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.skw-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;
}
.skw-hab:hover { color: var(--skw-ink); }
.skw-hab-top { display: flex; align-items: center; gap: 8px; }
.skw-hab-top .skw-emo { font-size: 34px; }
.skw-hab-name { font-size: 22px; font-weight: 800; }
.skw-hab-items { display: flex; flex-wrap: wrap; gap: 6px; }
.skw-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: skw-pop .4s ease;
}
.skw-chip .skw-emo { font-size: 20px; }
.skw-habmod.is-picking .skw-hab { border-style: dashed; border-color: var(--skw-ink); }
.skw-hab.is-glow { animation: skw-glow .9s ease; }
.skw-pop {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; text-align: left;
  background: var(--skw-card); border-radius: 18px; box-shadow: 0 5px 0 var(--skw-line);
}
.skw-pop.is-in { animation: skw-rise-in .35s ease; }
.skw-pop-text { font-size: 19px; font-weight: 600; }
.skw-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;
}
.skw-need .skw-emo { font-size: 27px; }

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

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

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

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

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

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

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

/* ---------- celebration (same as the other games) ---------- */
.skw-party { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 99999; transition: opacity .7s ease; }
.skw-party.is-leaving { opacity: 0; }
.skw-confetti { position: absolute; inset: 0; }
.skw-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: skw-banner-in .8s cubic-bezier(.2, .9, .3, 1.2) .15s both;
}
.skw-balloon { position: absolute; bottom: -150px; animation-name: skw-rise; animation-timing-function: cubic-bezier(.35, .1, .6, 1); animation-fill-mode: both; }
.skw-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: skw-sway 2s ease-in-out infinite alternate; transform-origin: 50% 140%;
}
.skw-balloon-body::before { content: ""; position: absolute; top: 12px; left: 13px; width: 10px; height: 16px; background: rgba(255, 255, 255, .6); border-radius: 50%; }
.skw-balloon-body::after { content: ""; position: absolute; top: 70px; left: 27px; width: 2px; height: 60px; background: rgba(0, 0, 0, .25); }

.skw-game .is-shake { animation: skw-shake .4s ease; }
@keyframes skw-flip { 0% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }
@keyframes skw-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-10px); } 75% { transform: translateX(10px); } }
@keyframes skw-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 skw-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 skw-pulse { 50% { transform: scale(1.04); } }
@keyframes skw-pop { 50% { transform: scale(1.1); } }
@keyframes skw-rise-in { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes skw-star-in { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }
@keyframes skw-rise { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 100% { transform: translateY(calc(-100vh - 260px)); opacity: 1; } }
@keyframes skw-sway { from { transform: rotate(-7deg) translateX(-6px); } to { transform: rotate(7deg) translateX(6px); } }
@keyframes skw-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) {
  .skw-game *, .skw-game *::before, .skw-game *::after { animation: none !important; transition: none !important; }
  .skw-banner { animation-duration: .01s; }
}

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

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

/* ---------- stop 2: weather lab ---------- */
.skw-lab { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.skw-lab-left, .skw-lab-right { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.skw-meters { display: flex; flex-direction: column; gap: 10px; padding: 12px; background: var(--skw-card); border-radius: 18px; box-shadow: 0 4px 0 var(--skw-line); }
.skw-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; }
.skw-meter-label { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 800; line-height: 1.15; min-width: 0; }
.skw-meter-label .skw-emo { font-size: 22px; }
.skw-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; }
.skw-meter-track { height: 14px; border-radius: 999px; background: #efe6d4; overflow: hidden; }
.skw-meter-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: #4aa3df; box-shadow: inset 0 -3px 0 #2f80ed; }

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

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

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

/* v1.1.0 — Science Discovery Path: members-only stops, gold Expert badge */
.skw-stop-btn.is-members .skw-lock { color: #2f8f4f; }
.skw-stop-btn.is-members { cursor: pointer; }
.skw-hero.is-gold { background: linear-gradient(135deg, #fff8d6, #ffe7a0); box-shadow: 0 5px 0 #e8c25a; }
.skw-hero.is-gold .skw-medal { background: radial-gradient(circle at 35% 30%, #fffbe0, #ffd34d 50%, #c98a00); box-shadow: 0 0 0 4px #c98a00, 0 6px 0 4px #8a5d00; }
.skw-hero.is-gold.is-locked { background: var(--skw-card); box-shadow: 0 5px 0 var(--skw-line); }
.skw-hero + .skw-hero { margin-top: 10px; }
.skw-game .skd-member.is-shake { animation: skw-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. */
.skw-quizmod, .skw-skymod, .skw-badges, .skw-done { width: 100%; max-width: 900px; margin-left: auto; margin-right: auto; }
@container skw (min-width: 900px) {
  .skw-cyclemod { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 20px; row-gap: 14px; align-items: start; }
  .skw-cyclemod > * { grid-column: 1 / -1; }
  .skw-cyclemod > .skw-cyclescene { grid-column: 1; grid-row: 3 / span 4; }
  .skw-cyclemod > .skw-pool, .skw-cyclemod > .skw-spots, .skw-cyclemod > .skw-story { grid-column: 2; }
  .skw-cyclemod .skw-spots { grid-template-columns: minmax(0, 1fr); }
  .skw-zonemod, .skw-labmod { max-width: 1100px; margin: 0 auto; width: 100%; }
}
