/* Generated by tests/build-spell-inline.cjs. */
#ec-spell{container:ec-spell / size;position:relative;isolation:isolate;width:100%;height:100%;font:16px Arial,sans-serif;line-height:normal;text-align:start;direction:ltr;}
#ec-spell *,#ec-spell *::before,#ec-spell *::after{box-sizing:content-box;}
#ec-spell img{max-width:none;border:0;border-radius:0;box-shadow:none;}
#ec-spell #UIContainer,#ec-spell #loadingContainer{
    font-family: arial;
    background-image: url(/type4life/assets/images/uis/menuBG.png);
    background-size: cover;
    overflow: hidden;
    color:#79cdef;
}
#ec-spell #layer1{
    background-repeat: repeat;
}
#ec-spell #UIContainer div,#ec-spell #UIContainer td{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}
#ec-spell #UIContainer .button{
    position: absolute;
    display: inline-block;
    padding:0.1em 1em;
    font-size:1em;
    color:#fff;
    letter-spacing: 0.04em;
    text-align: center;
    text-shadow: 0.1em 0.1em 0.3em rgba(0,0,0,0.5);
    cursor: pointer;
    
    background: #8fd4f4;
    background: -webkit-linear-gradient(#8fd4f4 49%,#8fd4f4 1%,#71c9f1 50%);
    background: -o-linear-gradient(#8fd4f4 49%,#8fd4f4 1%,#71c9f1 50%);
    background: -moz-linear-gradient(#8fd4f4 49%,#8fd4f4 1%,#71c9f1 50%);
    background: linear-gradient(#8fd4f4 49%,#8fd4f4 1%,#71c9f1 50%);
}
#ec-spell #UIContainer .button:hover{
    background: #ff8737;
    background: -webkit-linear-gradient(#ff8737 49%,#ff8737 1%,#ff6600 50%);
    background: -o-linear-gradient(#ff8737 49%,#ff8737 1%,#ff6600 50%);
    background: -moz-linear-gradient(#ff8737 49%,#ff8737 1%,#ff6600 50%);
    background: linear-gradient(#ff8737 49%,#ff8737 1%,#ff6600 50%);    
}
#ec-spell #UIContainer .button.big{
    font-size:2.5em;
    padding:0.2em 0em;
    font-weight: bold;
}
#ec-spell #UIContainer .menuBox .button{
    width:100%;
    position: relative;
}
#ec-spell #UIContainer .menuBox{
    position: absolute;
    background-color: rgba(0,0,0,0.5);
    top:40%;
    height:50%;
    width:36%;
    left:32%;
    color:#fff;
    text-align: center;
}
#ec-spell #UIContainer .menuTitle{
    text-align: center;
    padding-top: 0.1em;
    font-size: 1.6em;
    font-weight: bold;
}
#ec-spell #UIContainer .menuHistoryContainer{
    z-index: 101;
    display: inline-block;
    padding-top:0.8em;
    padding-bottom:0.5em;
}
#ec-spell #UIContainer .menuHistoryContainer table{
    text-align: center;
    color:#fff;
}
#ec-spell #UIContainer .menuHistoryContainer td{
    width: 50%;
    white-space: nowrap;
}
#ec-spell #UIContainer .menuBox .resetHistory{
    color:#00cccc;
    cursor: pointer;
}
#ec-spell #UIContainer .menuBox .resetHistory:hover{
    color:#ff6600
}
#ec-spell #UIContainer #levelContainer{
    position: absolute;
}
#ec-spell #UIContainer #levelUpCVS{
    float: left;
}
#ec-spell #UIContainer .smallPanel{
    position: absolute;
    float: left;
    font-size:1.5em;
    border-radius:0.15em;
    border:solid 1px #000;
    box-shadow: 0.1em 0.1em 0.2em rgba(0,0,0,0.7);
     white-space: nowrap;
}
#ec-spell #UIContainer .smallPanel .smallPanelI{
    display: block;
    border-radius:0.15em;
    border:solid 0.33em #2fd0fc;
    color:#034f66;
    background-color: #2fd0fc;
}
#ec-spell #UIContainer .smallPanel .smallPanelI div{
    border-radius:0.15em;
    background-color: #fff;
    padding:0.2em;
}
#ec-spell #UIContainer .smallPanel .smallPanelI div span{
    display: inline-block;
    border-radius:0.1em;
    background-color: #d5f7ff;
    border:solid 1px #9aedf1;
    margin-left:0.66em;
    width:3em;
    text-align: center;
    color:#6e6761;
}
#ec-spell #UIContainer .smallPanel.blink .smallPanelI div{
    animation-name: ec-spell-scoreBlink;
    animation-duration: 0.2s;
    animation-iteration-count: 4;
    animation-timing-function: linear;
    animation-direction: alternate;
}
#ec-spell #UIContainer .smallPanel.blink .smallPanelI div span{
    animation-name: ec-spell-scoreBlink2;
    animation-duration: 0.2s;
    animation-iteration-count: 4;
    animation-timing-function: linear;
    animation-direction: alternate;
}
#ec-spell #UIContainer #spaceBarTutorial{
    position: absolute;
    padding:0.5em;
    background-color: rgba(0,0,0,0.6);
    font-weight: bold;
    font-size:1.5em;
    color:white;
}
@keyframes ec-spell-scoreBlink{
    from { background-color:#fff; }
    to { background-color:#f00; }
}
@keyframes ec-spell-scoreBlink2{
    from { background-color:#d5f7ff;border:solid 1px #9aedf1; }
    to { background-color:#f00;border:solid 1px #600; }
}
#ec-spell #UIContainer #livesContainer{
    text-align: center;
    height:1.7em;
    width:7em;
}
#ec-spell #UIContainer #livesContainer img{
    height:1.3em;
    padding-left: 0.3em;
	padding-top: 0; 
}
#ec-spell #UIContainer #typingContainer{
    text-align: center;
    height:1.6em;
    width:13em;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color:#6e6761;
	padding-top: 0; 
    letter-spacing: 0;
    white-space: nowrap;
}
#ec-spell #UIContainer #hint{
    text-align: center;
    height: 1.6em;
    width: 9em;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #6e6761;
    padding-top: 0;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#ec-spell #UIContainer #hint span{
    background-color: #fff;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}
#ec-spell #UIContainer #typingContainer b{
    color:#0006f6;
    text-decoration: underline;
}
#ec-spell #UIContainer #topBar div{
    position: absolute;
    top:0.3em;
}
#ec-spell #UIContainer #topBar #startPause{
    position: relative;
    top:0.1em;
    background-repeat: no-repeat;
    background-size: auto 100%;
    cursor: pointer;
    height:1.3em;
    width:2em;
}
#ec-spell #UIContainer #topBar #muteButton{
    position: relative;
    top:0.1em;
    background-repeat: no-repeat;
    background-size: auto 100%;
    cursor: pointer;
    height:1.3em;
    width:2em;
}
#ec-spell #UIContainer h1{
    color:#fdffcb;
    font-size: 3em;
    margin:0px;
    padding:0px;
    margin-top:0.3em;
}
#ec-spell #UIContainer h2{
    color:#fff;
    margin:0px;
    padding:0px;
}
#ec-spell #UIContainer .historyNameBox{
    display: inline-block;
    background-color: rgba(0,0,0,0.5);
    box-shadow: 0em 0em 0.4em rgba(0,0,0,0.5);
    padding:1em;
    color:#fff;
    font-weight: bold;
    margin-top: 0.8em;
}
#ec-spell #UIContainer .historyNameBox input{
    background-color: #fff;
    border:none;
    color:#000;
    width:10em;
    font-size: 1em;
    font-weight: normal;
    display: block;
    margin-top: 0.3em;
    text-align: center;
}
@-ms-keyframes ec-spell-spin{
    from { -ms-transform: rotate(0deg); }
    to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes ec-spell-spin{
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes ec-spell-spin{
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes ec-spell-spin{
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}
#ec-spell .levels{
    margin-left: 20px;
    padding: 0;
    list-style: none;
    
}
#ec-spell label.roww{
    display: flex;
    width: 250px;
    align-items: center;
    justify-content: space-between;
    padding: 2px 0;
    cursor: pointer;
    
}
#ec-spell .text{

    
    font: 900 clamp(13px, 2cqw, 20px)/1.1 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: .2px;
}
#ec-spell .mark{
    
    
    text-align: left;
    font-size: 1.3em;
   
    
    line-height: 1.2;
    
    display: inline-block;
    
}
#ec-spell .radio{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
#ec-spell .mark::before{
padding: 0.1em;
    margin: 0.2em;
    background-color: #00151e;
    color: #b7cb00; 
    content: "✖";
}
#ec-spell .radio:checked+.text+.mark::before{
    content: "✔";
}
@container ec-spell (max-width: 768px){#ec-spell #UIContainer .menuBox{
        top: calc(28% - 20px);
        left: 12%;
        width: 76%;
        height: 75%;
        min-height: 17em;
        padding: 0;
        box-sizing: border-box;
        background-color: rgba(0, 0, 0, 0.62);
    }
#ec-spell #UIContainer .menuBox .button.big{
        font-size: 3em;
        line-height: 1.05;
        width: 100%;
        margin: 0 0 0.12em;
        box-sizing: border-box;
    }
#ec-spell #UIContainer .menuBox h1{
        font-size: 2em !important;
        margin-top: 0.32em !important;
        margin-bottom: 0.3em !important;
    }
#ec-spell #UIContainer .menuBox .levels{
        width: 100%;
        max-width: 100%;
        margin: 0.25em 0 0;
        padding: 0 1em;
        box-sizing: border-box;
    }
#ec-spell #UIContainer .menuBox label.roww{
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 34px;
        gap: 0.45em;
        padding: 0.2em 0.25em;
        box-sizing: border-box;
    }
#ec-spell #UIContainer .menuBox .text{
        font-size: 1.9em;
        line-height: 1.12;
        white-space: normal;
        min-width: 0;
    }
#ec-spell #UIContainer .menuBox .mark{
        width: 34px;
        height: 34px;
    }
#ec-spell #UIContainer #typingContainer{
        width: 8.6em;
        height: 1.7em;
        font-size: 1.28em;
        line-height: 1.25;
    }
#ec-spell #UIContainer #hint{
        width: 4.6em;
        height: 1.7em;
        font-size: 1.2em;
        line-height: 1.25;
    }
#ec-spell #UIContainer .answerPanel{
        left: 37% !important;
    }
#ec-spell #UIContainer .hintPanel{
        left: 78% !important;
    }
#ec-spell #UIContainer .answerPanel,#ec-spell #UIContainer .hintPanel{
        height: 2.35em;
        box-sizing: border-box;
    }
#ec-spell #UIContainer .answerPanel .smallPanelI,#ec-spell #UIContainer .hintPanel .smallPanelI,#ec-spell #UIContainer .answerPanel .smallPanelI>div,#ec-spell #UIContainer .hintPanel .smallPanelI>div{
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
#ec-spell #UIContainer #repeatBtn{
        width: 3em !important;
        height: 3em !important;
        left: 25% !important;
        top: 60% !important;
    }
#ec-spell #UIContainer #gOverBox{
        top: 7% !important;
        z-index: 130;
    }
#ec-spell #UIContainer .gameOverMenu{
        top: 42%;
        left: 12%;
        width: 76%;
        height: 48%;
        min-height: 0;
        z-index: 120;
        padding: 0;
    }

}
@container ec-spell (orientation: portrait){#ec-spell #UIContainer{
        --score-left: 1.5%;
        --score-top: calc(100% + 0.72em);
        --score-font-size: 1.55em;
        --score-height: 3.35em;
        --score-inner-width: 5.4em;
        --score-value-width: 1.75em;
        --score-text-font-size: 1.12em;
        --score-value-font-size: 1.42em;
        --level-inner-width: 6.35em;
        --level-value-width: 1.72em;
        --level-text-font-size: 1.14em;
        --level-value-font-size: 1.38em;
        --typing-left: 50%;
        --typing-top: calc(100% + 0.72em);
        --typing-panel-height: 3.35em;
        --typing-width: 4.95em;
        --typing-height: 1.58em;
        --typing-font-size: 2.08em;
        --typing-line-height: 1.05;
        --typing-shadow: 0 0.14em 0.42em rgba(0, 0, 0, 0.16);
        --hint-left: 72%;
        --hint-top: calc(100% + 0.72em);
        --hint-panel-height: 3.35em;
        --hint-width: 4.45em;
        --hint-height: 2.05em;
        --hint-font-size: 1.44em;
        --hint-line-height: 1.08;
        --repeat-left: 78%;
        --repeat-top: 115%;
        --repeat-width: 3.72em;
        --repeat-height: 3.72em;
        --repeat-z-index: 130;
        --lives-left: 70.5%;
        --lives-top: 84.3%;
        --lives-panel-height: 3.85em;
        --lives-width: 7.55em;
        --lives-height: 2.75em;
        --lives-icon-height: 2.08em;
        --lives-z-index: 115;
        --top-title-left: 3%;
        --top-title-top: 0.68em;
        --top-title-font-size: 1.95em;
        --pause-left: 74%;
        --pause-top: 0.45em;
        --pause-width: 2.85em;
        --pause-height: 2.65em;
        --exit-left: 85.5%;
        --exit-top: 0.28em;
        --exit-font-size: 1.42em;
        --exit-width: 4.35em;
        --exit-height: 1.9em;

        background-size: 100% auto !important;
        background-position: top center !important;
        background-repeat: no-repeat !important;
    }
#ec-spell #UIContainer #bottomBar{
        top: auto !important;
        bottom: 0 !important;
    }
#ec-spell #UIContainer #topBar{
        height: 6.6em !important;
        background-size: 100% 100% !important;
        z-index: 120 !important;
    }
#ec-spell #UIContainer #topBar > div{
        top: 1.22em !important;
    }
#ec-spell #UIContainer #topBar .topTitle{
        left: var(--top-title-left) !important;
        top: var(--top-title-top) !important;
        max-width: 68%;
        font-size: var(--top-title-font-size) !important;
        line-height: 1.08 !important;
        color: #fdffcb;
        text-shadow: 0.07em 0.07em 0.12em rgba(0, 0, 0, 0.45);
        white-space: nowrap;
    }
#ec-spell #UIContainer #topBar .exitButtonWrap{
        left: var(--exit-left) !important;
        top: var(--exit-top) !important;
        z-index: 125 !important;
    }
#ec-spell #UIContainer #topBar .pauseButtonWrap{
        left: var(--pause-left) !important;
        top: var(--pause-top) !important;
        z-index: 125 !important;
    }
#ec-spell #UIContainer #topBar #exitButton{
        width: var(--exit-width) !important;
        height: var(--exit-height) !important;
        box-sizing: border-box;
        padding: 0.12em 0.28em !important;
        font-size: var(--exit-font-size) !important;
        line-height: 1.25 !important;
        border-radius: 0.25em;
    }
#ec-spell #UIContainer #topBar #startPause,#ec-spell #UIContainer #topBar #muteButton{
        height: var(--pause-height) !important;
        width: var(--pause-width) !important;
        top: 0 !important;
        background-size: contain !important;
        background-position: center center !important;
    }
#ec-spell #UIContainer #scoreContainer{
        left: var(--score-left) !important;
        top: var(--score-top) !important;
        font-size: var(--score-font-size) !important;
        height: var(--score-height) !important;
        box-sizing: border-box;
        z-index: 115 !important;
    }
#ec-spell #UIContainer #scoreContainer .smallPanelI>div{
        min-width: var(--score-inner-width) !important;
        min-height: 2.5em !important;
        padding: 0.32em 0.42em !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.42em !important;
        box-sizing: border-box;
        font-size: var(--score-text-font-size) !important;
        line-height: 1 !important;
    }
#ec-spell #UIContainer #scoreSpan{
        width: var(--score-value-width) !important;
        min-height: 1.2em !important;
        font-size: var(--score-value-font-size) !important;
        line-height: 1.2 !important;
    }
#ec-spell #UIContainer #levelContainer .smallPanel{
        margin-top: 5.35em !important;
        font-size: 1.62em !important;
    }
#ec-spell #UIContainer #levelContainer .smallPanelI>div{
        min-width: var(--level-inner-width) !important;
        min-height: 2.32em !important;
        padding: 0.28em 0.38em !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.42em !important;
        box-sizing: border-box;
        font-size: var(--level-text-font-size) !important;
        line-height: 1 !important;
    }
#ec-spell #UIContainer #levelNo{
        width: var(--level-value-width) !important;
        min-height: 1.2em !important;
        font-size: var(--level-value-font-size) !important;
        line-height: 1.2 !important;
    }
#ec-spell #UIContainer .answerPanel,#ec-spell #UIContainer .hintPanel{
        height: 3.35em !important;
        box-sizing: border-box;
        z-index: 115 !important;
    }
#ec-spell #UIContainer .answerPanel{
        left: var(--typing-left) !important;
        top: var(--typing-top) !important;
        height: var(--typing-panel-height) !important;
        transform: translateX(-50%);
        border-color: rgba(47, 208, 252, 0.45) !important;
        box-shadow: var(--typing-shadow) !important;
    }
#ec-spell #UIContainer #typingContainer{
        width: var(--typing-width) !important;
        height: var(--typing-height) !important;
        font-size: var(--typing-font-size) !important;
        line-height: var(--typing-line-height) !important;
    }
#ec-spell #UIContainer .hintPanel{
        left: var(--hint-left) !important;
        top: var(--hint-top) !important;
        height: var(--hint-panel-height) !important;
    }
#ec-spell #UIContainer #hint{
        width: var(--hint-width) !important;
        height: var(--hint-height) !important;
        font-size: var(--hint-font-size) !important;
        line-height: var(--hint-line-height) !important;
    }
#ec-spell #UIContainer .answerPanel .smallPanelI,#ec-spell #UIContainer .hintPanel .smallPanelI{
        min-height: 100% !important;
    }
#ec-spell #UIContainer .answerPanel .smallPanelI>div,#ec-spell #UIContainer .hintPanel .smallPanelI>div{
        min-height: 2.2em !important;
        padding: 0.18em 0.3em !important;
    }
#ec-spell #UIContainer .livesPanel{
        left: var(--lives-left) !important;
        top: var(--lives-top) !important;
        height: var(--lives-panel-height) !important;
        box-sizing: border-box;
        z-index: var(--lives-z-index) !important;
    }
#ec-spell #UIContainer #livesContainer{
        width: var(--lives-width) !important;
        height: var(--lives-height) !important;
    }
#ec-spell #UIContainer #livesContainer img{
        height: var(--lives-icon-height) !important;
    }
#ec-spell #UIContainer #repeatBtn{
        width: var(--repeat-width) !important;
        height: var(--repeat-height) !important;
        left: var(--repeat-left) !important;
        top: var(--repeat-top) !important;
        z-index: var(--repeat-z-index) !important;
    }

}
@container ec-spell (orientation: portrait) and (max-height: 720px){#ec-spell #UIContainer #repeatBtn{
        width: var(--repeat-width) !important;
        height: var(--repeat-height) !important;
        top: var(--repeat-top) !important;
    }
#ec-spell #UIContainer #scoreContainer .smallPanelI>div{
        min-width: var(--score-inner-width) !important;
    }
#ec-spell #UIContainer #levelContainer .smallPanel{
        margin-top: 4.9em !important;
        font-size: 1.4em !important;
    }
#ec-spell #UIContainer #levelContainer .smallPanelI>div{
        min-width: var(--level-inner-width) !important;
    }
#ec-spell #UIContainer #levelNo{
        width: var(--level-value-width) !important;
    }
#ec-spell #UIContainer .answerPanel{
        top: var(--typing-top) !important;
    }
#ec-spell #UIContainer .answerPanel{
        left: var(--typing-left) !important;
    }
#ec-spell #UIContainer #typingContainer{
        width: var(--typing-width) !important;
        font-size: var(--typing-font-size) !important;
    }
#ec-spell #UIContainer #hint{
        width: var(--hint-width) !important;
        font-size: var(--hint-font-size) !important;
    }
#ec-spell #UIContainer .livesPanel{
        left: var(--lives-left) !important;
        top: var(--lives-top) !important;
    }
#ec-spell #UIContainer #livesContainer{
        width: var(--lives-width) !important;
    }
#ec-spell #UIContainer #livesContainer img{
        height: var(--lives-icon-height) !important;
    }

}
@container ec-spell (orientation: landscape){#ec-spell #UIContainer .menuBox{
        top: 42%;
        left: 20%;
        width: 58%;
        height: 55%;
        min-height: 0;
        padding: 0;
        box-sizing: border-box;
        background-color: rgba(0, 0, 0, 0.62);
    }
#ec-spell #UIContainer .menuBox .button.big{
        width: 100%;
        margin: 0 0 0.08em;
        box-sizing: border-box;
        font-size: 2.45em;
        line-height: 1.05;
    }
#ec-spell #UIContainer .menuBox h1{
        font-size: 1.55em !important;
        margin-top: 0.22em !important;
        margin-bottom: 0.15em !important;
        line-height: 1.1 !important;
    }
#ec-spell #UIContainer .menuBox .levels{
        width: 100%;
        max-width: 100%;
        margin: 0.05em 0 0;
        padding: 0 2.2em;
        box-sizing: border-box;
    }
#ec-spell #UIContainer .menuBox label.roww{
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 30px;
        gap: 0.8em;
        padding: 0.12em 0.2em;
        box-sizing: border-box;
    }
#ec-spell #UIContainer .menuBox .text{
        font-size: 1.55em;
        line-height: 1.05;
        white-space: normal;
    }
#ec-spell #UIContainer .menuBox .mark{
        width: 30px;
        height: 30px;
    }
#ec-spell #UIContainer #typingContainer{
        width: 9em;
        height: 1.7em;
        font-size: 1.22em;
        line-height: 1.25;
    }
#ec-spell #UIContainer #hint{
        width: 5em;
        height: 1.7em;
        font-size: 1.1em;
        line-height: 1.25;
    }
#ec-spell #UIContainer .answerPanel{
        left: 34% !important;
    }
#ec-spell #UIContainer .hintPanel{
        left: 80% !important;
    }
#ec-spell #UIContainer #repeatBtn{
        width: 2.9em !important;
        height: 2.9em !important;
        left: 25% !important;
        top: 60% !important;
    }

}
#ec-spell #UIContainer .openingMenu{
    height: 60%;
    top: 36%;
    left: 20%;
    width: 60%;
    background-color: rgba(0, 0, 0, 0.58);
}
#ec-spell #UIContainer .openingMenu .button.big{
    font-size: 2.9em;
    line-height: 1.08;
    margin: 0 0 0.18em;
    text-shadow: 0.07em 0.07em 0.08em rgba(0, 0, 0, 0.38);
}
#ec-spell #UIContainer .openingMenu h1{
    color: #fdffcb;
    font-size: 1.55em !important;
    line-height: 1.15 !important;
    margin: 0.32em auto 0.36em !important;
}
#ec-spell #UIContainer .openingMenu .levels{
    width: 23em;
    max-width: 86%;
    margin: 0 auto;
}
#ec-spell #UIContainer .openingMenu .levels li{
    margin: 0.72em 0;
}
#ec-spell #UIContainer .openingMenu label.roww{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2.55em;
    align-items: center;
    column-gap: 1.25em;
    width: 100%;
    padding: 0.12em 0;
}
#ec-spell #UIContainer .openingMenu .text{
    font-size: 1.55em;
    line-height: 1.1;
    color: #fff;
    text-align: left;
    text-shadow: 0.07em 0.07em 0.08em rgba(0, 0, 0, 0.5);
}
#ec-spell #UIContainer .openingMenu .mark{
    width: 2.35em;
    height: 2.35em;
    position: relative;
    display: block;
    border-radius: 50%;
    border: 0.22em solid rgba(255, 255, 236, 0.72);
    background: rgba(255, 255, 236, 0.1);
    box-shadow: inset 0 0.09em 0.18em rgba(0, 0, 0, 0.2), 0 0.1em 0.25em rgba(0, 0, 0, 0.22);
    font-size: 1em;
    line-height: 1;
}
#ec-spell #UIContainer .openingMenu .mark::before,#ec-spell #UIContainer .openingMenu .mark::after{
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 1.35em !important;
    height: 0.24em !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #f2f46c !important;
    box-shadow: 0 0.05em 0.1em rgba(0, 0, 0, 0.28) !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
}
#ec-spell #UIContainer .openingMenu .mark::after{
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}
#ec-spell #UIContainer .openingMenu .radio:checked+.text+.mark{
    background: rgba(242, 244, 108, 0.2);
    border-color: #f8f4c8;
    box-shadow: inset 0 0.09em 0.18em rgba(0, 0, 0, 0.16), 0 0 0.55em rgba(242, 244, 108, 0.35);
}
#ec-spell #UIContainer .openingMenu .radio:checked+.text+.mark::before{
    left: 42% !important;
    top: 58% !important;
    width: 0.8em !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
}
#ec-spell #UIContainer .openingMenu .radio:checked+.text+.mark::after{
    left: 58% !important;
    top: 48% !important;
    width: 1.45em !important;
    transform: translate(-50%, -50%) rotate(-52deg) !important;
}
@container ec-spell (orientation: portrait){#ec-spell #TEgame:has(.openingMenu),#ec-spell #TEgame:has(.gameOverMenu),#ec-spell #UIContainer:has(.openingMenu),#ec-spell #UIContainer:has(.gameOverMenu){
        overflow: visible;
    }
#ec-spell #UIContainer:has(.openingMenu){
        background-size: 100% 100% !important;
    }
#ec-spell #UIContainer .openingMenu{
        top: calc(100% + 10px);
        left: 3%;
        width: 94%;
        height: auto;
        min-height: 0;
        max-height: calc(60% - 12px);
        box-sizing: border-box;
        padding: 0.75em 0.95em 0.95em;
        font-size: 1.08em;
        overflow: hidden;
        border: 0.16em solid rgba(255, 255, 255, 0.22);
        border-radius: 1.15em;
        background: linear-gradient(180deg, rgba(13, 39, 67, 0.93), rgba(6, 24, 42, 0.9));
        box-shadow: 0 0.45em 1.25em rgba(0, 0, 0, 0.36), inset 0 0.08em 0 rgba(255, 255, 255, 0.18);
    }
#ec-spell #UIContainer .openingMenu .button.big{
        display: block;
        box-sizing: border-box;
        width: 100%;
        font-size: 3.25em;
        line-height: 1;
        margin: 0 auto 0.24em;
        padding: 0.18em 0.2em 0.22em;
        border-radius: 0.35em;
        border: 0.08em solid rgba(255, 255, 255, 0.34);
        color: #fff;
        background: #8fd4f4;
        background: -webkit-linear-gradient(#8fd4f4 49%, #8fd4f4 1%, #71c9f1 50%);
        background: -o-linear-gradient(#8fd4f4 49%, #8fd4f4 1%, #71c9f1 50%);
        background: -moz-linear-gradient(#8fd4f4 49%, #8fd4f4 1%, #71c9f1 50%);
        background: linear-gradient(#8fd4f4 49%, #8fd4f4 1%, #71c9f1 50%);
        box-shadow: 0 0.14em 0 #3ea9d9, 0 0.24em 0.45em rgba(0, 0, 0, 0.28);
        text-shadow: 0.1em 0.1em 0.3em rgba(0, 0, 0, 0.5);
    }
#ec-spell #UIContainer .openingMenu h1{
        color: #f8ffcb;
        font-size: 1.95em !important;
        line-height: 1.15 !important;
        margin: 0.34em auto 0.44em !important;
        text-shadow: 0 0.08em 0.12em rgba(0, 0, 0, 0.45);
    }
#ec-spell #UIContainer .openingMenu .levels{
        display: grid;
        gap: 0.46em;
        width: 100%;
        max-width: none;
        margin: 0 auto;
        padding: 0;
    }
#ec-spell #UIContainer .openingMenu label.roww{
        grid-template-columns: minmax(0, 1fr) 2.7em;
        column-gap: 0.9em;
        box-sizing: border-box;
        min-height: 3.8em;
        padding: 0.42em 0.68em;
        border: 0.12em solid rgba(255, 255, 255, 0.18);
        border-radius: 0.7em;
        background: rgba(255, 255, 255, 0.13);
        box-shadow: inset 0 0.08em 0 rgba(255, 255, 255, 0.15), 0 0.16em 0.32em rgba(0, 0, 0, 0.18);
    }
#ec-spell #UIContainer .openingMenu .text{
        font-size: 2.05em;
        font-weight: 800;
        color: #fff;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
#ec-spell #UIContainer .openingMenu .mark{
        width: 2.45em;
        height: 2.45em;
        border-width: 0.18em;
        background: rgba(255, 255, 255, 0.12);
    }
#ec-spell #UIContainer .openingMenu .radio:checked+.text{
        color: #fff8a6;
    }
#ec-spell #UIContainer .openingMenu label.roww:has(.radio:checked){
        border-color: rgba(255, 248, 166, 0.68);
        background: linear-gradient(180deg, rgba(255, 181, 72, 0.24), rgba(255, 122, 31, 0.16));
        box-shadow: inset 0 0.08em 0 rgba(255, 255, 255, 0.2), 0 0 0.45em rgba(255, 181, 72, 0.24);
    }
#ec-spell #UIContainer .gameOverMenu{
        top: calc(100% + 12px);
        left: 3%;
        width: 94%;
        height: auto;
        min-height: 0;
        max-height: calc(60% - 12px);
        box-sizing: border-box;
        font-size: 1.08em;
        overflow: hidden;
        border: 0.16em solid rgba(255, 255, 255, 0.22);
        border-radius: 1.15em;
        background: linear-gradient(180deg, rgba(13, 39, 67, 0.93), rgba(6, 24, 42, 0.9));
        box-shadow: 0 0.45em 1.25em rgba(0, 0, 0, 0.36), inset 0 0.08em 0 rgba(255, 255, 255, 0.18);
        z-index: 120;
        padding: 0.75em 0.95em 0.95em;
    }
#ec-spell #UIContainer #gOverBox h1{
        color: #492520 !important;
    }
#ec-spell #UIContainer #gOverBox h2{
        font-size: 2.7em !important;
        line-height: 1.12 !important;
        margin: 0.18em 0 0.24em !important;
        color: #fff;
        text-shadow: 0.07em 0.07em 0.12em rgba(0, 0, 0, 0.55);
    }
#ec-spell #UIContainer .historyNameBox{
        font-size: 2.05em !important;
        line-height: 1.15 !important;
        margin-top: 0.52em !important;
        padding: 0.62em 0.75em !important;
        box-sizing: border-box;
    }
#ec-spell #UIContainer .historyNameBox input{
        width: 8em !important;
        font-size: 1.05em !important;
        line-height: 1.2 !important;
        padding: 0.14em 0.24em !important;
        box-sizing: border-box;
    }
#ec-spell #UIContainer .gameOverMenu .button.big{
        display: block;
        box-sizing: border-box;
        width: 100%;
        font-size: 3.25em;
        line-height: 1;
        margin: 0 auto 0.24em;
        padding: 0.18em 0.2em 0.22em;
        border-radius: 0.35em;
        border: 0.08em solid rgba(255, 255, 255, 0.34);
        color: #fff;
        background: #8fd4f4;
        background: -webkit-linear-gradient(#8fd4f4 49%, #8fd4f4 1%, #71c9f1 50%);
        background: -o-linear-gradient(#8fd4f4 49%, #8fd4f4 1%, #71c9f1 50%);
        background: -moz-linear-gradient(#8fd4f4 49%, #8fd4f4 1%, #71c9f1 50%);
        background: linear-gradient(#8fd4f4 49%, #8fd4f4 1%, #71c9f1 50%);
        box-shadow: 0 0.14em 0 #3ea9d9, 0 0.24em 0.45em rgba(0, 0, 0, 0.28);
        text-shadow: 0.1em 0.1em 0.3em rgba(0, 0, 0, 0.5);
    }
#ec-spell #UIContainer .gameOverMenu .menuTitle{
        color: #f8ffcb;
        font-size: 2.05em;
        line-height: 1.15;
        padding-top: 0.2em;
        text-shadow: 0 0.08em 0.12em rgba(0, 0, 0, 0.45);
    }
#ec-spell #UIContainer .gameOverMenu .menuHistoryContainer{
        display: block;
        width: 92%;
        margin: 0.35em auto 0;
        padding: 0.22em 0.36em 0.32em;
        box-sizing: border-box;
        font-size: 1.42em;
        border: 0.1em solid rgba(255, 255, 255, 0.18);
        border-radius: 0.58em;
        background: rgba(255, 255, 255, 0.12);
        box-shadow: inset 0 0.08em 0 rgba(255, 255, 255, 0.13), 0 0.16em 0.32em rgba(0, 0, 0, 0.16);
    }
#ec-spell #UIContainer .gameOverMenu .menuHistoryContainer table{
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 0.14em;
        table-layout: fixed;
    }
#ec-spell #UIContainer .gameOverMenu .menuHistoryContainer td{
        padding: 0.16em 0.28em;
        box-sizing: border-box;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #fff;
        text-shadow: 0 0.06em 0.1em rgba(0, 0, 0, 0.42);
    }
#ec-spell #UIContainer .gameOverMenu .menuHistoryContainer td:first-child{
        text-align: left;
    }
#ec-spell #UIContainer .gameOverMenu .menuHistoryContainer td:last-child{
        text-align: right;
        color: #fff8a6;
        font-weight: bold;
    }
#ec-spell #UIContainer .gameOverMenu .resetHistory{
        font-size: 1.25em;
    }

}
@container ec-spell (orientation: portrait) and (max-height: 720px){#ec-spell #UIContainer .openingMenu{
        top: calc(100% + 8px);
        max-height: calc(58% - 10px);
        padding: 0.55em 0.75em 0.75em;
    }
#ec-spell #UIContainer .openingMenu .button.big{
        font-size: 2.65em;
        margin-bottom: 0.16em;
    }
#ec-spell #UIContainer .openingMenu h1{
        font-size: 1.62em !important;
        margin: 0.24em auto 0.28em !important;
    }
#ec-spell #UIContainer .openingMenu label.roww{
        min-height: 3.2em;
        padding: 0.3em 0.58em;
    }
#ec-spell #UIContainer .openingMenu .text{
        font-size: 1.78em;
    }
#ec-spell #UIContainer .openingMenu .mark{
        width: 2.15em;
        height: 2.15em;
    }
#ec-spell #UIContainer .gameOverMenu{
        top: calc(100% + 8px);
        max-height: calc(58% - 10px);
        padding: 0.55em 0.75em 0.75em;
    }
#ec-spell #UIContainer #gOverBox h2{
        font-size: 2.2em !important;
    }
#ec-spell #UIContainer .historyNameBox{
        font-size: 1.65em !important;
        margin-top: 0.38em !important;
        padding: 0.5em 0.65em !important;
    }
#ec-spell #UIContainer .gameOverMenu .button.big{
        font-size: 2.65em;
        margin-bottom: 0.16em;
    }
#ec-spell #UIContainer .gameOverMenu .menuTitle{
        font-size: 1.7em;
    }
#ec-spell #UIContainer .gameOverMenu .menuHistoryContainer{
        width: 94%;
        font-size: 1.12em;
        margin-top: 0.22em;
        padding: 0.18em 0.3em 0.24em;
    }
#ec-spell #UIContainer .gameOverMenu .resetHistory{
        font-size: 1.05em;
    }

}
#ec-spell #UIContainer,#ec-spell #loadingContainer{
            background-image: var(--spell-menu-background, none);
        }
#ec-spell{
            margin: 0;
            padding: 0;
            height: 100%;
            overflow: hidden;
            overscroll-behavior: none;
        }
#ec-spell{
            display: flex;
            justify-content: center;
            
            align-items: center;
            
            background-color: #fff;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }
#ec-spell #gameArea{
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: rgba(255, 255, 255, 1.0);
            height: 100cqh;
            width: 100%;
        }
#ec-spell #TEgame{
            display: flex;
            justify-content: center;
            align-items: center;
            width: min(100cqw, calc(100cqh * (1124 / 710)));
            max-width: 100cqw;
            aspect-ratio: 1124 / 710;
            height: auto;
            position: relative;
            overflow: hidden;
        }
#ec-spell #TEgame > #UIContainer,#ec-spell #TEgame > #loadingContainer,#ec-spell #TEgame > #UIAdsContainer,#ec-spell #TEgame > canvas{
            top: 0;
            left: 0;
        }
#ec-spell #type4lifeKeyboard{
            display: none;
            touch-action: manipulation;
            user-select: none;
            -webkit-user-select: none;
        }
#ec-spell #type4lifePortraitNotice{
            display: none;
        }
#ec-spell .type4lifePortraitNoticeCard{
            display: flex;
            flex-direction: column;
            align-items: center;
            width: min(82cqw, 560px);
            padding: clamp(1rem, 4cqh, 2rem) clamp(1.5rem, 5cqw, 3rem);
            box-sizing: border-box;
            border: 2px solid rgba(255, 255, 255, 0.65);
            border-radius: 22px;
            color: #fff;
            text-align: center;
            background: rgba(13, 70, 125, 0.38);
            box-shadow: 0 14px 38px rgba(5, 41, 76, 0.32);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
        }
#ec-spell .type4lifeRotateIcon{
            position: relative;
            width: 82px;
            height: 58px;
            margin-bottom: clamp(0.65rem, 2cqh, 1rem);
        }
#ec-spell .type4lifeRotatePhone{
            position: absolute;
            top: 2px;
            left: 16px;
            width: 50px;
            height: 30px;
            box-sizing: border-box;
            border: 4px solid #fff;
            border-radius: 8px;
            transform: rotate(-8deg);
        }
#ec-spell .type4lifeRotatePhone::after{
            content: "";
            position: absolute;
            top: 50%;
            right: 3px;
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: #fff;
            transform: translateY(-50%);
        }
#ec-spell .type4lifeRotateArrow{
            position: absolute;
            right: -1px;
            bottom: -8px;
            font: 700 39px/1 Arial, sans-serif;
            transform: rotate(32deg);
        }
#ec-spell .type4lifePortraitNoticeTitle,#ec-spell .type4lifePortraitNoticeText{
            margin: 0;
            font-family: Arial, sans-serif;
        }
#ec-spell .type4lifePortraitNoticeTitle{
            font-size: clamp(1.35rem, 4.8cqw, 2rem);
            font-weight: 800;
            line-height: 1.15;
        }
#ec-spell .type4lifePortraitNoticeText{
            max-width: 36rem;
            margin-top: 0.55rem;
            font-size: clamp(0.95rem, 3.2cqw, 1.2rem);
            line-height: 1.35;
        }
#ec-spell .type4lifeKey{
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-width: 0;
            min-height: 2.55rem;
            padding: 0;
            box-sizing: border-box;
            border: 0;
            border-radius: 6px;
            color: #fff;
            font: 900 1.18rem/1 Arial, sans-serif;
            text-shadow: 1px 1px 1px #000;
            background: linear-gradient(145deg, #9bd7f3, #55acd7);
            box-shadow: inset 2px 2px 3px rgba(255,255,255,0.8), inset -2px -2px 3px rgba(0,0,0,0.35);
            cursor: pointer;
            touch-action: manipulation;
        }
#ec-spell .type4lifeKey.spaceKey{
            font-size: 1.05rem;
        }
#ec-spell .type4lifeKey:active{
            transform: translateY(1px);
            box-shadow: inset -2px -2px 2px rgba(255,255,255,0.45), inset 2px 2px 3px rgba(0,0,0,0.45);
        }
#ec-spell .type4lifeKeyRow{
            display: grid;
            column-gap: 0.34rem;
            width: 100%;
        }
#ec-spell .type4lifeKeyRow.row10{
            grid-template-columns: repeat(10, minmax(0, 1fr));
        }
#ec-spell .type4lifeKeyRow.row9{
            grid-template-columns: repeat(9, minmax(0, 1fr));
            padding: 0 4.8%;
            box-sizing: border-box;
        }
#ec-spell .type4lifeKeyRow.row7{
            grid-template-columns: repeat(7, minmax(0, 1fr));
            padding: 0 14.4%;
            box-sizing: border-box;
        }
#ec-spell .type4lifeKeyRow.rowSpace{
            grid-template-columns: minmax(8rem, 44%);
            justify-content: center;
        }
@container ec-spell (orientation: portrait){#ec-spell #gameArea{
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
            }
#ec-spell #TEgame{
                width: min(100cqw, calc((100cqh - 220px) * (1124 / 1136)));
                aspect-ratio: 1124 / 1136;
                margin-top: 0;
            }
#ec-spell.type4life-playing #TEgame,#ec-spell.type4life-playing #TEgame > #UIContainer{
                overflow: visible;
            }
#ec-spell.type4life-playing #type4lifeKeyboard{
                display: flex;
                flex-direction: column;
                gap: 0.34rem;
                width: min(100cqw, 520px);
                margin-top: clamp(100px, calc(9cqh + 30px), 118px);
                padding: 0 max(0.85rem, env(safe-area-inset-left)) max(0.45rem, env(safe-area-inset-bottom)) max(0.85rem, env(safe-area-inset-right));
                box-sizing: border-box;
            }

        }
@container ec-spell (orientation: portrait) and (max-height: 720px){#ec-spell #TEgame{
                width: min(100cqw, calc((100cqh - 198px) * (1124 / 1136)));
            }
#ec-spell .type4lifeKey{
                min-height: 2.05rem;
                font-size: 1rem;
            }
#ec-spell .type4lifeKey.spaceKey{
                font-size: 0.9rem;
            }
#ec-spell.type4life-playing #type4lifeKeyboard{
                gap: 0.22rem;
                margin-top: 88px;
                padding-left: 0.85rem;
                padding-right: 0.85rem;
            }
#ec-spell .type4lifeKeyRow{
                column-gap: 0.22rem;
            }

        }
@container ec-spell (orientation: landscape){#ec-spell #TEgame{
                width: min(100cqw, calc(100cqh * (1124 / 710)));
                aspect-ratio: 1124 / 710;
            }
#ec-spell.type4life-playing #type4lifeKeyboard{
                display: none;
            }

        }
#ec-spell.type4life-mobile-landscape #gameArea{
            visibility: hidden;
        }
#ec-spell.type4life-mobile-landscape #type4lifePortraitNotice{
            display: flex;
            align-items: center;
            justify-content: center;
            position: fixed;
            inset: 0;
            z-index: 100000;
            box-sizing: border-box;
            padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
            background: linear-gradient(135deg, #1e67b5 0%, #49acd7 100%);
        }

    
#ec-spell{overflow:hidden;}#ec-spell #fullScreenContainer{width:100%;height:100%;}#ec-spell #fullScreenContainer>svg{position:absolute;width:0;height:0;}
@media (orientation:portrait) and (max-width:480px){#game-frame.ec-spell-frame{min-height:640px;}}
