@font-face{font-family:Nunito;src:url('assets/nunito-800.ttf');font-weight:800}@font-face{font-family:Nunito;src:url('assets/nunito-400.ttf');font-weight:400}*{box-sizing:border-box}body{margin:0;background:#edfacd;color:#213d38;font:400 1rem/1.55 Nunito,system-ui}button,a{ -webkit-tap-highlight-color:transparent}button{font:800 1rem Nunito;color:#213d38;border:2px solid #213d38;border-radius:18px;background:#fff9e9;padding:11px 18px;cursor:pointer;box-shadow:0 3px 0 #213d38}button:hover{background:#ddf69b}button:active{transform:translateY(2px);box-shadow:0 1px 0 #213d38}button:focus-visible,a:focus-visible,summary:focus-visible{outline:4px solid #ee6590;outline-offset:4px}header{max-width:1220px;margin:auto;padding:24px 30px;display:flex;align-items:center;justify-content:space-between;gap:15px}.brand{font-weight:800;font-size:1.7rem;letter-spacing:-1px;text-decoration:none;color:inherit}.brand span{font-size:.8rem;letter-spacing:2px;background:#f9a2b2;border-radius:10px;padding:6px;vertical-align:middle}.header-actions{display:flex;gap:12px}#count{background:#badd80;border-radius:8px;padding:2px 7px;margin-left:6px}main{max-width:1160px;margin:auto;padding:0 24px 35px}.heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:8px 0 22px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:.8rem;font-weight:800;margin:0 0 5px}h1{font-size:clamp(2rem,4vw,3.2rem);line-height:1.1;margin:0;font-weight:800;letter-spacing:-1.5px}h2{font-size:1.8rem;line-height:1.2;margin:8px 0 14px}h3{font-size:1.3rem;margin:8px 0}.world{position:relative;min-height:430px;border-radius:38px;background:#b9ecd9 url('assets/dig-world.webp') center/cover;border:3px solid #fff9e9;overflow:hidden;box-shadow:0 9px 0 #b3cf7a}.welcome{margin:25px;width:max-content;max-width:calc(100% - 50px);padding:18px 24px;background:#fff9e9ed;border-radius:25px;box-shadow:0 4px 0 #bdc58c}.welcome p{margin:0}.spots{position:absolute;bottom:66px;left:30%;right:8%;display:flex;justify-content:space-between;gap:12px}.spot{background:#ffe4b9;border-color:#895e50;box-shadow:0 6px 0 #895e50;min-width:110px;transform:rotate(-5deg)}.spot:nth-child(2){transform:rotate(5deg) translateY(-30px)}.spot span{display:block;font-size:2rem;color:#946b56;line-height:1.3}.spot.done{background:#d7edac}.world-note{position:absolute;bottom:12px;left:0;right:0;text-align:center;font-size:.9rem;background:#fff9e9db;padding:8px}.guide{display:flex;align-items:center;gap:24px;margin:30px 0 0;background:#fff9e9;border-radius:28px;padding:14px 24px}.guide img{width:95px;height:95px;object-fit:cover;object-position:50% 20%;border-radius:22px}.guide p:last-child{margin:0}dialog{width:min(610px,calc(100% - 24px));max-height:92dvh;border:3px solid #213d38;border-radius:30px;padding:24px;background:#fff9e9;color:#213d38}dialog::backdrop{background:#183c3bc9;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.close{padding:4px 11px;border:0;box-shadow:none;background:transparent;font-size:1.4rem}.excavation{position:relative;width:100%;aspect-ratio:3/2;background:#dfc2ac;border-radius:24px;overflow:hidden;margin:15px 0}.excavation img{width:100%;height:100%;object-fit:contain;padding:16px}.excavation canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.brush-controls{display:flex;gap:18px;align-items:center}.meter{flex:1;font-size:.85rem}.meter label{display:block}progress{accent-color:#648e4b;width:75%;height:14px}#percentage{padding-left:8px}#answers{display:flex;gap:10px;flex-wrap:wrap}#answers button{flex:1;min-width:125px}#answers button:disabled{opacity:.55;cursor:default}#feedback{font-weight:800;color:#6852a0}#collect,#back{background:#cbec8e;width:100%;margin:10px 0}#entries{display:grid;gap:14px;margin:18px 0}.entry{padding:15px;background:#eaf1d4;border-radius:20px;display:grid;grid-template-columns:85px 1fr;gap:15px;align-items:center}.entry img{width:85px;height:85px;object-fit:contain}.entry p{margin:0}.entry h3{margin:0 0 5px}.empty{background:#e9e1d4;color:#716958}details{margin-top:12px;font-size:.9rem}summary{cursor:pointer;font-weight:800}a{color:#406550}#restart{box-shadow:none;background:transparent;font-size:.9rem}[hidden]{display:none!important}@media(max-width:600px){header{padding:16px;align-items:flex-start}.brand{font-size:1.3rem}.header-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}.header-actions button{font-size:.8rem;padding:8px 10px}main{padding:0 14px 25px}.heading{align-items:flex-start}.eyebrow{font-size:.75rem;letter-spacing:1px}.world{min-height:440px;background-position:65% center;border-radius:28px}.welcome{margin:18px;padding:16px;max-width:calc(100% - 36px)}.welcome h2{font-size:1.55rem}.spots{left:18px;right:18px;bottom:75px;gap:8px}.spot{min-width:0;flex:1;padding:10px 8px;font-size:.8rem}.guide{gap:14px;padding:14px}.guide img{width:70px;height:85px;flex-shrink:0}dialog{padding:18px}.brush-controls{gap:10px}#brush-button{font-size:.85rem;padding:10px}.meter{font-size:.8rem}.entry{grid-template-columns:65px 1fr}.entry img{width:65px;height:65px}}@media(prefers-reduced-motion:no-preference){dialog[open]{animation:arrive .2s ease-out}@keyframes arrive{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}}

@font-face{font-family:"Super Joyful";src:url("assets/super-joyful.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}h1{font-family:"Super Joyful",Nunito,system-ui;font-weight:400;letter-spacing:0;line-height:1.25;font-size:clamp(1.8rem,4vw,3rem);overflow-wrap:normal}

.welcome h2,.spot,#sound,#journal-button,#restart{font-family:"Super Joyful",Nunito,system-ui;font-weight:400;letter-spacing:0;line-height:1.35}.brand{display:block;flex-shrink:0;line-height:0}.brand img{display:block;width:170px;height:auto;border-radius:12px}.heading>div{min-width:0}#restart{flex-shrink:0}.welcome h2{font-size:1.8rem}.spot{font-size:1rem}.spot span{font-family:Nunito,system-ui;font-weight:800}@media(max-width:600px){.brand img{width:115px}.header-actions{max-width:calc(100% - 127px)}#sound,#journal-button{font-size:.875rem}.welcome h2{font-size:1.55rem}.spot{font-size:.875rem}#restart{font-size:.875rem}}@media(max-width:360px){.heading{flex-wrap:wrap}.brand img{width:95px}.header-actions{max-width:calc(100% - 107px)}}

.guide img{object-fit:contain;object-position:center;border-radius:0}.brand img{border-radius:0}
.levels{display:flex;gap:12px;margin-bottom:22px;flex-wrap:wrap}.levels button{flex:1;font-family:"Super Joyful",Nunito,system-ui;font-weight:400;line-height:1.4;min-width:170px;background:#fff9e9}.levels button[aria-pressed=true]{background:#bee881;border-color:#315a43;box-shadow:0 4px 0 #315a43}.activity{background:#fff9e9;border:3px solid #d2eaa7;border-radius:32px;padding:26px;min-height:420px}.activity h2,.activity h3,.activity button,#continue-level{font-family:"Super Joyful",Nunito,system-ui;font-weight:400;letter-spacing:0;line-height:1.4}.dinosaur-picture{width:100%;height:240px;object-fit:contain;display:block}.clue{background:#e8f1d2;border-radius:18px;padding:15px}.dino-choices{display:flex;gap:12px;flex-wrap:wrap}.dino-choices button{flex:1;min-width:140px}.dino-choices button:disabled{opacity:.5;cursor:default;box-shadow:none}#dino-feedback,#time-feedback{font-weight:800}#dino-next{background:#cbec8e}.time-direction{font-size:.875rem}#creature-bank{display:flex;gap:12px;margin:20px 0;flex-wrap:wrap}.creature-card{flex:1;min-width:135px;background:#e9dff4;cursor:grab}.creature-card img{width:100%;height:110px;object-fit:contain;pointer-events:none}.creature-card span{display:block;overflow-wrap:anywhere}.creature-card[aria-pressed=true]{outline:4px solid #e25a8b;outline-offset:2px}#periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.period{padding:16px 10px;min-height:235px;border-style:dashed;display:flex;align-items:center;flex-direction:column;justify-content:flex-start}.period h3{margin:0}.period p{font:400 .875rem/1.4 Nunito,system-ui;margin:8px 0 15px}.period-0{background:#ffdcb5}.period-1{background:#dbedb2}.period-2{background:#c3e9eb}.period img{height:110px;width:100%;object-fit:contain}.period span{font-size:.875rem}.drop-label{margin:auto 0;color:#405b50}.period:hover{border-style:solid}#continue-level{background:#e8d8f7;width:100%;margin:8px 0}@media(max-width:600px){.levels{gap:8px}.levels button{min-width:0;flex-basis:100%;font-size:.95rem;padding:10px}.activity{padding:18px}.dinosaur-picture{height:190px}#periods{grid-template-columns:1fr}.period{min-height:165px}.period img{height:90px}.creature-card{min-width:95px;padding:10px 7px;font-size:.875rem}.creature-card img{height:85px}.activity h2{font-size:1.5rem}}
.meet-dinos{margin-top:30px;padding-top:20px;border-top:2px solid #d2eaa7}#dino-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dino-gallery-card{padding:12px;background:#e8f1d2;min-width:0}.dino-gallery-card img{width:100%;height:120px;object-fit:contain}.dino-gallery-card span{display:block;font-size:.9rem;overflow-wrap:anywhere}#dino-profile h2,#dino-profile h3{font-family:"Super Joyful",Nunito,system-ui;font-weight:400;letter-spacing:0;line-height:1.4}.dino-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dino-facts>div{background:#e8f1d2;border-radius:16px;padding:12px}.dino-facts dt{font-size:.875rem;font-weight:800}.dino-facts dd{margin:5px 0 0}.profile-note{font-size:.875rem;color:#4e6658}@media(max-width:600px){#dino-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dino-gallery-card img{height:105px}.dino-facts{grid-template-columns:1fr}}

#creature-bank{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.creature-card{min-width:0;touch-action:none}.creature-card:active{cursor:grabbing}#timeline-scroll{overflow-x:auto;padding:12px 8px 25px;border-radius:20px;background:#eee9d6;scrollbar-color:#527c60 #eee9d6}.timeline-arrow{width:2560px;display:flex;align-items:center;gap:14px;color:#365841;font-weight:800}.timeline-arrow span{flex:1;text-align:right;background:linear-gradient(#527c60,#527c60) left center/100% 3px no-repeat;font-size:2rem}#periods{display:grid;grid-template-columns:repeat(12,200px);gap:14px;width:max-content;margin-top:8px}.time-stop{position:relative;border-top:6px solid #527c60;padding-top:20px}.time-stop:before{content:'';position:absolute;top:-12px;left:calc(50% - 9px);width:18px;height:18px;border:3px solid #527c60;border-radius:50%;background:#fff9e9}.time-stop .period{width:100%;min-height:170px;background:#e1efc2}.time-stop:nth-child(n+6) .period{background:#ffdfb7}.time-stop:nth-child(n+10) .period{background:#d1e8f1}.time-stop .period h3{font-size:1rem}.time-stop .period p{font-size:.8rem}.placed-creature{display:block;width:100%;margin-top:10px;background:#fff9e9}.placed-creature img{width:100%;height:80px;object-fit:contain}.placed-creature span{display:block;font-size:.85rem}.drop-hover .period{outline:4px solid #e25a8b;border-style:solid}.drag-ghost{position:fixed;z-index:10000;transform:translate(-50%,-50%);width:140px;pointer-events:none;opacity:.85;box-shadow:0 8px 20px #263e4933}@media(max-width:600px){#creature-bank{grid-template-columns:repeat(2,minmax(0,1fr))}#periods{grid-template-columns:repeat(12,170px)}.timeline-arrow{width:2200px}.time-stop .period{min-height:170px}.creature-card{min-width:0}}

.world{min-height:640px}.spots{position:relative;inset:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 22px;margin:28px 8% 70px 30%}.spot{min-width:0;min-height:82px;transform:rotate(-3deg)}.spot:nth-child(2){transform:rotate(3deg)}.spot:nth-child(3n){transform:rotate(2deg)}.spot span{font-size:1.65rem}@media(max-width:600px){.world{min-height:650px}.spots{margin:28px 20px 68px;gap:16px 12px}.spot{font-size:.875rem;padding:8px 5px;min-height:88px}.world-note{font-size:.875rem}}

.success-banner{display:flex;align-items:center;gap:16px;background:#d5f79b;border:3px solid #46762a;border-radius:22px;margin:15px 0;padding:16px;color:#234b22;box-shadow:0 5px 0 #96c669}.success-banner>span{display:grid;place-items:center;flex-shrink:0;width:58px;height:58px;background:#46762a;color:white;border-radius:50%;font:800 2.5rem/1 Nunito,system-ui}.success-banner strong{font-family:"Super Joyful",Nunito,system-ui;font-weight:400;font-size:1.4rem}.success-banner p{margin:3px 0 0;font-size:1rem}@media(prefers-reduced-motion:no-preference){.success-banner{animation:success-pop .5s ease-out}@keyframes success-pop{0%{transform:scale(.8);opacity:0}60%{transform:scale(1.04);opacity:1}100%{transform:scale(1)}}}

.audio-status{max-width:1100px;margin:0 auto 15px;padding:10px 16px;border-radius:14px;background:#ffe4b9;font-weight:800}.audio-status:empty{display:none}.header-actions{flex-wrap:wrap;justify-content:flex-end}#sound-test{font-family:"Super Joyful",Nunito,system-ui;font-weight:400;font-size:.875rem}
