.dinosaurs{--discover-accent:#367348;--discover-soft:#e8f2d8;--discover-border:#bdd3a7;background:radial-gradient(circle at 90% 3%,#dcefb0,transparent 31%),linear-gradient(180deg,#f5f1d2,#ecf7df)}.birds{--discover-accent:#287cad;--discover-soft:#e2f5ff;--discover-border:#b9ddeb;background:radial-gradient(circle at 10% 0,#fff7c9,transparent 28%),linear-gradient(180deg,#e5f7ff,#f3f7dc)}
.dinosaurs .discover-hero-art{background:linear-gradient(180deg,#f7c96a 0 52%,#6a9b4a 53% 72%,#315b37 73%)}.birds .discover-hero-art{background:linear-gradient(180deg,#a9e3ff 0 57%,#8bc96d 58% 75%,#4e874a 76%)}
.dino-shape{position:relative;width:118px;height:70px}.dino-shape:before{content:"";position:absolute;left:28px;top:22px;width:72px;height:38px;border-radius:55% 48% 42% 45%;background:var(--creature)}.dino-shape:after{content:"";position:absolute;left:4px;top:2px;width:55px;height:48px;border-radius:58% 42% 45% 55%;background:var(--creature);transform:rotate(-14deg);box-shadow:72px 27px 0 -12px var(--creature)}.dino-shape i,.dino-shape b{position:absolute;z-index:2;bottom:0;width:14px;height:27px;background:var(--creature);border-radius:4px}.dino-shape i{left:40px}.dino-shape b{left:78px}.dino-tyrannosaurus:after{width:60px;height:42px;border-radius:60% 30% 45% 55%;transform:rotate(0)}.dino-triceratops:after{clip-path:polygon(0 20%,72% 0,100% 28%,72% 45%,100% 60%,70% 62%,82% 100%,18% 82%)}.dino-stegosaurus:before{clip-path:polygon(0 35%,12% 0,25% 34%,39% 0,52% 35%,67% 0,78% 38%,100% 48%,95% 100%,5% 100%)}.dino-brachiosaurus:after,.dino-diplodocus:after{left:10px;top:-18px;width:25px;height:72px;border-radius:50% 50% 25% 25%;transform:rotate(-10deg)}.dino-ankylosaurus:before{border-radius:45% 60% 35% 25%;box-shadow:65px 11px 0 -15px var(--creature)}.dino-parasaurolophus:after{clip-path:polygon(0 15%,65% 15%,100% 0,75% 34%,100% 60%,35% 100%,5% 65%)}.dino-velociraptor,.dino-oviraptor,.dino-coelophysis{transform:scale(.82)}
.bird-shape{position:relative;width:105px;height:80px}.bird-shape:before{content:"";position:absolute;left:25px;top:25px;width:58px;height:43px;border-radius:58% 46% 50% 45%;background:var(--creature);box-shadow:inset -12px -8px 0 rgba(255,255,255,.15)}.bird-shape:after{content:"";position:absolute;left:58px;top:8px;width:32px;height:32px;border-radius:50%;background:var(--creature);box-shadow:22px 9px 0 -12px #e3a93d}.bird-shape i{position:absolute;z-index:2;left:36px;top:32px;width:38px;height:30px;border-radius:65% 25% 55% 30%;background:rgba(255,255,255,.35);transform:rotate(-10deg)}.bird-shape b{position:absolute;left:43px;top:64px;width:4px;height:15px;background:#8c5930;box-shadow:17px 0 #8c5930}.bird-kingfisher:after,.bird-white-stork:after{box-shadow:30px 9px 0 -11px #e07d25}.bird-white-stork b{height:27px;top:58px;background:#d43c32;box-shadow:17px 0 #d43c32}.bird-buzzard:after{box-shadow:19px 8px 0 -12px #54402e}.bird-woodpecker i{background:#f5f5f5}.bird-mallard:after{background:#277a60;box-shadow:19px 8px 0 -11px #e4ae35}.bird-lapwing:after{box-shadow:15px -8px 0 -13px #171717,19px 8px 0 -12px #333}.bird-oystercatcher:after{box-shadow:30px 8px 0 -11px #e44d32}
.group-sort-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(145px,220px);align-items:center;gap:12px;border:2px solid var(--discover-border);border-radius:16px;padding:8px;background:#fff;color:var(--discover-ink)}.group-sort-row select{border:2px solid var(--discover-border);border-radius:11px;padding:10px;background:#fff;font:inherit}.sort-subject{display:flex;align-items:center;gap:8px}.sort-subject .dino-shape,.sort-subject .bird-shape{transform:scale(.48);transform-origin:center;width:62px;margin:-18px}
.prehistoric-stage,.bird-world{position:absolute;inset:0;overflow:hidden}.prehistoric-stage{background:radial-gradient(circle at 76% 18%,#ffd86c 0 6%,transparent 6.5%),linear-gradient(180deg,#e6b567 0 48%,#648b45 49% 73%,#284933 74%)}.prehistoric-stage:before{content:"";position:absolute;inset:25% 0 22%;background:linear-gradient(140deg,transparent 0 34%,#3c6947 35% 52%,transparent 53%),linear-gradient(215deg,transparent 0 38%,#2f593d 39% 58%,transparent 59%)}.wall-dino,.wall-bird{position:absolute;z-index:3;transform:translate(-50%,-50%) scale(var(--scale));animation:creature-idle 3.8s ease-in-out infinite alternate;animation-delay:var(--delay)}.wall-dino strong,.wall-bird strong{display:block;margin-top:-3px;text-align:center;background:rgba(255,255,255,.88);color:#173f36;padding:3px 7px;border-radius:999px;font-size:.72rem}.bird-world{background:linear-gradient(180deg,#a6e1ff 0 55%,#9dce6d 56% 76%,#4a914a 77%)}.bird-world:before{content:"";position:absolute;left:5%;bottom:16%;width:28%;height:60%;background:#5f7d35;clip-path:polygon(44% 0,57% 0,61% 43%,100% 31%,100% 50%,62% 60%,67% 100%,31% 100%,38% 60%,0 45%,0 25%,40% 42%)}.bird-world:after{content:"";position:absolute;right:-5%;bottom:-13%;width:52%;height:40%;border-radius:50%;background:#65c7e4;box-shadow:inset 0 16px rgba(255,255,255,.25)}.wall-bird{animation-name:bird-flight;animation-duration:5.5s}.wall-bird[data-habitat="water"]{top:74%!important}.wall-bird[data-habitat="trees"]{left:22%!important}.wall-bird .bird-shape{transform:scale(.8)}
@keyframes creature-idle{to{margin-top:-8px;transform:translate(-50%,-50%) scale(var(--scale)) rotate(1.5deg)}}@keyframes bird-flight{to{margin-left:30px;margin-top:-14px;transform:translate(-50%,-50%) scale(var(--scale)) rotate(-2deg)}}@media(max-width:700px){.group-sort-row{grid-template-columns:1fr}.sort-subject .dino-shape,.sort-subject .bird-shape{margin:-12px}}@media(prefers-reduced-motion:reduce){.wall-dino,.wall-bird{animation:none!important}}
