/* Spike & Suzy Games: science-farm wave look (farm palette shared with the site). Copied into each game folder. */
:root {
  --sky: #8fd3ff; --sky-2: #dff3ff; --grass: #6dbb5a; --grass-2: #3e8e3a;
  --barn: #c43d2c; --straw: #ffcf4a; --straw-2: #fff3c7;
  --ink: #1d2733; --ink-2: #4a5663; --paper: #fffdf7; --line: #e4dccb;
  --green: #2e8b3e; --red: #b3261e; --focus: #0b5fff; --radius: 20px;
  --shadow: 0 6px 0 rgba(29, 39, 51, .12), 0 10px 24px rgba(29, 39, 51, .10);
  --tap: 48px;
}
body.band-A { --tap: 64px; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); overflow-x: hidden;
  font-family: ui-rounded, "Nunito", "Quicksand", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px; line-height: 1.45;
  background:
    radial-gradient(120% 40% at 20% 104%, var(--grass) 0 60%, transparent 61%),
    radial-gradient(120% 36% at 90% 106%, var(--grass-2) 0 60%, transparent 61%),
    linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 45%, #eaf8e3 100%);
  background-attachment: fixed;
}
:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
svg { max-width: 100%; }

/* shell */
.ssg-shell { max-width: 760px; margin: 0 auto; padding: 0 14px 56px; }
.ssg-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0 12px; background: linear-gradient(180deg, rgba(143, 211, 255, .97) 72%, rgba(143, 211, 255, 0)); }
.ssg-top__right { display: flex; align-items: center; gap: 10px; }
.ssg-back { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 16px; border-radius: 999px; background: var(--paper); border: 3px solid #fff; box-shadow: 0 3px 0 rgba(29, 39, 51, .15); color: var(--ink); font-weight: 900; font-size: 17px; text-decoration: none; }
.ssg-mute { min-width: var(--tap); min-height: var(--tap); border-radius: 50%; border: 3px solid #fff; background: var(--paper); font-size: 24px; cursor: pointer; box-shadow: 0 3px 0 rgba(29, 39, 51, .15); }
.ssg-brand { text-align: right; line-height: 1.05; font-weight: 900; color: var(--barn); font-size: 18px; letter-spacing: .03em; text-shadow: 0 2px 0 #fff; }
.ssg-brand small { display: block; font-size: 11px; color: var(--ink); letter-spacing: .1em; text-shadow: none; text-transform: uppercase; }
.ssg-main { display: flex; flex-direction: column; gap: 16px; outline: none; }
.ssg-footer { margin-top: 28px; text-align: center; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.ssg-text { font-size: 17px; }
@media (max-width: 400px) { .ssg-brand { font-size: 15px; } .ssg-back { padding: 0 12px; font-size: 15px; } }

.w-screen { display: flex; flex-direction: column; gap: 16px; }
.w-eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #7a4a12; background: var(--straw); border-radius: 999px; padding: 6px 14px; border: 2px solid #fff; }
.w-h1 { font-size: clamp(32px, 8.6vw, 50px); font-weight: 900; line-height: 1.05; text-shadow: 0 3px 0 #fff; outline: none; }
.w-h1--sm { font-size: clamp(28px, 7.4vw, 40px); }
.w-lead { font-size: 19px; font-weight: 600; }
.w-hero { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; justify-content: center; }
.w-hero svg { display: block; width: 100%; height: auto; }
.w-card { background: var(--paper); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.w-kicker { font-size: 14px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--barn); }
.w-text { font-size: 17px; color: var(--ink-2); }
.w-small { font-size: 15px; color: var(--ink-2); font-weight: 700; }
.w-label { font-size: 17px; font-weight: 900; }
.w-list { margin: 0; padding-left: 22px; display: grid; gap: 6px; color: var(--ink-2); }
.w-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.w-pill { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 15px; }
.w-safety { background: #eefbe8; border: 3px solid #b8e0a8; }

/* guide bubble */
.w-guide { display: flex; align-items: center; gap: 12px; background: #fff3dc; border: 3px solid #ecc98a; border-radius: 18px; padding: 10px 12px; }
.w-guide__text { flex: 1; font-size: 17px; line-height: 1.35; min-width: 0; }
.w-guide__who { color: var(--barn); }
.w-portrait { flex: none; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 0 rgba(29,39,51,.12); overflow: hidden; }
.w-portrait .herd-art { width: 100%; height: auto; display: block; }
.w-hear { flex: none; min-width: var(--tap); min-height: var(--tap); border-radius: 50%; border: 3px solid #fff; background: var(--straw); font-size: 22px; cursor: pointer; box-shadow: 0 3px 0 rgba(29,39,51,.18); }
.w-hear:disabled { opacity: .45; cursor: default; }

/* buttons */
.w-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); min-width: var(--tap); padding: 10px 20px; border-radius: 999px; border: 3px solid #fff; background: #fff; color: var(--ink); font-weight: 900; font-size: 18px; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 rgba(29,39,51,.18); }
.w-btn:disabled { opacity: .5; cursor: default; }
.w-btn--cta { background: linear-gradient(180deg, #ffe07a, var(--straw)); }
.w-btn--primary { background: var(--grass-2); color: #fff; }
.w-btn--ghost { background: var(--paper); border-color: var(--line); }
.w-btn--small { font-size: 16px; padding: 6px 14px; }
.w-btn--wide { width: 100%; }
.w-btn--true { background: #dff5d8; flex: 1; font-size: 20px; }
.w-btn--false { background: #ffe1dc; flex: 1; font-size: 20px; }
body.band-A .w-btn { font-size: 26px; }

/* levels */
.w-levels { display: grid; gap: 10px; }
.w-level { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; min-height: 72px; padding: 12px 14px; border-radius: 18px; border: 3px solid var(--line); background: #fff; cursor: pointer; box-shadow: 0 4px 0 rgba(29,39,51,.1); }
.w-level.is-done { border-color: #9fd48f; background: #f3fbef; }
.w-level__num { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--straw); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 24px; }
.w-level__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.w-level__name { font-weight: 900; font-size: 18px; }
.w-level__desc { font-size: 15px; color: var(--ink-2); }
.w-level__stars { font-size: 15px; font-weight: 800; color: #9a6a00; }
body.band-A .w-levels { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
body.band-A .w-level { flex-direction: column; justify-content: center; text-align: center; min-height: 150px; }
body.band-A .w-level__num { width: 80px; height: 80px; font-size: 48px; background: #fff3c7; }
body.band-A .w-level__name { font-size: 20px; }

/* item */
.w-hud { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.w-hud__count { font-weight: 900; font-size: 16px; background: #fff; border-radius: 999px; padding: 6px 12px; }
.w-chip-score { font-weight: 900; background: #fff8dc; border: 2px solid var(--straw); border-radius: 999px; padding: 4px 12px; }
.w-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.w-dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.w-dot.is-done { background: var(--grass); border-color: var(--grass); }
.w-dot.is-now { background: var(--straw); border-color: #c99a00; }
.w-prompt-row { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.w-prompt { font-size: clamp(21px, 5.6vw, 27px); font-weight: 900; line-height: 1.2; outline: none; flex: 1; min-width: 0; }
body.band-A .w-prompt { font-size: clamp(26px, 7vw, 34px); }
.w-prompt__pic { font-size: 1.3em; }
.w-hint { font-size: 16px; font-weight: 700; color: var(--ink-2); min-height: 1.2em; }
.w-cheer { font-size: 17px; font-weight: 800; min-height: 1.2em; }
.w-cheer.is-ok { color: var(--green); }
.w-cheer.is-miss { color: #9a4a00; }
body.band-A .w-cheer { font-size: 22px; }

/* options */
.w-choices { display: grid; gap: 10px; }
.w-choices--grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
body.band-A .w-choices--grid { grid-template-columns: repeat(2, 1fr); }
.w-choices--two { grid-template-columns: 1fr 1fr; }
.w-opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 10px 14px; border-radius: 16px; border: 3px solid var(--line); background: #fff; text-align: left; font-weight: 800; font-size: 17px; cursor: pointer; box-shadow: 0 3px 0 rgba(29,39,51,.1); min-width: 0; }
.w-choices--grid .w-opt { flex-direction: column; justify-content: center; text-align: center; }
body.band-A .w-opt { min-height: 120px; font-size: 22px; }
.w-opt__pic { font-size: 34px; line-height: 1; display: inline-flex; }
body.band-A .w-opt__pic { font-size: 64px; }
.w-pic--svg svg, .w-opt__pic svg { width: 72px; height: 72px; }
body.band-A .w-opt__pic svg { width: 96px; height: 96px; }
.w-opt__t { min-width: 0; overflow-wrap: anywhere; }
.w-opt__t--small { font-size: 18px; }
.w-opt__mark { position: absolute; top: 4px; right: 6px; font-size: 18px; }
.w-opt.is-on { border-color: var(--focus); background: #eaf2ff; }
.w-opt.is-correct { border-color: var(--green); background: #e6f6e3; }
.w-opt.is-wrong { border-color: var(--red); background: #fdeceb; }
.w-opt.is-missed { border-color: #c99a00; border-style: dashed; }
.w-opt.is-faded { opacity: .55; }
.w-opt:disabled { cursor: default; }
.w-opt--wide { width: 100%; }
.w-opt--step .w-tag { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--straw-2); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }
.is-shake { animation: w-shake .4s; }
@keyframes w-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* feedback */
.w-fact { border-radius: 16px; padding: 14px; display: grid; gap: 6px; border: 3px solid; }
.w-fact.is-right { background: #eefbe8; border-color: #9fd48f; }
.w-fact.is-miss { background: #fff4e5; border-color: #f0c27a; }
.w-fact__head { font-weight: 900; font-size: 19px; outline: none; }
.w-fact__answer { font-weight: 700; }
.w-fact__body { color: var(--ink-2); }
.w-feedback-slot { display: grid; gap: 10px; }
body.band-A .w-fact__head { font-size: 26px; }
body.band-A .w-fact__body { font-size: 19px; }

/* sort */
.w-sort, .w-place { display: grid; gap: 10px; }
.w-tray { display: flex; flex-wrap: wrap; gap: 8px; min-height: 56px; padding: 8px; border-radius: 16px; background: #f4efe3; }

.w-tray > button { flex-direction: row; align-items: center; gap: 6px; padding: 8px 12px; min-height: var(--tap); border-radius: 14px; border: 3px solid var(--line); background: #fff; font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 3px 0 rgba(29,39,51,.1); }
body.band-A .w-tray > button { min-width: 88px; min-height: 88px; justify-content: center; }
.w-token__pic { font-size: 28px; line-height: 1; display: inline-flex; }
.w-token__pic svg { width: 40px; height: 40px; }
body.band-A .w-token__pic { font-size: 54px; }
body.band-A .w-token__t { display: none; }
.w-tray > button.is-picked { border-color: var(--focus); background: #eaf2ff; transform: translateY(-3px); box-shadow: 0 6px 0 rgba(11,95,255,.25); }
.w-bins { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.w-bins--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 460px) { .w-bins--3 { grid-template-columns: 1fr; } }
.w-bin { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-height: 110px; padding: 10px; border-radius: 18px; border: 3px dashed #c9b98f; background: #fffbef; cursor: pointer; text-align: center; }
.w-bin.is-ready { border-color: var(--focus); background: #f1f6ff; }
.w-bin__head { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 900; }
.w-bin__pic { font-size: 30px; }
body.band-A .w-bin { min-height: 150px; }
body.band-A .w-bin__pic { font-size: 56px; }
.w-bin__got { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.w-chip { background: #fff; border: 2px solid #9fd48f; border-radius: 999px; padding: 2px 8px; font-size: 14px; font-weight: 800; }
body.band-A .w-chip { font-size: 26px; }

/* order */
.w-order { display: grid; gap: 10px; }
.w-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.w-slot { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px; border-radius: 12px; border: 2px dashed var(--line); background: #fff; font-weight: 800; }
.w-slot.is-full { border-style: solid; border-color: #9fd48f; background: #f3fbef; }
.w-slot__n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--straw); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }
.w-slot__pic { font-size: 26px; display: inline-flex; }
.w-slot__pic svg { width: 36px; height: 36px; }
body.band-A .w-slots { grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); }
body.band-A .w-slot { justify-content: center; min-height: 70px; }
body.band-A .w-slot__pic { font-size: 40px; }

/* memory */
.w-memory { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.w-memory--8 { grid-template-columns: repeat(4, 1fr); }
.w-memory--16 { grid-template-columns: repeat(4, 1fr); }
.w-mem { position: relative; aspect-ratio: 1 / 1.1; min-height: var(--tap); border-radius: 16px; border: 3px solid var(--line); background: linear-gradient(160deg, #ffe07a, #ffcf4a); cursor: pointer; padding: 4px; box-shadow: 0 3px 0 rgba(29,39,51,.12); }
.w-mem__back { font-size: 30px; }
.w-mem__face { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 100%; }
.w-mem.is-up { background: #fff; }
.w-mem.is-up .w-mem__back { display: none; }
.w-mem.is-up .w-mem__face { display: flex; }
.w-mem.is-found { border-color: var(--green); background: #e6f6e3; }
.w-mem__pic { font-size: 40px; line-height: 1; }
body.band-A .w-mem__pic { font-size: 48px; }
.w-mem__t { font-size: 13px; font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; }

/* match */
.w-match { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.w-match__col { display: grid; gap: 8px; align-content: start; }
.w-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: var(--tap); padding: 8px; border-radius: 14px; border: 3px solid var(--line); background: #fff; font-weight: 800; font-size: 16px; cursor: pointer; text-align: center; min-width: 0; overflow-wrap: anywhere; }
body.band-A .w-tile { min-height: 96px; }
.w-tile.is-picked { border-color: var(--focus); background: #eaf2ff; }
.w-tile.is-correct { border-color: var(--green); background: #e6f6e3; }
.w-tile .w-opt__pic { font-size: 30px; }

/* scenes: hotspot + place */
.w-hot { display: grid; gap: 8px; }
.w-scene { background: #fff; border-radius: 16px; border: 3px solid var(--line); overflow: hidden; }
.w-scene svg { display: block; width: 100%; height: auto; touch-action: manipulation; }
.w-spot, .w-region { cursor: pointer; outline: none; }
.w-spot:focus-visible, .w-region:focus-visible { stroke: var(--focus); stroke-width: 5; }
.w-spot.is-found > .hl, .w-spot.is-found.hl { stroke: var(--green); stroke-width: 6; }
.w-spot .hl { stroke-width: 3; }
.w-spot.is-found .hl { fill: rgba(46,139,62,.14); stroke: var(--green); }
.w-spot.is-nope { animation: w-flash .6s; }
.w-region.is-ready { stroke: var(--focus); stroke-width: 3; stroke-dasharray: 8 5; }
.w-region.is-nope { animation: w-flash .6s; }
@keyframes w-flash { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* sprint */
.w-sprint { display: grid; gap: 12px; }
.w-sprint__play { display: grid; gap: 12px; }
.w-sprint__fact { font-size: 21px; font-weight: 800; background: #fff; border: 3px solid var(--line); border-radius: 16px; padding: 16px; min-height: 96px; }
.w-sprint__count { font-weight: 800; color: var(--ink-2); }
.w-clock { font-weight: 900; font-size: 20px; background: #fff; border-radius: 999px; padding: 4px 12px; }
.w-clock.is-low { background: #ffe1dc; color: var(--red); }
.w-tf { display: flex; gap: 10px; }

/* story */
.w-story-wrap { display: grid; gap: 10px; }
.w-story { display: grid; gap: 10px; }
.w-story__scene { display: flex; gap: 12px; align-items: center; background: #f4efe3; border-radius: 16px; padding: 12px; }
.w-story__pic { font-size: 44px; flex: none; }
.w-story__text { font-size: 18px; font-weight: 700; }
.w-story__note { display: grid; gap: 10px; }
.w-story__why { border-radius: 14px; padding: 12px; }
.w-story__why.is-right { background: #eefbe8; }
.w-story__why.is-miss { background: #fff4e5; }
.w-meter { height: 16px; border-radius: 999px; background: #fff; border: 2px solid var(--line); overflow: hidden; }
.w-meter__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--grass), var(--grass-2)); transition: width .4s; }

/* sims (sliders etc.) */
.w-sim { display: grid; gap: 12px; }
.w-slider { display: grid; gap: 4px; }
.w-slider label { font-weight: 800; display: flex; justify-content: space-between; gap: 8px; }
.w-slider input[type=range] { width: 100%; height: var(--tap); accent-color: var(--grass-2); cursor: pointer; }
.w-readout { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.w-stat { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 8px 10px; text-align: center; }
.w-stat b { display: block; font-size: 22px; }
.w-stat span { font-size: 14px; color: var(--ink-2); font-weight: 700; }
.w-goal { background: #fff8dc; border: 2px solid var(--straw); border-radius: 14px; padding: 10px 12px; font-weight: 800; }
.w-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.w-toggle { min-height: var(--tap); padding: 8px 14px; border-radius: 14px; border: 3px solid var(--line); background: #fff; font-weight: 800; cursor: pointer; }
.w-toggle[aria-pressed="true"] { border-color: var(--focus); background: #eaf2ff; }

/* results */
.w-win { background: #fff8dc; border: 4px solid var(--straw); text-align: center; align-items: center; position: relative; overflow: hidden; }
.w-stars { font-size: 38px; letter-spacing: 4px; }
.w-result { font-size: 22px; font-weight: 900; outline: none; }
.w-confetti { position: absolute; inset: 0; pointer-events: none; }
.w-confetti span { position: absolute; top: -30px; font-size: 22px; animation: w-fall 2.4s ease-in forwards; }
@keyframes w-fall { to { transform: translateY(420px) rotate(240deg); opacity: 0; } }
.w-progress { padding: 12px 14px; }
.w-toasts { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50; width: min(92vw, 420px); pointer-events: none; }
.w-toast { background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); }
.w-toast__title { font-weight: 900; }
.w-toast__desc { font-size: 15px; opacity: .9; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.w-mem__pic svg { width: 52px; height: 52px; }
.w-prompt__pic svg { width: 1.6em; height: 1.6em; vertical-align: middle; }
.w-slot__pic svg, .w-tile .w-opt__pic svg { width: 40px; height: 40px; }
body.band-A .w-token__pic svg { width: 60px; height: 60px; }
/* life cycle strip (metamorphosis-garden) */
.mg-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mg-stage { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 12px; background: #f4efe3; border: 2px dashed var(--line); text-align: center; }
.mg-stage.is-seen { background: #eefbe8; border-style: solid; border-color: #9fd48f; }
.mg-stage.is-next { background: #fff8dc; border-color: #c99a00; }
.mg-pic { font-size: 30px; line-height: 1; display: inline-flex; }
.mg-pic svg { width: 40px; height: 40px; }
.mg-t { font-size: 12px; font-weight: 800; color: var(--ink-2); line-height: 1.1; }
.w-sim__controls { display: grid; gap: 10px; }
.w-sim__pic svg { width: 100%; height: auto; display: block; }
.w-slider input[type=range]:disabled { opacity: .6; }
/* magnet-hunt */
.mh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .mh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mh-thing { position: relative; flex-direction: column; transition: transform .6s ease; }
.mh-tag { font-size: 13px; font-weight: 800; min-height: 1em; color: var(--ink-2); }
.mh-thing.is-stuck { transform: translateY(-6px); box-shadow: 0 -6px 0 #d64541 inset; }
.mh-bar { height: 44px; background: #f3e3c8; border-radius: 12px; position: relative; overflow: hidden; }
.mh-magnet { position: absolute; left: 4px; top: 2px; font-size: 34px; transition: left 1s ease; }
.mh-bar.is-sweeping .mh-magnet { left: calc(100% - 46px); }
@media (prefers-reduced-motion: reduce) { .mh-magnet, .mh-thing { transition: none; } }
/* farm-food-chains */
.fc-slots { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; background: #eefbe8; border-radius: 14px; padding: 10px 6px; }
.fc-slot { display: flex; flex-direction: column; align-items: center; min-width: 64px; max-width: 90px; min-height: 76px; padding: 4px; border: 2px dashed var(--line); border-radius: 12px; background: #fff; text-align: center; justify-content: center; }
.fc-slot.is-full { border-style: solid; border-color: #9fd48f; }
.fc-pic { font-size: 30px; line-height: 1; width: 40px; height: 40px; display: grid; place-items: center; }
.fc-pic svg { width: 40px; height: 40px; }
.fc-t { font-size: 12px; font-weight: 800; }
.fc-arrow { font-weight: 900; color: var(--grass-2); }
/* farm-seasons-wheel */
.sw-wheel { max-width: 420px; margin: 0 auto; }
[data-month] { cursor: pointer; }
[data-month]:focus-visible .sw-seg { stroke: var(--focus); stroke-width: 5; }
[data-month].is-on .sw-seg { fill: #4a8fe0 !important; }
[data-month].is-on text { fill: #fff; }
[data-month].is-correct .sw-seg { fill: #5cb85c !important; }
[data-month].is-missed .sw-seg { fill: #fff3b0 !important; stroke-dasharray: 6 4; }
[data-month].is-wrong .sw-seg { fill: #e57373 !important; }
[data-month].is-faded { opacity: .55; }
/* daily-animal-care-check */
.ac-pen { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; background: #eefbe8; border-radius: 14px; padding: 8px 12px; }
.ac-pen__e { font-size: 44px; }
.ac-row { border: 2px solid var(--line); border-radius: 14px; padding: 8px; background: #fff; display: grid; gap: 6px; }
.ac-row__top { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-row__top .w-btn { flex: 1 1 60%; }
.ac-flag { flex: 1 1 30%; }
.ac-flag[aria-pressed="true"] { border-color: #d64541; background: #fdecea; }
.ac-note { margin: 0; font-weight: 700; }
.ac-row.is-correct { border-color: #5cb85c; background: #f0faef; }
.ac-row.is-wrong { border-color: #e57373; background: #fdecea; }
/* circuit-builder-lab */
.cb-slot { cursor: pointer; }
.cb-slot.is-locked { cursor: default; }
.cb-slot:focus-visible rect:first-child { stroke: var(--focus); }
.cb-flow { stroke-dasharray: 14 8; animation: cb-flow 1s linear infinite; }
@keyframes cb-flow { to { stroke-dashoffset: -22; } }
.cb-spin { animation: cb-spin .6s linear infinite; transform-origin: 0 0; }
@keyframes cb-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cb-flow, .cb-spin { animation: none; } }
.cb-pal .w-opt__pic svg { width: 64px; height: 46px; }
/* states-of-matter-lab */
.sm-p { transform-box: fill-box; transform-origin: center; }
.sm-solid { animation: sm-vib .25s ease-in-out infinite alternate; }
.sm-liquid { animation: sm-slide 1.2s ease-in-out infinite alternate; }
.sm-gas { animation: sm-zoom .9s ease-in-out infinite alternate; }
@keyframes sm-vib { from { transform: translate(-1px, 0); } to { transform: translate(1px, 1px); } }
@keyframes sm-slide { from { transform: translate(-5px, 1px); } to { transform: translate(5px, -2px); } }
@keyframes sm-zoom { from { transform: translate(-14px, -8px); } to { transform: translate(14px, 10px); } }
@media (prefers-reduced-motion: reduce) { .sm-p { animation: none; } }
/* rock-detective-key */
.rk-card { display: flex; gap: 12px; align-items: center; background: #f6f1e6; border-radius: 14px; padding: 10px; }
.rk-pic svg { width: 96px; height: 96px; display: block; }
.rk-q { font-weight: 800; font-size: 18px; margin: 4px 0; }
.rk-trail { margin: 0; padding-left: 20px; font-size: 14px; color: var(--ink-2); }
/* built-for-the-bush */
.bb-clues { margin: 0; padding-left: 22px; display: grid; gap: 6px; font-weight: 700; }
.bb-clues li { background: #fff8dc; border-radius: 10px; padding: 6px 10px; }
/* separation-station */
.ss-log { margin: 0; padding-left: 22px; display: grid; gap: 4px; font-size: 15px; }
.ss-log li.is-ok { color: #2e7d32; }
.ss-log li.is-miss { color: #9a3b1e; }
