@charset "utf-8";
/* mobile version */
html, body {
    height: 100%;
    margin: 0;
    font-size: 10px;
    font-weight: bold;
    background: var(--bg) !important;
    color: var(--font) !important;
}
header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 1rem 1.7rem;
}
.logo-header {
    width: 3.9rem;
    height: 1.7rem;
    background-Image: url(../img/mobile/mtwsLogo.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
.tws-main {
    width: 100%;
    padding: 0rem 1.3rem;
}
.tws-logo-box {
    display: none;
}
.tws-info {
    float: right;
    text-align: center;
}
.tws-info-1 {
    position: relative;
    display: none;
    width: 9.4rem;
    height: 8.9rem;
    border-radius: 2rem;
}
    .tws-info-1>p {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 2rem;
        color: #000;
    }
.tws-info-2 {
    display: none;
}
.tws-info-3 {
    position: relative;
    display: none;
    width: 9.4rem;
    height: 8.9rem;
    border-radius: 2rem;
    margin: 0 0.3rem;
    background: url(../img/mobile/minfo003/mtwsInfo3.svg);
}
    .tws-info-3>div:nth-child(2) {
        display: none;
    }
    .tws-info-3>div:nth-child(3) {
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.4rem;
        color: #000;
    }
    .tws-info-3>div:nth-child(3)>p:nth-child(2) {
        font-size: 2.9rem;
        line-height: 1;
    }
    .tws-info-3>div:nth-child(4) {
        display: none;
    }
    #tbLeft {
        opacity: 0;
    }
    #tbRight {
        opacity: 0;
    }
.tws-info-4 {
    position: relative;
    display: none;
}
    .tws-info-4>p {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 2rem;
        color: #000;
    }
.tws-info>div:nth-child(5) {
    display: inline-block;
}
.tws-info-5 {
    position: relative;
    display: none;
    width: 9.4rem;
    height: 8.9rem;
    border-radius: 2rem;
    background: #000;
}
    .tws-info-5>p {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.7rem;
        color: #d1d1d1;
    }
.tws-info-6 {
    display: none;
}
.tws-info-7 {
    float: left;
    width: 5.2rem;
    background: none;
}
    .tws-info-7>h1 {
        display: inline-block;
        width: 2rem;
        height: 1.1rem;
        background-Image: url(../img/mobile/mtwsSpd.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    .tws-info-7>h1>span {
        display: none;
    }
    #spd {
        display: inline-block;
        width: 2rem;
        font-size: 1.2rem;
        text-align: right;
    }
.tws-info-8 {
    float: left;
    width: 5.5rem;
    background: none;
}
    .tws-info-8>h1 {
        display: inline-block;
        width: 2rem;
        height: 1.1rem;
        background-Image: url(../img/mobile/mtwsAcc.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    .tws-info-8>h1>span {
        display: none;
    }
    #acc {
        display: inline-block;
        width: 2rem;
        font-size: 1.2rem;
        text-align: right;
    }
.tws-info-9 {
    display: none;
}
.tws-info-10 {
    display: none;
}
.tws-info-btn {
    float: left;
    width: 2rem;
    height: 1.5rem;
    margin: 0 1rem 0 0;
    background-Image: url(../img/mobile/mtwsMenu.svg);
    background-repeat: no-repeat;
    background-position: center;
}
.tws-notice {
    display: none;
}
.tws-keyboard-effect {
    display: none;
}
.tws-typing-area {
    float: left;
    width: 100%;
    height: 16.2rem;
    border: solid 1px #0c0c0c;
    border-radius: 0.5rem;
    padding: 0.8rem 1.3rem;
    margin: 0.2rem 0 0 0;
    background: var(--boxbg);
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: all 0.1s;
}
    #sing {
        display: none;
    }
    /* 오타 점 — 모바일/태블릿도 PC와 동일 규격. 규칙이 없으면 div가 블록으로 남아
       글자 뒤에서 줄바꿈이 생기고 점도 안 보인다 */
    .wrong {
        position: absolute;
        bottom: -0.5rem;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--wrong);
    }
    #opt {
        width: 100%;
        font-family: inherit;
        font-size: 1.5rem;
        line-height: 1.13;
        letter-spacing: -0.2px;
        color: var(--output);
        resize: none;
        border: none;
        outline: none;
        background: none;
    }
    #ipt {
        width: 100%;
        height: 20px;
        font-family: inherit;
        font-size: 1.5rem;
        line-height: 1.13;
        letter-spacing: -0.2px;
        caret-color: var(--caret);
        color: var(--input);
        resize: none;
        border: none;
        /* border-bottom: 0.2rem solid #f2bf01; */
        outline: none;
        margin: 1.6rem 0 0 0;
        background: none;
    }
    ::placeholder {
        padding-left: 0.5rem;
        color: var(--gb);
        opacity: 1; /* Firefox */
    }
    ::-ms-input-placeholder { /* Microsoft Edge */
        padding-left: 0.5rem;
        color: var(--gb);
    }
    .tws-goal-bar {
        width: 100%;
        height: 0.4rem;
        background: var(--gb);
    }
    #goalSpdBar {
        width: 0;
        height: 100%;
        background: var(--gbs);
    }
    .tws-next-typing {
        display: none;
    }
.tws-help {
    display: none;
}
#tws-result-box {
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.85);
    z-index: 9;
}
#tws-result-wrap {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 493px;
}
#tws-result {
    position: absolute;
    border-radius: 0.3rem;
    opacity: 0;
    transition: all 0.5s;
    background: no-repeat url(../img/result/resultbg.svg);
    background-size: contain;
}
.tws-result-on {
    width: 320px;
    height: 493px;
    opacity: 1 !important;
    background: #febf01;
}
.tws-result-off {
    width: 0px;
    height: 0px;
    opacity: 0 !important;
    background: rgba(0,0,0,0);
}
#tws-result>div {
    position: absolute;
    width: 100%;
    font-style: italic;
    text-align: right;
    padding: 0 3rem;
    color: #282828;
}
#rstDate {
    top: 9.7rem;
    padding: 0 2.7rem !important;
    font-size: 1.4rem;
}
#rstOS {
    top: 12.7rem;
    font-size: 2.4rem;
}
#rstMode {
    top: 19rem;
    font-size: 1.4rem;
}
#rstMaxSpd {
    top: 21.5rem;
    font-size: 3rem;
}
#rstAvgSpd {
    top: 26.2rem;
    font-size: 3rem;
}
#rstAvgAcc {
    top: 30.7rem;
    font-size: 3rem;
}
#rstStemp {
    top: 32.7rem;
    width: 100%;
    height: 11.2rem;
    background-size: contain;
    background-repeat: no-repeat;
}
#rstDay {
    position: absolute;
    font-family: 'Fjalla One', sans-serif;
    font-weight: normal;
    color: #4f0b99;
}
#rstDownImg {
    display: block;
    position: absolute;
    bottom: 2.4rem;
    right: 2.4rem;
    width: 5.2rem !important;
    height: 5.2rem;
    background-image: url(../img/result/rstdown.svg);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 100;
}
.tws-request-btnbox {
    display: none;
}
.tws-request-box {
    display: none;
}

@media (prefers-color-scheme: dark) {
	/* mobile */
    .logo-header {
        background-Image: url(../img/mobile/mtwsLogo-dark.svg);
    }
    .tws-info-7>h1 {
        background-Image: url(../img/mobile/mtwsSpd-dark.svg);
    }
    .tws-info-8>h1 {
        background-Image: url(../img/mobile/mtwsAcc-dark.svg);
    }
    .tws-info-btn {
        background-Image: url(../img/mobile/mtwsMenu-dark.svg);
	}
}
