/* Leitura Silábica: a palavra em sílabas grandes ocupa a área do treino. */
body[data-active-module="syllableReading"] .trainer .stage-strip,
body[data-active-module="syllableReading"] .trainer .prompt-zone,
body[data-active-module="syllableReading"] .trainer .feedback {display:none!important}
body[data-active-module="syllableReading"] .trainer {grid-template-rows:minmax(0,1fr)!important;grid-template-columns:minmax(0,1fr)!important}
body[data-active-module="syllableReading"] .choices.syllable-reading-workspace {display:block;width:100%;min-width:0;max-width:none;height:100%;min-height:0;padding:0;margin:0}

.sr-stage {position:relative;min-width:0;max-width:100%;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(14px,3vh,28px);width:100%;height:100%;min-height:420px;padding:24px 16px 96px;box-sizing:border-box;background:radial-gradient(circle at 50% 30%,#eef3f8,#dde6ef 75%);border-radius:28px}
.sr-image {width:clamp(140px,28vh,270px);aspect-ratio:4/3;object-fit:contain;border-radius:22px;background:#fff;box-shadow:0 8px 22px #2c5f8a14;pointer-events:none;user-select:none}
.sr-word {display:flex;flex-wrap:nowrap;flex:none;gap:calc(clamp(10px,2vw,24px) * var(--sr-fit,1));padding:10px;touch-action:none;user-select:none;-webkit-user-select:none}
/* --sr-fit encolhe tudo por igual quando a palavra não cabe na largura (palavras longas). */
.sr-syllable {min-width:calc(clamp(110px,18vw,220px) * var(--sr-fit,1));padding:calc(clamp(18px,4vh,40px) * var(--sr-fit,1)) calc(clamp(16px,2.8vw,38px) * var(--sr-fit,1));border:0;border-radius:30px;background:#fff;color:#2b3f59;font:900 calc(clamp(58px,11vw,140px) * var(--sr-fit,1))/1 "Nunito","Arial Rounded MT Bold",system-ui,sans-serif;letter-spacing:.04em;box-shadow:0 8px 0 #c9d8e6,0 14px 26px #2c5f8a29;cursor:pointer;transition:transform .15s ease,background .2s ease,color .2s ease,box-shadow .2s ease;touch-action:none}
.sr-syllable:nth-child(4n+1) {color:#e2574c}.sr-syllable:nth-child(4n+2) {color:#2f8fd8}.sr-syllable:nth-child(4n+3) {color:#3aa568}.sr-syllable:nth-child(4n) {color:#d98a14}
.sr-syllable.is-lit {background:#fff6cf;transform:translateY(-6px) scale(1.06);box-shadow:0 12px 0 #f1d98c,0 18px 30px #d8a41a33}
.sr-word.is-read .sr-syllable {background:#e3f7e8;box-shadow:0 8px 0 #b9e4c6,0 14px 26px #3aa56826}
.sr-sweep {display:flex;align-items:center;gap:6px;width:min(70%,520px);color:#9bb6cc;pointer-events:none}
.sr-sweep-dot {width:14px;height:14px;border-radius:50%;background:currentColor}
.sr-sweep-line {flex:1;height:5px;border-radius:3px;background:repeating-linear-gradient(90deg,currentColor 0 14px,transparent 14px 24px)}
.sr-sweep-arrow {font-size:26px;line-height:1}
.sr-hint {margin:0;color:#6d8296;font-weight:700;font-size:clamp(15px,1.8vw,20px);text-align:center}
.sr-next {position:absolute;right:clamp(14px,2.4vw,32px);bottom:clamp(14px,3vh,32px);display:grid;place-items:center;width:clamp(56px,8vmin,84px);aspect-ratio:1;padding:0;border:0;border-radius:50%;background:#71ad8899;color:#fff;cursor:pointer}
.sr-next svg {width:55%;height:55%}
.sr-next:active {transform:scale(.94)}
.sr-empty {margin:auto;color:#6d8296;font-weight:700}
@media (prefers-reduced-motion:reduce) {.sr-syllable {transition:none}}
@media (max-height:520px) {.sr-stage {gap:10px;padding-top:12px;padding-bottom:78px}.sr-image {width:clamp(96px,22vh,150px)}}
