.sounds-page{margin:0;background:var(--paper);color:var(--ink);font-family:Andika,sans-serif}.sounds-page [hidden]{display:none!important}.sounds-header{max-width:1260px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:18px 28px;gap:20px;border-bottom:1px solid currentColor}.sounds-header>a{font:700 25px var(--display);text-decoration:none;display:flex;align-items:center;min-height:64px;gap:20px;color:inherit}.sounds-main{max-width:1180px;margin:auto;padding:0 28px}.sounds-welcome{display:flex;align-items:center;justify-content:space-between;min-height:270px;gap:24px}.sounds-welcome>img{width:240px;height:240px;object-fit:contain}.sounds-page h1{font:600 clamp(34px,4vw,60px)/1.1 var(--display);letter-spacing:-.035em;margin:0 0 16px}.sounds-welcome p:last-child{font-size:21px}.sound-games{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.sound-games>button{position:relative;text-align:left;display:flex;flex-direction:column;background:transparent;color:inherit;border:0;border-top:3px solid var(--ink);border-radius:0;padding:0 6px 26px;cursor:pointer;font:inherit;transition:background .15s}.sound-games>button:hover{background:color-mix(in srgb,var(--soft) 25%,transparent)}.game-art{display:flex;align-items:center;justify-content:center;height:190px;width:100%}.game-art img{width:48%;height:170px;object-fit:contain}.game-art img:only-child{width:68%}.sound-games strong{font:600 30px var(--display);padding-right:34px}.sound-games>button>span:not(.game-art):not(.game-arrow){margin-top:10px;font-size:17px;max-width:90%}.game-arrow{position:absolute;right:8px;bottom:70px;font-size:30px}.sound-parent-note{font-size:16px;margin:35px 0 28px;max-width:650px}.sounds-design{position:relative;font-size:15px}.sounds-design summary{min-height:64px;display:flex;align-items:center;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.sounds-design>div{position:absolute;z-index:5;right:0;top:62px;padding:12px;background:var(--paper);border:2px solid var(--ink);display:flex;gap:8px;box-shadow:0 8px 20px #0002}.sounds-design button{min-width:64px;min-height:64px;font:inherit;border:2px solid transparent;background:var(--white);color:var(--ink);cursor:pointer}.sounds-design button[aria-pressed=true]{border-color:var(--ink)}
.sound-parent-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:22px 0 14px}.sound-parent-heading h1{font-size:34px;margin:0}.sound-parent-heading p{font-size:16px;margin:0}.game-field{min-height:540px;position:relative;border:2px solid color-mix(in srgb,var(--ink) 25%,transparent);border-radius:24px;background:var(--white);padding:14px 24px 22px;display:flex;align-items:center;flex-direction:column;isolation:isolate}.sound-toolbar{width:100%;display:flex;justify-content:space-between;position:relative;z-index:2;min-height:64px}.icon-button{display:grid;place-items:center;min-width:64px;min-height:64px;border:2px solid var(--ink);border-radius:50%;background:var(--paper);color:var(--ink);cursor:pointer;padding:12px}.icon-button svg{width:32px;height:32px;stroke:currentColor;stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round}.sounds-page button:focus-visible,.sounds-page a:focus-visible,.sounds-page summary:focus-visible{outline:4px solid var(--ink);outline-offset:5px}.sounds-page button:disabled{cursor:default;opacity:.65}#start-game{background:transparent;border:0;cursor:pointer;position:relative;width:310px;height:340px;max-width:100%;padding:0}#start-game>img{width:100%;height:100%;object-fit:contain}#start-symbol{position:absolute;bottom:15px;right:12px;display:grid;place-items:center;width:72px;height:72px;background:var(--bright);border:2px solid var(--ink);border-radius:50%;color:var(--ink)}#start-symbol svg{width:35px;height:35px;fill:currentColor}#eko-guide{position:relative;width:150px;height:145px;margin-top:-48px;pointer-events:none;flex-shrink:0}#eko-guide>img{width:100%;height:100%;object-fit:contain}.ear{position:absolute;top:51%;width:26%;height:34%;border-radius:50%;background:transparent;opacity:.6;transition:background .15s;mix-blend-mode:multiply}.ear-left{left:19%;transform:rotate(20deg)}.ear-right{right:19%;transform:rotate(-20deg)}.speaking .ear{background:var(--bright)}#eko-guide.hop{animation:eko-hop .4s ease-out}#eko-guide.cheer{animation:eko-cheer .65s ease-in-out}#sound-task{width:100%;display:flex;flex-direction:column;align-items:center;gap:18px;margin-top:8px}.picture-row{display:flex;justify-content:center;align-items:center;gap:20px;flex-wrap:wrap;width:100%}.picture{width:clamp(112px,17vw,180px);height:clamp(112px,17vw,180px);min-width:96px;min-height:96px;background:var(--paper);border:3px solid transparent;border-radius:24px;padding:10px;cursor:pointer;touch-action:manipulation;position:relative;color:var(--ink)}.picture img{width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}.picture:hover{border-color:color-mix(in srgb,var(--ink) 40%,transparent)}.picture[aria-pressed=true]{border-color:var(--ink);background:var(--soft)}.picture.correct{border-color:var(--ink);background:var(--bright)}.picture.correct::after{content:'';position:absolute;right:9px;top:9px;width:15px;height:9px;border-left:4px solid var(--ink);border-bottom:4px solid var(--ink);transform:rotate(-45deg)}.target-picture{background:transparent;width:120px;height:120px;border-radius:50%;border-color:color-mix(in srgb,var(--ink) 20%,transparent)}.nests{display:flex;gap:40px;justify-content:center;width:100%}.nest{width:150px;height:125px;background:var(--paper);border:3px solid var(--soft);border-radius:45%;padding:8px;cursor:pointer;position:relative;color:var(--ink)}.nest:last-child{border-style:dashed;border-color:var(--accent)}.nest img{width:100%;height:100%;object-fit:contain;pointer-events:none}.nest svg{position:absolute;width:34px;height:34px;left:calc(50% - 17px);top:4px;background:var(--white);border-radius:50%;padding:5px;stroke:currentColor;fill:none;stroke-width:2.5}.nest.drop-target{outline:4px solid var(--ink);outline-offset:4px}.sort-picture{touch-action:none}.picture.dragging{opacity:.55;transform:scale(1.05)}.beat-branch{width:min(500px,100%);height:120px;min-height:96px;background:transparent url("assets/images/sounds/branch.webp") center/100% 100% no-repeat;border:0;cursor:pointer;position:relative;display:flex;justify-content:center;align-items:center;gap:16px;color:white;padding:0 24px}.beat-branch svg{filter:drop-shadow(0 1px 1px #58351e)}.beat-stone{width:28px;height:28px;background:#fff3d6;border:2px solid #58351e;border-radius:50%;flex-shrink:0}.beat-branch svg{width:42px;height:42px;stroke:currentColor;fill:none;stroke-width:2}#sound-actions{display:flex;justify-content:center;gap:20px;margin-top:20px;min-height:64px}#next-task{background:var(--bright)}#audio-test-strip{position:fixed;bottom:0;left:0;right:0;background:#1f2a44;color:#fff;padding:6px 12px;font:14px Andika,sans-serif;z-index:20}.game-field.busy .picture,.game-field.busy .nest{cursor:progress}.sound-complete{height:190px;display:flex;align-items:center;justify-content:center}.sound-complete svg{width:100px;height:100px;stroke:var(--ink);fill:var(--bright);stroke-width:2}
@keyframes eko-hop{50%{transform:translateY(-25px) rotate(-6deg)}}@keyframes eko-cheer{30%{transform:translateY(-14px) rotate(8deg)}70%{transform:rotate(-8deg)}}
@media(max-width:700px){.sounds-main{padding:0 16px}.sounds-header{padding:8px 16px}.sounds-welcome{min-height:215px;gap:8px}.sounds-welcome>img{width:140px;height:180px}.sounds-welcome h1{font-size:36px}.sounds-welcome p:last-child{font-size:17px}.sound-games{grid-template-columns:1fr;gap:12px}.sound-games>button{padding:18px 46px 22px 134px;min-height:155px;justify-content:center}.game-art{position:absolute;left:0;top:10px;width:125px;height:125px}.game-art img{height:100px}.game-art img:only-child{width:100%}.sound-games strong{font-size:27px;padding:0}.sound-games>button>span:not(.game-art):not(.game-arrow){font-size:16px;max-width:100%}.game-arrow{bottom:60px}.sound-parent-heading{display:block;padding:18px 0 12px}.sound-parent-heading h1{font-size:30px;margin-bottom:6px}.game-field{padding:10px 8px 18px;min-height:515px;border-radius:18px}.picture-row{gap:6px}.picture{width:100px;height:110px;padding:5px;border-radius:18px}.target-picture{width:104px;height:104px}.nests{gap:22px}.nest{width:128px;height:110px}#sound-task{gap:14px}#eko-guide{width:125px;height:125px;margin-top:-40px}.sound-parent-note{font-size:14px;margin-top:20px}.beat-branch{width:92%}.sounds-header>a{font-size:23px}#sound-actions{margin-top:16px}}
@media(max-height:700px) and (min-width:701px){.sounds-header{padding:4px 24px}.sound-parent-heading{padding:12px 0}.game-field{min-height:440px}#eko-guide{height:110px;width:115px}.picture{width:135px;height:135px}.target-picture{width:96px;height:96px}#sound-task{gap:8px}#sound-actions{margin-top:12px}.sound-parent-note{margin:16px 0}.sounds-welcome{min-height:220px}.sounds-welcome>img{width:200px;height:200px}}
@media(prefers-reduced-motion:reduce){.sounds-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

html[data-layout] body.sounds-page{background:var(--paper)}html[data-layout] main.sounds-main{max-width:1180px;margin:auto;padding:0 28px;perspective:none}@media(max-width:700px){html[data-layout] main.sounds-main{padding:0 16px}}

.ear{top:69%;height:25%;width:24%}.ear-left{left:16%}.ear-right{right:16%}#sound-actions:empty{display:none!important}.sounds-page .sounds-header{border-color:color-mix(in srgb,var(--ink) 35%,transparent)}

#audio-test-strip{position:static;pointer-events:none;min-height:32px}html:has(.sounds-page){scroll-padding-bottom:40px}

.sounds-header>a svg,.game-arrow svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* The rhyme uses the same felt artwork and touch controls as the listening games. */
@media(min-width:701px){.sound-games{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){.sound-games{grid-template-columns:repeat(4,minmax(0,1fr))}.sound-games strong{font-size:clamp(24px,2.4vw,30px)}}
.game-field[data-kind="verse"]{overflow:hidden;background:var(--paper);min-height:clamp(340px,50vh,530px)}
.game-field[data-kind="verse"] #sound-task{margin:0;flex:1;justify-content:flex-end}
.verse-scene{position:relative;width:min(100%,740px);height:clamp(215px,32vh,330px);background:url("assets/images/woods.webp") center bottom/contain no-repeat}
.verse-picture{position:absolute;height:76%;width:40%;object-fit:contain;bottom:3%;left:31%}
.verse-picture:last-child{height:74%;bottom:14%;left:32%;filter:drop-shadow(0 2px 2px #fff)}
#verse-replays{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:16px 0}
#verse-replays button{font:700 17px Andika,sans-serif;min-height:64px;border:2px solid var(--ink);color:var(--ink);background:var(--paper);border-radius:32px;padding:8px 22px;cursor:pointer}
#verse-replays button:last-child{background:var(--bright)}
@media(max-width:520px){#verse-replays{gap:8px}#verse-replays button{font-size:15px;padding:8px 12px}.verse-picture{height:65%;bottom:2%}}
