.ear-tool{scroll-margin-top:calc(var(--header-height,4.5rem) + 1rem);--ear-gold:#e0a526;--ear-wrong:var(--color-danger,#b3261e);background:var(--color-surface,#fffaf2);color:var(--color-ink,#29150b);box-shadow:inset 0 0 0 1px var(--color-rule,#ded1bf);border-radius:1.25rem;gap:1.25rem;padding:1.25rem;display:grid;position:relative}.ear-tool h2{margin:0;font-size:1.5rem;line-height:1.2}.ear-note-line{color:var(--color-ink-muted,#6b5a4a);font-size:var(--text-sm,.875rem);margin:0}.ear-note-line a,.ear-results-news a{color:inherit;text-decoration:underline}.ear-note{line-height:1;display:inline-block;position:relative}.ear-note[data-komal]{text-underline-offset:.18em;text-decoration:underline;text-decoration-thickness:.08em}.ear-note[data-teevra]:before{content:"";background:currentColor;width:.08em;height:.3em;position:absolute;top:-.4em;left:50%;translate:-50%}.ear-note[data-register]:after{content:"";background:currentColor;border-radius:50%;width:.22em;height:.22em;position:absolute;left:50%;translate:-50%}.ear-note[data-register=lower]:after{bottom:-.45em}.ear-note[data-register=upper]:after{top:-.45em}.ear-note[data-teevra][data-register=upper]:before{top:-.75em}.ear-stars{color:var(--color-rule,#ded1bf);gap:.125rem;display:inline-flex}.ear-stars svg[data-on],.ear-totals svg[data-on]{color:var(--ear-gold);fill:var(--ear-gold)}.ear-stars svg{fill:currentColor}.ear-stars[data-animate] svg[data-on]{animation:.5s cubic-bezier(.3,1.6,.5,1) both ear-star-pop,1.2s ease-out both ear-star-glow;animation-delay:calc(.25s + var(--index) * .3s)}@keyframes ear-star-pop{0%{opacity:0;rotate:-40deg;scale:0}to{opacity:1;rotate:0deg;scale:1}}@keyframes ear-star-glow{0%,20%{filter:drop-shadow(0 0 #0000)}35%{filter:drop-shadow(0 0 .6rem color-mix(in srgb, var(--ear-gold) 80%, transparent))}to{filter:drop-shadow(0 0 #0000)}}.ear-screen{animation:.32s cubic-bezier(.2,.8,.2,1) both ear-rise}@keyframes ear-rise{0%{opacity:0;translate:0 .5rem}}.ear-map{grid-template-columns:minmax(0,1fr);gap:1rem;display:grid}.ear-map-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem 1rem;display:flex}.ear-totals{flex-wrap:wrap;gap:.5rem 1rem;margin:0;font-weight:600;display:flex}.ear-totals span{align-items:center;gap:.35rem;display:inline-flex}.ear-totals svg:not([data-on]){color:#d4622a}.ear-levels{grid-template-columns:repeat(auto-fill,minmax(8.5rem,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.ear-level{background:var(--color-surface-raised,#f1e7d9);width:100%;min-height:8rem;color:inherit;font:inherit;cursor:pointer;box-shadow:inset 0 0 0 1px var(--color-rule,#ded1bf);border:0;border-radius:1rem;justify-items:center;gap:.5rem;padding:.875rem .5rem;transition:translate .15s,box-shadow .15s;display:grid}.ear-level:hover:not(:disabled){box-shadow:inset 0 0 0 2px var(--tool-in-tune), 0 8px 18px -10px #0006;translate:0 -2px}.ear-level:focus-visible{outline:2px solid var(--color-focus,currentColor);outline-offset:2px}.ear-level[data-current]{box-shadow:inset 0 0 0 2px var(--tool-in-tune)}.ear-level:disabled{cursor:not-allowed;opacity:.55}.ear-levels li{animation:.35s cubic-bezier(.2,.8,.2,1) both ear-rise;animation-delay:calc(50ms + var(--index) * 30ms)}.ear-level[data-fresh]{animation:.9s cubic-bezier(.3,1.4,.5,1) .35s both ear-open}@keyframes ear-open{0%{box-shadow:inset 0 0 0 2px var(--ear-gold), 0 0 0 0 color-mix(in srgb, var(--ear-gold) 60%, transparent);scale:.92}45%{box-shadow:inset 0 0 0 2px var(--ear-gold), 0 0 0 .6rem transparent;scale:1.04}to{box-shadow:inset 0 0 0 2px var(--tool-in-tune), 0 0 0 .6rem transparent;scale:1}}.ear-level-number{font-size:1.75rem;font-weight:700;line-height:1}.ear-level-adds{flex-wrap:wrap;justify-content:center;gap:.3rem .5rem;min-height:1.4rem;padding-block:.3rem;font-weight:600;display:flex}.ear-lock{color:var(--color-ink-muted,#6b5a4a)}.ear-settings{border-top:1px solid var(--color-rule,#ded1bf);--pearl-focus:var(--color-focus,#754522);--pearl-off-line:var(--color-rule,#ded1bf);--pearl-on-fill:var(--color-button,#29150b);--pearl-on-ink:var(--color-button-ink,#fff6e9);--theme-hover:var(--color-surface-hover,#e9dcc9);--pearl-level-fill:linear-gradient(var(--tool-in-tune,#217346), var(--tool-in-tune,#217346));--pearl-level-ink:var(--color-surface,#fffaf2);--pearl-ink:var(--color-ink,#29150b);--pearl-muted:var(--color-ink-soft,#6a5b4e);--pearl-text:1rem;flex-wrap:wrap;align-items:end;gap:1rem 1.5rem;padding-top:1rem;display:flex}.ear-setting.ear-sound{width:min(13rem,100%)}.ear-sound .pearl-level{background:var(--color-surface-raised,#f1e7d9);width:100%;height:2.75rem}.ear-sound .pearl-level__mute{width:2.75rem}.ear-sound .pearl-level__mute:focus-visible{outline:2px solid var(--color-focus,currentColor);outline-offset:-3px}.ear-setting{grid-template-columns:minmax(0,1fr);gap:.35rem;min-width:min(8rem,100%);max-width:100%;display:grid}.ear-setting>*{min-width:0}.ear-setting-label{font-size:var(--text-sm,.875rem);font-weight:600}.ear-segmented{background:var(--color-surface-raised,#f1e7d9);max-width:100%;box-shadow:inset 0 0 0 1px var(--color-rule,#ded1bf);border-radius:.75rem;flex-wrap:wrap;padding:.2rem;display:inline-flex}.ear-segmented button{min-height:2.35rem;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.6rem;padding:0 .9rem}.ear-segmented button[aria-pressed=true]{background:var(--pearl-on-fill);color:var(--pearl-on-ink)}.ear-segmented button:focus-visible{outline:2px solid var(--color-focus,currentColor);outline-offset:2px}.ear-round{grid-template-columns:minmax(0,1fr);justify-items:center;gap:1rem;display:grid}.ear-tool:has(.ear-round[data-hot]){box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--ear-gold) 70%, transparent), 0 0 2.5rem -1rem color-mix(in srgb, var(--ear-gold) 70%, transparent);transition:box-shadow .6s}.ear-tool{transition:box-shadow .6s}.ear-round-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;width:100%;display:flex}.ear-round-title{margin-inline:auto;font-size:1.125rem;font-weight:700}.ear-score-wrap{justify-items:end;display:inline-grid;position:relative}.ear-score{font-variant-numeric:tabular-nums;text-align:right;min-width:4ch;font-size:1.25rem;font-weight:700}.ear-score[data-bump]{animation:.35s ease-out ear-bump}@keyframes ear-bump{40%{color:var(--tool-in-tune);scale:1.18}}.ear-gain{color:var(--tool-in-tune);font-variant-numeric:tabular-nums;pointer-events:none;font-weight:700;animation:.9s cubic-bezier(.2,.8,.2,1) both ear-gain;position:absolute;top:100%;right:0}@keyframes ear-gain{0%{opacity:0;translate:0 .25rem}20%{opacity:1}to{opacity:0;translate:0 -1.6rem}}.ear-link{min-height:2.75rem;color:inherit;font:inherit;text-underline-offset:.2em;cursor:pointer;background:0 0;border:0;align-items:center;gap:.35rem;padding:0 .5rem;text-decoration:underline;display:inline-flex}.ear-dots{flex-wrap:wrap;justify-content:center;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.ear-dots li{background:var(--color-surface-raised,#f1e7d9);width:.875rem;height:.875rem;box-shadow:inset 0 0 0 1px var(--color-rule,#ded1bf);border-radius:50%}.ear-dots li[data-state=now]{box-shadow:inset 0 0 0 2px var(--color-ink,#29150b);animation:1.6s ease-in-out infinite ear-now}@keyframes ear-now{50%{scale:1.25}}.ear-dots li[data-state=right]{background:var(--tool-in-tune);box-shadow:none;animation:.3s ease-out ear-dot}.ear-dots li[data-state=wrong]{background:var(--ear-wrong);box-shadow:none;animation:.3s ease-out ear-dot}@keyframes ear-dot{0%{scale:1.6}}.ear-prompt{text-align:center;place-content:center;gap:.25rem;min-height:3.5rem;display:grid}.ear-prompt p{margin:0;font-size:1.25rem;animation:.25s ease-out both ear-rise}.ear-listen{align-items:center;gap:.75rem;display:inline-flex}.ear-breath{background:var(--tool-in-tune);border-radius:50%;width:1rem;height:1rem;animation:2.4s ease-in-out infinite ear-breathe}@keyframes ear-breathe{0%,to{opacity:.45;scale:.7}50%{opacity:1;scale:1.15}}.ear-right{color:var(--tool-in-tune)}.ear-wrong{color:var(--ear-wrong)}.ear-streak{color:#d4622a;align-items:center;gap:.25rem;margin-left:.75rem;font-weight:700;animation:.35s ease-out ear-pop;display:inline-flex}.ear-streak[data-hot] svg{animation:1.2s ease-in-out infinite ear-flicker}@keyframes ear-flicker{0%,to{rotate:-4deg;scale:1}50%{rotate:4deg;scale:1.15}}.ear-replay{background:var(--color-surface-raised,#f1e7d9);min-height:2.75rem;color:inherit;font:inherit;cursor:pointer;box-shadow:inset 0 0 0 1px var(--color-rule,#ded1bf);border:0;border-radius:999px;align-items:center;gap:.5rem;padding:0 1.25rem;display:inline-flex;position:relative}.ear-replay:disabled{opacity:.5;cursor:default}.ear-ripple{border-radius:inherit;box-shadow:0 0 0 2px var(--tool-in-tune);pointer-events:none;animation:1.6s ease-out both ear-ripple;position:absolute;inset:0}@keyframes ear-ripple{0%{opacity:.8;scale:1}to{opacity:0;scale:1.15 1.5}}.ear-answers{grid-template-columns:repeat(auto-fit,minmax(max(3.25rem,16.6667% - .520833rem),1fr));gap:.625rem;width:min(100%,40rem);display:grid}.ear-answer{background:var(--pearl-on-fill);min-height:4.25rem;color:var(--pearl-on-ink);font:inherit;cursor:pointer;border:0;border-radius:1rem;place-items:center;font-size:1.5rem;font-weight:700;transition:translate 80ms,box-shadow 80ms,opacity .2s;display:grid;box-shadow:0 4px #00000040}.ear-answer:active:not(:disabled){translate:0 3px;box-shadow:0 1px #00000040}.ear-answer:focus-visible{outline:3px solid var(--color-focus,currentColor);outline-offset:2px}.ear-answer:disabled{cursor:default;opacity:.35}.ear-answer[data-new]:not([data-state]){box-shadow:0 4px 0 #00000040, inset 0 0 0 3px var(--ear-gold)}.ear-answer{position:relative}.ear-answer[data-state=right]{color:#fff;opacity:1;background:#217346;animation:.3s ease-out ear-pop}.ear-answer[data-state=right]:after{content:"";border-radius:inherit;pointer-events:none;animation:.55s ease-out both ear-burst;position:absolute;inset:0;box-shadow:0 0 0 3px #217346}@keyframes ear-burst{0%{opacity:.9;scale:1}to{opacity:0;scale:1.25 1.4}}.ear-answer[data-state=wrong]{color:#fff;opacity:1;background:#b3261e;animation:.35s ease-out ear-shake}@keyframes ear-pop{50%{scale:1.08}}@keyframes ear-shake{25%{translate:-6px}75%{translate:6px}}.ear-results{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:1rem;padding:.5rem 0;display:grid}.ear-results>:not(.ear-confetti){z-index:1;position:relative}.ear-results>:not(.ear-stars,.ear-confetti){animation:.4s cubic-bezier(.2,.8,.2,1) both ear-rise}.ear-results>h2{animation-delay:.15s}.ear-results>.ear-results-stats{animation-delay:.3s}.ear-results>.ear-results-news{animation-delay:.5s}.ear-results>.ear-results-actions{animation-delay:.7s}@property --ear-count{syntax:"<integer>";inherits:false;initial-value:0}.ear-count{--ear-count:var(--to);counter-reset:ear-count var(--ear-count);animation:1.1s cubic-bezier(.2,.7,.2,1) .35s both ear-count}.ear-count:after{content:counter(ear-count)}.ear-count-value{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@keyframes ear-count{0%{--ear-count:0}}.ear-confetti{border-radius:inherit;pointer-events:none;position:absolute;inset:0;overflow:hidden;container-type:size}.ear-confetti i{top:-1rem;left:var(--left);width:var(--width);height:calc(var(--width) * 1.6);background:var(--colour);opacity:0;animation:ear-fall var(--time) var(--delay) cubic-bezier(.25, .5, .45, 1) both;border-radius:1px;position:absolute}.ear-confetti i:nth-child(4n){height:var(--width);border-radius:50%}@keyframes ear-fall{0%{opacity:1;transform:rotateX(0)}80%{opacity:1}to{opacity:0;translate:var(--drift) calc(100cqh + 2rem);rotate:var(--spin);transform:rotateX(1080deg)}}.ear-results h2{font-size:2rem}.ear-results-stats{flex-wrap:wrap;justify-content:center;gap:1rem 2rem;margin:0;display:flex}.ear-results-stats div{gap:.15rem;display:grid}.ear-results-stats dt{font-size:var(--text-sm,.875rem);color:var(--color-ink-muted,#6b5a4a)}.ear-results-stats dd{font-variant-numeric:tabular-nums;margin:0;font-size:1.5rem;font-weight:700}.ear-results-news{gap:.4rem;margin:0;padding:0;list-style:none;display:grid}.ear-results-news li svg{vertical-align:-.15em;color:#d4622a;margin-right:.3rem}.ear-unlocked{background:color-mix(in srgb, var(--ear-gold) 22%, transparent);border-radius:.75rem;padding:.5rem 1rem;animation:.5s ease-out 1.2s both ear-pop}.ear-results-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:.75rem;display:flex}.ear-results-actions .story-button{font:inherit;cursor:pointer;align-items:center;gap:.4rem;display:inline-flex}@media (width<=600px){.ear-tool{padding:1rem}.ear-answers{grid-template-columns:repeat(auto-fit,minmax(max(3.25rem,25% - .46875rem),1fr))}.ear-levels{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.ear-tool *,.ear-tool :before,.ear-tool :after{transition:none!important;animation:none!important}.ear-confetti,.ear-gain,.ear-ripple{display:none}}
