/* Arumpon studio: full-canvas learning, modern colour blocks, Tamil-first. */
:root{--cream:#f4f1fd;--paper:#fffefb;--ink:#292645;--maroon:#353052;--maroon-2:#595078;--gold:#edb849;--gold-soft:#fff0ba;--mint:#417c6d;--mint-soft:#dff1e8;--line:#ded9eb;--muted:#69617b;--shadow:0 5px 0 #dcd5ed;--r:28px}
body{background:#f4f1fd}.screen{max-width:1440px}body:before{background:radial-gradient(circle at 8% 12%,#e8e1ff 0 12%,transparent 12.2%),radial-gradient(circle at 95% 90%,#ffe9c5 0 18%,transparent 18.2%),#f4f1fd}.topbar{padding-left:max(18px,calc((100% - 1400px)/2));padding-right:max(18px,calc((100% - 1400px)/2));background:#fffefb;border-bottom:2px solid #e3ddee;box-shadow:none}.topbar .pill{background:#f7eac0;color:#5f4927}.topbar .who{background:#eee9fa}.hero{background:radial-gradient(ellipse at 90% 110%,#cec6ed 0 34%,transparent 34.3%),radial-gradient(ellipse at 70% 118%,#e3ddf5 0 43%,transparent 43.3%),linear-gradient(115deg,#fff7df,#f0eafa);box-shadow:0 7px 0 #d2c9e9}.btn.primary{background:#61518c;border-color:#7867a2;box-shadow:0 5px 0 #443563}.tile{background:#e9e4fc;box-shadow:0 6px 0 #cdc2ec}.stickers{background:#ffeada;box-shadow:0 6px 0 #e5c5ac}.tile b{color:#40325f}.tile-icon{color:#61518c;background:#d9cef8}.meter i{background:#9480be}.guide{display:grid!important;grid-template-columns:auto minmax(0,1fr) 46px;gap:14px!important;align-items:center;width:100%;max-width:none;padding:10px 16px;background:#eee7fb;border:2px solid #e0d7ee;box-shadow:none;border-radius:22px;min-width:0}.guide-bird{display:block!important}.guide-text{min-width:0;text-align:center;display:grid;gap:5px}.guide-text b{color:#40325e;font-size:clamp(.85rem,1.7vw,1.3rem);line-height:1.5;overflow-wrap:anywhere;white-space:normal}.guide-replay{position:static!important;width:44px;height:44px;flex:none;background:#fff0ba;border-radius:15px;display:grid;place-items:center;margin:0}.guide-text small{text-align:center}.guide-bird>.companion,.guide-bird>.neutral-guide{width:44px;height:44px}.letter-card{display:grid!important;grid-template-columns:1fr 1fr;align-items:stretch;justify-items:stretch;gap:20px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;width:100%;max-width:none!important;min-height:0}.letter-pane{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-width:0;min-height:0;background:#eee7ff;border:2px solid #d9cfee;border-radius:30px;padding:18px 22px;box-shadow:0 5px 0 #d7cde9;gap:10px}.pane-label{font-size:.85rem;font-weight:700;color:#76658e;letter-spacing:.04em;text-align:center;display:block;flex:none}.big-letter{display:flex!important;align-items:center;justify-content:center;flex:1;min-height:0;width:100%;max-width:100%;background:transparent!important;margin:0!important;padding:0 12px!important;border:0;border-radius:0;line-height:1.3;font-size:clamp(5rem,27dvh,17rem);color:#62518d}.big-letter [data-fit]{display:block;line-height:1.35!important;text-align:center;max-width:100%}.hear{position:static!important;display:inline-flex;align-items:center;justify-content:center;gap:12px;margin:0!important;min-height:44px;padding:9px 22px;background:#fffefb;border:2px solid #d8cceb;box-shadow:0 3px 0 #d9cfea;border-radius:16px;font-size:1rem;flex:none;color:#564178;white-space:nowrap}.word-pane{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:12px!important;width:100%;max-width:none!important;min-width:0;min-height:0;background:#fff6df!important;border:2px solid #eddfba;border-radius:30px;padding:18px 22px;box-shadow:0 5px 0 #e9d9b5;text-align:center}.word-pane .pane-label{color:#8b7248}.study-picture{display:block;background-image:none;background-repeat:no-repeat;background-size:400% 400%;aspect-ratio:1;width:clamp(90px,31dvh,310px);max-width:100%;border-radius:24px;flex:none}.study-0{background-position:0 0}.study-1{background-position:33.3333% 0}.study-2{background-position:66.6667% 0}.study-3{background-position:100% 0}.study-4{background-position:0 33.3333%}.study-5{background-position:33.3333% 33.3333%}.study-6{background-position:66.6667% 33.3333%}.study-7{background-position:100% 33.3333%}.study-8{background-position:0 66.6667%}.study-9{background-position:33.3333% 66.6667%}.study-10{background-position:66.6667% 66.6667%}.study-11{background-position:100% 66.6667%}.study-12{background-position:0 100%}.word-caption{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;width:100%;min-width:0;gap:8px}.word-ta{grid-column:2;text-align:center;font-size:clamp(1.2rem,3vw,2.4rem);line-height:1.6;color:#453859;overflow-wrap:anywhere}.word-sound{grid-column:3;display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#fffdf6;font-size:1.1rem}.word-ta mark{color:#7f5699;text-underline-offset:6px;text-decoration-color:#e7ac47}.session{width:100%;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr;align-items:center;gap:18px;min-height:0}.session>.guide{grid-column:1/-1}.session[data-stage=intro]{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto;align-items:stretch}.session[data-stage=intro]>.letter-card{grid-column:1/-1;min-height:0;height:100%}.session[data-stage=intro]>.actions{grid-column:1/-1;display:flex;justify-content:flex-end;margin:0}.session[data-stage=intro]>.actions .btn{min-width:200px;min-height:48px;font-size:1.1rem}.session[data-stage=trace]{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.session .trace-solo{grid-column:1/-1;height:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:30px;width:100%;max-width:none;background:#fffefb;border:2px solid #e1d9ef;border-radius:30px;padding:14px 28px}.session .trace-solo .trace-host{width:min(55vw,calc(100dvh - 165px));height:auto;max-width:600px}.session .trace-solo .actions{display:flex;flex-direction:column;gap:14px;align-items:stretch}.trace-solo .actions .btn{min-height:46px;min-width:130px}.session .cue{justify-self:center;align-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0;max-width:100%;background:#fff6df;border:2px solid #eadbb5;border-radius:30px;padding:16px;width:100%;position:relative}.session .cue .word-ta{display:block;width:100%;padding:0 45px}.question-sound{position:absolute;right:15px;bottom:15px;width:38px;height:38px;display:grid;place-items:center;background:#fffdf4;border-radius:13px}.session .cue.speaker{width:min(28dvh,210px);height:min(28dvh,210px);font-size:clamp(3rem,10dvh,6rem);box-shadow:0 6px 0 #dfc37a}.session .choices{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;height:100%;max-height:420px;gap:18px;align-content:center}.choice{display:flex!important;align-items:center;justify-content:center;text-align:center;background:#eee7ff;border:2px solid #dcd0ef;box-shadow:0 5px 0 #d4c8e8;border-radius:26px;min-height:100px;line-height:1.4;font-size:clamp(2rem,8dvh,4.5rem);padding:12px}.choice [data-fit]{line-height:1.4;text-align:center}.session .cue .question-picture{width:min(27dvh,260px)}.trace-wrap{min-height:0;background:#fffefb;border:2px solid #e3d9ed}.learn-grid{gap:24px;align-items:stretch}.learn-grid>.letter-card{grid-template-columns:1fr 1fr}.learn-grid .letter-pane,.learn-grid .word-pane{padding:14px 10px;border-radius:24px}.learn-grid .study-picture{width:min(18dvh,180px)}.learn-grid .word-caption{grid-template-columns:24px minmax(0,1fr) 24px;gap:2px}.learn-grid .word-sound{width:25px;height:30px;font-size:.8rem}.learn-grid .word-ta{font-size:clamp(.95rem,1.7vw,1.5rem)}.learn-grid .big-letter{font-size:clamp(3.5rem,16dvh,8rem)}.learn-grid .hear{font-size:.9rem;padding:8px 14px}.trace-wrap .guide{grid-template-columns:30px minmax(0,1fr) 36px;gap:8px!important;padding:6px 10px}.trace-wrap .guide-replay{width:34px;height:34px}.trace-wrap .guide-bird>.companion{width:30px;height:30px}.trace-wrap .guide-text b{font-size:.8rem}.trace-canvas{background:#fffdfb repeating-linear-gradient(0deg,transparent 0 39px,#eee8f6 39px 40px);border-color:#e1d6ef}.rotation-gate{display:none}.rotation-gate h2{font-size:1.5rem;color:#413257}.rotation-gate p{max-width:350px;line-height:1.8;margin:8px 0}.rotate-phone{font-size:80px;line-height:1;color:#8b73bc;margin-bottom:14px}.rotation-status{font-size:.85rem;color:#796888}.rotation-gate .btn{margin:16px 0}.ar-intro{background:radial-gradient(ellipse,#fff1d0,#f4f0fc 80%)}
@media(orientation:landscape){.session{height:calc(100dvh - 64px);padding:16px 24px 20px}.session[data-stage=intro] .letter-pane,.session[data-stage=intro] .word-pane{height:100%}.session[data-stage=intro] .study-picture{width:min(31dvh,340px)}.screen.learn{height:calc(100dvh - 64px);display:grid;grid-template-rows:minmax(0,1fr) 44px;gap:12px;padding:14px 22px}.learn-grid{height:100%;min-height:0}.learn-grid>.trace-wrap{height:100%;padding:12px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-items:center}.trace-wrap .trace-host{width:min(100%,calc(100dvh - 235px));justify-self:center}.pager{margin:0}.session .guide{min-height:54px}.session[data-stage=reward]{height:auto;min-height:calc(100dvh - 64px)}.screen.home{padding-top:18px}.rotation-gate{display:none!important}}
@media(orientation:landscape) and (max-height:500px){.session{height:calc(100dvh - 58px);padding:8px 14px 10px;gap:10px}.session .guide{min-height:40px;padding:4px 10px;grid-template-columns:32px minmax(0,1fr) 36px;gap:8px!important;border-radius:16px}.guide-bird>.companion,.guide-bird>.neutral-guide{width:30px;height:30px}.guide-replay{width:34px;height:34px;font-size:1rem;border-radius:12px}.guide-text b{font-size:.82rem;line-height:1.45}.session .letter-pane,.session .word-pane{padding:8px 14px;gap:3px!important;border-radius:22px}.pane-label{font-size:.7rem}.session .big-letter{font-size:clamp(4rem,23dvh,7rem)}.session[data-stage=intro] .study-picture{width:min(28dvh,140px)}.hear{min-height:36px;padding:5px 16px;font-size:.85rem;border-radius:12px}.word-caption{grid-template-columns:32px minmax(0,1fr) 32px;gap:4px}.word-sound{width:30px;height:30px;font-size:.85rem;border-radius:10px}.word-ta{font-size:1.25rem}.session[data-stage=intro]>.actions .btn{min-height:40px;min-width:150px;font-size:.95rem;padding:6px 18px}.session .letter-card{gap:12px!important}.session .cue{padding:10px}.session .cue .question-picture{width:25dvh}.choice{min-height:60px;padding:6px;font-size:2.4rem;border-radius:20px}.session .choices{gap:12px}.session .trace-solo{padding:8px 14px;gap:20px}.session .trace-solo .trace-host{width:min(52vw,calc(100dvh - 135px))}.screen.learn{height:calc(100dvh - 58px);padding:8px 14px;gap:8px;grid-template-rows:minmax(0,1fr) 36px}.learn-grid{gap:12px}.learn-grid .letter-pane,.learn-grid .word-pane{padding:8px 6px;gap:3px!important}.learn-grid .word-ta{font-size:1rem}.learn-grid .hear{padding:5px 10px;font-size:.8rem;min-height:34px}.learn-grid .study-picture{width:min(19dvh,100px)}.learn-grid .big-letter{font-size:clamp(3rem,16dvh,5rem)}.learn-grid>.trace-wrap{padding:6px;gap:4px}.trace-wrap .trace-host{width:min(100%,calc(100dvh - 185px))}.trace-wrap .guide-bird{display:none!important}.trace-wrap .guide{grid-template-columns:minmax(0,1fr) 32px}.trace-wrap .btn{min-height:34px;padding:5px 12px;font-size:.8rem}.trace-wrap .guide-text b{font-size:.72rem}.pager .btn{min-height:32px;padding:2px 14px}}
@media(orientation:portrait) and (max-width:1024px){.rotation-gate{display:flex;position:fixed;inset:0;z-index:5000;background:#f5f0ff;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px}.session .letter-card{grid-template-columns:1fr 1fr}.rotation-gate .btn{max-width:100%}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Latest curriculum markup adapter. Presentation only: no event handlers or app state. */
.letter-card:not(.syllable-card):not(.word-card):not(.kural-card){display:grid!important;grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) auto auto;gap:12px 24px!important;background:#fffdf9!important;border:2px solid #e1d6ed!important;border-radius:30px;box-shadow:0 6px 0 #dbd1e9!important;padding:22px!important;align-items:center;justify-items:center;min-height:0}
.letter-card:not(.syllable-card):not(.word-card):not(.kural-card)>.big-letter{grid-column:1;grid-row:1;align-self:stretch;background:#eee7ff!important;border-radius:24px;font-size:clamp(5rem,25dvh,16rem);width:100%;min-height:0;justify-self:stretch}
.letter-card:not(.syllable-card):not(.word-card):not(.kural-card)>.hear{grid-column:1;grid-row:3;max-width:100%;text-align:center}
.letter-card:not(.syllable-card):not(.word-card):not(.kural-card)>.translit{grid-column:1;grid-row:2;margin:0;text-align:center}
.letter-card:not(.syllable-card):not(.word-card):not(.kural-card)>.word{grid-column:2;grid-row:1/4;display:flex!important;flex-direction:column;justify-content:center;align-items:center;align-self:stretch;gap:14px;max-width:none!important;width:100%;min-width:0;background:#fff5dc;border:2px solid #eedfba;border-radius:24px;padding:20px;text-align:center;box-shadow:0 4px 0 #e8d9b8}
.word .pic-img{width:clamp(110px,28dvh,300px);height:clamp(110px,28dvh,300px);object-fit:contain;margin:0;filter:drop-shadow(0 9px 8px #5640261a);flex:none}.word-ta{display:block!important;width:100%;text-align:center;line-height:1.65;min-width:0;font-size:clamp(1.25rem,3vw,2.4rem);grid-column:auto;overflow-wrap:anywhere}.word-ta mark{line-height:inherit}.word small{text-align:center;max-width:100%;overflow-wrap:anywhere}.hear{display:flex;align-items:center;justify-content:center;gap:12px;white-space:normal;line-height:1.4}.big-letter span{text-align:center;line-height:1.35!important}.intro-stage{min-width:0;min-height:0;width:100%;height:100%;display:grid;align-items:stretch}.intro-stage>.letter-card{height:100%;width:100%}.session:has(.intro-stage){grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto;align-items:stretch}.session:has(.intro-stage)>.guide{grid-column:1}.session>.step-actions{grid-column:1/-1;display:flex;justify-content:flex-end;margin:0;width:100%}.step-actions .btn{min-width:180px;min-height:48px}.session:has(.trace-solo){grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);align-items:stretch}.session:has(.rule-card){grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto;align-items:stretch}.session .rule-card{max-width:none;width:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:18px 24px;border-radius:28px;background:#fffdf9;border-color:#dfd4ec}.rule-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;align-content:center;margin:8px 0;min-height:0}.rule-tile{min-width:0;border:2px solid #dfd4ef;border-radius:22px;background:#f3edff;padding:12px 5px;box-shadow:0 4px 0 #dbd0ed;gap:10px;min-height:0;text-align:center}.rule-tile b{font-size:clamp(1.5rem,4vw,3rem);color:#66518e;line-height:1.4}.rule-tile .formula{font-size:clamp(.6rem,1.1vw,1rem);gap:.1em;white-space:nowrap;justify-content:center}.rule-title{font-size:clamp(1.4rem,3vw,2.3rem);margin:0;line-height:1.4;color:#5b447e}.rule-title small{font-size:.85rem}.rule-note{font-size:.9rem;padding:8px 12px;margin:4px 0 0;background:#fff0c8;color:#7a5b28;line-height:1.5}.syllable-card{grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto auto;justify-items:center!important;align-content:center;background:#efe8ff!important;border:2px solid #dcd0ee!important;border-radius:30px;box-shadow:0 5px 0 #d7cbe9!important;padding:24px!important;gap:16px!important}.syllable-card .big-letter{min-height:0;max-height:100%;font-size:clamp(4rem,25dvh,15rem)}.syllable-card .formula{justify-content:center;margin:0;flex-wrap:wrap;font-size:clamp(1.2rem,3vw,2.3rem);line-height:1.5}.syllable-card .formula span{background:#fff8e7;padding:4px 12px}.word-card{grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto;justify-items:center!important;align-content:center;background:#fffdf9!important;border:2px solid #e4d9ed!important;box-shadow:0 5px 0 #ded3e9!important;padding:20px!important;gap:14px!important}.word-card>.word.big{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:14px;align-self:stretch;width:100%;max-width:none;min-width:0;padding:14px;background:#fff6df;border:0;border-radius:24px}.word.big .pic-img{width:clamp(110px,30dvh,320px);height:clamp(110px,30dvh,320px)}.word.big .word-ta{font-size:clamp(1.5rem,5vw,3.6rem);line-height:1.5}.kural-card{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:16px!important;background:#fffdf9!important;border:2px solid #e2d8ed!important;border-radius:30px;padding:28px!important;box-shadow:0 5px 0 #dcd1e8!important}.kural-no{font-size:.9rem;background:#eee7ff;border-radius:30px;padding:6px 18px;color:#76628f}.kural-lines{display:grid;justify-items:center;align-content:center;gap:10px;width:100%;max-width:100%;text-align:center;font-size:clamp(1.25rem,2.7vw,2.5rem);line-height:1.75;color:#4c3968;padding:4px 6px}.kural-lines span{text-align:center;width:100%}.kural-child{font-size:clamp(.85rem,1.6vw,1.15rem);max-width:900px;background:#e5f1e7;color:#3f6751;text-align:center;padding:12px 20px;line-height:1.75}.kural-card .hear{flex:none}.session .choices.words{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;width:100%;height:auto;align-self:center}.choices.words .choice{min-height:82px;aspect-ratio:auto;font-size:clamp(1rem,2.6vw,2rem);padding:12px;line-height:1.6}.choices.words [data-fit]{line-height:1.5!important}.session>.cue .pic-img{width:clamp(100px,26dvh,280px);height:clamp(100px,26dvh,280px);margin:0 auto}.session .cue .word-ta{padding:0;font-size:clamp(1.1rem,2.7vw,2rem);text-align:center;line-height:1.75}.session .cue.kural-cue{padding:24px;min-width:0}.kural-cue .kural-lines{font-size:clamp(1rem,2vw,1.65rem)}.build-cue{display:flex;justify-content:center;align-items:center;gap:12px;min-height:180px;background:#fff5dc}.formula.big{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;font-size:clamp(1.5rem,5vw,3.5rem);line-height:1.6}.blank{min-width:1.3em;line-height:1.5;margin:0 .1em}.learn-grid.single{grid-template-columns:1fr;max-width:1100px;width:100%;margin:auto}.learn-grid.single>.letter-card{width:100%;height:100%}.learn-grid.single .word.big .pic-img{width:min(30dvh,300px);height:min(30dvh,300px)}.learn-grid .letter-card:not(.syllable-card):not(.word-card):not(.kural-card){gap:8px 12px!important;padding:12px!important}.learn-grid .letter-card:not(.syllable-card):not(.word-card):not(.kural-card)>.word{padding:12px;gap:8px}.learn-grid .word .pic-img{width:min(17dvh,150px);height:min(17dvh,150px)}.learn-grid .big-letter{font-size:clamp(3.5rem,17dvh,8rem)!important}.learn-grid .word-ta{font-size:clamp(1rem,1.7vw,1.5rem)}.learn-grid .syllable-card{gap:10px!important;padding:14px!important}.learn-grid .syllable-card .formula{font-size:clamp(.9rem,2vw,1.6rem)}.level-tabs{gap:8px;margin:0 0 12px;flex-wrap:nowrap;overflow-x:auto;padding:4px 3px 8px;scrollbar-width:thin}.level-tab{flex:none}.level-tab span{border-radius:16px;background:#f9f6ff;border:2px solid #e0d5ed;color:#6f5b8a;padding:10px 16px;font-size:.85rem;min-height:42px}.level-tab.on span{background:#66518d;border-color:#66518d;color:#fff}.level-tab.done span{background:#e4f2e6;border-color:#85b397;color:#35644b}.level-tab.locked span{background:#ece9ef;opacity:1;color:#7a7284}.screen.path .trail{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:12px;max-width:none;margin:12px 0;padding:20px;background:#eee8f9;border:2px solid #e0d4ee;border-radius:28px}.screen.path .trail:before{display:none}.screen.path .node{margin:0!important;transform:none!important;padding:5px 0;gap:14px}.screen.path .node-btn{width:80px;border:3px solid #fffdfb;box-shadow:0 5px 0 #d2c6e3;background:#faf7ff;color:#76658d}.screen.path .node.current .node-btn{background:#fedc75;color:#664c22;box-shadow:0 5px 0 #d4ae4b,0 0 0 5px #fffdfb88;border-color:#fff4c3}.screen.path .node.done .node-btn{background:#d9eedf;color:#3a7155;box-shadow:0 5px 0 #b7d3bf}.screen.path .node.locked .node-btn{background:#e3ddec;color:#7e748a;box-shadow:0 5px 0 #d3cadf}.screen.path .node-chars{font-size:1.25rem;line-height:1.4}.screen.path .node-label{font-size:.8rem;color:#766789}.node-now{background:#786095;color:#fff;font-size:.65rem;padding:2px 8px}.start-choice .chips{gap:10px}.start-choice .chip{flex:1;min-width:140px}.start-choice .chip span{font-size:.85rem;min-height:48px;padding:9px 12px;text-align:center;line-height:1.55;display:flex;flex-direction:column;justify-content:center;background:#f3edf9;border-radius:16px}.compact-setup .form input{max-width:100%;min-width:0}.compact-setup .start-choice legend{font-size:.85rem}.compact-setup .setup-page{min-width:0}.compact-setup .setup-progress{color:#7d6397}.friend-card input:checked+.friend-face{border-color:#8770ab;box-shadow:0 4px 0 #8770ab;background:#f0e7fb}.friend-tick{background:#786095}.parent-tabs{gap:10px}.parent-tabs .btn{font-size:.85rem;border:2px solid #e1d7ec;background:#f7f3fd;color:#68507f}.ls{border-radius:12px}.ls.wide{font-size:.85rem;line-height:1.5;padding:5px 10px}.class-licence{background:#f8f4fe;border:2px solid #e3daee;border-radius:24px;padding:20px}.class-licence .form-control,.class-licence input,.licence-card input{width:100%;min-width:0;max-width:100%;min-height:46px;border:2px solid #ded3e9;border-radius:14px;padding:8px 14px;background:#fffdfb}.licence-screen{max-width:1100px}.licence-card{max-width:780px;width:100%;margin:10px auto;background:#fffdf9;border:2px solid #e0d5ed;border-radius:30px;padding:30px}.pay-online,.pay-later{background:#f4eefa;border-radius:22px;padding:20px;margin:16px 0}.licence-card .price{font-size:1.8rem;color:#70508d;font-weight:700}.licence-card .actions{gap:12px;flex-wrap:wrap}.t-wrap{max-width:1440px;padding:24px}.t-top{padding-bottom:20px;border-bottom:2px solid #e6deef;gap:18px;margin-bottom:24px}.t-top img{width:72px}.t-top h1{font-size:1.7rem}.t-grid{gap:20px;grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}.t-class{padding:24px;border:2px solid #dfd3ed;border-radius:24px;background:#fffdf9;box-shadow:0 5px 0 #ddd1e9}.t-class .code{color:#775696;font-size:1.7rem}.t-auth{max-width:500px;margin:32px auto;padding:30px}.t-auth .tabs{gap:10px}.t-auth .tabs button{flex:1;font-size:.95rem}.t-table-wrap{border-radius:20px}.t-table{font-size:.9rem}.t-table th{background:#f2ecf8;padding:15px 12px;color:#7a6590;font-size:.75rem;letter-spacing:.04em}.t-table td{padding:16px 12px;vertical-align:middle;border-color:#ede6f2}.t-table tbody tr:nth-child(even){background:#fbf8fd}.t-table .bar{height:7px;background:#e8deef;border-radius:20px}.t-table .bar i{background:#a18bbd}.t-code-big{color:#795e97}.ui-orientation-message{display:none}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #ab83d2;outline-offset:4px}
@media(orientation:landscape){.session{height:calc(100dvh - 64px);min-height:0;padding:14px 22px 18px;gap:14px}.session:has(.reward){height:auto;min-height:calc(100dvh - 64px);grid-template-columns:1fr}.session .reward{grid-column:1/-1;align-self:center;justify-self:center}.screen.path:has(.node:nth-child(20)) .trail{grid-auto-flow:column;grid-template-rows:repeat(2,130px);grid-auto-columns:105px;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin}.screen.path .node{scroll-snap-align:start}.screen.path:has(.node:nth-child(20)) .trail:after{content:none}.home .sticker-row{flex-wrap:wrap}.home .stickers{min-width:0}.home .sticker{width:34px;height:34px}.home .tiles{grid-template-columns:1fr 1fr}.compact-setup{height:100dvh}.compact-setup .form{gap:12px}.compact-setup .setup-page{align-content:center}.screen.learn{height:calc(100dvh - 64px)}.screen.path h1{font-size:1.35rem;margin:8px 0 12px}}
@media(orientation:landscape) and (max-height:500px){.session{height:calc(100dvh - 58px);padding:8px 12px 10px;gap:8px}.session>.guide{min-height:40px;padding:5px 10px;grid-template-columns:30px minmax(0,1fr) 34px;gap:8px!important}.guide-text b{font-size:.82rem;line-height:1.5}.guide-replay{width:32px;height:32px;font-size:.9rem}.guide-bird>.companion,.guide-bird>.neutral-guide{width:30px;height:30px}.session .intro-stage>.letter-card:not(.syllable-card):not(.word-card):not(.kural-card){padding:10px!important;gap:6px 14px!important}.session .intro-stage>.letter-card>.big-letter{font-size:clamp(4rem,24dvh,7rem);border-radius:18px}.session .intro-stage .word{padding:8px!important;gap:6px!important;border-radius:18px!important}.session .intro-stage .word .pic-img{width:clamp(65px,27dvh,140px);height:clamp(65px,27dvh,140px)}.session .intro-stage .word-ta{font-size:1.25rem;line-height:1.5}.session .hear{min-height:34px;font-size:.85rem;padding:5px 16px;gap:10px}.session .step-actions .btn{min-height:38px;font-size:.95rem;min-width:150px;padding:5px 16px}.syllable-card{padding:12px!important;gap:8px!important}.syllable-card .big-letter{font-size:clamp(4rem,24dvh,7rem)}.syllable-card .formula{font-size:1.2rem}.word-card{padding:10px!important;gap:6px!important}.word-card .word.big{gap:6px;padding:8px}.word.big .pic-img{width:28dvh;height:28dvh}.word.big .word-ta{font-size:1.5rem}.kural-card{padding:14px 20px!important;gap:8px!important}.kural-no{font-size:.75rem;padding:4px 12px}.kural-lines{font-size:1.05rem;line-height:1.6;gap:4px;padding:0}.kural-child{font-size:.8rem;padding:7px 12px;line-height:1.6}.session .rule-card{padding:10px 14px;gap:5px}.rule-title{font-size:1.3rem}.rule-title small{font-size:.75rem}.rule-grid{gap:8px;margin:5px 0}.rule-tile{padding:8px 3px;gap:6px;border-radius:16px}.rule-tile b{font-size:1.7rem}.rule-tile .formula{font-size:.65rem}.rule-note{font-size:.73rem;padding:5px 8px;line-height:1.45}.choices.words .choice{min-height:58px;padding:8px;font-size:1.15rem}.session>.cue .pic-img{width:25dvh;height:25dvh}.session>.cue .word-ta{font-size:1rem}.session .cue.kural-cue{padding:12px}.kural-cue .kural-lines{font-size:.85rem;line-height:1.6}.build-cue{min-height:120px}.formula.big{font-size:1.7rem}.learn-grid .letter-card:not(.syllable-card):not(.word-card):not(.kural-card){padding:8px!important;gap:4px 8px!important}.learn-grid .letter-card>.word{padding:6px!important;gap:3px!important}.learn-grid .word .pic-img{width:18dvh;height:18dvh}.learn-grid .word-ta{font-size:.95rem}.learn-grid .hear{min-height:32px;padding:4px 10px;font-size:.78rem}.learn-grid .syllable-card .formula{font-size:.9rem}.screen.learn{height:calc(100dvh - 58px);padding:8px 12px}.screen.path .trail{padding:10px;gap:8px;grid-template-columns:repeat(6,minmax(0,1fr))}.screen.path .node-btn{width:54px}.screen.path .node-chars{font-size:.9rem}.screen.path .node-label{font-size:.65rem}.screen.path .node{gap:11px}.screen.path:has(.node:nth-child(13)) .trail{grid-auto-flow:column;grid-template-rows:repeat(2,93px);grid-auto-columns:85px;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x proximity}.screen.path h1{font-size:1rem;margin:4px 0 6px}.level-tabs{gap:6px;margin-bottom:4px;padding-bottom:6px}.level-tab span{min-height:34px;padding:5px 10px;font-size:.72rem}.compact-setup .form{gap:7px;padding:12px 16px}.compact-setup .setup-page{gap:7px}.compact-setup .setup-page h2{font-size:1.05rem}.compact-setup .setup-page label{font-size:.85rem}.compact-setup .start-choice .chip span{min-height:40px;font-size:.72rem;padding:5px 8px;line-height:1.5}.compact-setup .setup-page input{min-height:38px}.compact-setup legend{font-size:.8rem}.compact-setup .chips .chip span{min-height:36px}.compact-setup .friend-grid{gap:5px 12px}.compact-setup .friend-face .friend-portrait{width:50px}.compact-setup .friend-name{font-size:.7rem}.hero{height:154px}.hero .today-ta{font-size:1.35rem}.hero .btn.today small{font-size:.75rem}.home .sticker{width:28px;height:28px;font-size:.95rem}.home .sticker-row{gap:4px}.home .tile{padding:10px 14px;min-height:92px}.home .tile b{font-size:1rem}.home .tile small{font-size:.72rem}.home .tiles{gap:12px}.licence-card{padding:18px}.licence-card h1,.licence-card h2{font-size:1.2rem}.t-wrap{padding:14px}.t-top{gap:12px;padding-bottom:12px;margin-bottom:16px}}
@media(orientation:portrait) and (max-width:1024px){.ui-orientation-message{display:block;position:sticky;top:0;z-index:30;text-align:center;background:#e8def7;color:#5a4078;padding:10px 16px;font-size:.85rem;line-height:1.6;border-bottom:2px solid #d8c6ec}.screen.session{height:auto;min-height:0}.session:has(.intro-stage){grid-template-rows:auto auto auto}.intro-stage{height:auto}.letter-card:not(.syllable-card):not(.word-card):not(.kural-card){min-height:330px;padding:14px!important;gap:10px!important}.letter-card .word .pic-img{width:min(27vw,150px);height:min(27vw,150px)}.guide{grid-template-columns:30px minmax(0,1fr) 34px;gap:8px!important;padding:8px}.guide-text b{font-size:.85rem}.guide-replay{width:32px;height:32px}.guide-bird>.companion{width:30px;height:30px}.session .choices{gap:10px}.rule-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.level-tabs{overflow-x:auto}.screen.path .trail{grid-template-columns:repeat(3,minmax(0,1fr));padding:14px;gap:12px}.screen.path .node-btn{width:70px}.t-auth{padding:22px;margin:20px auto}.t-wrap{padding:16px}.t-top h1{font-size:1.2rem}.t-table-wrap{overflow-x:auto}.t-grid{grid-template-columns:1fr}.licence-card{padding:20px}.learn-grid.single{grid-template-columns:1fr}.word-card .word.big .pic-img{width:150px;height:150px}.kural-lines{font-size:1.1rem}.kural-child{font-size:.9rem}}

/* Illustrated study pictures; curriculum and source attributes are unchanged. */
img.pic-img[src="assets/words/anil.png"],
img.pic-img[src="assets/words/aadu.png"],
img.pic-img[src="assets/words/ilai.png"],
img.pic-img[src="assets/words/ii.png"],
img.pic-img[src="assets/words/uppu.png"],
img.pic-img[src="assets/words/oosi.png"],
img.pic-img[src="assets/words/eli.png"],
img.pic-img[src="assets/words/eeni.png"],
img.pic-img[src="assets/words/ainthu.png"],
img.pic-img[src="assets/words/ottakam.png"],
img.pic-img[src="assets/words/oodam.png"],
img.pic-img[src="assets/words/auvaiyaar.png"],
img.pic-img[src="assets/words/ehku.png"]{content:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");background-image:url("../assets/study-illustrations.webp");background-size:400% 400%;background-repeat:no-repeat;object-fit:contain;border-radius:22px;filter:none;aspect-ratio:1;}
img.pic-img[src="assets/words/anil.png"]{background-position:0% 0%;}
img.pic-img[src="assets/words/aadu.png"]{background-position:33.333333% 0%;}
img.pic-img[src="assets/words/ilai.png"]{background-position:66.666667% 0%;}
img.pic-img[src="assets/words/ii.png"]{background-position:100% 0%;}
img.pic-img[src="assets/words/uppu.png"]{background-position:0% 33.333333%;}
img.pic-img[src="assets/words/oosi.png"]{background-position:33.333333% 33.333333%;}
img.pic-img[src="assets/words/eli.png"]{background-position:66.666667% 33.333333%;}
img.pic-img[src="assets/words/eeni.png"]{background-position:100% 33.333333%;}
img.pic-img[src="assets/words/ainthu.png"]{background-position:0% 66.666667%;}
img.pic-img[src="assets/words/ottakam.png"]{background-position:33.333333% 66.666667%;}
img.pic-img[src="assets/words/oodam.png"]{background-position:66.666667% 66.666667%;}
img.pic-img[src="assets/words/auvaiyaar.png"]{background-position:100% 66.666667%;}
img.pic-img[src="assets/words/ehku.png"]{background-position:0% 100%;}
/* New walkthrough and mute control: visual treatment, original behavior retained. */
.topbar .voice-toggle,.topbar .help-btn{width:42px;min-width:42px;height:42px;border:2px solid #e4d8f1;border-radius:15px;background:#f5effc;color:#75548f;display:grid;place-items:center;line-height:1;flex:none;font-size:1.15rem;box-shadow:0 3px 0 #dfd1ec}
.topbar .voice-toggle[aria-pressed="true"]{background:#e7e0ef;color:#736380;box-shadow:0 3px 0 #cdbfdc}
.topbar .help-btn{font-size:1.2rem;font-weight:700;background:#fff0c8;border-color:#efddb1;color:#84602e;box-shadow:0 3px 0 #e5cfa2}
.tour-bubble{background:#fffdf9;border:2px solid #dfd0ed;border-radius:26px;padding:20px 22px;box-shadow:0 12px 45px #31214440;max-width:calc(100vw - 24px);box-sizing:border-box}
.tour-ring{border-radius:24px;box-shadow:0 0 0 9999px #271d3d99,0 0 0 4px #f5cd70,0 0 22px 5px #ffe1a775}
.tour-ta{color:#62497c;text-align:center;font-size:1.05rem;line-height:1.7;margin:0 0 12px;overflow-wrap:anywhere}
.tour-en{display:none;text-align:center;font-size:.82rem;line-height:1.6;color:#8b779d;margin:0 0 14px}
body:has(#app.show-translations) .tour-en{display:block}
.tour-foot{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}
.tour-foot .btn{border-radius:14px;min-height:42px;font-size:.85rem;padding:7px 13px;line-height:1.5}
.tour-foot .btn.primary{background:#7e609d;border-color:#9374af;box-shadow:0 4px 0 #61457e}
.tour-foot .btn.ghost{border-color:#e6dcef;background:#fbf7ff;color:#8a6b9f}
.tour-dots{gap:5px;flex:none;align-items:center;min-height:16px}
.tour-dots i{width:7px;height:7px;background:#e4d8ee}
.tour-dots i.on{width:18px;background:#9a79b9;border-radius:10px}
@media(orientation:landscape){.topbar{flex-wrap:nowrap;gap:10px}.topbar .who{max-width:32vw;min-width:0;gap:8px}.topbar .who>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar .spacer{min-width:0}.session-bar .progress{min-width:60px}.session-bar .voice-toggle{margin-left:2px}}
@media(orientation:landscape) and (max-height:500px){.topbar{gap:7px;padding-top:5px;padding-bottom:5px;min-height:54px}.topbar .voice-toggle,.topbar .help-btn{width:36px;min-width:36px;height:36px;font-size:1rem;border-radius:12px}.topbar .who{padding:4px 8px;font-size:.9rem;max-width:24vw}.topbar .pill{padding:5px 9px;white-space:nowrap;font-size:.85rem}.topbar .icon-btn{width:36px;height:36px;min-height:36px}.topbar .brand-mini{width:35px;height:35px}.topbar .avatar .friend-portrait{width:30px;height:30px}.tour-bubble{padding:12px 16px;border-radius:20px}.tour-ta{font-size:.87rem;line-height:1.6;margin-bottom:10px}.tour-en{font-size:.72rem;margin-bottom:10px}.tour-foot .btn{min-height:36px;font-size:.75rem;padding:5px 10px}.tour-dots{gap:4px}.tour-dots i{width:6px;height:6px}.tour-dots i.on{width:13px}.tour-foot .spacer{min-width:0}}
@media(max-width:600px) and (orientation:portrait){.topbar{gap:6px}.topbar .voice-toggle,.topbar .help-btn{width:36px;min-width:36px;height:36px;border-radius:12px}.topbar .who{max-width:145px;min-width:0}.topbar .who>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tour-bubble{padding:16px}.tour-ta{font-size:.95rem}.tour-foot .btn{font-size:.78rem;padding:6px 11px}}
@media(prefers-reduced-motion:reduce){.tour-ring,.tour-bubble{animation:none;transition:none}}
