.overlay,.search-overlay {
    left: 0;
    height: 100%;
    width: 100%
}

.search-overlay.active,button {
    display: flex
}

#screenshot-button,button {
    top: 20px
}

::-webkit-scrollbar {
    width: 8px;
    background-color: #f2f2f2
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px
}

::-webkit-scrollbar-track {
    background-color: #f2f2f2
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555
}

::-webkit-scrollbar-thumb:active {
    background-color: #333
}

.loading-circle {
    width: 11px;
    height: 11px;
    border: 1px solid #ccc;
    border-top: 1px solid #3498db;
    border-radius: 50%;
    animation: 1s linear infinite spin;
    display: inline-block;
    transform-origin: center center;
    backface-visibility: hidden;
    transform-style: preserve-3d
}

@keyframes spin {
    0% {
        transform: rotate(0) scale(1)
    }

    100% {
        transform: rotate(360deg) scale(1)
    }
}

.alignment {
    display: inline-block;
    vertical-align: top;
    width: 112px;
    font-size: 13.5px
}

.search-container {
    position: relative;
    text-align: center;
    margin-top: 10px;
    z-index: 1
}

.search-overlay {
    position: fixed;
    top: 0;
    background-color: rgba(0,0,0,.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2
}

.search-form {
    background-color: #fff;
    padding: 4px;
    border-radius: 3px;
    position: relative;
    top: -110px
}

.overlay,button {
    position: fixed;
    background-color: transparent
}

.search-form input[type=search] {
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
    width: 490px
}

#ip-cn,#ipv6-info {
    font-size: 15px
}

.close-button {
    cursor: pointer;
    color: #999;
    transition: color .3s
}

.close-button:hover {
    color: #333
}

.overlay {
    top: 0;
    z-index: 1
}

table tbody tr:hover {
    background-color: #cce5ff;
    overflow: hidden
}

table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #dee2e6
}

body {
    font-family: Arial,sans-serif;
    font-size: 20px;
    line-height: 1.5;
    background-color: #f1f5f9;
    color: #495057
}

button {
    right: 20px;
    z-index: 9999;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,.3);
    transition: .3s;
    justify-content: center;
    align-items: center
}

button img {
    width: 23px;
    height: 23px;
    object-fit: contain
}

button:hover {
    transform: scale(1.1)
}

button:active {
    transform: scale(.9)
}

.container,.container-search {
    margin: 0 auto;
    overflow-x: auto;
    text-align: center
}

.container {
    max-width: 990px
}

.container-search {
    max-width: 980px
}

table {
    width: 100%;
    border-spacing: 0;
    border: 1px solid #dee2e6;
    border-radius: .5em;
    box-shadow: 2px 3px 7px 2px rgba(0,0,0,.02);
    font-size: .85em;
    margin: 0 auto;
    transition: box-shadow .3s;
    background-color: #fdfdff;
    table-layout: fixed;
    box-sizing: border-box;
    overflow: hidden
}

table td:first-child {
    font-weight: 700;
    width: 90px
}

table td:last-child {
    border-right: none
}

@media (max-width: 500px) {
    .alignment {
        width:81px;
        font-size: 10.5px
    }

    table {
        font-size: .8em
    }

    table td,table th {
        padding: 8px
    }

    #ip-cn,#ipv6-info {
        font-size: 11px
    }

    table td:first-child {
        width: 55px
    }
}

#search-button {
    top: 100px
}

#en-button,#search1-button {
    top: 60px
}

.lark-tag {
    display: inline-block;
    padding: 0 3px;
    background: linear-gradient(45deg,#428bca,#5dade2);
    color: #fff;
    border-radius: 3px;
    font-weight: 700;
    font-size: 12px;
    margin-right: .5em
}

@media only screen and (max-width: 500px) {
    .search-form input[type=search] {
        width:310px;
        font-size: 13px
    }

    body {
        font-size: 16px
    }

    .lark-tag {
        background: #ddd;
        color: #333;
        font-size: 10px;
        margin-right: .2em
    }
}
