section.spelling { /*background-image: url(/media/spelling/background.jpg); background-size: cover; background-position: center; background-repeat: no-repeat;*/ }
section.spelling * { color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
section.spelling > .wrap {  }
section.spelling .section-welcome {  }
section.spelling .section-word { display: none; width: 100%; }
section.spelling .section-word > .wrap { display: flex; flex-direction: column; justify-content: center; width: 100%; gap: 24px; }
section.spelling .section-word .score { position: absolute; top: 24px; left: 24px; display: inline-flex; align-items: flex-start; flex-direction: column; justify-content: flex-start; flex-wrap: nowrap; font-size: 12px; line-height: 12px; font-weight: 600; gap: 8px; }
section.spelling .section-word .score .correct,
section.spelling .section-word .score .wrong { background: var(--rududu-background); color: var(--rududu-black); padding: 8px 8px; border-radius: 999px; }
section.spelling .section-word .score span.label { margin-left: 8px; }


section.spelling .section-word .anwser {     display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 4px;
    overflow-x: auto;
    text-align: center; }
section.spelling .section-word .anwser input.letter { flex: 0 0 40px; width: 40px; height: 56px; margin: 0; padding: 0; border: 1px solid var(--rududu-black); border-radius: 16px; background: var(--rududu-white); color: var(--rududu-black); font-size: 24px; line-height: 56px; font-weight: 300; text-align: center; text-transform: lowercase; box-shadow: 0 0 4px rgba(0, 0, 0, 0.35); }
section.spelling .section-word .actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; align-content: center; gap: 8px; width: 100%; margin: 0; padding: 0; text-align: center; }
section.spelling .section-word .actions button { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--rududu-black); background: var(--rududu-white); color: var(--rududu-black); }
section.spelling .section-word .actions button.listen {  }
section.spelling .section-word .actions button.listen span.material-symbols-outlined { font-size: 24px; }
section.spelling .section-word .actions button.check { background: var(--rududu-black); color: var(--rududu-white); }


section.spelling .section-newwords { display: none; position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; /*background-color: var(--rududu-white); color: var(--rududu-black);*/ text-align: center; background: var(--rududu-black); color: var(--rududu-white) }
section.spelling .section-newwords > .wrap { position: relative; }
section.spelling .section-newwords .list { width: 100%; padding: 24px; line-height: 56px; font-size: 32px; font-weight: 400; display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap; }
section.spelling .section-newwords .list span { display: block; margin: 0; padding: 0; cursor: pointer; }
section.spelling .section-newwords > .wrap > button[action-hide] {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 40px;
    color: var(--rududu-white);
}


section.spelling .feedback { display: none; position: absolute; inset: 0; z-index: 10; width: 100%; height: 100%; margin: 0; padding: 0; background: var(--yellow, #FFFD77); text-align: center; }
section.spelling .feedback .emoji { position: absolute; top: 40px; right: 40px; width: 72px; z-index: 1; display: flex; justify-content: center; flex-direction: column; align-items: center; gap: 8px; }
section.spelling .feedback .emoji .eyes { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; height: 32px; padding: 0; }
section.spelling .feedback .emoji .eyes > .wrap { display: flex; gap: 8px; }
section.spelling .feedback .emoji .eyes .eye { position: relative; overflow: hidden; width: 32px; height: 32px; border: 1px solid var(--rududu-black); border-radius: 50%; background-color: var(--rududu-white); }
section.spelling .feedback .col-full, section.spelling .feedback .col-full > .wrap, section.spelling .feedback .section-title, section.spelling .feedback .section-title > .wrap { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 100%; margin: 0; padding: 0; }
section.spelling .feedback .section-title .title { display: inline-flex; align-items: center; justify-content: center; color: var(--rududu-black); }
section.spelling .feedback .section-title .title .material-symbols-outlined { font-size: 120px; line-height: 1; }
section.spelling .feedback.true { background-color: #1A9562; }
section.spelling .feedback.true .emoji .mouth { width: 80px; height: 40px; border: 4px solid var(--rududu-black); border-color: transparent transparent var(--rududu-black) transparent; border-radius: 0 0 80px 80px; }
section.spelling .feedback.false { background-color: #EE5A36; }
section.spelling .feedback.false .emoji .eyes .eye { background: linear-gradient(45deg, transparent 45%, var(--rududu-black) 45%, var(--rududu-black) 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--rududu-black) 45%, var(--rududu-black) 55%, transparent 55%); }
section.spelling .feedback.false .emoji .mouth { height: 48px; width: 40px; border: 4px solid var(--rududu-black); border-radius: 50%; }
section.spelling .aside-tools-spelling { display: block; position: absolute; right: 24px; bottom: 24px; margin: 0; padding: 0; }
section.spelling .tools-spelling { display: block; margin: 0; padding: 0; list-style: none; }
#asideLAYOUT .tools-spelling:not(.is-game-active),
#asideLAYOUT .tools-coseNomiCitta:not(.is-game-active),
#asideLAYOUT .tools-matchUp:not(.is-game-active),
#asideLAYOUT .tools-mathInvaders:not(.is-game-active),
#asideLAYOUT .tools-rockPapaerScissor:not(.is-game-active),
#asideLAYOUT .tools-dontSayIt:not(.is-game-active),
#asideLAYOUT .tools-neverSayYesOrNo:not(.is-game-active) { display: none !important; }
section.spelling.is-playing .section-welcome { display: none; }
section.spelling.is-playing .section-game { display: block; }
