/* Original interface motion: brief, purposeful, and disabled for reduced motion. */
.feature{background:radial-gradient(ellipse at 100% 0%,#356358 0%,transparent 65%),#123c38;box-shadow:0 16px 38px #153b3512}.unit-tile{background:linear-gradient(145deg,#fff,#fafdfb);box-shadow:0 5px 20px #183e3305;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}.unit-tile:hover{box-shadow:0 14px 30px #183e3310;border-color:#aec4b9}.button,.lesson-card,.build-piece,.unit-action{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease}.button:active:not(:disabled),.build-piece:active:not(:disabled){transform:scale(.97)}.button:hover:not(:disabled){box-shadow:0 7px 18px #143c381c}.build-piece:hover:not(:disabled){background:#d4f57b;transform:translateY(-2px)}.unit-action:hover .icon:last-child{transform:translateX(3px)}[dir=rtl] .unit-action:hover .icon:last-child{transform:translateX(-3px)}.unit-action .icon{transition:transform .18s ease}.builder{margin-top:26px;padding:22px;border:1px solid #dbe9df;background:#f6faf7;border-radius:18px}.builder h4,.meaning-check h4{margin:0 0 10px;font-family:Manrope,system-ui,sans-serif}.build-target{display:flex;gap:6px;flex-wrap:wrap;min-height:56px;border:1px dashed #8da99b;border-radius:12px;padding:12px;margin:18px 0;background:#fff}.build-target span{padding:4px 7px;border-radius:6px;background:#edf5ee}.build-pieces{display:flex;gap:8px;flex-wrap:wrap}.build-piece{padding:11px 13px;min-height:44px;border-radius:10px;border:1px solid #b5cbbb;background:white;color:#123c38;font:inherit;font-weight:600}.build-piece:disabled{opacity:.4}.build-controls{display:flex;align-items:center;gap:16px;margin-top:18px;flex-wrap:wrap}.builder .feedback{margin-top:18px}.meaning-check{margin-top:26px}.meaning-check>p{line-height:1.7}.build-piece:focus-visible,textarea:focus-visible{outline:3px solid #148b77;outline-offset:3px}
@media(prefers-reduced-motion:no-preference){.page-heading{animation:bh-arrive .4s ease-out both}.unit-tile,.lesson-card{animation:bh-arrive .45s ease-out both}.unit-tile:nth-child(3n+2){animation-delay:40ms}.unit-tile:nth-child(3n){animation-delay:80ms}dialog[open]{animation:bh-dialog .24s cubic-bezier(.2,.8,.2,1) both}dialog[open]::backdrop{animation:bh-fade .2s ease-out both}.feedback{animation:bh-feedback .24s ease-out both}.complete .tile-icon{animation:bh-complete .48s cubic-bezier(.2,.8,.2,1) both}.complete .tile-icon .icon{animation:bh-check .45s ease-out both;stroke-dasharray:40;stroke-dashoffset:0}.sentence-map span{animation:bh-arrive .35s ease-out both}.sentence-map span:nth-child(2){animation-delay:55ms}.sentence-map span:nth-child(3){animation-delay:110ms}.build-target span{animation:bh-token .2s ease-out both}.meter span{transition:width .4s ease}.unit-tile:hover{transform:translateY(-3px)}}
@keyframes bh-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes bh-dialog{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes bh-fade{from{opacity:0}to{opacity:1}}@keyframes bh-feedback{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes bh-complete{0%{transform:scale(.75);opacity:0}65%{transform:scale(1.06);opacity:1}100%{transform:scale(1);opacity:1}}@keyframes bh-check{from{stroke-dashoffset:40}to{stroke-dashoffset:0}}@keyframes bh-token{from{opacity:.4;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:680px){.builder{padding:16px}.build-piece{font-size:14px}.build-controls{gap:12px}}
