@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');
:root{font-family:'Nunito',system-ui,sans-serif;color:#203e42;background:#f8f7f2;font-synthesis:none;--teal:#146c69;--ink:#203e42;--muted:#596d70;--line:#d9e3df;--purple:#695099;--paper:#fff;--orange:#f5b576}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 90% 5%,#e1eeea 0,transparent 34%),#f8f7f2}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button,a,input,select,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9168d0;outline-offset:4px}button{color:inherit}a{color:inherit}button{transition:background .15s,transform .15s}button:hover:not(:disabled){filter:brightness(.97)}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;top:-100px;background:white;padding:15px;z-index:99}.skip-link:focus{top:10px}.site-header{min-height:94px;padding:10px max(22px,calc((100% - 1160px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);background:#fffdf9}.logo{display:block;width:145px;height:70px;object-fit:contain}.header-note{font-size:10px;letter-spacing:.12em;font-weight:900;color:#657976}.back-link{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:900;text-decoration:none;border:1px solid #c6d6d0;border-radius:30px;padding:12px 16px;white-space:nowrap}main{max-width:1160px;margin:auto;padding:0 22px}.hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:40px;padding:48px 0 36px}.eyebrow{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.12em;font-weight:900;color:var(--teal);margin:0 0 12px}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--teal)}h1{font-size:clamp(38px,5.7vw,66px);font-weight:900;letter-spacing:-.055em;line-height:1.02;margin:0 0 16px}h1 span{color:var(--teal)}.intro{color:var(--muted);font-size:16px;line-height:1.6;margin:0}h2{font-size:19px;margin:0;letter-spacing:-.025em}h3{font-size:clamp(24px,4vw,36px);line-height:1.25;margin:10px 0 22px}.hero-art{height:226px;border:1px solid #c5dad3;border-radius:34px;background-color:#deeee8;background-image:radial-gradient(#abc7bc .8px,transparent .8px);background-size:14px 14px;position:relative;display:flex;align-items:center;justify-content:center;gap:12px;isolation:isolate}.art-label{position:absolute;top:20px;font-size:9px;font-weight:900;letter-spacing:.1em;color:#426d60}.measure-tile{width:145px;height:106px;border:2px solid #294d49;border-radius:16px;box-shadow:3px 5px 0 #294d4926;padding:15px 14px;display:flex;flex-direction:column;justify-content:space-between;font-weight:900;font-size:29px}.tile-one{background:#fffdf3;transform:rotate(-7deg)}.tile-two{background:#ffca91;transform:rotate(6deg)}.art-equals{font-size:32px;font-weight:900;color:#426d60}.ruler{height:19px;display:block;border-bottom:2px solid #42615a;background:repeating-linear-gradient(90deg,#42615a 0 2px,transparent 2px 13px)}.art-caption{position:absolute;bottom:17px;font-size:12px;font-weight:800;color:#426d60}.art-spark{position:absolute;right:13px;top:50px;color:var(--purple);font-size:32px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:22px;box-shadow:0 5px 0 #203e4204}.setup{padding:24px}.section-line{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.step-label{display:inline-block;font-size:11px;color:var(--teal);vertical-align:middle;margin-right:10px;letter-spacing:.04em}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.55}.levels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.level{display:flex;align-items:center;gap:12px;text-align:left;min-height:76px;background:#fff;border:1px solid #d8e1df;border-radius:14px;padding:13px}.level.active{border:2px solid var(--teal);background:#eaf5ef;padding:12px;box-shadow:0 3px 0 #146c6912}.level strong{display:block;font-size:14px}.level small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.level-symbol{font-size:24px}.level-description{font-size:12px;line-height:1.5;color:var(--muted);margin:16px 0}.categories{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #e9edeb;padding-top:16px}.category{border:1px solid #dce4e1;background:#fff;border-radius:30px;padding:10px 15px;font-size:13px;font-weight:800;min-height:44px}.category.active{background:var(--ink);color:white;border-color:var(--ink)}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:30px 0 18px}.mode-switch{display:flex;background:#e6ece8;padding:4px;border-radius:30px;gap:4px}.mode-switch button{border:0;border-radius:26px;background:transparent;padding:11px 24px;font-size:13px;font-weight:900;min-height:44px}.mode-switch button.active{background:white;box-shadow:0 2px 6px #203e4212;color:var(--teal)}.mode-switch span{color:var(--purple);padding-left:4px}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:18px}.converter-card{padding:26px}.pill{border-radius:20px;background:#f0eee8;padding:7px 11px;font-size:11px;font-weight:900;white-space:nowrap}.conversion-grid{display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:10px;align-items:center;margin-top:26px}.value-box{min-width:0;padding:16px;background:#f7f8f5;border:1px solid #dee6e1;border-radius:15px}.value-box>label{font-size:12px;font-weight:800}.value-box input,.value-box output{display:block;width:100%;min-width:0;min-height:56px;font-size:32px;font-weight:900;letter-spacing:-.03em;line-height:1.4;margin:6px 0 10px;border:0;background:transparent;color:var(--ink);padding:0}.value-box output{overflow-wrap:anywhere}.value-box select{width:100%;min-width:0;padding:10px 6px;font-size:13px;min-height:44px;background:white;border:1px solid #c9d9d2;border-radius:8px;color:var(--ink)}.result-box{background:#eaf6ee;border-color:#b8d9c9}.result-box output{color:var(--teal)}.swap{width:38px;height:44px;border:0;border-radius:50%;background:#fff;font-size:25px;color:var(--teal)}.error{color:#9e3d2f;font-size:13px;margin:0 0 10px}.error:empty{display:none}.explanation{background:#f4f0fa;border:1px solid #e6dff1;border-radius:12px;padding:16px;line-height:1.65;font-size:13px;margin:18px 0}.explanation strong{color:#573d82}.explanation .equation{font-size:18px;font-weight:900;margin:7px 0 0;overflow-wrap:anywhere}.secondary,.primary{border-radius:11px;font-size:14px;font-weight:900;min-height:46px;padding:12px 20px}.secondary{border:1px solid #bfd4cd;background:white;color:var(--teal)}.primary{border:1px solid #0c5a58;background:var(--teal);color:white;box-shadow:0 3px 0 #0c4f4d}.guide-card{padding:26px;background:#fffcf3;border-color:#e5ddc7}.guide-card>p:not(.eyebrow){font-size:13px;line-height:1.65;color:#636252}.unit-ladder{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:22px 0 16px}.unit-step{padding:12px 0;text-align:center;background:#f1ead8;border-radius:7px;font-size:12px;font-weight:900;position:relative}.unit-step.path{background:#e2d7f1;color:#583d7b}.unit-step.endpoint{background:var(--teal);color:white}.guide-rule{font-size:12px;line-height:1.8;background:#fff;border-radius:11px;padding:13px;border:1px dashed #dacfb1}.guide-rule strong{color:var(--teal)}.real-example{border-top:1px solid #e8e0cd;padding-top:15px;margin-bottom:0}.notebook{grid-column:1/-1;overflow:hidden}.notebook summary{padding:18px 24px;cursor:pointer;font-weight:900;font-size:14px}.notebook summary span{float:right;font-size:11px;color:var(--muted);font-weight:700}.notebook-body{padding:0 24px 20px}#history-list{padding:0;list-style:none}#history-list li{padding:10px 0;border-bottom:1px solid #e6ede9;font-size:14px;overflow-wrap:anywhere}#history-list .empty{color:var(--muted);font-size:13px}.text-button{padding:10px 0;border:0;background:none;text-decoration:underline;text-underline-offset:4px;font-size:13px;font-weight:800;color:var(--teal);min-height:44px}.practice-card{padding:30px;max-width:900px;margin:auto}.practice-card .section-line{align-items:start}.practice-card p{line-height:1.65}.mission-notes{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.mission-notes span{padding:12px;background:#f4f0fa;border-radius:12px;font-size:13px}.progress-line{display:flex;justify-content:space-between;gap:12px;font-size:12px;font-weight:800;margin-top:28px}progress{width:100%;height:10px;border:0;border-radius:10px;appearance:none;margin:10px 0 22px}progress::-webkit-progress-bar{background:#e7eee8;border-radius:10px}progress::-webkit-progress-value{background:var(--teal);border-radius:10px}progress::-moz-progress-bar{background:var(--teal);border-radius:10px}.question-context{font-size:14px;color:var(--muted);margin:0}.answer-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.answer-row input{min-width:0;flex:1;width:170px;border:2px solid #bfd5cd;border-radius:12px;padding:12px 15px;font-size:24px;font-weight:800;color:var(--ink)}#answer-unit{font-size:23px;font-weight:900}.quiz-tools{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.hint{background:#fff6da;border:1px solid #edddab;padding:16px;border-radius:12px;font-size:14px;line-height:1.7;margin:12px 0}.feedback{border-radius:12px;font-size:15px;line-height:1.65;margin:15px 0;overflow-wrap:anywhere}.feedback:not(:empty){padding:18px}.feedback.correct{background:#e7f5eb;color:#205a3d;border:1px solid #b4d9c2}.feedback.retry{background:#fff0df;color:#754823;border:1px solid #efcfaa}.feedback.learned{background:#f0ebf8;color:#593d81;border:1px solid #d7c9eb}.practice-footnote{margin:24px 0 0}.quiz-summary{padding:24px 0;text-align:center}.celebration{font-size:45px;letter-spacing:10px;color:#b66b12}.summary-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0}.summary-stats>div{border:1px solid var(--line);padding:16px 10px;border-radius:14px;font-size:13px}.summary-stats strong{display:block;font-size:30px;color:var(--teal)}.summary-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}footer{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted);padding:30px 0}footer strong{color:var(--teal)}footer>span{margin-left:auto}
@media(min-width:1400px){.hero{padding-top:58px;padding-bottom:42px}}
@media(max-width:950px){.header-note{display:none}.levels{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.converter-card,.guide-card{padding:20px}.conversion-grid{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);gap:5px}.swap{width:30px}.value-box{padding:12px}.measure-tile{width:115px;font-size:24px}.hero-art{gap:8px}.section-line .small{max-width:180px}.value-box input,.value-box output{font-size:28px}}
@media(max-width:760px){.workspace-grid{grid-template-columns:1fr}.hero{gap:20px}.hero-art{height:205px}.measure-tile{width:100px;height:94px;font-size:21px}.art-label{font-size:7px}.art-equals{font-size:23px}.art-spark{font-size:20px}.workspace-heading h2{font-size:17px}.mode-switch button{padding:10px 17px}.guide-card{padding:22px}.unit-step{padding:14px 0}.value-box input,.value-box output{font-size:32px}.conversion-grid{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:10px}.swap{width:38px}.unit-ladder{max-width:520px}}
@media(max-width:540px){main{padding:0 16px}.site-header{padding:9px 16px;min-height:80px;gap:12px}.logo{width:115px;height:60px}.back-link{font-size:11px;padding:10px 12px}.hero{grid-template-columns:1fr;padding:30px 0 24px;gap:24px}.hero h1 br{display:none}h1{font-size:44px;max-width:370px}.intro{font-size:14px}.hero-art{height:148px;border-radius:22px}.measure-tile{width:121px;height:79px;font-size:23px;padding:9px 13px}.ruler{height:14px}.art-label{top:11px;font-size:7px}.art-caption{bottom:8px;font-size:10px}.art-equals{padding:0 5px}.art-spark{right:24px;top:40px}.setup{padding:18px 14px}.section-line{flex-wrap:wrap;gap:10px}.section-line .small{max-width:none}.section-line h2{font-size:17px}.levels{gap:8px}.level{padding:10px;gap:7px;min-height:76px}.level.active{padding:9px}.level-symbol{font-size:20px}.level strong{font-size:12px}.level small{font-size:10px}.categories{gap:6px}.category{font-size:12px;padding:9px 11px}.workspace-heading{align-items:start;flex-direction:column;margin-top:24px}.mode-switch{width:100%}.mode-switch button{flex:1}.converter-card,.guide-card{padding:18px}.converter-card .eyebrow{font-size:9px}.conversion-grid{gap:5px;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);margin-top:16px}.value-box{padding:10px}.value-box>label{font-size:10px}.value-box input,.value-box output{font-size:26px;min-height:45px}.value-box select{font-size:12px;padding:9px 3px}.swap{width:28px;font-size:24px}.explanation{padding:13px;font-size:12px}.explanation .equation{font-size:16px}.secondary{width:100%;padding:12px;font-size:13px}.notebook summary{padding:18px 16px}.practice-card{padding:20px 16px}.answer-row{gap:9px}.answer-row .primary{width:100%}.summary-stats{gap:6px}.summary-stats>div{font-size:11px;padding:12px 6px}.summary-stats strong{font-size:26px}.mission-notes{gap:8px}.mission-notes span{width:100%}footer{line-height:1.6}footer>span{width:100%;margin:0}}
.measure-tile>span{white-space:nowrap;font-size:.87em}
.experience-controls{max-width:1160px;margin:12px auto 0;padding:0 22px;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.experience-controls button{min-height:44px;padding:8px 14px;border:1px solid #c6d6d0;border-radius:24px;background:#fffdf9;font-size:12px;font-weight:800}
.experience-controls button[aria-pressed="false"]{background:#eeeae3;color:#536260}
.hint h4{font-size:17px;line-height:1.4;margin:0 0 14px;color:#3a534d}
.hint-figure{margin:0;padding:12px;border:1px solid #e6dfc8;border-radius:14px;background:#fffefa;text-align:center}
.hint-figure img{display:block;width:100%;max-width:440px;height:auto;margin:auto}
.hint-figure figcaption{font-size:12px;line-height:1.6;color:#596552;max-width:460px;margin:5px auto}
.hint-route{display:flex;gap:8px;flex-wrap:wrap;list-style:none;padding:0;margin:16px 0}
.hint-route li{padding:8px 12px;border:1px solid #c7dbd2;border-radius:10px;background:#eaf6ee;color:#24564b;font-size:14px;font-weight:900}
.hint .hint-prompt{font-weight:800;color:#4d4869;margin-bottom:0}
#confetti-layer{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:1000;contain:strict}
.confetti-piece{position:absolute;width:9px;height:6px;border-radius:2px;animation:confetti-burst 1.25s ease-out both;will-change:transform,opacity}
@keyframes confetti-burst{0%{opacity:0;transform:translate(0,0) rotate(0)}10%{opacity:1}35%{opacity:1;transform:translate(calc(var(--dx)*.55),-65px) rotate(calc(var(--spin)*.4))}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--spin))}}
@media(max-width:540px){.experience-controls{justify-content:center;padding:0 16px}.experience-controls button{font-size:11px;padding:8px 11px}.hint{padding:13px}.hint-figure{padding:6px}.hint-route li{font-size:13px;padding:7px 9px}}
@media(prefers-reduced-motion:reduce){.confetti-piece{display:none;animation:none}}
@media(max-width:540px){.value-box select{font-size:16px}.hero h1{font-size:clamp(36px,11.3vw,44px)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.reward-stars{display:flex;align-items:center;justify-content:center;gap:4px;margin:10px auto 22px}.reward-stars img{width:92px;height:92px;filter:drop-shadow(0 5px 0 #35254219)}.reward-stars img:first-child{transform:rotate(-12deg)}.reward-stars img:last-child{transform:rotate(12deg)}.reward-stars img:nth-child(2){width:116px;height:116px;margin-top:-15px}.feedback.correct .reward-stars{float:left;margin:0 14px 4px 0}.feedback.correct .reward-stars img{width:65px;height:65px;transform:rotate(-8deg)}.feedback.correct::after{content:'';display:block;clear:both}.review-button{background:#7251aa;border-color:#443065;box-shadow:0 3px 0 #443065}.summary-actions .review-button{flex-basis:100%}@media(max-width:540px){.reward-stars img{width:65px;height:65px}.reward-stars img:nth-child(2){width:85px;height:85px}.review-button{font-size:13px;padding:12px}}

.hint-overview{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0}.hint-overview strong{padding:9px 14px;border:2px solid #c6d8cd;background:white;border-radius:12px}.hint-overview strong.current{background:#146c69;color:white;border-color:#146c69}.worked-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px}.worked-step{border:1px solid #c4d8ce;background:#fffefa;border-radius:14px;padding:16px}.worked-label{font-size:13px;font-weight:800;margin:0 0 12px}.worked-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.worked-row strong{font-size:23px;overflow-wrap:anywhere}.worked-result{color:#146c69}.worked-operation{font-size:13px;color:#62517e;font-weight:900}.worked-equation{font-size:14px;margin:10px 0 0!important}.hint-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:16px}.hint-answer{padding:16px;border:2px solid #87bda4;border-radius:14px;background:#e9f7ee;margin:16px 0}.hint-answer strong{font-size:22px;color:#146c69;overflow-wrap:anywhere}.hint-answer p{font-size:13px;margin-bottom:0}.hint-why{margin-top:18px}.hint-why summary{cursor:pointer;min-height:44px;font-size:13px;font-weight:800;padding:10px 0}@media(max-width:540px){.worked-row{flex-direction:column;align-items:flex-start;gap:8px}.worked-step{padding:12px}.worked-row strong{font-size:22px}.hint-controls{align-items:stretch}.hint-controls button{width:100%}}

.worked-operation::after{content:' →'}@media(max-width:540px){.worked-operation::after{content:' ↓'}}
.timer-choice{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:22px 0;padding:16px;border:1px solid #d8e2de;border-radius:15px;background:#f7faf7}.timer-choice strong{font-size:15px}.timer-choice p{margin:4px 0 0;font-size:12px;color:var(--muted)}.timer-choice button{white-space:nowrap}.timer-choice button.timer-on{background:#fff0ca;color:#684b13;border-color:#e2b953;box-shadow:0 3px 0 #d3a339}.mission-timer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 14px;padding:11px 15px;background:#fff4d8;border:1px solid #e8c66f;border-radius:12px;color:#634b18}.mission-timer span{font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.mission-timer strong{font:900 24px/1 ui-monospace,monospace;font-variant-numeric:tabular-nums}.mission-performance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.mission-performance p{margin:0;padding:15px 10px;border-radius:14px;background:#fff6dc;border:1px solid #ead7a3}.mission-performance strong,.mission-performance span{display:block}.mission-performance strong{font-size:25px;color:#79551a}.mission-performance span{font-size:11px;line-height:1.35;color:#665d4e;margin-top:3px}@media(max-width:540px){.timer-choice{align-items:stretch;flex-direction:column}.timer-choice button{width:100%}.mission-performance{grid-template-columns:1fr}.mission-performance p{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left}.mission-performance span{text-align:right}}

/* Ruta visual de las pistas: solo dibuja el tramo necesario en cada reto. */
.hint{overflow:hidden;background:linear-gradient(145deg,#fff9df,#fff3c7);border:2px solid #efd17a;padding:22px;border-radius:24px;box-shadow:0 5px 0 #d9b64b2e}
.hint h4{font-size:23px;color:#31554d;margin:0 0 4px}.route-intro{margin:0;color:#655a3d;font-size:13px}.conversion-journey{display:flex;align-items:center;min-width:max-content;padding:32px 8px 22px;overflow:visible}.journey-part{display:flex;align-items:center;animation:route-arrive .42s cubic-bezier(.2,.9,.3,1.2) both}.journey-node{position:relative;width:112px;min-height:132px;padding:35px 10px 11px;border:3px solid #31554d;border-radius:26px;background:#fff;box-shadow:0 7px 0 #31554d22;text-align:center;isolation:isolate}.journey-node::before,.journey-node::after{content:'';position:absolute;top:12px;width:8px;height:8px;border-radius:50%;background:#31554d1f}.journey-node::before{left:13px}.journey-node::after{right:13px}.journey-start{background:#fff0dc;border-color:#e58a31}.journey-finish{background:#e6f7e9;border-color:#2e9662}.journey-middle{background:#eef5ff;border-color:#5b84bb}.journey-flag{position:absolute;top:-14px;left:50%;transform:translateX(-50%) rotate(-2deg);padding:5px 12px;border-radius:20px;background:#31554d;color:#fff;font-size:9px;line-height:1;letter-spacing:.1em;font-weight:900;white-space:nowrap;box-shadow:0 3px 0 #203e4225}.journey-start .journey-flag{background:#e27d20}.journey-finish .journey-flag{background:#218653}.journey-unit{display:block;font-size:31px;line-height:1;color:#203e42}.journey-name{display:block;min-height:31px;margin-top:7px;font-size:10px;line-height:1.25;color:#63706c}.journey-value{display:inline-block;max-width:100%;margin-top:8px;padding:4px 9px;border-radius:12px;background:#fff4b8;color:#674a08;font-size:14px;line-height:1.2;font-weight:900;overflow-wrap:anywhere}.journey-connector{position:relative;width:96px;height:78px;display:flex;align-items:center;justify-content:center}.journey-trail{position:absolute;left:4px;right:4px;top:40px;border-top:4px dashed #d39a24}.journey-trail::after{content:'▶';position:absolute;right:-5px;top:-13px;color:#d39a24;font-size:17px}.journey-operation{position:absolute;top:0;left:50%;transform:translateX(-50%) rotate(-2deg);padding:5px 10px;border-radius:9px;background:#6dd5ed;color:#173f50;font-size:13px;line-height:1;white-space:nowrap;box-shadow:0 3px 0 #248ca638}.journey-mascot{position:absolute;z-index:2;left:10px;top:26px;width:31px;height:31px;border:3px solid #684b0d;border-radius:50%;background:#ffd449;color:#9d5b00;font-size:20px;line-height:25px;text-align:center;filter:drop-shadow(0 3px 0 #684b0d2e);animation:route-hop .75s ease-in-out both}.route-progress{margin:8px 0 0;padding:10px 13px;border-radius:12px;background:#ffffffa8;color:#4d625d;font-size:12px;font-weight:800}.route-next{width:auto}.hint-answer{border:3px solid #49a874;border-radius:18px;background:#e9f9ed;box-shadow:0 4px 0 #2e966222}.hint-answer strong{font-size:24px}.hint-answer p{color:#355a48}.hint-why{border-top:1px dashed #d5b85e;padding-top:8px}
@keyframes route-arrive{from{opacity:0;transform:translateY(18px) scale(.94)}to{opacity:1;transform:none}}
@keyframes route-hop{0%{transform:translateX(0) translateY(7px) rotate(-12deg)}55%{transform:translateX(35px) translateY(-16px) rotate(10deg)}100%{transform:translateX(62px) translateY(7px) rotate(18deg)}}
@media(max-width:760px){.conversion-journey{min-width:0;flex-direction:column;align-items:center;padding:28px 0 16px}.journey-part{flex-direction:column}.journey-connector{width:78px;height:88px}.journey-trail{left:37px;right:auto;top:5px;bottom:5px;border-top:0;border-left:4px dashed #d39a24}.journey-trail::after{content:'▼';right:auto;left:-10px;top:auto;bottom:-10px}.journey-operation{top:29px;left:59px;transform:rotate(2deg);z-index:3}.journey-mascot{left:23px;top:8px;animation:route-hop-mobile .75s ease-in-out both}.journey-node{width:min(240px,75vw);min-height:116px;padding-top:31px}.journey-name{min-height:0}.route-next{width:100%}}
@keyframes route-hop-mobile{0%{transform:translateY(0) rotate(-12deg)}55%{transform:translateY(31px) translateX(-16px) rotate(10deg)}100%{transform:translateY(54px) rotate(18deg)}}
@media(prefers-reduced-motion:reduce){.journey-part,.journey-mascot{animation:none}}

/* Estrellas de aprendizaje: recompensa inmediata y balance final de misión. */
.reward-stars .star-empty{opacity:.2;filter:grayscale(1);transform:scale(.9)}
.feedback .reward-stars{float:none;justify-content:flex-start;gap:2px;margin:0 0 8px}
.feedback .reward-stars img,.feedback.correct .reward-stars img{width:52px;height:52px;margin:0;transform:none}
.feedback.learned .reward-stars img{width:52px;height:52px}
.final-star-panel{margin:0 auto 24px;padding:22px 16px;border:2px solid #e5bd43;border-radius:24px;background:linear-gradient(145deg,#fff9dc,#ffefad);box-shadow:0 6px 0 #d39a2426}
.final-rating{gap:1px;margin:0 auto 10px}.final-rating img,.final-rating img:nth-child(2){width:82px;height:82px;margin:0;filter:drop-shadow(0 5px 0 #8f64182b)}.final-rating img:nth-child(1){transform:rotate(-9deg)}.final-rating img:nth-child(2){transform:rotate(-4deg)}.final-rating img:nth-child(3){transform:translateY(-7px)}.final-rating img:nth-child(4){transform:rotate(4deg)}.final-rating img:nth-child(5){transform:rotate(9deg)}.final-rating .star-empty{filter:grayscale(1);transform:scale(.88);opacity:.18}.star-total{margin:0!important}.star-total strong,.star-total span{display:block}.star-total strong{font-size:24px;color:#76520e}.star-total span{margin-top:3px;font-size:13px;color:#665634}
@media(max-width:540px){.feedback .reward-stars img,.feedback.correct .reward-stars img,.feedback.learned .reward-stars img{width:44px;height:44px}.final-star-panel{padding:16px 8px}.final-rating img,.final-rating img:nth-child(2){width:58px;height:58px}.star-total strong{font-size:20px}}
