* {
    padding: 0;
    margin: 0
}

.page-title {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    padding: 15px;
    text-align: center;
    color: #555
}

.footer-info {
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #999;
    text-align: center
}

#string {
    position: relative;
    width: 90%;
    margin: 35px auto;
    margin-top: 60px;
    padding: 15px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    text-align: center;
    font-size: 20px
}

#string:before {
    content: "\5BC6\6587";
    font-size: 12px;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%)
}

.show-cell {
    position: relative;
    width: 90%;
    padding: 15px;
    font-size: 12px;
    border: 1px solid #ccc;
    margin: 15px auto;
    box-sizing: border-box;
    max-width: 500px;
    word-break: break-all
}

.show-cell:before {
    content: "\660E\6587";
    font-size: 12px;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%)
}

.page {
    position: relative;
    margin: 0 auto;
    width: 100vw;
    min-height: 100vh;
    max-width: 500px;
    padding-bottom: 50px;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
    background-color: #efefef
}

.ipt-cell {
    max-width: 250px;
    min-width: 250px;
    max-height: 100px;
    min-height: 30px;
    width: 250px;
    padding: 5px 10px;
    outline: none;
    background-color: #ddd;
    margin-bottom: 10px
}

.btn,
.ipt-cell {
    border: none;
    border-radius: 4px
}

.btn {
    width: 100px;
    color: #fff;
    padding: 5px;
    background-color: #3af
}

.flex-center,
.ipt-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center
}

.ipt-box {
    width: 100%;
    padding-top: 20px
}

.switch-box {
    display: inline-block;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 30px auto 10px;
    width: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #999
}

.switch-btn {
    padding: 5px;
    text-align: center;
    font-size: 14px;
    width: 80px;
    outline: none;
    background-color: #fff;
    border: none
}

.switch-active {
    background-color: #fc713a;
    color: #fff
}

.type-info {
    margin: 10px auto;
    text-align: center;
    font-size: 12px;
    color: #aaa
}

.message {
    position: fixed;
    top: -50px;
    left: 50%;
    padding: 10px 30px;
    background-color: #fff;
    border-radius: 6px;
    transform: translateX(-50%);
    transition: top .3s;
    z-index: 99
}

.message-show {
    top: 50px
}