.term-foundry{--tf-walnut-950:#140d08;--tf-walnut-900:#1f140c;--tf-walnut-800:#2d1d11;--tf-walnut-700:#452c18;--tf-cream:#f6ecd6;--tf-cream-dim:#dccaa6;--tf-brass:#f0b43c;--tf-brass-light:#ffe3a1;--tf-brass-deep:#a8741f;--tf-lacquer:#d8553f;--tf-blue:#2f7fd0;--tf-sage:#5f9f80;--tf-night:#0f1422;overflow:hidden}.term-foundry .term-bench{display:grid;grid-template-columns:minmax(180px,auto) minmax(0,1fr);gap:.7rem .9rem;align-items:stretch;margin:.4rem 0 0}.term-foundry .term-bench>.puzzle-journey{grid-column:1/-1}.music-lab-page .term-foundry .term-bench>.music-toolbar{margin:0;padding:.7rem .85rem;align-items:center}.music-lab-page .term-foundry .term-bench>.music-stat-strip{margin:0;grid-template-columns:repeat(6,minmax(0,1fr));gap:.35rem;padding:.35rem}.music-lab-page .term-foundry .term-bench>.music-stat-strip>div{padding:.45rem .3rem}.music-lab-page .term-foundry .term-bench>.music-stat-strip strong{font-size:clamp(1.2rem,2.2vw,1.55rem);line-height:1.05}.music-lab-page .term-foundry .term-bench>.music-stat-strip span{font-size:.6rem}.puzzle-experience.term-foundry .puzzle-journey.term-shelf{position:relative;gap:clamp(.35rem,1.5vw,.8rem);margin:0;padding:.7rem clamp(.6rem,2vw,1.2rem) 14px;border-radius:16px 16px 10px 10px;background:linear-gradient(180deg,rgba(69,44,24,.06),rgba(69,44,24,.14))}.term-foundry .term-shelf:after{content:"";position:absolute;left:0;right:0;bottom:0;height:14px;border-radius:3px 3px 10px 10px;background:linear-gradient(180deg,#8a5a2f,#5d3a1b 55%,#3b2410);box-shadow:0 6px 12px rgba(45,29,17,.25),inset 0 1px 0 rgba(255,222,170,.45)}.puzzle-experience.term-foundry .puzzle-journey.term-shelf>span{position:relative;z-index:1;display:grid;grid-template-rows:auto 1fr;justify-items:center;align-content:start;gap:.3rem;height:86px;padding:.5rem .25rem .4rem;border:1px dashed rgba(143,101,46,.45);border-bottom:0;border-radius:7px 7px 2px 2px;background:rgba(255,250,238,.5);color:#8a6b45;overflow:hidden}.puzzle-experience.term-foundry .puzzle-journey.term-shelf b{width:30px;height:30px;border:1px dashed rgba(143,101,46,.5);border-radius:50%;background:transparent;color:#a88657;font-size:1rem;box-shadow:none;transform:none}.puzzle-experience.term-foundry .puzzle-journey.term-shelf small{align-self:end;max-width:100%;font:800 .64rem/1.15 var(--font-mono,ui-monospace,monospace);letter-spacing:.04em;text-transform:uppercase;overflow-wrap:anywhere}.puzzle-experience.term-foundry .puzzle-journey.term-shelf .is-current{border:1px solid var(--tf-brass);background:linear-gradient(180deg,#fff7df,#f7e2b0);color:#6b4516;box-shadow:0 0 0 3px rgba(240,180,60,.22),0 0 22px rgba(240,180,60,.35);animation:term-slot-wait 2.4s ease-in-out infinite}.puzzle-experience.term-foundry .puzzle-journey.term-shelf .is-current b{border:1px solid var(--tf-brass-deep);background:var(--tf-walnut-800);color:var(--tf-brass-light);box-shadow:0 0 12px rgba(240,180,60,.55);transform:none}.puzzle-experience.term-foundry .puzzle-journey.term-shelf .is-collected,.puzzle-experience.term-foundry .puzzle-journey.term-shelf .is-revisit{border:1px solid rgba(0,0,0,.35);border-bottom:0;color:var(--tf-cream);background:linear-gradient(180deg,transparent 12px,rgba(240,180,60,.85) 12px 14px,transparent 14px 17px,rgba(240,180,60,.6) 17px 18px,transparent 18px),linear-gradient(90deg,rgba(0,0,0,.28),rgba(255,255,255,.12) 30%,rgba(0,0,0,.06) 70%,rgba(0,0,0,.32)),var(--spine,#8f3b2c);box-shadow:inset 0 -16px 0 rgba(0,0,0,.18),0 4px 8px rgba(29,19,11,.3);animation:term-shelve .6s cubic-bezier(.2,.9,.3,1.2) both}.puzzle-experience.term-foundry .puzzle-journey.term-shelf .is-collected b{margin-top:12px;width:28px;height:28px;border:1px solid rgba(255,227,161,.8);background:radial-gradient(circle at 35% 30%,#fff1c2,var(--tf-brass) 55%,var(--tf-brass-deep));color:#4a2b08;box-shadow:0 0 10px rgba(240,180,60,.6)}.puzzle-experience.term-foundry .puzzle-journey.term-shelf .is-revisit{filter:saturate(.35) brightness(.92)}.puzzle-experience.term-foundry .puzzle-journey.term-shelf .is-revisit b{margin-top:12px;border:1px solid rgba(255,255,255,.45);color:var(--tf-cream)}.puzzle-experience.term-foundry .ink-forge.term-typecase{position:relative;margin-top:1rem;padding:clamp(1rem,3.5vw,1.8rem);overflow:hidden;border:1px solid #6b4520;border-radius:22px;color:var(--tf-cream);background:radial-gradient(ellipse at 50% 118%,rgba(216,85,63,calc(.15 + var(--heat, 0) * .4)),transparent 58%),linear-gradient(90deg,rgba(0,0,0,.22) 0 2px,transparent 2px) 0 0 /64px 100%,linear-gradient(0deg,rgba(0,0,0,.18) 0 2px,transparent 2px) 0 0 /100% 56px,linear-gradient(160deg,var(--tf-walnut-700),var(--tf-walnut-900) 60%,var(--tf-walnut-950));box-shadow:inset 0 1px 0 rgba(255,214,160,.18),inset 0 0 70px rgba(0,0,0,.45),0 20px 44px rgba(45,29,17,.28)}.term-foundry .ink-forge>*{position:relative;z-index:1}.term-foundry .ink-forge>.term-furnace{position:absolute;inset:auto 0 0;z-index:0;height:70%;pointer-events:none;opacity:calc(.35 + var(--heat, 0) * .65)}.term-foundry .term-furnace i{position:absolute;bottom:-8px;border-radius:50%;background:#ffc46b;box-shadow:0 0 8px 2px rgba(255,150,60,.75);opacity:0;animation:term-ember linear infinite}.term-foundry .ink-forge>.ink-staff{position:absolute;inset:42% 0 auto;z-index:0;height:60px;opacity:.6;background:repeating-linear-gradient(180deg,transparent 0 10px,rgba(255,214,160,.07) 11px 12px)}.puzzle-experience.term-foundry .ink-forge .puzzle-mission{margin-bottom:1rem}.puzzle-experience.term-foundry .ink-forge .puzzle-mission span{border-color:rgba(240,180,60,.3);background:rgba(0,0,0,.22);color:var(--tf-cream-dim)}.puzzle-experience.term-foundry .ink-forge .puzzle-mission .is-active{border-color:var(--tf-brass);background:var(--tf-brass);color:#2b1705}.puzzle-experience.term-foundry .ink-forge .puzzle-mission .is-done{border-color:rgba(95,159,128,.7);background:rgba(95,159,128,.22);color:#cdeedd}.term-foundry .ink-category{margin:0 0 .5rem;color:#8a5b1e;font-size:.72rem;font-weight:900;letter-spacing:.16em}.term-foundry .ink-forge .ink-category{color:var(--tf-brass)}.term-foundry .ink-clue{margin:0 0 1rem;color:var(--tf-cream);font:500 clamp(1.1rem,2.6vw,1.45rem)/1.35 Georgia,serif}.term-foundry .ink-clue strong{display:block;margin-bottom:.2rem;color:var(--tf-brass);font:800 .66rem var(--font-mono,ui-monospace,monospace);letter-spacing:.14em;text-transform:uppercase}.term-foundry .term-forge-hint{margin:0 0 .5rem;color:var(--tf-cream-dim);font-size:.78rem}.term-foundry .term-stick{position:relative;margin:0 auto;max-width:880px;padding:.9rem clamp(.5rem,2vw,1rem) 1rem;border-radius:12px;background:linear-gradient(180deg,#5d5a54,#3d3b37 40%,#2b2927);box-shadow:inset 0 2px 0 rgba(255,255,255,.16),inset 0 -3px 0 rgba(0,0,0,.4),0 12px 24px rgba(0,0,0,.35)}.term-foundry .term-stick:before{content:"";position:absolute;left:10px;right:10px;bottom:6px;height:3px;border-radius:3px;background:rgba(0,0,0,.45)}.term-foundry .term-stick:after{content:"";position:absolute;right:-6px;top:50%;width:14px;height:34px;border-radius:4px;background:linear-gradient(90deg,var(--tf-brass-deep),var(--tf-brass),var(--tf-brass-deep));box-shadow:0 2px 4px rgba(0,0,0,.4);transform:translateY(-50%)}.term-foundry .ink-tiles{display:flex;flex-wrap:wrap;gap:clamp(.3rem,1.1vw,.55rem);justify-content:center;min-height:60px;margin:0}.term-foundry .ink-tiles button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:clamp(44px,8.4vw,54px);height:clamp(50px,11vw,62px);padding:0 0 4px;border:1px solid #5e3a19;border-radius:6px;color:#2a1708;cursor:grab;font:900 clamp(1.15rem,4.4vw,1.7rem) Georgia,serif;text-shadow:0 1px 0 rgba(255,240,205,.55);touch-action:manipulation;background:repeating-linear-gradient(95deg,rgba(90,52,20,0) 0 5px,rgba(90,52,20,.1) 5px 6px,rgba(90,52,20,0) 6px 11px),linear-gradient(180deg,#f0d2a0,#d3a468 55%,#b27d42);box-shadow:inset 0 1px 0 rgba(255,246,220,.6),inset 0 -3px 0 rgba(0,0,0,.15),0 5px 0 #4a2c14,0 10px 16px rgba(0,0,0,.45);transition:transform .14s cubic-bezier(.2,.9,.3,1.3),box-shadow .14s ease,background .2s ease}.term-foundry .ink-tiles button:after{content:"";position:absolute;left:22%;right:22%;bottom:5px;height:3px;border-radius:3px;background:rgba(60,33,12,.35);box-shadow:0 1px 0 rgba(255,240,205,.35)}.term-foundry .ink-tiles button:hover:not(:disabled){transform:translateY(-3px)}.term-foundry .ink-tiles button:focus-visible{outline:3px solid var(--tf-brass-light);outline-offset:3px}.term-foundry .ink-tiles button:active:not(:disabled){cursor:grabbing}.term-foundry .ink-tiles button.is-selected{z-index:2;color:#3a0f05;text-shadow:0 0 6px rgba(255,244,200,.9);background:linear-gradient(180deg,#fff1bf,#ffb453 50%,#e0643c);border-color:#9c3a17;box-shadow:0 0 0 3px rgba(255,196,107,.45),0 0 26px 6px rgba(255,140,50,.55),0 9px 0 #7a2c0f;transform:translateY(-7px) rotate(-3deg);animation:term-hot 1.1s ease-in-out infinite alternate}.term-foundry .ink-tiles button.is-clack-a{animation:term-clack-a .32s cubic-bezier(.2,.9,.3,1.4)}.term-foundry .ink-tiles button.is-clack-b{animation:term-clack-b .32s cubic-bezier(.2,.9,.3,1.4)}.term-foundry .ink-tiles button:disabled{cursor:default;opacity:1}.puzzle-experience.term-foundry .is-forged .ink-tiles button{color:#3b2204;border-color:#7a5212;text-shadow:0 1px 0 rgba(255,250,225,.8);background:linear-gradient(180deg,#fff3c4,#f0b43c 45%,#b9822a 80%,#8a5d14);box-shadow:inset 0 1px 0 rgba(255,255,240,.8),0 5px 0 #5c3d0c,0 0 18px rgba(240,180,60,.45);animation:term-pour .7s ease-out both;animation-delay:calc(var(--i, 0) * 70ms)}.puzzle-experience.term-foundry .is-failed .ink-tiles{filter:grayscale(.85) brightness(.7);opacity:.75}.term-foundry .ink-forge.is-quench-a .term-stick{animation:term-quench-a .5s ease-out}.term-foundry .ink-forge.is-quench-b .term-stick{animation:term-quench-b .5s ease-out}.term-foundry .term-casting{position:relative;display:grid;justify-items:center;gap:.15rem;width:fit-content;max-width:100%;margin:1.1rem auto .2rem;padding:.6rem clamp(1rem,5vw,2.4rem) .7rem;overflow:hidden;border:1px solid #7a5212;border-radius:10px;color:#3b2204;background:linear-gradient(180deg,#fff1c2,#f0b43c 40%,#c68f2c 75%,#9b6a18);box-shadow:inset 0 1px 0 rgba(255,255,240,.85),inset 0 -2px 0 rgba(0,0,0,.2),0 0 0 4px rgba(20,13,8,.55),0 0 34px rgba(240,180,60,.45);animation:term-plate .55s cubic-bezier(.2,.9,.3,1.3) both}.term-foundry .term-casting:after{content:"";position:absolute;inset:-20% auto -20% -40%;width:30%;background:linear-gradient(100deg,transparent,rgba(255,255,240,.75),transparent);transform:skewX(-18deg);animation:term-shine 2.8s ease-in-out .6s infinite}.term-foundry .term-casting small{font:800 .6rem var(--font-mono,ui-monospace,monospace);letter-spacing:.24em;text-transform:uppercase;opacity:.75}.term-foundry .term-casting strong{display:flex;flex-wrap:wrap;justify-content:center;font:700 italic clamp(1.6rem,6vw,2.5rem)/1.05 Georgia,serif;letter-spacing:.02em;text-shadow:0 1px 0 rgba(255,250,225,.75),0 -1px 0 rgba(90,55,5,.35)}.term-foundry .term-casting strong span{display:inline-block;white-space:pre;animation:term-cast .5s ease-out both;animation-delay:calc(.2s + var(--i, 0) * 55ms)}.puzzle-experience.term-foundry .ink-forge .puzzle-type-answer{margin:1.1rem auto .9rem}.puzzle-experience.term-foundry .ink-forge .puzzle-type-answer label{color:var(--tf-cream-dim)}.puzzle-experience.term-foundry .ink-forge .puzzle-type-answer input{border-color:var(--tf-brass-deep);background:#fff8e6;color:#2b1d12;box-shadow:inset 0 2px 4px rgba(0,0,0,.12)}.term-foundry .ink-seal-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.7rem;align-items:center;margin-top:.9rem}.term-foundry .term-heat-label{color:var(--tf-brass);font:800 .62rem var(--font-mono,ui-monospace,monospace);letter-spacing:.2em;text-transform:uppercase}.term-foundry .ink-progress{height:12px;overflow:hidden;border-radius:999px;background:rgba(0,0,0,.45);box-shadow:inset 0 1px 3px rgba(0,0,0,.6),0 1px 0 rgba(255,214,160,.12)}.term-foundry .ink-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6d2412,var(--tf-lacquer) 45%,var(--tf-brass) 80%,#fff1c2);box-shadow:0 0 12px rgba(255,150,60,.6);transition:width .32s cubic-bezier(.2,.9,.3,1.2)}.term-foundry .ink-seal{min-height:46px;padding:.6rem 1.2rem;border:1px solid #f39a7f;border-radius:999px;color:#fff6ea;font-weight:900;letter-spacing:.02em;background:linear-gradient(180deg,#e46a52,#b33f2b);box-shadow:inset 0 1px 0 rgba(255,220,200,.5),0 5px 0 #6d2214,0 10px 18px rgba(0,0,0,.35);cursor:pointer;transition:transform .1s ease,box-shadow .1s ease}.term-foundry .ink-seal:active:not(:disabled){box-shadow:inset 0 1px 0 rgba(255,220,200,.5),0 1px 0 #6d2214;transform:translateY(4px)}.term-foundry .ink-seal:disabled{opacity:.45}.term-foundry .ink-forge.is-failed .ink-seal,.term-foundry .ink-forge.is-forged .ink-seal{display:none}.term-foundry .ink-forge.is-failed .ink-seal-row,.term-foundry .ink-forge.is-forged .ink-seal-row{grid-template-columns:auto minmax(0,1fr)}.puzzle-experience.term-foundry .ink-forge .puzzle-word-feedback{margin:.8rem 0 0;border-left:3px solid var(--tf-lacquer);background:rgba(0,0,0,.3);color:#ffdccf}.puzzle-experience.term-foundry .ink-forge .puzzle-word-unlocked{margin:.4rem 0 0;padding:.4rem;color:var(--tf-brass-light)}.term-foundry .ink-proof-marks{display:flex;justify-content:flex-end;gap:.4rem;margin-top:.7rem;color:var(--tf-brass);font:900 1rem Georgia,serif}.term-foundry .ink-proof-marks span{display:grid;place-items:center;width:20px;height:20px;border:1px solid rgba(240,180,60,.45);border-radius:50%;background:radial-gradient(circle,rgba(240,180,60,.35),transparent 70%);line-height:1}.term-foundry .ink-proof-marks span:not(.is-used){color:transparent}.term-foundry .ink-proof-marks span.is-used{border-color:rgba(216,85,63,.7);background:rgba(40,20,16,.8);color:#ff9c85}.term-foundry .ink-resolution{margin:1rem 0 0;padding:.8rem;border-radius:12px;background:rgba(255,255,255,.55);color:#4c3020}.term-foundry .ink-forge .ink-resolution{background:rgba(0,0,0,.3);color:var(--tf-cream)}.term-foundry .ink-performance{position:relative;margin-top:1rem;padding:clamp(1rem,3.5vw,1.8rem);overflow:hidden;border:1px solid #3a4460;border-radius:22px;color:#e6e9f2;background:radial-gradient(ellipse at 50% -10%,rgba(240,180,60,.2),transparent 55%),radial-gradient(ellipse at 90% 110%,rgba(47,127,208,.25),transparent 55%),linear-gradient(170deg,#1a2236,var(--tf-night) 70%);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 20px 44px rgba(15,20,34,.3);animation:term-rise .5s ease-out both}.term-foundry .ink-performance>*{position:relative;z-index:1}.term-foundry .ink-performance .ink-category{color:var(--tf-brass)}.term-foundry .ink-performance h2{margin:0;color:var(--tf-brass-light);font:700 italic clamp(1.9rem,6vw,3rem)/1.05 Georgia,serif;text-shadow:0 0 24px rgba(240,180,60,.35)}.term-foundry .ink-performance p{max-width:65ch}.term-foundry .ink-performance-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.7rem;margin-top:1rem}.term-foundry .ink-performance-tools>strong{color:var(--tf-brass-light)}.term-foundry .ink-performance-tools>span{color:#aab4c8;font-size:.78rem;font-weight:750}.term-foundry .ink-performance:not(.ink-native-proof) .segmented button{border-color:rgba(240,180,60,.55);background:rgba(255,244,214,.08);color:var(--tf-brass-light);font-weight:800}.term-foundry .ink-performance:not(.ink-native-proof) .segmented button:hover{background:rgba(240,180,60,.22)}.term-foundry .ink-performance:not(.ink-native-proof) .keyboard-hint{margin:.7rem 0 0;color:#aab4c8;text-align:left}.term-foundry .ink-performance:not(.ink-native-proof) .ink-resolution{background:rgba(255,255,255,.08);color:#e6e9f2}.term-foundry .ink-performance.is-correct:not(.ink-native-proof) .ink-resolution{border-left:3px solid var(--tf-sage);background:rgba(95,159,128,.16);color:#d9f2e4}.term-foundry .ink-performance.is-wrong:not(.ink-native-proof) .ink-resolution{border-left:3px solid var(--tf-lacquer);background:rgba(216,85,63,.16);color:#ffd9cf}.term-foundry .ink-gesture.term-stage{position:relative;height:clamp(210px,44vw,320px);margin-top:1rem;overflow:hidden;border:1px solid rgba(240,180,60,.35);border-radius:18px;cursor:crosshair;touch-action:none;background:radial-gradient(ellipse at 50% 120%,rgba(240,180,60,.16),transparent 60%),radial-gradient(circle at 18% 20%,rgba(47,127,208,.16),transparent 35%),linear-gradient(180deg,#121a2c,#0b101c);box-shadow:inset 0 0 40px rgba(0,0,0,.55);transition:box-shadow .3s ease,border-color .3s ease}.term-foundry .ink-gesture.term-stage:focus-visible{outline:3px solid var(--tf-brass);outline-offset:3px}.term-foundry .term-stage[data-state=tracing]{border-color:rgba(255,227,161,.7);box-shadow:inset 0 0 40px rgba(0,0,0,.55),0 0 30px rgba(240,180,60,.25)}.term-foundry .term-stage[data-state=correct]{border-color:rgba(95,159,128,.8);box-shadow:inset 0 0 50px rgba(240,180,60,.18),0 0 34px rgba(95,159,128,.3)}.term-foundry .term-stage[data-state=wrong]{border-color:rgba(216,85,63,.6)}.term-foundry .term-stage-staff{position:absolute;inset:22% 44px 22% 5%;display:grid;align-content:space-between;pointer-events:none}.term-foundry .term-stage-staff i{display:block;height:1px;background:linear-gradient(90deg,transparent,rgba(255,227,161,.22) 8%,rgba(255,227,161,.22) 92%,transparent);transition:background .3s ease}.term-foundry .term-stage[data-state=tracing] .term-stage-staff i{background:linear-gradient(90deg,transparent,rgba(255,227,161,.45) 8%,rgba(255,227,161,.45) 92%,transparent);animation:term-string .18s ease-in-out infinite alternate}.term-foundry .term-stage[data-state=tracing] .term-stage-staff i:nth-child(2n){animation-delay:-.09s}.term-foundry .ink-gesture svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.term-foundry .ink-guide{fill:none;stroke:rgba(255,227,161,.42);stroke-dasharray:6 7;stroke-linecap:round;stroke-width:2px;vector-effect:non-scaling-stroke}.term-foundry .term-trace-glow{stroke:var(--tf-brass);stroke-width:16px;opacity:.22;filter:blur(4px)}.term-foundry .ink-trace,.term-foundry .term-trace-glow{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.term-foundry .ink-trace{stroke-width:4.5px;filter:drop-shadow(0 0 4px rgba(255,200,100,.8))}.term-foundry .term-stage[data-state=correct] .term-trace-glow{stroke:var(--tf-brass-light);opacity:.45;animation:term-glory 1.4s ease-in-out infinite alternate}.term-foundry .term-stage[data-state=wrong] .term-trace-glow{stroke:var(--tf-lacquer);opacity:.3}.term-foundry .term-stage[data-state=wrong] .ink-trace{opacity:.55}.term-foundry .term-bloom{width:12px;height:12px;border:2px solid var(--tf-brass-light);opacity:0;animation:term-bloom 1.1s ease-out both}.term-foundry .term-bloom,.term-foundry .term-comet{position:absolute;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%)}.term-foundry .term-comet{width:18px;height:18px;background:radial-gradient(circle,#fffbe8 0 30%,var(--tf-brass) 60%,rgba(240,180,60,0) 72%);box-shadow:0 0 18px 6px rgba(240,180,60,.55)}.term-foundry .term-stage[data-state=tracing] .term-comet:after{content:"";position:absolute;inset:-6px;border:2px solid rgba(255,227,161,.7);border-radius:50%;animation:term-ring .9s ease-out infinite}.term-foundry .term-stage:not([data-state=tracing]) .term-comet{width:12px;height:12px;box-shadow:0 0 10px 3px rgba(240,180,60,.4)}.term-foundry .term-pitch-meter{position:absolute;top:10px;right:8px;bottom:10px;display:grid;grid-template-rows:auto 1fr auto;justify-items:center;gap:4px;width:28px;pointer-events:none;color:rgba(255,227,161,.6);font:800 .5rem var(--font-mono,ui-monospace,monospace);letter-spacing:.08em;text-transform:uppercase}.term-foundry .term-pitch-meter b{position:relative;width:4px;border-radius:4px;background:linear-gradient(180deg,rgba(255,227,161,.5),rgba(47,127,208,.4))}.term-foundry .term-pitch-meter i{position:absolute;left:50%;width:14px;height:14px;border:2px solid #fffbe8;border-radius:50%;background:var(--tf-brass);box-shadow:0 0 12px rgba(240,180,60,.8);transform:translate(-50%,-50%);transition:top 80ms linear}.term-foundry .ink-finish,.term-foundry .ink-start{position:absolute;padding:.2rem .4rem;border:1px solid rgba(240,180,60,.5);border-radius:999px;pointer-events:none;background:rgba(15,20,34,.85);color:var(--tf-brass-light);font-size:.58rem;font-weight:900;letter-spacing:.1em}.term-foundry .ink-start{transform:translate(-20%,-50%)}.term-foundry .ink-finish{transform:translate(-80%,-50%)}.term-foundry .ink-keyboard-launch{position:absolute;left:.7rem;color:var(--tf-brass-light);font-size:.58rem;font-weight:900;letter-spacing:.1em;transform:translateY(-50%)}.term-foundry .ink-keyboard-launch:after{content:"";position:absolute;left:0;top:1rem;width:9px;height:9px;border:2px solid #fffbe8;border-radius:50%;background:var(--tf-brass);box-shadow:0 0 0 3px rgba(240,180,60,.25)}.term-foundry .ink-retry{width:100%;margin-top:.8rem}.term-foundry .ink-performance.ink-native-proof{border-color:#c9a466;color:#3e2a18;background:radial-gradient(circle at 88% 0,rgba(240,180,60,.28),transparent 34%),linear-gradient(160deg,#fffaf0,#f4e6c8);box-shadow:inset 0 0 50px rgba(120,80,30,.08),0 18px 40px rgba(63,38,18,.12)}.term-foundry .ink-native-proof .ink-category{color:#8a5b1e}.term-foundry .ink-native-proof h2{color:#5a3510;text-shadow:none}.term-foundry .ink-native-proof .ink-performance-tools>strong{color:#5a3510}.term-foundry .ink-native-proof .ink-performance-tools>span{color:#7a5a38}.term-foundry .ink-native-proof.is-correct .ink-resolution{border-left:3px solid var(--tf-sage);background:rgba(95,159,128,.15);color:#24513d}.term-foundry .ink-native-proof.is-wrong .ink-resolution{border-left:3px solid var(--tf-lacquer);background:rgba(216,85,63,.12);color:#7d3326}.term-foundry .form-proof,.term-foundry .harmony-proof,.term-foundry .notation-proof,.term-foundry .rhythm-proof{margin-top:1rem;padding:clamp(.75rem,3vw,1.15rem);border:1px solid rgba(143,101,46,.3);border-radius:16px;background:rgba(255,255,255,.7);box-shadow:inset 0 1px #fff,0 10px 24px rgba(90,60,20,.08)}.term-foundry .notation-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:.45rem}.term-foundry .form-bank button,.term-foundry .harmony-palette button,.term-foundry .notation-slots button{min-height:46px;padding:.5rem;border:1px solid rgba(143,101,46,.4);border-radius:10px;background:#fffdf7;color:#4a3218;font-weight:800;box-shadow:0 3px 0 rgba(143,101,46,.25);cursor:pointer;transition:transform .1s ease,box-shadow .1s ease}.term-foundry .form-bank button:active:not(:disabled),.term-foundry .harmony-palette button:active:not(:disabled),.term-foundry .notation-slots button:active:not(:disabled){box-shadow:0 0 0 rgba(143,101,46,.25);transform:translateY(3px)}.term-foundry .notation-slots button[aria-pressed=true]{border-color:var(--tf-brass-deep);background:linear-gradient(180deg,#fff1c2,#f5c867);color:#3b2204;box-shadow:0 0 0 3px rgba(240,180,60,.3),0 3px 0 #a8741f}.term-foundry .rhythm-proof{display:grid;grid-template-columns:repeat(auto-fit,minmax(54px,1fr));gap:.5rem}.term-foundry .rhythm-proof button{display:grid;place-items:center;min-height:82px;padding:.45rem;border:1px solid rgba(143,101,46,.3);border-radius:12px;background:#fffdf7;color:#7a6a58;cursor:pointer}.term-foundry .rhythm-proof button small{font:850 .64rem var(--font-mono,ui-monospace,monospace)}.term-foundry .rhythm-proof button strong{font-size:1.45rem}.term-foundry .rhythm-proof button.is-hit{border-color:var(--tf-sage);background:#e3f4ea;color:#24513d}.term-foundry .rhythm-proof button.is-accent{border-color:var(--tf-lacquer);background:#ffe6dc;color:#8c3322;box-shadow:0 0 0 3px rgba(216,85,63,.15)}.term-foundry .form-proof,.term-foundry .harmony-proof{display:grid;gap:.75rem}.term-foundry .form-build,.term-foundry .harmony-build{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.45rem;min-height:64px;padding:.65rem;border:1px dashed rgba(143,101,46,.45);border-radius:13px;background:rgba(255,248,230,.8);color:#7a5a38}.term-foundry .form-build span:not(:only-child),.term-foundry .harmony-build button{min-width:52px;min-height:44px;padding:.55rem;border:1px solid #1f5f9e;border-radius:10px;background:linear-gradient(160deg,#fff,#dcebfa);color:#1d4f82;font-weight:900}.term-foundry .form-build span:not(:only-child){display:inline-grid;place-items:center}.term-foundry .form-bank,.term-foundry .harmony-palette{display:grid;grid-template-columns:repeat(auto-fit,minmax(58px,1fr));gap:.45rem}.term-foundry .form-bank{grid-template-columns:repeat(auto-fit,minmax(128px,1fr))}.term-foundry .native-proof-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.65rem;margin-top:.9rem}.term-foundry .native-diagnostics{margin-top:.8rem;padding:.75rem .9rem;border-left:4px solid var(--tf-lacquer);border-radius:10px;background:rgba(255,236,224,.85);color:#664644}.term-foundry .native-diagnostics strong{color:#98493c}.term-foundry .native-diagnostics ul{display:grid;gap:.25rem;margin:.4rem 0 0;padding-left:1.1rem;font-size:.8rem}.puzzle-experience.term-foundry .puzzle-notation{color:#3e2a18}.term-foundry .puzzle-notation line{stroke:#9c8465}.term-foundry .puzzle-notation ellipse,.term-foundry .puzzle-notation text{fill:#3e2a18}.term-foundry .puzzle-notation path{stroke:#3e2a18}.term-foundry .puzzle-notation .puzzle-notation-mark{stroke:var(--tf-brass-deep)}.puzzle-experience.term-foundry .puzzle-earned{border:1px solid #7a5212;background:linear-gradient(120deg,var(--tf-walnut-800),var(--tf-walnut-700));color:var(--tf-cream);box-shadow:0 14px 30px rgba(45,29,17,.25)}.term-foundry .puzzle-earned strong{color:var(--tf-brass-light);font-size:1.05rem}.term-foundry .puzzle-earned p{color:var(--tf-cream-dim)}.term-foundry .puzzle-earned>.term-medal{display:grid;flex:0 0 auto;place-items:center;width:54px;height:54px;border:2px solid #fff1c2;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff6d6,var(--tf-brass) 50%,var(--tf-brass-deep));color:#4a2b08;font-size:1.6rem;box-shadow:0 0 0 4px rgba(240,180,60,.25),0 0 26px rgba(240,180,60,.5);animation:term-medal .8s cubic-bezier(.2,.9,.3,1.3) both}.puzzle-experience.term-foundry .puzzle-term-finish{justify-items:center;text-align:center}.puzzle-experience.term-foundry .puzzle-term-finish .puzzle-trophy{border:2px solid #fff1c2;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff6d6,var(--tf-brass) 50%,var(--tf-brass-deep));color:#4a2b08;box-shadow:0 0 0 6px rgba(240,180,60,.2),0 0 40px rgba(240,180,60,.45);transform:none;animation:term-medal 1s cubic-bezier(.2,.9,.3,1.3) both}.puzzle-experience.term-foundry .puzzle-collection{position:relative;align-items:end;gap:.5rem;padding:0 .8rem 14px}.puzzle-experience.term-foundry .puzzle-collection:after{content:"";position:absolute;left:0;right:0;bottom:0;height:14px;border-radius:3px 3px 10px 10px;background:linear-gradient(180deg,#8a5a2f,#5d3a1b 55%,#3b2410)}.puzzle-experience.term-foundry .puzzle-collection>span{position:relative;z-index:1;min-width:88px;min-height:120px;align-content:end;padding:.7rem .6rem;border:1px solid rgba(0,0,0,.35);border-bottom:0;border-radius:7px 7px 2px 2px;color:var(--tf-cream);background:linear-gradient(180deg,transparent 14px,rgba(240,180,60,.85) 14px 16px,transparent 16px 20px,rgba(240,180,60,.6) 20px 21px,transparent 21px),linear-gradient(90deg,rgba(0,0,0,.28),rgba(255,255,255,.12) 30%,rgba(0,0,0,.06) 70%,rgba(0,0,0,.32)),var(--spine,#8f3b2c);filter:saturate(.35) brightness(.9);animation:term-shelve .6s cubic-bezier(.2,.9,.3,1.2) both;animation-delay:calc(var(--i, 0) * .12s)}.puzzle-experience.term-foundry .puzzle-collection>span.is-complete{filter:none;box-shadow:0 0 18px rgba(240,180,60,.3)}.term-foundry .puzzle-collection small{color:var(--tf-brass-light);font-family:var(--font-mono,ui-monospace,monospace);letter-spacing:.1em;text-transform:uppercase}.term-foundry .term-root-hint-button{display:block;min-height:44px;margin:.1rem auto .5rem;padding:.3rem .75rem;border:1px dashed rgba(240,180,60,.55);border-radius:999px;background:transparent;color:var(--tf-brass-light);font:700 .72rem var(--font-mono,ui-monospace,monospace);letter-spacing:.06em;cursor:pointer}.term-foundry .term-root-hint-button:focus-visible,.term-foundry .term-root-hint-button:hover{background:rgba(240,180,60,.12)}.term-foundry .term-root-hint{margin:.1rem auto .5rem;max-width:40rem;color:var(--tf-cream);font-size:.88rem;text-align:center}.term-foundry .term-root-hint strong{margin-right:.35rem;color:var(--tf-brass);font:800 .62rem var(--font-mono,ui-monospace,monospace);letter-spacing:.14em;text-transform:uppercase}.term-foundry .term-lore{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:.4rem;margin:.8rem 0 0;padding:.7rem;border:1px solid rgba(240,180,60,.35);border-radius:14px;background:rgba(0,0,0,.28);animation:term-rise .45s ease-out both}.term-foundry .term-lore>div{min-width:0;padding:.35rem .5rem;border-left:2px solid rgba(240,180,60,.45)}.term-foundry .term-lore dt{color:var(--tf-brass);font:800 .58rem var(--font-mono,ui-monospace,monospace);letter-spacing:.14em;text-transform:uppercase}.term-foundry .term-lore dd{margin:.15rem 0 0;color:var(--tf-cream);font-size:.86rem;line-height:1.35;overflow-wrap:anywhere}.term-foundry .term-lore dd i{color:var(--tf-cream-dim)}.term-foundry .term-lore dd strong{color:var(--tf-brass-light)}.term-foundry .term-next-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.term-foundry .term-next-row .music-next{margin-top:.5rem}.term-foundry .term-glossary,.term-foundry .term-recall{margin-top:1rem;padding:clamp(.8rem,3vw,1.2rem);border:1px solid #6b4520;border-radius:18px;color:var(--tf-cream);background:linear-gradient(160deg,var(--tf-walnut-700),var(--tf-walnut-900));box-shadow:inset 0 1px 0 rgba(255,214,160,.15)}.term-foundry .term-glossary h3,.term-foundry .term-recall h3{margin:0 0 .6rem;color:var(--tf-brass-light);font:700 italic 1.2rem Georgia,serif}.term-foundry .term-glossary dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:.5rem;margin:0}.term-foundry .term-glossary dl>div{padding:.6rem .7rem;border:1px solid rgba(240,180,60,.25);border-radius:12px;background:rgba(0,0,0,.22);filter:saturate(.6)}.term-foundry .term-glossary dl>div.is-complete{border-color:rgba(240,180,60,.6);filter:none}.term-foundry .term-glossary dt{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem}.term-foundry .term-glossary dt strong{color:var(--tf-brass-light);font:700 italic 1.05rem Georgia,serif}.term-foundry .term-glossary dt span{color:var(--tf-cream-dim);font:800 .56rem var(--font-mono,ui-monospace,monospace);letter-spacing:.12em;text-transform:uppercase}.term-foundry .term-glossary dt code{margin-left:auto;padding:.05rem .4rem;border-radius:6px;background:rgba(240,180,60,.16);color:var(--tf-brass-light);font:italic 700 .85rem Georgia,serif}.term-foundry .term-glossary dd{display:grid;gap:.2rem;margin:.3rem 0 0;font-size:.86rem;line-height:1.35}.term-foundry .term-glossary dd small{color:var(--tf-cream-dim);font-size:.74rem}.term-foundry .term-recall>p{margin:0 0 .6rem;color:var(--tf-cream-dim);font-size:.86rem}.term-foundry .term-recall>div:not(.term-recall-actions){display:grid;grid-template-columns:minmax(7rem,auto) minmax(0,1fr);gap:.25rem .7rem;align-items:center;margin-bottom:.45rem;padding:.45rem .55rem;border-left:3px solid rgba(240,180,60,.4);border-radius:8px;background:rgba(0,0,0,.2)}.term-foundry .term-recall>div.is-right{border-left-color:var(--tf-sage)}.term-foundry .term-recall>div.is-wrong{border-left-color:var(--tf-lacquer)}.term-foundry .term-recall label{display:grid}.term-foundry .term-recall label strong{color:var(--tf-brass-light);font:700 italic 1rem Georgia,serif}.term-foundry .term-recall label small{color:var(--tf-cream-dim);font:800 .54rem var(--font-mono,ui-monospace,monospace);letter-spacing:.12em;text-transform:uppercase}.term-foundry .term-recall select{width:100%;min-width:0;min-height:40px;border:1px solid rgba(240,180,60,.4);border-radius:8px;background:var(--tf-walnut-950);color:var(--tf-cream);font:inherit;font-size:.84rem}.term-foundry .term-recall-mark{grid-column:1/-1;font-size:.8rem}.term-foundry .term-recall>div.is-right .term-recall-mark{color:#b9e6cd}.term-foundry .term-recall>div.is-wrong .term-recall-mark{color:#ffc9bd}.term-foundry .term-recall-actions{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-top:.6rem}.term-foundry .term-recall-actions strong{color:var(--tf-brass-light)}.term-foundry .term-skeleton{pointer-events:none}.term-foundry .term-skeleton .puzzle-mission span{opacity:.55}.term-foundry .term-skeleton-bar{display:block;height:.95em;margin:.3rem 0;border-radius:6px;background:linear-gradient(90deg,rgba(255,227,161,.1),rgba(255,227,161,.22),rgba(255,227,161,.1));background-size:200% 100%;animation:term-shimmer 1.6s linear infinite}.term-foundry .term-skeleton-bar.is-short{width:55%}.term-foundry .term-skeleton-pill{width:13rem;min-height:1.7rem;opacity:.5}.term-foundry .term-skeleton-tile{display:inline-block;width:clamp(44px,8.4vw,54px);height:clamp(50px,11vw,62px);border-radius:6px;background:rgba(240,210,160,.22)}.term-foundry .term-skeleton-answer{min-height:72px}.term-foundry .term-skeleton .ink-seal{display:inline-grid;place-items:center;opacity:.45}.term-foundry .term-hints{display:grid;justify-items:center;gap:.2rem;margin:0 0 .4rem}.term-foundry .term-hints .term-root-hint{margin:0 auto}.term-foundry .ink-tiles button.is-locked{color:#2b1d05;border-color:#7a5212;background:linear-gradient(180deg,#fff3c4,#f0b43c 55%,#b9822a);box-shadow:inset 0 1px 0 rgba(255,255,240,.8),0 5px 0 #5c3d0c;cursor:default}.term-foundry .term-listen .term-listen-clips,.term-foundry .term-listen .term-listen-picks{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.8rem}.term-foundry .term-listen .term-listen-clips .button,.term-foundry .term-listen .term-listen-picks .button{flex:1 1 12rem;min-height:46px}.term-foundry .term-listen-skip{margin-top:.8rem;padding:.35rem .2rem;border:0;background:none;color:#7a5a38;font-size:.82rem;text-decoration:underline;cursor:pointer}.term-foundry .term-listen-result{margin:1rem 0 0;padding:.6rem .8rem;border-left:3px solid var(--tf-sage);border-radius:10px;background:rgba(95,159,128,.14);color:#24513d;font-size:.9rem}.term-foundry .term-listen-result.is-wrong{border-left-color:var(--tf-lacquer);background:rgba(216,85,63,.1);color:#7d3326}.term-foundry .notation-sign{display:flex;align-items:center;gap:.8rem;margin:0 0 .5rem;color:#3e2a18}.term-foundry .notation-sign>span{display:grid;place-items:center;min-width:3.2rem;height:3.2rem;border:1px solid rgba(143,101,46,.4);border-radius:12px;background:#fffdf7;font:700 2rem/1 Georgia,serif}.term-foundry .notation-sign small{color:#7a5a38;font-weight:750}.term-foundry .notation-staff{display:block;width:100%;max-width:560px;height:auto;margin:0 auto .6rem}.term-foundry .notation-staff .notation-fixed{fill:#3e2a18}.term-foundry .notation-staff .notation-barline{stroke:#3e2a18;stroke-width:1.4}.term-foundry .notation-staff .puzzle-notation-mark{stroke-width:2.6;fill:none}.term-foundry .notation-staff .notation-placed{fill:var(--tf-brass-deep)}.term-foundry .notation-spot circle{fill:#fffdf7;stroke:#a8741f;stroke-width:1.4;stroke-dasharray:3 2}.term-foundry .notation-spot text{fill:#7a4f1a}.term-foundry .notation-spot.is-chosen circle{fill:var(--tf-brass);stroke-dasharray:none}.term-foundry .notation-spot.is-chosen text{fill:#2b1705}.term-foundry .notation-slots{grid-template-columns:repeat(4,minmax(0,1fr))}.term-foundry .rhythm-proof{grid-template-columns:repeat(var(--cells,8),minmax(0,1fr));gap:.35rem}.term-foundry .rhythm-proof button{min-height:64px;padding:.35rem .1rem}.term-foundry .rhythm-proof button.is-after-bar{margin-left:.35rem;box-shadow:-.4rem 0 0 -.25rem #3e2a18}.term-foundry .rhythm-reference{display:grid;grid-column:1/-1;grid-template-columns:subgrid;gap:.35rem}.term-foundry .rhythm-reference span{padding:.3rem;border:1px solid rgba(47,127,208,.45);border-radius:8px;background:rgba(47,127,208,.1);color:#1d4f82;font:800 .62rem var(--font-mono,ui-monospace,monospace);letter-spacing:.06em;text-align:center;text-transform:uppercase}.term-foundry .harmony-palette button sub{margin-left:1px;font-size:.68em}.term-foundry .harmony-legend{margin:0;color:#7a5a38;font-size:.76rem;text-align:center}.term-foundry .harmony-build button.is-chord-start{margin-left:.8rem}.term-foundry .term-bpm{display:flex;align-items:center;gap:.6rem;margin:.6rem 0 0;color:#cfd6e4;font-size:.84rem}.term-foundry .term-bpm strong{color:var(--tf-brass-light)}.term-foundry .term-beat-lamp{flex:0 0 auto;width:14px;height:14px;border-radius:50%;background:var(--tf-brass);box-shadow:0 0 10px rgba(240,180,60,.7);animation:term-beat var(--beat,.5s) ease-out infinite}.term-foundry .term-take-clock{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;margin:.6rem 0 0;color:#aab4c8;font-size:.8rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.term-foundry .term-take-clock strong{color:var(--tf-brass-light)}.term-foundry .term-visual-only{padding:.05rem .5rem;border:1px solid rgba(216,85,63,.55);border-radius:999px;color:#ffd9cf}.term-foundry .term-time-axis{position:absolute;left:50%;bottom:6px;color:rgba(255,227,161,.55);font:800 .52rem var(--font-mono,ui-monospace,monospace);letter-spacing:.1em;text-transform:uppercase;transform:translateX(-50%);pointer-events:none}.term-foundry .term-audio-offer{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;margin-top:.8rem;padding:.7rem .9rem;border:1px dashed rgba(240,180,60,.5);border-radius:12px;color:#e6e9f2;font-size:.85rem}.term-foundry .term-audio-offer p{flex:1 1 16rem;margin:0}.term-foundry .puzzle-earned .term-mastery-line{margin:.15rem 0;color:var(--tf-brass-light);font-weight:750}.term-foundry .term-recall fieldset{display:grid;gap:.45rem;margin:0 0 .55rem;padding:.55rem .7rem;border:0;border-left:3px solid rgba(240,180,60,.4);border-radius:8px;background:rgba(0,0,0,.2);min-width:0}.term-foundry .term-recall fieldset.is-right{border-left-color:var(--tf-sage)}.term-foundry .term-recall fieldset.is-wrong{border-left-color:var(--tf-lacquer)}.term-foundry .term-recall legend{display:grid;gap:.1rem;float:left;width:100%;padding:0;color:var(--tf-cream);font-size:.9rem}.term-foundry .term-recall legend small{color:var(--tf-cream-dim);font:800 .54rem var(--font-mono,ui-monospace,monospace);letter-spacing:.12em;text-transform:uppercase}.term-foundry .term-recall legend strong.is-sign{color:var(--tf-brass-light);font:700 italic 1.4rem Georgia,serif}.term-foundry .term-recall-options{display:flex;flex-wrap:wrap;gap:.4rem;clear:both}.term-foundry .term-recall-options label{display:inline-flex;align-items:center;gap:.35rem;min-height:40px;padding:.3rem .7rem;border:1px solid rgba(240,180,60,.4);border-radius:999px;background:var(--tf-walnut-950);color:var(--tf-cream);font-size:.86rem;cursor:pointer}.term-foundry .term-recall-options label:has(input:checked){border-color:var(--tf-brass);background:rgba(240,180,60,.18)}.term-foundry .term-recall fieldset.is-right .term-recall-mark{color:#b9e6cd}.term-foundry .term-recall fieldset.is-wrong .term-recall-mark{color:#ffc9bd}@keyframes term-ember{0%{opacity:0;transform:translate(0) scale(1)}15%{opacity:.95}to{opacity:0;transform:translate(12px,-240px) scale(.3)}}@keyframes term-hot{0%{box-shadow:0 0 0 3px rgba(255,196,107,.45),0 0 18px 4px rgba(255,140,50,.45),0 9px 0 #7a2c0f}to{box-shadow:0 0 0 3px rgba(255,196,107,.6),0 0 32px 10px rgba(255,140,50,.7),0 9px 0 #7a2c0f}}@keyframes term-clack-a{0%{transform:translateY(-12px) scale(1.08)}60%{transform:translateY(2px) scale(.96,1.02)}to{transform:none}}@keyframes term-clack-b{0%{transform:translateY(-12px) scale(1.08)}60%{transform:translateY(2px) scale(.96,1.02)}to{transform:none}}@keyframes term-quench-a{0%,to{transform:none}20%{transform:translateX(-7px);box-shadow:0 0 0 3px rgba(47,127,208,.6),0 0 30px rgba(47,127,208,.5)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(2px)}}@keyframes term-quench-b{0%,to{transform:none}20%{transform:translateX(-7px);box-shadow:0 0 0 3px rgba(47,127,208,.6),0 0 30px rgba(47,127,208,.5)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(2px)}}@keyframes term-pour{0%{filter:brightness(1.9) saturate(1.6) hue-rotate(-25deg);transform:translateY(-8px)}55%{filter:brightness(1.3) saturate(1.3) hue-rotate(-10deg);transform:translateY(2px)}to{filter:none;transform:none}}@keyframes term-plate{0%{opacity:0;transform:translateY(10px) scale(.92)}to{opacity:1;transform:none}}@keyframes term-shine{0%{left:-40%}45%,to{left:130%}}@keyframes term-cast{0%{opacity:0;color:#fff;text-shadow:0 0 14px #ff9b3d,0 0 4px #fff;transform:translateY(-8px)}60%{opacity:1;color:#ffe3a1;text-shadow:0 0 10px #ffb453}to{opacity:1;transform:none}}@keyframes term-slot-wait{0%,to{box-shadow:0 0 0 3px rgba(240,180,60,.2),0 0 14px rgba(240,180,60,.25)}50%{box-shadow:0 0 0 3px rgba(240,180,60,.35),0 0 26px rgba(240,180,60,.45)}}@keyframes term-shelve{0%{opacity:0;transform:translateY(-26px) rotate(-6deg)}to{opacity:1;transform:none}}@keyframes term-rise{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes term-string{0%{transform:translateY(-.5px)}to{transform:translateY(.5px)}}@keyframes term-bloom{0%{opacity:.9;transform:translate(-50%,-50%) scale(.4)}to{opacity:0;transform:translate(-50%,-50%) scale(3.2)}}@keyframes term-ring{0%{opacity:.9;transform:scale(.6)}to{opacity:0;transform:scale(2.4)}}@keyframes term-glory{0%{opacity:.3}to{opacity:.6}}@keyframes term-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes term-beat-blink{0%,35%{opacity:1}36%,to{opacity:.3}}@keyframes term-beat{0%{transform:scale(1.35);opacity:1}60%,to{transform:scale(.8);opacity:.45}}@keyframes term-medal{0%{opacity:0;transform:scale(.3) rotate(-120deg)}70%{transform:scale(1.12) rotate(8deg)}to{opacity:1;transform:none}}@media (max-width:620px){.music-lab-page .term-foundry>.music-kicker{padding:.3rem .6rem;font-size:.62rem}.music-lab-page .term-foundry>h1{margin:.35rem 0 .3rem;font-size:2.05rem;line-height:1.05}.music-lab-page .term-foundry>.music-lab-sub{display:none}.term-foundry .term-bench{grid-template-columns:1fr;gap:.5rem}.puzzle-experience.term-foundry .puzzle-journey.term-shelf{gap:.3rem;padding:.45rem .45rem 12px}.puzzle-experience.term-foundry .puzzle-journey.term-shelf>span{height:62px;padding:.35rem .15rem .3rem}.puzzle-experience.term-foundry .puzzle-journey.term-shelf b{width:24px;height:24px;font-size:.85rem}.puzzle-experience.term-foundry .puzzle-journey.term-shelf .is-collected b,.puzzle-experience.term-foundry .puzzle-journey.term-shelf .is-revisit b{margin-top:8px;width:22px;height:22px}.puzzle-experience.term-foundry .puzzle-journey.term-shelf small{font-size:.52rem;letter-spacing:0}.music-lab-page .term-foundry .term-bench>.music-toolbar{padding:.4rem .6rem}.music-lab-page .term-foundry .term-bench>.music-toolbar label{display:flex;align-items:center;gap:.6rem;width:100%}.music-lab-page .term-foundry .term-bench>.music-toolbar select{flex:1 1;width:auto}.music-lab-page .term-foundry .term-bench>.music-stat-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:.25rem;padding:.25rem;border-radius:12px}.music-lab-page .term-foundry .term-bench>.music-stat-strip>div{display:flex;align-items:baseline;justify-content:center;gap:.3rem;padding:.3rem .2rem;border-radius:8px}.music-lab-page .term-foundry .term-bench>.music-stat-strip strong{font-size:1.05rem}.music-lab-page .term-foundry .term-bench>.music-stat-strip span{font-size:.5rem;letter-spacing:.04em}.puzzle-experience.term-foundry .ink-forge.term-typecase{margin-top:.7rem;padding:.9rem .6rem 1rem;border-radius:18px}.puzzle-experience.term-foundry .ink-forge .puzzle-mission{gap:.3rem;margin-bottom:.7rem}.puzzle-experience.term-foundry .ink-forge .puzzle-mission span{padding:.3rem .5rem;font-size:.6rem}.term-foundry .term-stick{margin:0 -.3rem;padding:.7rem .25rem .85rem}.term-foundry .term-stick:after{right:-4px;width:8px}.term-foundry .ink-tiles{gap:.22rem}.term-foundry .ink-seal-row{grid-template-columns:auto minmax(0,1fr)}.term-foundry .ink-seal{grid-column:1/-1;width:100%}.term-foundry .ink-performance{padding:1rem .8rem;border-radius:18px}.term-foundry .term-stage-staff{right:38px}.term-foundry .term-recall>div:not(.term-recall-actions){grid-template-columns:1fr}.term-foundry .term-lore{padding:.5rem}.term-foundry .rhythm-proof{gap:.2rem}.term-foundry .rhythm-proof button{min-height:56px}.term-foundry .rhythm-proof button small{font-size:.56rem}.term-foundry .notation-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.term-foundry .harmony-palette{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.term-foundry *,.term-foundry :after,.term-foundry :before{animation:none!important;transition:none!important}.term-foundry .term-bloom,.term-foundry .term-casting:after,.term-foundry .term-furnace i{display:none}.term-foundry .term-beat-lamp{animation:term-beat-blink var(--beat,.5s) linear infinite!important}}