.nim-stage{position:fixed;inset:0;z-index:68;width:100%;height:100%;opacity:0;transition:opacity var(--dur-base) var(--ease-standard);pointer-events:none}.nim-stage.is-on{opacity:1}.nim-companion{position:relative;z-index:2;display:block;pointer-events:none;transition:opacity var(--dur-base) var(--ease-standard),transform var(--dur-base) var(--ease-standard)}.nim-companion canvas{display:block;width:100%;height:100%}.nim-companion.is-quiet{opacity:.48}.nim-companion{animation:nim-companion-in var(--dur-slow) var(--ease-standard) both}@keyframes nim-companion-in{0%{opacity:0;transform:translateY(-12px) scale(.94)}}@media (prefers-reduced-motion:reduce){.nim-companion{animation:none}}.student-page__header--plain:has(>.nim-companion),.student-trainers-hero:has(>.nim-companion){display:flex;flex-direction:row;align-items:flex-end;justify-content:flex-start;gap:var(--space-4)}.student-page__header--plain:has(>.nim-companion)>div,.student-trainers-hero:has(>.nim-companion)>div{min-width:0}.student-trainers-hero:has(>.nim-companion){flex-direction:row-reverse;justify-content:space-between}.nim-companion--assignment,.nim-companion--games,.nim-companion--trainers{flex:0 0 auto;margin:0;-webkit-margin-after:calc(-1 * var(--space-3));margin-block-end:calc(-1 * var(--space-3))}.student-quiz-intro__head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4)}.student-quiz-intro__head h1{margin:0}.matching-game__intro{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4)}.matching-game__intro>div{min-width:0}.nim-companion--matching-game,.nim-companion--merge-game,.nim-companion--mind-battle{flex:0 0 auto;width:96px;height:86px;margin:0 0 0 auto}.nim-companion--home{width:132px;height:112px;flex:0 0 132px}.nim-companion--chat-composer{width:92px;height:82px}.nim-companion--assignment,.nim-companion--work{width:104px;height:94px}.nim-companion--games,.nim-companion--trainers{width:112px;height:100px}.nim-companion--profile,.nim-companion--profile-edit,.nim-companion--review{width:122px;height:108px}@media (max-width:560px){.nim-companion--review{width:84px;height:74px}}.nim-companion--sheet{width:92px;height:84px}.nim-companion--checking{width:224px;height:200px;margin-inline:auto}.nim-companion--sending{width:156px;height:140px;justify-self:center}.nim-companion--join{position:absolute;z-index:3;inset-inline-end:var(--space-4);inset-block-start:68px;width:112px;height:102px}@media (max-width:768px){.nim-companion--home{width:96px;height:86px;flex-basis:96px;scroll-margin-block-end:112px}.nim-companion--chat-composer{width:72px;height:66px}.nim-companion--profile,.nim-companion--profile-edit{width:94px;height:84px}.nim-companion--checking{width:172px;height:154px}.nim-companion--sending{width:124px;height:112px}.nim-companion--assignment,.nim-companion--games,.nim-companion--trainers,.nim-companion--work{width:84px;height:76px}.nim-companion--sheet{display:block;width:72px;height:66px}.nim-companion--join{width:86px;height:78px;inset-inline-end:var(--space-2);inset-block-start:64px}.student-home__fact{overflow:hidden}.nim-companion--matching-game,.nim-companion--merge-game,.nim-companion--mind-battle{width:96px;height:86px}}@media (max-width:360px){.nim-companion--home{width:82px;height:76px;flex-basis:82px}.nim-companion--chat-composer{width:64px;height:58px}.nim-companion--profile{width:82px;height:76px}.nim-companion--join{width:74px;height:68px}.nim-companion--matching-game,.nim-companion--merge-game,.nim-companion--mind-battle{width:82px;height:76px}}@media (prefers-reduced-motion:reduce){.nim-companion{transition:opacity var(--dur-fast) linear}}.student-nim-state{display:grid;justify-items:center;grid-gap:var(--space-2);gap:var(--space-2);padding:var(--space-6) var(--space-5);border:1px dashed var(--border-2);border-radius:var(--radius-2xl);text-align:center}.student-nim-state--error{border-style:solid;border-color:var(--danger);background:var(--danger-surface)}.student-nim-state__nim{width:132px;height:118px}.student-nim-state__nim .nim-companion{width:100%;height:100%}.student-nim-state__title{margin:0;font-size:var(--t-md);line-height:var(--lh-md);font-weight:var(--fw-medium);color:var(--fg-1)}.student-nim-state__hint{margin:0;max-width:34ch;font-size:var(--t-base);line-height:var(--lh-base);color:var(--fg-2)}.student-nim-state__action{margin-top:var(--space-2)}@media (max-width:360px){.student-nim-state{padding:var(--space-5) var(--space-4)}.student-nim-state__nim{width:108px;height:96px}}