@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;800;900&display=swap');
:root{font-family:Nunito,ui-rounded,system-ui,sans-serif;color:#233b57;background:white;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:#fff}button,a,summary{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:4px solid #ffb82b;outline-offset:5px}header{height:67px;max-width:1050px;padding:0 25px;margin:auto;display:flex;align-items:center}.brand{color:#2787d8;text-decoration:none;font-size:23px;font-weight:900;display:flex;align-items:center;gap:9px}.brand span{font-size:25px}main{max-width:1000px;margin:0 auto;padding:0 22px}.explorer{position:relative;padding-top:41px}.fullscreen{position:absolute;right:0;top:0;z-index:3;background:#f3f7fc;border:0;border-radius:13px;padding:10px 12px;color:#5a7693;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;min-height:42px}svg{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.fullscreen svg{width:18px;height:18px}.photo-button{display:block;width:100%;height:clamp(260px,51svh,550px);padding:0;margin:0;border:0;background:#fff;border-radius:20px;overflow:hidden;position:relative}.photo-button img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;border-radius:16px}.photo-button:focus-visible{outline-offset:0}h1{text-align:center;font-size:38px;line-height:1.2;font-weight:900;letter-spacing:-.5px;margin:18px 0 22px}.controls{display:grid;grid-template-columns:1fr 148px 1fr;align-items:center;gap:19px}.sound-button,.next-button{border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:17px;font-weight:900;transition:transform .12s;min-height:87px}.sound-button{grid-column:2;border-radius:25px;background:#3499ed;color:white;box-shadow:0 5px 0 #1d78c4;padding:12px 24px;min-width:148px}.sound-button svg{width:32px;height:32px}.next-button{grid-column:3;justify-self:start;border-radius:24px;background:#ffda62;color:#765200;box-shadow:0 5px 0 #e9b93c;padding:12px 20px;min-width:88px}.next-button svg{width:30px;height:30px}.sound-button:hover{background:#218ce4}.next-button:hover{background:#ffd345}.sound-button:active,.next-button:active{transform:translateY(4px);box-shadow:0 1px 0 #1d78c4}.sound-button.playing{background:#247fca}.sound-button.playing svg{animation:wiggle .65s ease-in-out infinite alternate}.status{font:600 12px/1.4 system-ui,sans-serif;color:#a54330;min-height:17px;margin:12px 0 0;text-align:center}.animal-picker{text-align:center;margin:15px auto 0;max-width:650px}.animal-picker summary{display:inline-block;cursor:pointer;padding:10px 15px;color:#7d8a9a;font-size:13px;border-radius:12px}.animal-picker summary:after{content:'⌄';margin-left:8px}.animal-picker[open] summary:after{content:'⌃'}.animal-picker>div{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding-top:8px}.animal-picker button{background:#f1f7fd;color:#3b719f;border:2px solid transparent;border-radius:13px;padding:11px 15px;min-height:45px;font-size:14px;font-weight:800}.animal-picker button[aria-pressed=true]{border-color:#3499ed;color:#247fca}footer{text-align:center;padding:18px 20px 25px}footer a{font:12px system-ui,sans-serif;color:#909ba6;text-decoration:none}footer a:hover{text-decoration:underline}.immersive-open{overflow:hidden}.explorer.immersive{position:fixed;inset:0;z-index:1000;width:100%;height:100dvh;background:white;display:flex;flex-direction:column;align-items:stretch;padding:55px max(18px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom));margin:0}.immersive .fullscreen{right:max(15px,env(safe-area-inset-right));top:max(10px,env(safe-area-inset-top));background:#f3f7fc}.immersive .photo-button{height:auto;min-height:0;flex:1;max-width:1450px;align-self:center}.immersive h1{flex-shrink:0;margin:12px 0 17px}.immersive .controls{flex-shrink:0}.immersive .status{flex-shrink:0;margin-bottom:0}.immersive .photo-button img{border-radius:12px}.source-page{max-width:850px;padding:15px 22px 45px}.source-page h1{text-align:left;font-size:32px}.source-page h2{font-size:22px;margin-bottom:4px}.source-page p,.source-page li{font:14px/1.7 system-ui,sans-serif}.source-page a{color:#2176b8}.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.source-card{border:1px solid #e6edf4;border-radius:16px;padding:14px}.source-card p{font-size:12px;margin:6px 0}.source-page li{margin-bottom:12px}.review-preview{width:100%;height:150px;object-fit:contain;background:#fff}.photo-button.loading img{opacity:.6}@keyframes wiggle{to{transform:rotate(-8deg) scale(1.08)}}@media(max-width:600px){header{height:58px;padding:0 18px}.brand{font-size:21px}.brand span{font-size:23px}main{padding:0 14px}.explorer{padding-top:42px}.photo-button{height:clamp(215px,44svh,430px);border-radius:16px}.photo-button img{border-radius:13px}h1{font-size:33px;margin:15px 0 21px}.controls{grid-template-columns:1fr 132px 1fr;gap:14px}.sound-button{min-width:132px;padding:12px 17px}.sound-button,.next-button{min-height:85px;font-size:16px;border-radius:23px}.next-button{min-width:76px;padding:12px 14px}.animal-picker{margin-top:8px}footer{padding-top:13px}.immersive h1{font-size:33px;margin:12px 0 19px}.immersive .sound-button,.immersive .next-button{min-height:87px}.immersive .status{min-height:15px;margin-top:10px}.source-grid{grid-template-columns:1fr}.source-page h1{font-size:30px}}@media(max-width:350px){.controls{grid-template-columns:1fr 120px 1fr;gap:10px}.sound-button{min-width:120px}.next-button{min-width:68px;padding:12px 9px}.brand{font-size:20px}}@media(max-height:520px) and (orientation:landscape){.explorer.immersive{padding:12px 180px 12px 12px}.immersive .photo-button{height:100%;flex:1}.immersive h1{position:absolute;right:12px;top:70px;width:155px;font-size:27px;margin:0}.immersive .controls{position:absolute;right:20px;bottom:25px;display:flex;flex-direction:column;gap:16px}.immersive .sound-button{min-width:135px;min-height:76px}.immersive .next-button{min-width:135px;min-height:70px;flex-direction:row;gap:10px}.immersive .status{position:absolute;right:12px;top:111px;width:155px;font-size:10px}.immersive .fullscreen{font-size:11px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.photo-frame{position:relative;height:clamp(260px,51svh,550px)}.photo-frame .photo-button{height:100%}.browse-arrow{position:absolute;top:calc(50% - 24px);width:48px;height:48px;border:2px solid #e6eef7;background:#fffffff2;border-radius:50%;color:#3a7db6;display:grid;place-items:center;box-shadow:0 2px 5px #203b5710}.browse-arrow svg{width:25px;height:25px}.browse-left{left:0}.browse-right{right:0}.browse-arrow:hover{background:#e9f5ff}.all-animals{grid-column:1;justify-self:end;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:87px;min-width:95px;padding:12px 14px;border-radius:24px;background:#b7edce;color:#246a47;box-shadow:0 5px 0 #8dceaa;font-size:15px;font-weight:900;text-decoration:none;white-space:nowrap}.all-animals svg{height:29px;width:29px;stroke-width:2.3}.all-animals:hover{background:#a8e8c3}.all-animals:active{transform:translateY(4px);box-shadow:0 1px 0 #8dceaa}.immersive .photo-frame{height:auto;min-height:0;flex:1;width:100%;max-width:1450px;align-self:center}.immersive .photo-frame .photo-button{height:100%}.overview{max-width:960px;margin:0 auto;padding:20px 20px 40px}.overview>h1{font-size:34px;margin:18px 0 26px}.overview-back{color:#6586a3;text-decoration:none;font-size:14px;padding:10px 0;display:inline-block}.overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.animal-tile{color:#233b57;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:13px;border:2px solid #e9f1f8;border-radius:20px;padding:14px;transition:border-color .15s}.animal-tile:hover{border-color:#3499ed}.animal-tile img{width:100%;height:155px;object-fit:contain;border-radius:12px;background:white}.animal-tile span{font-size:20px;font-weight:900}.source-card+.source-card{margin-top:0}.photo-credit{margin:10px 0 18px}.photo-credit+.photo-credit{padding-top:15px;border-top:1px solid #edf2f6}@media(max-width:600px){.photo-frame{height:clamp(215px,44svh,430px)}.browse-arrow{width:40px;height:40px;top:calc(50% - 20px)}.browse-arrow svg{width:21px;height:21px}.browse-left{left:2px}.browse-right{right:2px}.all-animals{min-width:80px;min-height:85px;padding:12px 9px;font-size:13px;border-radius:23px}.all-animals svg{width:28px;height:28px}.immersive .all-animals{min-height:87px}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.overview{padding:10px 14px 35px}.overview>h1{font-size:30px}.animal-tile{padding:10px;gap:10px;border-radius:17px}.animal-tile img{height:125px}.animal-tile span{font-size:18px}}@media(max-width:350px){.all-animals{min-width:70px;font-size:12px;padding:12px 7px}.controls{gap:10px}}@media(max-height:520px) and (orientation:landscape){.immersive .photo-frame{height:100%;flex:1}.immersive .controls{top:130px;bottom:auto;gap:11px}.immersive .sound-button,.immersive .next-button,.immersive .all-animals{min-width:135px;min-height:61px;flex-direction:row;font-size:14px}.immersive .all-animals{order:0}.immersive .sound-button{order:1}.immersive .next-button{order:2}.immersive .controls svg{width:25px;height:25px}}
@media(max-height:520px) and (orientation:landscape){.explorer.immersive{padding:42px 16px 8px}.immersive .photo-frame{height:auto;min-height:0;flex:1}.immersive h1{position:static;width:auto;font-size:24px;margin:6px 0 9px}.immersive .controls{position:static;display:grid;grid-template-columns:1fr 124px 1fr;gap:12px}.immersive .sound-button{min-width:124px}.immersive .all-animals,.immersive .next-button{min-width:104px}.immersive .sound-button,.immersive .all-animals,.immersive .next-button{min-height:56px;flex-direction:row;font-size:14px;padding:8px 12px;gap:8px}.immersive .status{position:static;width:auto;min-height:0;margin-top:8px}.immersive .controls svg{height:24px;width:24px}}
.animal-tile{text-align:center}

/* Keep the fullscreen control in its own row above the animal photo. */
.explorer{padding-top:0}.fullscreen{position:static;margin:0 0 10px auto}.explorer.immersive{padding-top:max(10px,env(safe-area-inset-top))}.immersive .fullscreen{position:static;align-self:flex-end;flex-shrink:0;margin-bottom:10px}@media(max-width:600px){.explorer{padding-top:0}.brand{font-size:18px}}

.explorer-header{width:100%;max-width:none;padding:0;justify-content:space-between;gap:8px}.explorer-header .brand{min-width:0;line-height:1.15}.explorer-header .fullscreen{margin:0;flex-shrink:0}.immersive .explorer-header{height:auto;min-height:42px;margin-bottom:10px;flex-shrink:0}.immersive .explorer-header .fullscreen{margin:0}@media(max-width:350px){.explorer-header .brand{font-size:16px}.explorer-header .brand span{font-size:20px}.explorer-header .fullscreen{padding:8px;font-size:11px}}

@media (max-width:600px) and (orientation:portrait){.photo-frame{height:clamp(240px,50svh,500px)}.immersive .photo-frame{height:auto}}

.newest-hint{text-align:center;color:#8a99a7;font-size:13px;font-weight:700;margin:-16px 0 15px}.newest-hint[hidden]{display:none}.immersive .newest-hint{flex-shrink:0;margin:-10px 0 12px}

.newest-hint{margin:14px 0 -12px}.immersive .newest-hint{margin:8px 0 -8px}

.brand-icon{width:30px;height:30px;flex:none}.brand{white-space:nowrap}@media(max-width:600px){.explorer-header .brand{font-size:clamp(13px,4vw,17px);gap:6px}.explorer-header .brand-icon{width:26px;height:26px}.explorer-header .fullscreen{padding:8px;font-size:11px}}
