:root{color-scheme:light;--ink:#24344b;--muted:#536579;--paper:#f6f8fc;--surface:#fff;--primary:#3566a8;--line:#dce5f2;--yellow:#f4dc8b;--radius:22px;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.5;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;-webkit-tap-highlight-color:transparent}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer;touch-action:manipulation}button:disabled{opacity:.48;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:4px solid #266ac9;outline-offset:3px}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:clamp(22px,3vw,30px);letter-spacing:-.5px}h2{font-size:24px;line-height:1.3}h3{font-size:18px}small{font-size:13px}input,select,textarea{min-height:52px;padding:12px;border:1px solid #89a2c3;border-radius:12px;background:white;color:var(--ink);width:100%}textarea{resize:vertical;min-height:115px}label{display:flex;flex-direction:column;gap:6px;font-weight:650}label small{font-weight:400;color:var(--muted)}[hidden]{display:none!important}.shell{max-width:1120px;margin:auto;padding:24px 28px 110px}.header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{height:48px;width:48px;flex-shrink:0;display:grid;place-items:center;border-radius:17px;background:var(--primary);color:white;font-size:26px}.eyebrow{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);font-weight:700}.header-actions{display:flex;align-items:center;gap:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:12px 18px;border-radius:14px;background:#eaf1fb;font-weight:700;line-height:1.25}.btn.primary{background:var(--primary);color:white}.btn.outline{background:white;border:1px solid #89a2c3}.btn.quiet{background:transparent;color:var(--muted)}.btn.danger{background:#fbe9e5;color:#883d32}.btn.icon{min-width:52px;padding:12px}.subtle{color:var(--muted);font-size:14px}.banner{border:1px solid #e1c279;background:#fff5d6;border-radius:16px;padding:13px 16px;margin-bottom:18px;display:flex;align-items:center;gap:14px}.banner p{flex:1}.section-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.section-top p{margin-top:3px}.tabs{display:flex;padding:4px;background:#eaf1fb;border-radius:15px;gap:4px}.tabs button{border-radius:11px;padding:10px 14px;background:transparent;min-height:46px;font-weight:650}.tabs button.active{background:white;box-shadow:0 2px 5px #24344b10}.board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.board.six,.board.nine{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:var(--surface);border:2px solid var(--line);border-bottom-width:5px;border-radius:var(--radius);padding:19px 14px;min-height:175px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;overflow:hidden;position:relative}.card:active{background:#eaf1fb;border-color:#89a2c3}.card .picture{font-size:62px;line-height:1.15;min-height:72px;display:grid;place-items:center;max-width:100%;overflow:hidden}.card .picture img{width:105px;height:91px;object-fit:cover;border-radius:12px}.card .card-label{font-size:22px;font-weight:750;line-height:1.2;text-align:center;overflow-wrap:anywhere}.board.nine .card{min-height:144px}.board.nine .card .picture{font-size:46px;min-height:52px}.board.nine .card-label{font-size:18px}.card .star{position:absolute;top:7px;right:11px;font-size:15px;color:#957120}.utterance{background:white;border:1px solid var(--line);border-radius:20px;padding:14px;margin-bottom:20px;display:flex;align-items:center;gap:12px;min-height:94px}.utterance .spoken{flex:1;font-size:23px;font-weight:700;min-width:0;overflow-wrap:anywhere}.utterance .empty{color:#536579;font-size:17px;font-weight:450}.phrase-words{flex:1;display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}.word-chip{padding:8px 12px;min-height:42px;background:#eaf1fb;border-radius:10px;font-size:18px;font-weight:650}.utterance-actions{display:flex;gap:7px}.helper-line{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted);gap:12px;margin:14px 2px}.navigation{position:fixed;bottom:0;left:0;right:0;background:#fffffff5;border-top:1px solid var(--line);padding:8px 14px max(8px,env(safe-area-inset-bottom));display:flex;justify-content:center;gap:6px;z-index:5}.nav-item{width:150px;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:15px;background:transparent;color:var(--muted);font-size:13px;font-weight:650}.nav-item.active{background:#eaf1fb;color:var(--primary)}.nav-icon{font-size:24px;line-height:1.1}.panel{padding:25px;background:white;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:18px}.panel p{margin:8px 0 16px;color:var(--muted)}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field-stack{display:flex;flex-direction:column;gap:16px}.toggle-row{flex-direction:row;align-items:center;justify-content:space-between;min-height:58px;padding:5px 0}.toggle-row input{width:26px;height:26px;min-height:26px;accent-color:var(--primary)}.action-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.lesson-card{max-width:650px;margin:0 auto;text-align:center}.lesson-picture{font-size:115px;line-height:1.3;margin:18px 0 10px}.lesson-word{font-size:38px;letter-spacing:3px;font-weight:750}.lesson-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:23px}.activity-choice{min-height:105px;display:flex;gap:15px;align-items:center;text-align:left;width:100%;background:white;border:1px solid var(--line);border-radius:20px;padding:20px}.activity-choice .big{font-size:37px}.activity-choice p{font-size:14px;color:var(--muted);margin-top:4px}.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.choices .card{min-height:154px}.activity-message{min-height:31px;color:var(--primary);font-weight:650;text-align:center;margin:14px 0}.letters,.letter-slots{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;margin:23px 0}.letter-button,.letter-slot{width:58px;height:66px;display:grid;place-items:center;font-size:29px;font-weight:750;border-radius:12px;border:2px solid #c9d8ed;background:#eaf1fb}.letter-slot{background:white;border-style:dashed}.letter-slot.filled{border-style:solid;background:#eaf1fb}.tracing-tools{display:flex;gap:12px;align-items:end;margin-bottom:16px}.tracing-tools label{flex:1}.trace-wrap{border:2px solid #c9d8ed;border-radius:18px;overflow:hidden;background:#f6f8fc;position:relative}.trace-wrap canvas{display:block;width:100%;height:330px;touch-action:none}.trace-label{font-size:14px;color:var(--muted);margin-top:12px}.custom-list{display:flex;flex-direction:column;gap:9px}.manage-row{display:flex;gap:10px;align-items:center;background:#f6f8fc;padding:10px;border-radius:14px}.manage-row .mini-picture{font-size:27px;width:44px;text-align:center;flex-shrink:0}.mini-picture img{height:42px;width:42px;border-radius:8px;object-fit:cover}.manage-row .manage-text{flex:1;min-width:0;overflow-wrap:anywhere}.manage-row .btn{min-width:45px;min-height:45px;padding:10px}.search-row{display:flex;gap:10px;margin-bottom:15px}.search-row input{flex:1;min-width:0}.manage-scroll{max-height:460px;overflow:auto}.guide-list{padding-left:23px;color:var(--muted)}.guide-list li{margin:13px 0}.note{font-size:13px;color:var(--muted);line-height:1.6}.toast{pointer-events:none;position:fixed;left:50%;bottom:100px;transform:translateX(-50%);background:var(--primary);color:white;padding:13px 20px;border-radius:14px;z-index:50;width:max-content;max-width:90vw;box-shadow:0 5px 20px #0002;font-size:15px;text-align:center}dialog{max-width:550px;width:calc(100% - 32px);border:0;border-radius:24px;padding:26px;color:var(--ink);box-shadow:0 20px 80px #0003;max-height:88dvh;overflow:auto}dialog::backdrop{background:#24344b80}dialog h2{margin-bottom:8px}dialog p{color:var(--muted);margin-bottom:18px}.hold-button{width:100%;min-height:86px;background:#eaf1fb;border:2px solid #c9d8ed;border-radius:18px;font-weight:750;font-size:19px;position:relative;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}.hold-button::before{content:"";position:absolute;inset:0;background:#c9d8ed;transform:scaleX(var(--hold,0));transform-origin:left;z-index:0}.hold-button span{position:relative;z-index:1}.photo-preview{display:flex;align-items:center;gap:14px;padding:12px;background:#f6f8fc;border-radius:14px}.photo-preview img{width:78px;height:78px;border-radius:12px;object-fit:cover}.photo-preview .emoji{font-size:50px}.empty-state{text-align:center;padding:40px 15px;background:white;border:1px dashed #c9d8ed;border-radius:22px;grid-column:1/-1}.empty-state p{color:var(--muted);margin-top:10px}.result-okay{border-color:#89a2c3;background:#eaf1fb}.gate-hint{font-size:13px;text-align:center;margin-top:12px}.pill{display:inline-block;border-radius:8px;background:#eaf1fb;padding:4px 9px;font-size:12px;color:var(--muted)}.screen-title{margin-bottom:22px}.screen-title p{color:var(--muted);margin-top:6px}.alphabet-select{width:90px}.guide{line-height:1.7}.guide h3{margin:18px 0 6px}.guide p{margin-bottom:12px}.inline-info{padding:13px;border-radius:13px;background:#eaf1fb;color:var(--muted);font-size:14px;margin:12px 0}.file-input{border:1px dashed #89a2c3;font-size:14px}.high-contrast{--ink:#24344b;--muted:#24344b;--line:#89a2c3;--paper:#fff;--primary:#24344b}.high-contrast .card{border-color:#89a2c3}
@media(min-width:850px){.board.four .card{min-height:200px}.board.four .picture{font-size:75px}.board.four .card-label{font-size:26px}.board.four .picture img{width:130px;height:109px}.communication-layout{max-width:900px;margin:auto}}
@media(max-width:600px){.shell{padding:17px 15px 105px}.header{margin-bottom:20px;gap:8px}.brand{gap:9px}.brand-mark{height:41px;width:41px;border-radius:14px;font-size:22px}.header .eyebrow{font-size:10px}.header-actions .btn{padding:10px;min-width:45px;min-height:46px}.adult-label{display:none}.section-top{align-items:flex-start;flex-direction:column}.section-top h2{font-size:22px}.tabs{width:100%}.tabs button{flex:1}.utterance{flex-wrap:wrap;padding:12px;min-height:93px}.utterance .spoken{font-size:20px}.utterance-actions{margin-left:auto}.utterance .phrase-words{flex-basis:100%}.card{min-height:167px;padding:16px 8px;gap:9px}.card .card-label{font-size:21px}.card .picture{font-size:60px;min-height:67px}.board{gap:11px}.board.six .card,.board.nine .card{min-height:132px;border-radius:17px;padding:13px 5px}.board.six .picture,.board.nine .picture{font-size:43px;min-height:50px}.board.six .card-label,.board.nine .card-label{font-size:17px}.board.six .picture img,.board.nine .picture img{width:65px;height:59px}.panel{padding:19px}.panel-grid{grid-template-columns:1fr}.navigation{padding-left:8px;padding-right:8px;gap:3px}.nav-item{width:33.333%;max-width:160px}.banner{align-items:flex-start;flex-direction:column;gap:8px;font-size:14px}.banner .btn{min-height:45px}.lesson-picture{font-size:92px}.choices{gap:8px}.choices .card{padding:11px 4px;min-height:130px}.choices .card .picture{font-size:42px;min-height:50px}.choices .card-label{font-size:16px}.tracing-tools{flex-wrap:wrap}.tracing-tools .btn{padding:12px}.trace-wrap canvas{height:290px}.letter-button,.letter-slot{width:46px;height:58px;font-size:25px}.manage-row{gap:7px}.manage-row .btn{padding:8px;min-width:40px}.header-actions .btn.quiet{font-size:22px}.helper-line{align-items:flex-start}.lesson-controls .btn{padding:12px 14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

@media(max-width:600px){
  .header{margin-bottom:14px}.header .eyebrow{display:none}
  .section-top{gap:8px;margin-bottom:12px}.section-top p.subtle{display:none}
  .utterance{min-height:72px;padding:10px;margin-bottom:14px}.utterance .spoken{font-size:17px}.utterance .empty{font-size:15px}
  .board.four .card{min-height:132px;padding:13px 8px;gap:7px}.board.four .picture{font-size:54px;min-height:59px}.helper-line{display:none}
  .navigation{padding-top:6px;padding-bottom:max(6px,env(safe-area-inset-bottom))}.nav-item{min-height:54px}
}
@media(max-width:600px) and (max-height:700px){
  .shell{padding-top:10px}.header{margin-bottom:10px}.section-top h2{font-size:20px}
  .tabs button{min-height:42px;padding:8px 12px}.section-top{margin-bottom:9px}
  .utterance{min-height:64px;padding:6px 9px;margin-bottom:9px}.utterance>.btn{min-height:48px;min-width:48px}
  .board.four .card{min-height:115px;padding:11px 7px;gap:6px}.board.four .picture{font-size:46px;min-height:51px}
  .board.four .card-label{font-size:20px}
}.word-chip{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:64px;padding:9px 17px 8px 10px;font-size:15px;line-height:1.25}.phrase-picture{font-size:32px;line-height:1.2;height:40px;display:grid;place-items:center}.phrase-picture img{width:44px;height:40px;object-fit:cover;border-radius:8px}.remove-mark{position:absolute;right:6px;top:3px;color:var(--muted);font-size:15px}.voice-guidance{font-weight:400!important;font-size:13px!important;margin:0!important}.board .picture{padding:4px;background:#eaf1fb;border-radius:19px;min-width:74px}

/* Author credit stays in the footer, separate from the communication choices. */
.app-bottom{position:fixed;bottom:0;left:0;right:0;z-index:20;border-top:1px solid var(--line);background:#fffffff7;padding-bottom:max(3px,env(safe-area-inset-bottom))}.app-bottom .navigation{position:static;border:0;background:transparent;padding:6px 14px 0}.developer-credit{display:flex;flex-direction:column;gap:0;margin:3px 12px 5px;text-align:center;text-transform:uppercase;font-size:10px;line-height:1.4;letter-spacing:.12px;color:var(--muted)}.developer-credit strong{font-weight:700}.shell{padding-bottom:125px}.toast{bottom:125px}
.welcome-screen{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;padding:28px 24px max(14px,env(safe-area-inset-bottom));background:linear-gradient(155deg,#f8f7f1 0%,#eaf1fb 55%,#eaf1fb 100%)}.welcome-content{width:100%;max-width:560px;margin:auto;text-align:center;animation:welcome-enter .65s ease-out both}.welcome-brand{font-size:21px;font-weight:750;letter-spacing:-.3px;color:var(--primary)}.welcome-art{display:flex;align-items:center;justify-content:center;min-height:118px;margin:8px 0}.welcome-logo{display:block;width:min(300px,100%);height:auto;margin:0 auto 22px}.sophia-portrait{max-width:220px;max-height:180px;object-fit:contain;border-radius:28px}.welcome-kicker{font-size:14px;font-weight:650;color:var(--muted);margin-bottom:9px}.welcome-screen h1{font-size:clamp(26px,4vw,38px);line-height:1.25;font-weight:750;letter-spacing:-.5px}.welcome-dedication{font-size:16px;line-height:1.65;color:#536579;max-width:490px;margin:18px auto 24px}.welcome-start{min-width:185px}.welcome-footer{margin-top:24px;flex-shrink:0}.welcome-footer .developer-credit{margin-bottom:0}
@keyframes welcome-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.app-bottom .navigation{padding-left:8px;padding-right:8px}}
@media(max-height:700px){.welcome-screen{padding:16px 20px}.welcome-brand{font-size:19px}.welcome-art{min-height:82px;margin:4px 0}.welcome-logo{width:240px;margin-bottom:16px}.sophia-portrait{max-height:120px}.welcome-screen h1{font-size:25px}.welcome-dedication{font-size:15px;line-height:1.5;margin:14px auto 18px}.welcome-footer{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.welcome-content{animation:none!important;transform:none!important;stroke-dashoffset:0!important}}

/* Identidade Fala Comigo: comunicação e infinito colorido. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.brand-logo{display:block;width:178px;height:auto;flex-shrink:0}
/* Four equally sized section buttons leave room for the educational games. */
.app-bottom .nav-item{flex:1;width:auto;min-width:0;max-width:160px}
@media(max-width:600px){.brand-logo{width:156px}}

/* Category tabs scroll horizontally; communication cards scroll with the page. */
.category-toolbar{display:flex;align-items:center;gap:12px;min-width:0;margin:0 0 4px}
.category-toolbar .btn{flex-shrink:0;padding:11px 14px}
.category-help{flex:1;min-width:0;font-size:13px;line-height:1.5;color:var(--muted)}
.category-row{display:flex;gap:9px;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x;padding:8px 8px 14px;margin:0 -2px 10px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.category{flex:0 0 112px;min-width:0;min-height:94px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px 8px;background:white;border:2px solid var(--line);border-radius:16px;font-weight:700;line-height:1.2;text-align:center;touch-action:pan-x}
.category-icon{display:block;font-size:30px;line-height:1.2}
.category-label{display:block;font-size:15px;white-space:normal;overflow-wrap:anywhere}
.category.active{background:var(--primary);border-color:var(--primary);color:white}
.category:focus-visible{outline:4px solid #266ac9;outline-offset:3px}
.high-contrast .category{border-color:#89a2c3}
.high-contrast .category.active{border-color:var(--primary)}
.board{min-width:0;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.board.four{grid-template-columns:repeat(2,minmax(0,1fr))}
.board.six{grid-template-columns:repeat(3,minmax(0,1fr))}
.board .card{min-width:0;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.board .card img{-webkit-user-drag:none;user-select:none;-webkit-user-select:none}
@media(max-width:600px){.category-toolbar{gap:9px}.category-toolbar .btn{padding:11px 12px;font-size:14px}.category-help{font-size:12px}.category{flex-basis:104px;min-height:90px}.category-row{gap:8px;margin-bottom:8px}}

/* Mantém as categorias acessíveis durante a busca vertical de cartões. */
.category-navigator{display:flex;align-items:center;gap:7px;position:sticky;top:0;z-index:8;background:var(--paper);padding:5px 0;margin-bottom:12px;min-width:0}
.category-navigator .category-row{flex:1;min-width:0;margin:0;padding:5px 5px 11px}
.category-home{flex:0 0 52px;min-width:0;display:flex;flex-direction:column;gap:4px;padding:8px 4px;font-size:12px}
.category-home span:first-child{font-size:24px;line-height:1.1}
@media(max-width:600px){.communication-layout>.section-top>div:first-child{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}
.category{flex-basis:126px}.category-label{font-size:14px}
@media(max-height:500px) and (orientation:landscape){
  .communication-layout>.helper-line{display:none}
  .category{min-height:64px;gap:4px;padding:6px}
  .category-icon{font-size:22px}.category-label{font-size:13px}
  .board.four .card,.board.six .card{min-height:128px;padding:10px 8px;gap:6px}
  .board.four .picture,.board.six .picture{font-size:44px;min-height:48px}
  .board.four .card-label,.board.six .card-label{font-size:18px}
}

/* Keep the standalone iPhone screen clear of the notch and home indicator. */
.shell{padding-top:calc(24px + env(safe-area-inset-top,0px));padding-left:max(28px,env(safe-area-inset-left,0px));padding-right:max(28px,env(safe-area-inset-right,0px));padding-bottom:calc(125px + env(safe-area-inset-bottom,0px))}
.welcome-screen{padding-top:calc(28px + env(safe-area-inset-top,0px));padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}
@media(max-width:600px){.shell{padding-top:calc(17px + env(safe-area-inset-top,0px));padding-left:max(15px,env(safe-area-inset-left,0px));padding-right:max(15px,env(safe-area-inset-right,0px))}}
@media(max-height:700px){.welcome-screen{padding-top:calc(16px + env(safe-area-inset-top,0px))}}

/* Áreas seguras para a Tela de Início do iPhone. */
.shell{padding-top:max(24px,env(safe-area-inset-top));padding-left:max(28px,env(safe-area-inset-left));padding-right:max(28px,env(safe-area-inset-right))}
.welcome-screen{padding-top:max(28px,env(safe-area-inset-top));padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}
.category-navigator{top:env(safe-area-inset-top,0px)}
@media(max-width:600px){.shell{padding-top:max(17px,env(safe-area-inset-top));padding-left:max(15px,env(safe-area-inset-left));padding-right:max(15px,env(safe-area-inset-right))}}

/* Sophia is decorative. Crop only the PNG's transparent bottom fringe (22 of 1847px); preserve the face and proportions. */
.welcome-screen{position:relative;isolation:isolate}
.welcome-watermark{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 100%);mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 100%)}
.welcome-watermark img{position:absolute;left:0;bottom:0;display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;object-position:left bottom;transform:translateY(1.3%);opacity:.18;filter:saturate(.7);user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.welcome-content,.welcome-footer{position:relative;z-index:1}
.high-contrast .welcome-watermark img{opacity:.06}
.high-contrast .welcome-dedication{color:var(--ink)}
@media(forced-colors:active){.welcome-watermark{display:none}}

.spell-syllables{display:flex;justify-content:center;align-items:flex-start;gap:16px;flex-wrap:wrap}.spell-syllable{display:flex;flex-direction:column;align-items:center;padding:7px;border:2px solid #d3e2f1;border-radius:15px;background:#f4f8fd}.spell-syllable-letters{display:flex;gap:5px}.spell-syllable-name{font-weight:800;color:#46658a;min-height:26px;margin-top:5px}.spell-syllable.is-complete{border-color:#7eb49b;background:#edf8ef}.spell-syllable.is-complete .spell-syllable-name{color:#27643e}@media(max-width:450px){.spell-syllables{gap:8px}.spell-syllable{padding:4px}.spell-syllable-letters{gap:3px}}

.learning-toolbar{display:flex;align-items:center;gap:8px}.learning-stage{position:relative;isolation:isolate}.choices .card.match-correct{background:#d8f1dd;border:3px solid #348758;color:#1e5637;opacity:1}.match-check{position:absolute;right:8px;top:5px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#2c854e;color:#fff;font:900 25px system-ui}.learning-success{color:#23663c!important;background:#e2f4e7;padding:10px;border-radius:12px;font-weight:800}.training-modes{border:1px solid #c5d9ed;border-radius:14px;padding:12px}.training-modes label{display:flex;align-items:center;gap:10px;flex-direction:row;min-height:54px}.training-modes input,.training-figures input{min-height:24px;width:24px;flex:none;accent-color:#356da9}.training-figures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.training-figures label{display:flex;align-items:center;gap:8px;flex-direction:row;background:#f2f7fd;border:1px solid #cadcf0;border-radius:12px;padding:10px;min-height:60px}.training-figures span{font-size:28px}.training-figures strong{font-size:15px}.learning-fireworks{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden;border-radius:20px}.learning-fireworks>span{position:absolute;left:var(--x);top:var(--y)}.learning-fireworks i{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--spark);animation:learning-spark 1.3s var(--delay) 2 both;transform:rotate(var(--angle)) translateX(0)}@keyframes learning-spark{0%{opacity:0;transform:rotate(var(--angle)) translateX(0) scale(.3)}20%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateX(95px) scale(.5)}}@media(max-width:450px){.learning-toolbar .pill{font-size:10px}.training-figures{gap:5px}.training-figures label{gap:5px;padding:6px}.training-figures strong{font-size:13px}.training-figures span{font-size:22px}}@media(prefers-reduced-motion:reduce){.learning-fireworks{display:none}}

.training-open{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;white-space:nowrap}.training-open .game-symbol{width:26px;height:26px}.training-open span{font-weight:800}@media(max-width:450px){.learning-toolbar{gap:5px;flex-wrap:wrap;justify-content:flex-end}.training-open{padding:8px 10px;font-size:14px}.learning-toolbar .pill{max-width:160px}.training-open .game-symbol{width:22px;height:22px}}

.training-open{background:#e7faf5;border-color:#92c9be;color:#235f61}.training-modes label{padding:10px;border:1px solid #c9ddea;border-radius:12px;background:#f3f8fc;margin:8px 0}.training-modes label:has(input:checked){background:#e4f6f0;border-color:#78b7a5}.high-contrast .training-open{background:white;color:#152f4e;border-color:#152f4e}
