/* The student cat leads the journey; teachers appear in lessons and conversations. */
.comp-cat{display:block;flex:none;position:relative;width:110px;height:110px;background:url('../../img/mascot/student-cat-v1-900.webp') 0 0/300% 200% no-repeat;filter:drop-shadow(0 9px 5px #a95b191b);border:0;padding:0;background-color:transparent}
.comp-cat[data-pose="study"]{background-position:50% 0}.comp-cat[data-pose="think"]{background-position:100% 0}.comp-cat[data-pose="happy"]{background-position:0 100%}.comp-cat[data-pose="encourage"]{background-position:50% 100%}.comp-cat[data-pose="gift"]{background-position:100% 100%}
button.comp-cat{cursor:pointer;border-radius:40%;transition:transform .2s}button.comp-cat:hover{transform:rotate(-4deg) translateY(-4px)}button.comp-cat:focus-visible{outline:3px solid var(--oranje);outline-offset:5px}
header .brand{display:grid;grid-template-columns:38px auto;column-gap:10px;row-gap:4px}header .brand::before{grid-row:1/3;grid-column:1}header .brand h1{grid-column:2}header #tagline{display:block;grid-column:2;background:none;padding:0;font-size:11px;font-weight:700;color:#fff3d7;letter-spacing:0}
.comp-header-route{display:flex;flex-direction:column;align-items:start;gap:3px;margin-inline:auto;padding:10px 18px;border:1px solid #fff6;border-radius:16px;background:#fff2;color:#fff;text-align:start;font:inherit;cursor:pointer;max-width:330px}.comp-header-route strong{font-size:14px}.comp-header-route small{font-size:11px;color:#fff4e3}.comp-header-route:focus-visible{outline:3px solid white;outline-offset:3px}header .hdr-stats{margin-inline-start:0}.comp-points-label{font-size:11px;font-weight:700}
.comp-welcome{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:center;padding:30px;border:2px solid var(--line);border-radius:30px;background:radial-gradient(ellipse at 5% 10%,#ffce6330,transparent 60%),var(--surface);box-shadow:0 6px 0 var(--edge);margin:0 0 26px;position:relative;overflow:hidden;text-align:start}
.comp-scene{position:relative;display:flex;flex-direction:column;align-items:center;padding:10px}.comp-scene>.comp-cat{width:225px;height:225px;animation:comp-arrive .6s ease both}.comp-bubble{position:relative;max-width:240px;text-align:center;padding:12px 15px;background:var(--surface-2);border:1px solid var(--line);border-radius:18px;font-size:13px;font-weight:800;line-height:1.5;margin:6px 0 0}.comp-bubble:before{content:'';position:absolute;top:-7px;inset-inline-start:45%;width:12px;height:12px;background:var(--surface-2);border-inline-start:1px solid var(--line);border-top:1px solid var(--line);transform:rotate(45deg)}
.comp-content{min-width:0}.comp-eyebrow{display:block;color:var(--ink-2);font-size:12px;font-weight:800;letter-spacing:.03em}.comp-content h2{font-family:var(--font-display);font-size:clamp(24px,3vw,32px);line-height:1.2;margin:10px 0 15px}.comp-intro{color:var(--ink-2);font-size:16px;line-height:1.6;margin:0 0 12px}.comp-teachers{display:block;color:var(--ink-2);font-size:12px;line-height:1.5}.comp-next{font-weight:900;font-size:14px;padding:10px 12px;border-inline-start:3px solid var(--oranje);background:var(--surface-2);border-radius:0 10px 10px 0;line-height:1.5;margin:16px 0 0}.comp-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.comp-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:2px solid var(--line);border-bottom-width:4px;border-radius:15px;background:var(--surface);color:var(--ink);font:800 14px/1.4 var(--font-body);cursor:pointer;white-space:normal;overflow-wrap:anywhere}.comp-button.primary{background:var(--oranje);border-color:var(--oranje);border-bottom-color:var(--oranje-deep);color:var(--on-oranje)}.comp-button:focus-visible{outline:3px solid var(--oranje);outline-offset:3px}
.comp-how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:16px 0 0;margin:0;list-style:none;border-top:1px solid var(--line)}.comp-how li{display:flex;flex-direction:column;gap:4px;min-width:0}.comp-how strong{font-size:13px}.comp-how small{font-size:12px;line-height:1.4;color:var(--ink-2)}.comp-step-icon{font-size:24px}.comp-orbit{position:absolute;font-size:35px;color:#edaa18;pointer-events:none}.orbit-one{top:20px;inset-inline-start:7px}.orbit-two{top:74px;inset-inline-end:0;font-size:24px}
.comp-topic{align-items:center;padding:14px 18px;gap:15px}.comp-topic .comp-cat{width:92px;height:92px}.comp-topic .tb-text{gap:5px}.comp-topic .tb-text strong{font-size:22px;white-space:normal;line-height:1.3}.comp-topic .tb-text small{white-space:normal}.comp-topic-desc{font-size:13px;line-height:1.5;color:var(--ink-2);font-weight:600}.comp-original{font-size:13px;color:var(--ink-2)}.comp-topic .tb-change{margin-inline-start:auto;max-width:140px;text-align:center}
.comp-mode-help{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;padding:12px 16px;border-radius:16px;background:var(--surface-2);border:1px solid var(--line);margin:0 auto;width:min(100%,1200px)}.comp-mode-summary{flex:1;min-width:160px;font-size:13px;color:var(--ink-2);margin:0;line-height:1.5}.comp-mode-help>.comp-button{padding:7px 12px;min-height:38px;font-size:12px}.comp-hint-body{display:flex;align-items:center;gap:12px;flex-basis:100%;padding:12px 0 0;border-top:1px solid var(--line)}.comp-hint-body[hidden]{display:none}.comp-hint-body .comp-cat{width:80px;height:80px}.comp-hint-body p{font-size:14px;line-height:1.5;margin:0;min-width:0}
.comp-feedback{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:20px;background:var(--surface-2);text-align:start;animation:comp-arrive .3s ease both;margin:12px 0}.comp-feedback .comp-cat{width:76px;height:76px}.comp-feedback p{font-size:15px;line-height:1.5;font-weight:800;margin:0}.comp-feedback.is-right{border:1px solid #52a97a55}.comp-feedback.is-wrong{border:1px solid #eaaa3855}.comp-practice{padding:14px;border:2px dashed var(--line);border-radius:18px;margin:12px 0}.comp-practice p{font-size:13px;line-height:1.5}.comp-practice .lp-options{margin:12px 0}
.rw-scene .comp-cat{width:165px;height:165px;animation:comp-arrive .7s ease both}.rw-lead>.comp-cat{width:95px;height:95px;flex:none}.rw-gift-name{display:block;font-size:12px;color:var(--ink-2)}
@keyframes comp-arrive{from{opacity:0;transform:translateY(12px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(min-width:1000px){.learning-path{max-width:1000px}.comp-welcome{grid-template-columns:270px minmax(0,1fr);padding:34px}.comp-scene>.comp-cat{width:250px;height:250px}}
@media(max-width:760px){.comp-header-route{display:none}header .hdr-stats{margin-inline-start:auto}.comp-welcome{grid-template-columns:150px minmax(0,1fr);gap:15px;padding:22px}.comp-scene>.comp-cat{width:160px;height:160px}.comp-bubble{font-size:12px;padding:9px}.comp-content h2{font-size:25px}.comp-actions{flex-direction:column}.comp-topic .tb-text strong{font-size:18px}}
@media(max-width:540px){header #tagline{display:none}header .brand{display:flex}.comp-points-label{display:none}.comp-welcome{grid-template-columns:1fr;gap:12px;padding:20px}.comp-scene{flex-direction:row;padding:0;gap:12px;justify-content:center}.comp-scene>.comp-cat{width:130px;height:130px}.comp-bubble{max-width:155px;text-align:start;margin:0}.comp-bubble:before{display:none}.comp-content h2{font-size:25px;margin:8px 0 12px}.comp-intro{font-size:14px}.comp-actions{margin:15px 0}.comp-content .comp-eyebrow{font-size:11px}.comp-topic{gap:10px;padding:12px;flex-wrap:wrap}.comp-topic .comp-cat{width:65px;height:65px}.comp-topic .tb-text{flex:1;min-width:150px}.comp-topic .tb-change{flex-basis:100%;max-width:none;padding-top:8px;border-top:1px solid var(--line);justify-content:center}.comp-topic-desc{font-size:12px}.comp-how{gap:10px}.comp-how small{font-size:11px}.comp-feedback{padding:8px 10px;gap:8px}.comp-feedback p{font-size:14px}.comp-feedback .comp-cat{width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){.comp-cat,.comp-feedback,.comp-scene>.comp-cat,.rw-scene .comp-cat{animation:none;transition:none}button.comp-cat:hover{transform:none}}

.comp-header-route[hidden]{display:none}

.rw-scene.is-gifted .comp-cat{animation:comp-jump .65s ease both}@keyframes comp-jump{0%,100%{transform:translateY(0)}35%{transform:translateY(-18px) rotate(-5deg)}70%{transform:translateY(-4px) rotate(4deg)}}@media(prefers-reduced-motion:reduce){.rw-scene.is-gifted .comp-cat{animation:none}}
