@font-face{font-family:Andika;font-weight:400;font-style:normal;font-display:block;src:url(/camino-de-letras/fonts/andika-400-latin.woff2)format("woff2")}@font-face{font-family:Andika;font-weight:700;font-style:normal;font-display:block;src:url(/camino-de-letras/fonts/andika-700-latin.woff2)format("woff2")}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#fbfcfe;--ground:#eef3f9;--ink:#1f2a44;--ink-soft:#5b6782;--line:#d3dfec;--pauta:#9fc3e7;--margin:#f0a9a4;--road:#fff;--done:#ffe07a;--go:#2fa86b;--accent:#ff7a45;--accent-dark:#d95a28;--ok:#2fa86b;--font:"Andika", "Trebuchet MS", system-ui, sans-serif;--gutter:max(16px, env(safe-area-inset-left))}*{box-sizing:border-box}[hidden]{display:none!important}html,body{height:100%;margin:0}body{background:var(--ground);color:var(--ink);font-family:var(--font);overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;touch-action:manipulation;font-size:18px;position:fixed;inset:0;overflow:hidden}input{-webkit-user-select:auto;user-select:auto}.app{height:100%;padding:max(8px, env(safe-area-inset-top)) var(--gutter) max(12px, env(safe-area-inset-bottom));opacity:0;grid-template-rows:auto minmax(0,1fr);max-width:1280px;margin:0 auto;display:grid}body.ready .app{opacity:1;transition:opacity .2s}main{min-height:0;display:grid}.screen{flex-direction:column;grid-area:1/1;gap:12px;min-height:0;display:flex}button{font-family:var(--font);color:inherit;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;user-select:none}:is(button:focus-visible,a:focus-visible,label:focus-within){outline:3px solid var(--accent);outline-offset:3px}button:disabled{cursor:default;opacity:.45}.btn{font:700 24px var(--font);color:#fff;background:var(--accent);min-height:60px;box-shadow:0 4px 0 var(--accent-dark);white-space:nowrap;border:none;border-radius:999px;justify-content:center;align-items:center;gap:10px;padding:12px 32px;transition:transform 60ms,box-shadow 60ms;display:inline-flex}.btn svg{flex:none;width:26px;height:26px}.btn:active:not(:disabled){box-shadow:0 1px 0 var(--accent-dark);transform:translateY(3px)}.btn.big{min-height:76px;padding:14px 44px;font-size:30px}.btn.big svg{width:30px;height:30px}.btn.ghost{background:var(--paper);color:var(--ink);box-shadow:0 4px 0 var(--line);border:2px solid var(--line);font-size:20px}.btn.ghost:active:not(:disabled){box-shadow:0 1px 0 var(--line)}.btn.warn{background:#c8453c;font-size:18px;box-shadow:0 4px #8f2a24}.icon-btn{border:2px solid var(--line);background:var(--ground);width:56px;height:56px;color:var(--ink);box-shadow:0 3px 0 var(--line);border-radius:50%;flex:none;place-items:center;transition:transform 60ms,box-shadow 60ms;display:grid}.icon-btn:active:not(:disabled){box-shadow:0 0 0 var(--line);transform:translateY(3px)}.icon-btn svg{width:26px;height:26px}.icon-btn.big{width:64px;height:64px}.bar{align-items:center;gap:14px;min-height:66px;padding-bottom:10px;display:flex}.brand{align-items:center;gap:8px;min-width:0;margin-right:auto;font-size:19px;font-weight:700;display:flex}.brand svg{flex:none;width:40px;height:32px}body[data-screen=play] .brand span,body[data-screen=paint] .brand span,body[data-screen=end] .brand span{display:none}.progress{gap:6px;display:flex}.seg{background:var(--line);border-radius:6px;width:34px;height:12px;transition:background .3s}.seg.done{background:var(--accent)}.seg.now{box-shadow:0 0 0 2px var(--accent) inset;background:#ffc9b2}.estuche{background:var(--paper);border:2px solid var(--line);border-radius:14px;align-items:flex-end;gap:3px;padding:5px 10px;display:flex}.estuche .sep{width:8px}.estuche .slot{line-height:0;display:block}.cr{width:14px;height:42px;display:block;overflow:visible}.cr path,.cr rect.b{stroke:#b7c6d8;stroke-width:1.4px;stroke-dasharray:2 2}.cr.on path,.cr.on rect.b{stroke:var(--ink);stroke-dasharray:none}.slot.pop,.cr.pop{animation:.5s ease-out pop}@keyframes pop{0%{transform:none}40%{transform:translateY(-10px)scale(1.3)}to{transform:none}}.adult-btn{font:700 15px var(--font);color:var(--ink-soft);border:2px solid var(--line);-webkit-touch-callout:none;background:0 0;border-radius:12px;min-width:88px;min-height:56px;padding:8px 14px;position:relative;overflow:hidden}.adult-btn .lbl{position:relative}.adult-btn .hold-fill{transform-origin:0;background:#dce6f2;position:absolute;inset:0;transform:scaleX(0)}.adult-btn.holding .hold-fill{transition:transform var(--hold,2s) linear;transform:scaleX(1)}.adult-btn.has-update:after{content:"";background:var(--accent);border-radius:50%;width:9px;height:9px;position:absolute;top:6px;right:6px}.flying{z-index:50;pointer-events:none;will-change:transform;width:14px;height:44px;position:fixed;top:0;left:0}.flying .cr{width:14px;height:44px}.home{text-align:center;justify-content:center;align-items:center;gap:clamp(14px,3vh,30px)}.today{background:var(--paper);border:2px solid var(--line);text-align:left;border-radius:26px;align-items:center;gap:22px;padding:16px 32px 16px 20px;display:flex}.today svg{aspect-ratio:5/4;width:clamp(150px,20vw,220px);height:auto}.today h1{margin:0 0 4px;font-size:clamp(34px,5vw,50px);line-height:1.1}.today p{color:var(--ink-soft);margin:0;font-size:21px}.pick-label{color:var(--ink-soft);margin:0;font-size:22px}.animals{flex-wrap:wrap;justify-content:center;gap:14px;display:flex}.animal-btn{background:var(--paper);border:3px solid var(--line);width:124px;height:124px;font:700 17px var(--font);box-shadow:0 4px 0 var(--line);border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:4px;transition:transform .12s,border-color .12s;display:flex}.animal-btn svg{width:88px;height:66px;overflow:visible}.animal-btn[aria-checked=true]{border-color:var(--accent);box-shadow:0 4px 0 var(--accent);background:#fff1ea;transform:translateY(-3px)}.animal-btn:active{transform:translateY(2px)}.home-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;display:flex}.instr{background:var(--paper);border:2px solid var(--line);border-radius:18px;align-items:center;gap:12px;min-height:76px;padding:8px 10px;display:flex}.instr p{text-wrap:balance;-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:1;min-width:0;margin:0;font-size:clamp(24px,2.4vw,28px);font-weight:700;line-height:1.2;display:-webkit-box;overflow:hidden}.btn.again{min-height:58px;color:var(--accent-dark);background:#fff1ea;border:2px solid #ffc9b2;padding:8px 22px 8px 16px;font-size:21px;box-shadow:0 4px #ffc9b2}.btn.again:active:not(:disabled){box-shadow:0 1px #ffc9b2}.skip{font:700 16px var(--font);color:var(--ink-soft);border:2px dashed var(--line);background:0 0;border-radius:12px;flex:none;align-items:center;gap:4px;min-height:56px;padding:6px 14px;display:inline-flex}.skip svg{width:18px;height:18px}.skip:active:not(:disabled){transform:translateY(2px)}.stage-wrap{flex:1;min-height:0;display:flex;position:relative}.stage{background:var(--paper);border:2px solid var(--line);touch-action:none;-webkit-user-select:none;border-radius:22px;width:100%;height:100%;display:block}.pl{stroke:var(--pauta);stroke-width:2px}.pl.soft{stroke-dasharray:6 6;stroke-width:1.5px;opacity:.8}.margin{stroke:var(--margin);stroke-width:2px}.road-border{fill:none;stroke:var(--ink);stroke-width:54px;stroke-linecap:round;stroke-linejoin:round}.road-fill{fill:none;stroke:var(--road);stroke-width:47px;stroke-linecap:round;stroke-linejoin:round}.road-done{fill:none;stroke:var(--done);stroke-width:47px;stroke-linecap:round;stroke-linejoin:round}.road-dot-border{fill:var(--ink)}.road-dot-fill{fill:var(--road)}.road-dot-done{fill:var(--done);transition:opacity .2s}.chev{fill:none;stroke:#8c98b3;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.guide{fill:none;stroke:#8c98b3;stroke-width:6px;stroke-linecap:round;stroke-dasharray:.1 14}.guide-dot{fill:none;stroke:#8c98b3;stroke-width:4px;stroke-dasharray:.1 7;stroke-linecap:round}.model-box rect{fill:var(--ground);stroke:var(--line);stroke-width:2px}.model{fill:none;stroke:var(--ink);stroke-width:13px;stroke-linecap:round;stroke-linejoin:round}.model-label{font:700 12px var(--font);fill:var(--ink-soft)}.start{fill:var(--go);stroke:#fff;stroke-width:3px}.start-halo{fill:none;stroke:var(--go);stroke-width:2px;opacity:.35}.start-pulse{animation:.9s ease-in-out 3 startpulse}@keyframes startpulse{50%{transform:scale(1.55)}}.ghost{fill:var(--accent);opacity:.9}.paw{fill:var(--ink-soft);opacity:.22}.ink{opacity:.95}.ink-attempt,.ink{transition:opacity .3s}.ink-fading{transition-property:opacity;transition-timing-function:ease}.flag{pointer-events:none}.animal .a-body,.animal .a-hop{transform-box:fill-box;transform-origin:50% 90%}.animal.rest .a-body{animation:2.4s ease-in-out infinite breathe}@keyframes breathe{50%{transform:scale(1.04)}}.waitring{fill:none;stroke:var(--accent);stroke-width:4px;opacity:0;transform-box:fill-box;transform-origin:50%}.animal.wait .waitring{animation:1.1s ease-out infinite ring}@keyframes ring{0%{opacity:.9;transform:scale(.7)}to{opacity:0;transform:scale(1.5)}}.animal.wait .a-hop{animation:.9s ease-in-out infinite sway}@keyframes sway{0%,to{transform:rotate(-7deg)}50%{transform:rotate(7deg)}}.animal.hop .a-hop{animation:.45s ease-out 2 hop}@keyframes hop{50%{transform:translateY(-18px)}}.dbg-tol{fill:none;stroke:#2f6fdb;stroke-width:1.5px;stroke-dasharray:4 4}.dbg-off{fill:none;stroke:#c8453c;stroke-width:1.5px;stroke-dasharray:2 5}.dbg-bg{fill:#ffffffe6;stroke:var(--line)}.dbg-t{fill:var(--ink);font:700 11px ui-monospace,Menlo,monospace}.matchletter{fill:none;stroke:var(--ink);stroke-width:15px;stroke-linecap:round;stroke-linejoin:round}.frame{fill:#fff;stroke:var(--line);stroke-width:3px;transition:stroke .2s}.frame.correct{stroke:var(--ok);stroke-width:7px}.pic-in{transform-box:fill-box;transform-origin:50%}.shake{animation:.45s shake}@keyframes shake{20%{transform:translate(-8px)}40%{transform:translate(7px)}60%{transform:translate(-5px)}80%{transform:translate(3px)}}.toast{background:var(--paper);border:3px solid var(--accent);pointer-events:none;border-radius:20px;flex-direction:column;align-items:center;gap:6px;max-width:calc(100% - 32px);padding:12px 22px;display:flex;position:absolute;top:14px;left:50%;transform:translate(-50%);box-shadow:0 8px 22px #1f2a4429}.stage-wrap.is-match .toast{max-width:46%;top:auto;bottom:14px;left:16px;transform:none}.stage-wrap.is-match .toast-in{animation:none}.toast-in{animation:.3s ease-out toastin}@keyframes toastin{0%{opacity:0;transform:translate(-50%,-10px)}}.toast .pencils{gap:6px;display:flex}.toast .pencils .cr{width:16px;height:48px}.toast ul{text-align:center;margin:0;padding:0;font-size:21px;font-weight:700;line-height:1.35;list-style:none}.toast-plain{margin:0;font-size:22px;font-weight:700}.paint-art{flex:1;justify-content:center;min-height:0;display:flex}.paint-art svg{touch-action:none;width:100%;height:100%}.drawing .rg{cursor:pointer}.paint-bottom{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.palette{background:var(--paper);border:2px solid var(--line);border-radius:18px;flex-wrap:wrap;align-items:flex-end;gap:0;padding:4px 8px;display:flex}.pal-btn{background:0 0;border:none;justify-content:center;align-items:flex-end;min-width:50px;min-height:90px;padding:0;transition:transform .15s;display:flex}.pal-btn .cr{width:26px;height:76px}.pal-btn[aria-checked=true]{transform:translateY(-12px)}.end{text-align:center;justify-content:center;align-items:center;gap:clamp(10px,2.2vh,20px)}.end h2{margin:0;font-size:clamp(30px,4.4vw,42px)}.album-page{aspect-ratio:4/3.3;background:#fffdf6;border-radius:10px;place-items:center;width:min(560px,92%,64vh);display:grid;position:relative;overflow:visible;box-shadow:0 2px #e7e0cc,0 10px 26px #1f2a441f}.page-lines{opacity:.7;background:repeating-linear-gradient(#0000 0 27px,#eef3f9 27px 29px);border-radius:10px;position:absolute;inset:0}.stuck{width:78%;position:relative;transform:rotate(-2deg)}.stuck svg{background:var(--paper);border:2px solid var(--line);border-radius:12px;width:100%;height:auto;display:block;box-shadow:0 4px 10px #1f2a441f}.stuck .tape{background:#ffe07abf;border:1px solid #d9b43c80;border-radius:2px;width:92px;height:30px;position:absolute;top:-14px;right:-18px;transform:rotate(32deg)}.stick{animation:.9s cubic-bezier(.2,.8,.2,1) both stick}.stick .tape{animation:.35s ease-out .85s both tape}@keyframes stick{0%{transform:translateY(-40px)scale(1.28)rotate(0)}70%{transform:translateY(4px)scale(.98)rotate(-2.4deg)}to{transform:rotate(-2deg)}}@keyframes tape{0%{opacity:0;transform:rotate(32deg)scale(1.4)}}.adult-note{color:var(--ink-soft);background:var(--paper);border:2px dashed var(--line);border-radius:12px;max-width:680px;margin:0;padding:10px 14px;font-size:16px;line-height:1.4}.album{gap:12px}.album-head{align-items:center;gap:16px;display:flex}.album-head h2{text-align:center;flex:1;margin:0;font-size:clamp(28px,4vw,38px)}.album-count{color:var(--ink-soft);text-align:right;min-width:130px}.album-grid{flex:1;grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-height:0;display:grid}.album-item{border:2px solid var(--line);min-height:0;box-shadow:0 3px 0 var(--line);background:#fffdf6;border-radius:16px;flex-direction:column;gap:6px;padding:10px;display:flex}.album-item svg{background:var(--paper);border-radius:8px;flex:1;width:100%;min-height:0}.album-item span{color:var(--ink-soft);font-size:17px}.album-grid .empty{text-align:center;color:var(--ink-soft);grid-area:1/1/-1/-1;align-self:center;font-size:22px}.pager{color:var(--ink-soft);justify-content:center;align-items:center;gap:18px;font-size:18px;display:flex}.viewer{z-index:20;background:#1f2a4466;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.viewer-card{background:#fffdf6;border-radius:20px;flex-direction:column;gap:8px;width:min(900px,100%);max-height:100%;padding:18px;display:flex;position:relative}.viewer-card #viewerArt{min-height:0}.viewer-card svg{background:var(--paper);border-radius:12px;width:100%;height:auto;max-height:calc(100dvh - 160px);display:block}.viewer-card p{text-align:center;color:var(--ink-soft);margin:0;font-size:20px}.viewer-card .icon-btn{background:var(--paper);position:absolute;top:-16px;right:-16px}.sheet-bg{z-index:30;background:#1f2a4466;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.sheet{background:var(--paper);-webkit-user-select:none;border-radius:22px;flex-direction:column;gap:14px;width:100%;max-height:100%;padding:22px;display:flex;position:relative;box-shadow:0 20px 50px #1f2a4440}.sheet h3{margin:0;font-size:24px}.sheet .close{position:absolute;top:14px;right:14px}.gate{text-align:center;align-items:center;max-width:400px}.gate-q{margin:8px 0 0;font-size:28px;font-weight:700}.gate-ans{border-bottom:3px solid var(--line);min-width:120px;min-height:48px;font-size:34px;font-weight:700}.keypad{grid-template-columns:repeat(3,76px);gap:10px;display:grid}.keypad button{border:2px solid var(--line);background:var(--ground);height:64px;font:700 26px var(--font);box-shadow:0 3px 0 var(--line);border-radius:14px}.keypad button:active{box-shadow:none;transform:translateY(3px)}.keypad .ok{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 3px 0 var(--accent-dark)}.adult{max-width:780px;height:min(760px,100%)}.adult-head{justify-content:space-between;align-items:center;padding-right:60px;display:flex}.tabs{border-bottom:2px solid var(--line);gap:6px;display:flex}.tabs button{font:700 17px var(--font);min-height:56px;color:var(--ink-soft);background:0 0;border:none;border-bottom:4px solid #0000;margin-bottom:-2px;padding:12px 14px}.tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--accent)}.tab-body{-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;gap:16px;min-height:0;padding:4px 2px 8px;display:flex;overflow-y:auto}.tab-body p{margin:0;line-height:1.45}.tab-body small{color:var(--ink-soft);font-size:15px;line-height:1.35;display:block}.opt{align-items:flex-start;gap:14px;min-height:56px;font-size:18px;display:flex}.opt input,.mini input{width:26px;height:26px;accent-color:var(--accent);flex:none;margin:2px 0 0}.field{flex-direction:column;gap:8px;display:flex}.seg-ctl{flex-wrap:wrap;gap:6px;display:inline-flex}.seg-ctl button{font:700 18px var(--font);border:2px solid var(--line);background:var(--ground);border-radius:12px;min-width:56px;min-height:56px;padding:6px 14px}.seg-ctl button[aria-pressed=true]{background:var(--accent);color:#fff;border-color:var(--accent)}.seg-ctl.small button{min-width:56px}.levels{flex-direction:column;gap:8px;display:flex}.chips{grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:6px;display:grid}.chip{border:2px solid var(--line);background:var(--ground);min-height:56px;font:700 22px var(--font);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:2px;line-height:1;display:flex}.chip small{color:var(--ink-soft);font-size:11px;font-weight:700}.chip.mastered{background:#e3f4ea;border-color:#9bd3b2}.chip[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent) inset}.lv-row{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.lv-l{text-align:center;width:30px;font-size:28px;font-weight:700}.mini{color:var(--ink-soft);align-items:center;gap:8px;min-height:56px;font-size:16px;display:flex}.row{flex-wrap:wrap;gap:12px;display:flex}.file-btn{cursor:pointer}.danger{border:2px dashed #f0a9a4;border-radius:14px;flex-direction:column;align-items:flex-start;gap:10px;padding:14px;display:flex}.msg{color:var(--go);min-height:1.4em;font-weight:700}.update{background:#fff1ea;border-radius:14px;flex-direction:column;align-items:flex-start;gap:10px;padding:14px;display:flex}.stat-sum{font-size:18px}.table-wrap{overflow-x:auto}.stats{border-collapse:collapse;width:100%;font-size:15px}.stats th,.stats td{border-bottom:1px solid var(--line);text-align:right;white-space:nowrap;padding:7px 8px}.stats th:first-child,.stats td:first-child{text-align:left}.stats th{color:var(--ink-soft);font-weight:700}.empty{color:var(--ink-soft)}a{color:var(--accent-dark);font-weight:700}@media (orientation:portrait){.today{text-align:center;flex-direction:column;padding:18px 26px}.today svg{width:min(46vw,300px)}.album-grid{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr))}.instr{flex-wrap:wrap}.instr p{flex-basis:calc(100% - 70px)}.instr .again{margin-left:auto}.end .album-page{width:min(620px,92%)}.palette{justify-content:space-between;width:100%}.pal-btn{min-width:40px}.paint-bottom{justify-content:center}}@media (max-width:760px){.seg{width:20px}.cr{width:11px;height:34px}.estuche{gap:2px;padding:4px 6px}.brand span{display:none}.animal-btn{width:104px;height:104px}}@media (max-height:700px) and (orientation:landscape){.today svg{width:140px}.animal-btn{width:104px;height:104px}.btn.big{min-height:64px}}@media (prefers-reduced-motion:reduce){.animal .a-body,.animal .a-hop,.waitring,.slot.pop,.cr.pop,.start-pulse,.shake,.stick,.stick .tape,.toast-in,.animal-btn{transition:none!important;animation:none!important}}
