/* Little Learners shared styles (big targets, calm colors). */
.ll-page{max-width:1000px;margin:0 auto;padding:1rem 16px 2rem}
.ll-page h1{font-family:'Fredoka One',cursive;font-size:clamp(1.6rem,5vw,2.3rem);text-align:center;margin:.3rem 0 .2rem;color:var(--yellow,#FFD93D)}
.ll-sub{text-align:center;color:rgba(240,244,255,.7);font-weight:700;margin:0 0 1rem;font-size:.98rem}
.ll-crumb{font-size:.8rem;color:rgba(240,244,255,.55);margin:0 0 .4rem}.ll-crumb a{color:rgba(240,244,255,.8)}
.ll-card{background:rgba(255,255,255,.055);border:2px solid rgba(255,255,255,.14);border-radius:22px;padding:1rem;margin:0 0 1rem}
.ll-card h2{font-family:'Fredoka One',cursive;font-size:1.3rem;color:var(--yellow,#FFD93D);margin:0 0 .5rem}
.ll-card h3{font-family:'Fredoka One',cursive;font-size:1.05rem;color:var(--teal,#00E5CC);margin:.8rem 0 .4rem}
.ll-card p,.ll-card li{color:rgba(240,244,255,.85);line-height:1.6}
.ll-card ul,.ll-card ol{margin:0 0 .7rem 1.25rem}.ll-card a{color:var(--teal,#00E5CC)}
.ll-play{background:linear-gradient(160deg,rgba(78,159,255,.14),rgba(168,85,247,.10));border-color:rgba(78,159,255,.45)}
.ll-row{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;justify-content:center;margin:.5rem 0}
.ll-tabs{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin:0 0 1rem}
.ll-tab{font-family:'Fredoka One',cursive;font-size:1.05rem;min-height:56px;padding:.5rem 1.1rem;border-radius:18px;border:3px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#F0F4FF;cursor:pointer;display:inline-flex;align-items:center;gap:.4rem}
.ll-tab[aria-selected=true],.ll-tab[aria-pressed=true]{background:#FFD93D;color:#000;border-color:#FFD93D}
.ll-btn{font-family:'Fredoka One',cursive;font-size:1.1rem;min-height:56px;min-width:56px;padding:.5rem 1.1rem;border-radius:18px;border:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;background:#00E5CC;color:#000}
.ll-btn.y{background:#FFD93D}.ll-btn.g{background:#4EFF91}.ll-btn.o{background:#FF6B35;color:#fff}.ll-btn.p{background:#A855F7;color:#fff}.ll-btn.b{background:#4E9FFF;color:#fff}
.ll-btn.gh{background:transparent;color:#F0F4FF;border:2px solid rgba(255,255,255,.25)}
.ll-btn[disabled]{opacity:.4;cursor:not-allowed}
.ll-btn:focus-visible,.ll-tab:focus-visible,.ll-say:focus-visible,.ll-pick:focus-visible,.ll-num:focus-visible,.ll-item:focus-visible,.ll-board:focus-visible,.ll-choice:focus-visible{outline:4px solid #FFD93D;outline-offset:3px}
.ll-say{font-size:1.6rem;width:60px;height:60px;border-radius:50%;border:3px solid #4E9FFF;background:#12203d;color:#fff;cursor:pointer;flex:none;line-height:1}
.ll-say:active{transform:scale(.95)}
.ll-msg{min-height:2.2rem;text-align:center;font-family:'Fredoka One',cursive;font-size:1.2rem;color:#F0F4FF;margin:.4rem 0}
.ll-msg.yay{color:#4EFF91}.ll-msg.try{color:#FFD93D}.ll-msg.ok{color:#9be7ff}
.ll-big{font-family:'Fredoka One',cursive;font-size:1.5rem;text-align:center;color:#4EFF91;margin:.4rem 0}
.ll-code{font-family:monospace;font-size:1.2rem;font-weight:800;background:#000;color:#4EFF91;border-radius:10px;padding:.3rem .7rem;display:inline-block;letter-spacing:.05em}
.ll-note{font-size:.84rem;color:rgba(240,244,255,.62);line-height:1.5}
.ll-boardwrap{background:#fffdf5;border-radius:18px;padding:8px;max-width:640px;margin:0 auto}
.ll-board{display:block;width:100%;height:auto;max-height:56vh;touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair;border-radius:12px}
.ll-yay{animation:llpop .6s ease}
@keyframes llpop{0%{transform:scale(1)}40%{transform:scale(1.04)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.ll-yay{animation:none}}
.ll-pic{display:flex;align-items:center;justify-content:center;gap:.8rem;flex-wrap:wrap;margin:.2rem 0 .6rem}
.ll-pic .ll-word{font-family:'Fredoka One',cursive;font-size:1.6rem;color:#F0F4FF}
.ll-picbox{background:#fffdf5;border-radius:18px;padding:6px;display:inline-flex}
.ll-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:.45rem}
.ll-pick{font-family:'Fredoka One',cursive;font-size:1.5rem;min-height:56px;border-radius:14px;border:2px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);color:#F0F4FF;cursor:pointer}
.ll-pick[aria-current=true]{background:#FFD93D;color:#000;border-color:#FFD93D}
.ll-pick.done::after{content:" \2713";font-size:.8rem;color:#4EFF91}
.ll-set{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:center}
.ll-in{font:inherit;font-weight:700;font-size:1.05rem;background:#141833;color:#F0F4FF;border:2px solid rgba(255,255,255,.2);border-radius:12px;padding:.55rem .7rem;min-height:52px;max-width:100%}
.ll-prog{font-weight:800;text-align:center;color:rgba(240,244,255,.75);margin:.2rem 0}
.ll-objs{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;max-width:560px;margin:.3rem auto}
.ll-tfwrap{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:.4rem 0}
.ll-tf{max-width:100%;height:auto}
.ll-nums{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center;margin:.6rem 0}
.ll-num{font-family:'Fredoka One',cursive;font-size:2rem;min-width:84px;min-height:84px;border-radius:22px;border:3px solid rgba(255,255,255,.25);background:#1a2250;color:#fff;cursor:pointer}
.ll-num.right{background:#2e7d32;border-color:#4EFF91}
.ll-num.soft{opacity:.45}
.ll-field{position:relative;background:#fffdf5;border-radius:18px;min-height:220px;max-width:640px;margin:0 auto;padding:10px}
.ll-scatter{position:relative;width:100%;height:260px}
.ll-scatter .ll-o{position:absolute}
.ll-o{background:none;border:none;padding:0;cursor:pointer;border-radius:12px;line-height:0}
.ll-o.counted{outline:4px solid #43a047;outline-offset:1px}
.ll-o .ll-tag{position:absolute;top:-6px;right:-6px;background:#43a047;color:#fff;font:700 12px/20px Arial;border-radius:10px;min-width:20px;text-align:center}
.ll-two{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;max-width:720px;margin:0 auto}
.ll-grp{background:#fffdf5;border-radius:18px;padding:10px;min-height:150px;border:4px solid transparent;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px;color:#222;font:inherit}
.ll-grp .ll-objs{gap:4px}
.ll-grp.right{border-color:#43a047}
.ll-choice{font-family:'Fredoka One',cursive;font-size:1.15rem;min-height:60px;padding:.5rem 1rem;border-radius:18px;border:3px solid rgba(255,255,255,.25);background:#1a2250;color:#fff;cursor:pointer}
.ll-choice.right{background:#2e7d32;border-color:#4EFF91}
.ll-plate{background:#e3f2fd;border:5px dashed #64b5f6;border-radius:60px;width:min(460px,100%);min-height:220px;margin:.5rem auto;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:6px;padding:22px}
.ll-plate.over{background:#bbdefb}
.ll-pile{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;background:#fffdf5;border-radius:18px;padding:10px;max-width:640px;margin:0 auto;min-height:90px}
.ll-item{background:#fff;border:2px solid #cfd8dc;border-radius:14px;padding:3px;cursor:grab;touch-action:none;line-height:0;min-width:56px;min-height:56px}
.ll-item.dragging{opacity:.85;cursor:grabbing;box-shadow:0 8px 18px rgba(0,0,0,.35);z-index:50}
.ll-count{font-family:'Fredoka One',cursive;font-size:1.3rem;text-align:center;color:#F0F4FF}
.ll-train{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;align-items:flex-end;margin:.6rem 0}
.ll-car{width:72px;height:72px;border-radius:12px 12px 6px 6px;background:#ef5350;border:3px solid #b71c1c;display:flex;align-items:center;justify-content:center;font-family:'Fredoka One',cursive;font-size:2.1rem;color:#fff;position:relative;margin-bottom:12px}
.ll-car::before,.ll-car::after{content:"";position:absolute;bottom:-12px;width:16px;height:16px;border-radius:50%;background:#263238}
.ll-car::before{left:8px}.ll-car::after{right:8px}
.ll-car.empty{background:#37474f;border-color:#78909c;color:#b0bec5;border-style:dashed}
.ll-car.eng{background:#1e88e5;border-color:#0d47a1;width:88px;font-size:1.8rem}
.ll-car.c1{background:#fb8c00;border-color:#e65100}.ll-car.c2{background:#43a047;border-color:#1b5e20}.ll-car.c3{background:#8e24aa;border-color:#4a148c}
.ll-letters{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin:.5rem 0}
.ll-letter{font-family:'Fredoka One',cursive;font-size:2.1rem;width:76px;height:76px;border-radius:18px;border:3px solid rgba(255,255,255,.25);background:#1a2250;color:#fff;cursor:pointer}
.ll-letter.used{visibility:hidden}
.ll-wcard{background:#fffdf5;border:4px solid transparent;border-radius:18px;padding:6px 8px;display:flex;flex-direction:column;align-items:center;cursor:pointer;color:#222;font-family:'Fredoka One',cursive;font-size:1.15rem;min-width:110px}
.ll-wcard.used{opacity:.35;cursor:default}
.ll-slots{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin:.6rem 0;min-height:110px}
.ll-slot{min-width:110px;min-height:100px;border:3px dashed rgba(255,255,255,.3);border-radius:18px;display:flex;align-items:center;justify-content:center;color:rgba(240,244,255,.5);font-weight:800}
.ll-hub{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.9rem}
.ll-tile{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.4rem;padding:1rem;border-radius:24px;text-decoration:none;color:#000;font-family:'Fredoka One',cursive;font-size:1.3rem;min-height:190px;justify-content:center;border:4px solid rgba(0,0,0,.08)}
.ll-tile span{font-family:'Nunito',sans-serif;font-weight:800;font-size:.88rem;color:rgba(0,0,0,.7)}
.ll-tile:focus-visible{outline:4px solid #fff;outline-offset:3px}
.ll-tile:hover{transform:translateY(-3px)}
.ll-tile .ll-ic{background:rgba(255,255,255,.75);border-radius:20px;padding:6px;line-height:0}
.ll-table{width:100%;border-collapse:collapse;font-size:.9rem}.ll-table th,.ll-table td{border:1px solid rgba(255,255,255,.15);padding:.45rem .55rem;text-align:left;vertical-align:top;color:rgba(240,244,255,.85)}.ll-table th{color:#FFD93D}
[hidden]{display:none!important}
@media (max-width:520px){.ll-two{grid-template-columns:1fr 1fr;gap:.4rem}.ll-num{min-width:70px;min-height:70px;font-size:1.7rem}.ll-car{width:56px;height:60px;font-size:1.7rem}.ll-car.eng{width:64px}.ll-letter{width:64px;height:64px}}
/* Print: only the sheet is shown, and only while body.ll-printing is set by the Print button. */
#ll-print{display:none}
body.ll-printing #ll-print{display:block;background:#fff;color:#000;font-family:Arial,Helvetica,sans-serif}
#ll-print h2{font-size:15pt;margin:0 0 4px;color:#000}
#ll-print .ll-sheet{page-break-inside:avoid;break-inside:avoid;border-bottom:1px solid #ccc;padding:6px 0 10px;margin-bottom:8px}
#ll-print .ll-prow{display:flex;align-items:center;gap:8px}
#ll-print svg{max-width:100%}
#ll-print .ll-pname{font-size:11pt;margin:0 0 8px}
#ll-print .ll-pfoot{font-size:8pt;color:#555;margin-top:8px}
@media print{body.ll-printing>*:not(#ll-print){display:none!important}body.ll-printing{background:#fff!important}body.ll-printing::before,body.ll-printing::after{display:none!important}}
/* ll2-shared: wave 2 styles (added) */
.ll-bins{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;max-width:720px;margin:.6rem auto}
.ll-bins.three{grid-template-columns:1fr 1fr 1fr}
.ll-bin{background:#fffdf5;border-radius:18px;padding:8px;min-height:150px;border:4px solid #b0bec5;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer}
.ll-bin.over{border-color:#43a047;background:#e8f5e9}
.ll-binbtn{background:none;border:none;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;font-family:'Fredoka One',cursive;font-size:1.1rem;color:#222;min-height:56px;padding:4px 8px;border-radius:12px;line-height:1.1}
.ll-binbtn:focus-visible,.ll-mcard:focus-visible,.ll-opt:focus-visible{outline:4px solid #FFD93D;outline-offset:3px}
.ll-binin{display:flex;flex-wrap:wrap;gap:4px;justify-content:center}
.ll-sorted{line-height:0;display:inline-block}
.ll-item[aria-pressed=true]{border-color:#FFD93D;box-shadow:0 0 0 4px #FFD93D}
.ll-wig{animation:llwig .45s ease}
@keyframes llwig{0%,100%{transform:translateX(0)}25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
.ll-opts{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center;margin:.6rem 0}
.ll-hunt{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;background:#fffdf5;border-radius:18px;padding:10px;max-width:560px;margin:.4rem auto}
.ll-hc{background:none;border:3px solid transparent;border-radius:14px;min-height:72px;cursor:pointer;line-height:0;display:flex;align-items:center;justify-content:center;padding:2px}
.ll-hc.got{border-color:#43a047;background:#e8f5e9}
.ll-hc:focus-visible{outline:4px solid #1e88e5;outline-offset:1px}
.ll-opts.g4{display:grid;grid-template-columns:repeat(4,auto);justify-content:center}
.ll-opt{background:#fffdf5;border:4px solid #cfd8dc;border-radius:20px;min-width:96px;min-height:96px;padding:6px;cursor:pointer;line-height:0;display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#222}
.ll-opt .ll-olab{font-family:'Fredoka One',cursive;font-size:1.05rem;line-height:1.1}
.ll-opt.right{border-color:#43a047;background:#e8f5e9}
.ll-opt.soft{opacity:.4}
.ll-opt[disabled]{cursor:default}
.ll-shadow svg{filter:brightness(0);opacity:.85}
.ll-seq{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;align-items:center;background:#fffdf5;border-radius:18px;padding:10px;max-width:720px;margin:.4rem auto}
.ll-seq .ll-cell{line-height:0;display:inline-flex}
.ll-seq .ll-q{width:64px;height:64px;border:4px dashed #90a4ae;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;font-family:'Fredoka One',cursive;font-size:2rem;color:#78909c;line-height:1}
.ll-seq .ll-q.filled{border:4px solid #43a047;background:#e8f5e9}
.ll-lbig{font-family:'Fredoka One',cursive;font-size:4.2rem;line-height:1;color:#FFD93D;min-width:90px;text-align:center}
.ll-mgrid{display:grid;gap:.55rem;max-width:560px;margin:.5rem auto;grid-template-columns:repeat(4,1fr)}
.ll-mgrid.c2{grid-template-columns:repeat(2,1fr);max-width:320px}.ll-mgrid.c3{grid-template-columns:repeat(3,1fr);max-width:470px}
.ll-mcard{position:relative;aspect-ratio:1/1;border:none;padding:0;background:none;cursor:pointer;perspective:600px;min-height:64px;border-radius:16px}
.ll-mi{position:absolute;inset:0;transition:transform .35s ease;transform-style:preserve-3d}
.ll-mcard.up .ll-mi,.ll-mcard.got .ll-mi{transform:rotateY(180deg)}
.ll-mf,.ll-mb{position:absolute;inset:0;border-radius:16px;display:flex;align-items:center;justify-content:center;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.ll-mb{background:linear-gradient(135deg,#4E9FFF,#A855F7);border:4px solid rgba(255,255,255,.35);color:#fff;font-family:'Fredoka One',cursive;font-size:2rem}
.ll-mf{background:#fffdf5;border:4px solid #cfd8dc;transform:rotateY(180deg)}
.ll-mf svg{width:78%;height:78%}
.ll-mcard.got .ll-mf{border-color:#43a047;background:#e8f5e9}
.ll-letopt{font-family:'Fredoka One',cursive;font-size:2.6rem;color:#1a2250;line-height:1}
@media (prefers-reduced-motion:reduce){.ll-wig{animation:none}.ll-mi{transition:none}}
.sr-calm .ll-wig{animation:none}.sr-calm .ll-mi{transition:none}
@media (max-width:520px){.ll-opts.g4{grid-template-columns:repeat(2,auto)}.ll-opt{min-width:84px;min-height:84px}.ll-bins.three{grid-template-columns:1fr 1fr 1fr;gap:.35rem}.ll-bin{padding:5px}.ll-lbig{font-size:3.4rem}}
/* /ll2-shared */
