*{box-sizing:border-box}body{margin:0;background:#f2f7f3;color:#19392c;font:16px/1.5 Arial,sans-serif}main{max-width:1120px;margin:auto;padding:26px 28px}.eyebrow{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:700;letter-spacing:1.5px;color:#2c7543}.eyebrow span{font-weight:400;letter-spacing:0;border:1px solid #c6dacb;border-radius:5px;padding:3px 12px}h1{font-size:clamp(29px,3.5vw,40px);letter-spacing:-1.3px;line-height:1.1;margin:14px 0 10px}header p{color:#536f5d;margin:0 0 20px}.progress{display:flex;align-items:center;justify-content:space-between;color:#5a7562;font-size:14px;margin-bottom:15px}progress{width:180px;height:7px;accent-color:#2a7944}#card{display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:center;background:white;border:1px solid #bbd2c3;border-radius:18px;padding:20px;cursor:grab;touch-action:pan-y}.art{height:230px;position:relative;border-radius:12px;overflow:hidden;background:#ecf5ef}.art svg{width:100%;height:100%;display:block}.art button{position:absolute;right:8px;bottom:8px;font-size:11px;padding:5px 9px;background:#ffffffdf;color:#2b6541;border-color:#bed2c4}.copy{padding:0 10px 0 0}small{color:#307749;font-size:12px;font-weight:700;letter-spacing:1.5px}h2{font-size:27px;line-height:1.2;margin:12px 0 14px}.copy p{font-size:16px;color:#4e6a59;margin:0 0 15px}.drag-note{font-size:12px;color:#7b8e7f}.categories{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.categories button{text-align:left;background:white;color:#254d35;border:1px solid #bfd6c6;padding:16px 18px;min-height:163px}.categories button:hover,.categories button.over{background:#e5f2e8;border:2px solid #43895a;padding:15px 17px}.categories button.correct{background:#e2f1e6;border:2px solid #43895a;padding:15px 17px}.categories button.wrong{border:2px solid #c8915c;padding:15px 17px;background:#fff4e6}.categories h3{font-size:19px;margin:3px 0 7px}.categories p{font-size:13px;font-weight:400;color:#627d69;margin:0 0 9px}.symbol{font-size:21px;color:#638c70}.count{font-size:11px;font-weight:400;color:#7d9182}button{font:inherit;font-weight:700;border:1px solid #277743;border-radius:10px;padding:11px 18px;background:#277743;color:white;cursor:pointer}button:disabled{cursor:default}button:focus-visible,#card:focus-visible{outline:3px solid #d5a64b;outline-offset:3px}.secondary{background:white;color:#2b6740;border-color:#bdd3c4}#feedback:not(:empty){background:#fff0dc;border-radius:10px;padding:14px 18px;margin-top:16px;font-size:15px}#feedback.success{background:#e2f1e6;color:#2b653e}#feedback strong{display:block;margin-bottom:4px}#next{margin-top:12px}.ghost{position:fixed;pointer-events:none;z-index:10;width:260px;background:white;border:2px solid #70a27d;border-radius:12px;padding:12px;box-shadow:0 8px 30px #19382c30;font-size:16px;font-weight:700}.ghost svg{width:100%;height:130px;display:block}.dragging{opacity:.4}footer{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-top:22px;color:#788b7c;font-size:12px}footer p{margin:0;max-width:820px}footer button{font-size:13px;flex-shrink:0}#complete{text-align:center;background:white;border:1px solid #bfd5c6;border-radius:18px;padding:30px}.tick{color:#2d7945;background:#e3f2e7;border-radius:50%;width:65px;line-height:65px;font-size:38px;margin:0 auto 15px}#collection{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:25px 0;text-align:left}#collection h3{font-size:18px}#collection article{border:1px solid #d7e6dc;border-radius:10px;overflow:hidden;margin-bottom:12px}#collection .art{height:115px;border-radius:0}#collection h4{font-size:14px;margin:10px 12px}#collection article p{font-size:12px;color:#6e8374;padding:0 12px 12px;margin:0}dialog{border:1px solid #bfd5c6;border-radius:18px;max-width:780px;width:90%;padding:25px;color:#19392c}dialog::backdrop{background:#19392c66}#large-art svg{width:100%;max-height:450px}dialog button{margin-top:15px}[hidden]{display:none!important}@media(max-width:700px){main{padding:20px 16px}#card{grid-template-columns:1fr;gap:15px;padding:14px}.art{height:195px}.copy h2{font-size:23px}.copy p{font-size:15px}.categories{gap:7px}.categories button{padding:12px 10px}.categories button:hover,.categories button.over,.categories button.correct,.categories button.wrong{padding:11px 9px}.categories h3{font-size:16px}.categories p{font-size:12px}.symbol{display:none}footer{align-items:start;flex-direction:column}#collection{grid-template-columns:1fr}#card{touch-action:none}}
/* Moving scenes retain the actual organisms, habitats and inherited differences. */
.art{background:linear-gradient(145deg,#e7f3ed,#f5faf5)}.swim{animation:swim 5s ease-in-out infinite}.flower-sway{transform-origin:0 58px;animation:sway 3.7s ease-in-out infinite}.tree-sway{transform-origin:0 35px;animation:sway 5.5s ease-in-out infinite}.crawl{animation:crawl 5s ease-in-out infinite}.allele-float{animation:bob 4s ease-in-out infinite}.art g:nth-child(2n)>.swim,.art g:nth-child(2n)>.flower-sway,.art g:nth-child(2n)>.crawl,.art g:nth-child(2n)>.allele-float{animation-delay:-1.8s}.art[data-scene="pond"] svg>g:last-child{transform-box:fill-box;transform-origin:center;animation:dragonfly 4s ease-in-out infinite}.art[data-scene="pond"] svg>g:nth-last-child(2){transform-box:fill-box;transform-origin:bottom;animation:breathe 3s ease-in-out infinite}.art[data-scene="coast"] svg>g:nth-child(2) path,.art[data-scene="landscape"] svg>g:nth-child(2) path{transform-box:fill-box;transform-origin:bottom;animation:reeds 4s ease-in-out infinite}.art[data-scene="coast"] svg>g:nth-child(1){animation:reef-glow 5s ease-in-out infinite}.art[data-scene="mountains"] svg>g:nth-child(2)>path{stroke-dasharray:6 2;animation:river 5s linear infinite}.categories button{min-height:100px;display:flex;flex-direction:column;justify-content:center}.categories h3{margin:0 0 7px;font-size:21px}.categories .count{font-size:12px}#large-art .swim,#large-art .flower-sway,#large-art .tree-sway,#large-art .crawl,#large-art .allele-float{animation-play-state:running}@keyframes swim{0%,100%{transform:translateX(-8px)}50%{transform:translateX(13px)}}@keyframes sway{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}@keyframes crawl{0%,100%{transform:translate(-6px,0) rotate(-3deg)}50%{transform:translate(8px,-3px) rotate(3deg)}}@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes dragonfly{0%,100%{translate:0 0}50%{translate:15px -10px}}@keyframes breathe{50%{scale:1.02 .98}}@keyframes reeds{50%{rotate:2deg}}@keyframes reef-glow{50%{opacity:.8}}@keyframes river{to{stroke-dashoffset:-32}}@media(prefers-reduced-motion:reduce){.art *{animation:none!important}}@media(max-width:700px){.categories h3{font-size:17px}.categories button{min-height:90px}}
.art{height:285px;background:#edf4ed}.art .natural-scene{width:100%;height:100%;display:block;overflow:hidden}.art .natural-scene image{animation:natural-drift 18s ease-in-out infinite alternate;transform-origin:center;transform-box:fill-box}.art:has(.natural-scene){isolation:isolate}.art:has(.natural-scene)::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 25%,#fff5cf16 45%,transparent 65%);background-size:230% 100%;animation:ambient-light 16s ease-in-out infinite alternate;pointer-events:none}.art button{z-index:2}#large-art svg.natural-scene{width:100%;height:auto;aspect-ratio:512/330;max-height:500px}#large-art image{animation:none}#collection .art{height:160px}.ghost svg.natural-scene{height:160px}@keyframes natural-drift{from{translate:0 0}to{translate:-1px -1px}}@keyframes ambient-light{from{background-position:0 0;opacity:.25}to{background-position:100% 0;opacity:.65}}@media(max-width:700px){.art{height:245px}}@media(prefers-reduced-motion:reduce){.art::after,.art image{animation:none!important}}
