img[src*="imgcode.php"] {
    visibility: hidden;
}

.slider-code-bound {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

.slider-code {
    width: 260px;
    max-width: 100%;
    margin: 4px 0 8px;
    user-select: none;
    -webkit-user-select: none;
    text-align: left;
    line-height: normal;
    font-size: 13px;
}

.slider-code-panel {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 6px;
    overflow: hidden;
    background: #e7eef8;
    border: 1px solid #e3e8ee;
}

.slider-code-bg,
.slider-code-piece {
    display: block;
    -webkit-user-drag: none;
    user-select: none;
}

.slider-code-bg {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.slider-code-piece {
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    filter: drop-shadow(1px 2px 3px rgba(0, 0, 0, 0.45));
    z-index: 2;
}

.slider-code-refresh {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 3;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #5c6b7a;
    font-size: 14px;
    line-height: 24px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.slider-code-bar {
    position: relative;
    height: 40px;
    margin-top: 10px;
    border-radius: 6px;
    background: #f7f8fa;
    border: 1px solid #e3e8ee;
    overflow: hidden;
    box-sizing: border-box;
}

.slider-code-text {
    line-height: 38px;
    text-align: center;
    color: #98a2b3;
    font-size: 13px;
}

.slider-code-handle {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 38px;
    margin: 0;
    border: 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(16, 24, 40, 0.12);
    cursor: grab;
    touch-action: none;
    color: #df4d96;
    font-size: 0;
    line-height: 38px;
    text-align: center;
    padding: 0;
}

.slider-code-handle:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    vertical-align: middle;
    margin-top: -2px;
}

.slider-code.is-ok .slider-code-bar {
    background: #e8f8ef;
    border-color: #8ed7ab;
}

.slider-code.is-ok .slider-code-text {
    color: #1f9d55;
}

.slider-code.is-ok .slider-code-handle {
    background: #2fbe6a;
    color: #fff;
    box-shadow: none;
    cursor: default;
}

.slider-code.is-fail .slider-code-bar {
    background: #fdecec;
    border-color: #f0b4b4;
}

.slider-code-msg {
    min-height: 0;
    margin-top: 0;
    font-size: 12px;
    color: #e35d5d;
    line-height: 18px;
}

.slider-code-msg:empty {
    display: none;
}

.slider-code.is-ok .slider-code-msg {
    color: #1f9d55;
}

#loginbox .controls.imgcode {
    display: none !important;
}

.slider-code-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.45);
}

.slider-code-modal.is-open {
    display: block;
}

.slider-code-dialog {
    width: 320px;
    max-width: calc(100% - 32px);
    margin: 18vh auto 0;
    padding: 16px 18px 18px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
}

.slider-code-dialog-head {
    height: 28px;
    margin-bottom: 12px;
    color: #333;
    font-size: 15px;
    line-height: 28px;
    text-align: left;
}

.slider-code-close {
    float: right;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #999;
    font-size: 22px;
    line-height: 26px;
    cursor: pointer;
}

.slider-code-dialog .slider-code {
    width: 100%;
    margin: 0;
}

.slider-code-dialog .slider-code-panel,
.slider-code-dialog .slider-code-bg {
    height: auto;
}
