html, body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    background:
        radial-gradient(circle at top, rgba(25, 29, 46, 0.35), transparent 34%),
        #050505;
    color: #f5f5f5;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
    color: #72a7ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.challenge-shell {
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    width: min(100%, 880px);
    margin: 0 auto;
    padding: clamp(52px, 11vh, 104px) clamp(16px, 4vw, 28px) 18px;
    display: flex;
    flex-direction: column;
}

.challenge-content {
    width: min(100%, 540px);
}

.challenge-site {
    display: flex;
    align-items: center;
    gap: 14px;
}

.challenge-site-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f0ff 0%, #5b47ff 48%, #7d32ff 68%, #07f69f 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 24px rgba(48, 130, 255, 0.18);
    overflow: hidden;
}

.challenge-site-icon::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #050505;
}

.challenge-site-icon::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #23f28d;
}

.challenge-site-icon.use-text::before,
.challenge-site-icon.use-text::after {
    content: none;
}

.challenge-site-icon.use-text {
    background: linear-gradient(135deg, #4c8bf5 0%, #34a853 100%);
}

.challenge-site-icon.has-image {
    background: transparent;
    box-shadow: none;
}

.challenge-site-icon.has-image::before,
.challenge-site-icon.has-image::after {
    content: none;
}

.challenge-site-icon-text {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    display: none;
}

.challenge-site-icon.use-text .challenge-site-icon-text {
    display: inline;
}

.challenge-site-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.challenge-site-domain {
    margin: 0;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.challenge-title {
    margin: 18px 0 10px;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.challenge-subtitle {
    margin: 0;
    max-width: 520px;
    color: #b8bac3;
    font-size: clamp(14px, 2vw, 19px);
    line-height: 1.6;
}

.challenge-captcha-wrap {
    margin-top: 30px;
}

.challenge-footer {
    margin-top: auto;
    padding-top: 40px;
}

.challenge-footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.42);
}

.challenge-ray-id,
.challenge-support {
    margin: 12px 0 0;
    text-align: center;
    color: #c9c9c9;
    font-size: 14px;
    line-height: 1.5;
}

.challenge-support {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 13px;
}

.challenge-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #cfcfcf;
    font-size: 10px;
    line-height: 1;
}

.challenge-support-separator {
    color: rgba(255, 255, 255, 0.48);
}

.fkrc-container {
    position: relative;
    width: min(100%, 320px);
    font-family: inherit;
}

.fkrc-m-p {
    margin: 0;
    padding: 0;
}

.fkrc-block {
    display: block;
}

.fkrc-line-normal {
    line-height: normal;
}

.fkrc-checkbox-window {
    position: relative;
    width: 100%;
    min-height: 82px;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(43, 43, 43, 0.96), rgba(34, 34, 34, 0.96));
    border-radius: 2px;
    border: 1px solid rgba(241, 241, 241, 0.58);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.fkrc-checkbox-container {
    width: 28px;
    height: 28px;
}

.fkrc-checkbox {
    position: relative;
    background-color: transparent;
    border-radius: 2px;
    height: 100%;
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.68);
    margin: 25px 0 0 14px;
    outline: none;
    transition: width 500ms, height 500ms, border-radius 500ms, margin-top 500ms, margin-left 500ms, opacity 700ms;
}

.fkrc-checkbox:hover {
    border-color: rgba(255, 255, 255, 0.9);
}

.fkrc-im-not-a-robot {
    position: absolute;
    left: 52px;
    top: 28px;
    font-size: 15px;
    color: #ededed;
    letter-spacing: 0.01em;
}

.fkrc-captcha-logo {
    position: absolute;
    right: 14px;
    top: 18px;
    width: 52px;
    height: auto;
    opacity: 0.92;
}

.fkrc-checkbox-desc {
    position: absolute;
    right: 11px;
    bottom: 18px;
    color: #e2e2e2;
    font-size: 8px;
    letter-spacing: 0.22em;
    text-align: right;
}

.fkrc-checkbox-desc-secondary {
    right: 13px;
    bottom: 8px;
    font-size: 8px;
    letter-spacing: 0.04em;
    color: #cfcfcf;
}

.fkrc-spinner {
    visibility: hidden;
    position: absolute;
    height: 34px;
    width: 34px;
    top: 24px;
    left: 12px;
    opacity: 0;
    transition: opacity 400ms;
}

.fkrc-verifywin-window {
    opacity: 0;
    position: absolute;
    visibility: hidden;
    width: min(100vw - 24px, 340px);
    background-color: #111214;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    transition: opacity 400ms;
    z-index: 3;
}

.fkrc-verifywin-window-arrow {
    opacity: 0;
    position: absolute;
    visibility: hidden;
    transition: opacity 200ms;
    width: 10px;
    height: 23px;
}

.fkrc-verifywin-container {
    padding: 10px;
}

.fkrc-verifywin-header {
    background: linear-gradient(135deg, #111827, #1d3557);
    border-radius: 14px;
    padding: 18px 18px 22px;
    color: #fff;
}

.fkrc-verifywin-header-text-small {
    font-size: 14px;
    line-height: normal;
}

.fkrc-verifywin-header-text-medium {
    font-size: 15px;
}

.fkrc-verifywin-header-text-big {
    font-size: 26px;
    font-weight: 700;
}

.fkrc-verifywin-main {
    padding: 12px 8px 8px;
    color: #d3d7e0;
    font-size: 14px;
    line-height: 1.6;
}

.fkrc-verifywin-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 10px 10px;
    color: #9ea7b8;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 102px;
    gap: 10px;
    font-size: 13px;
}

.fkrc-verifywin-footer-left {
    padding: 5px 3px 0;
}

.fkrc-verifywin-verify-button {
    text-transform: uppercase;
    background: linear-gradient(135deg, #4777ff, #6c4cff);
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 12px 0;
    text-decoration: none;
    font-weight: 600;
    height: min-content;
    border-radius: 999px;
    font-size: 14px;
    border: none;
    outline: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .challenge-shell {
        padding-top: 46px;
        padding-bottom: 18px;
    }

    .challenge-content {
        width: 100%;
    }

    .challenge-site {
        gap: 12px;
    }

    .challenge-site-icon {
        width: 30px;
        height: 30px;
    }

    .challenge-title {
        margin-top: 14px;
    }

    .challenge-captcha-wrap {
        margin-top: 26px;
    }

    .fkrc-container {
        width: min(100%, 320px);
    }

    .fkrc-checkbox-window {
        min-height: 84px;
    }

    .challenge-footer {
        padding-top: 28px;
    }
}

@media (max-width: 480px) {
    .challenge-shell {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .challenge-site-domain {
        font-size: 22px;
    }

    .challenge-title {
        font-size: 18px;
        letter-spacing: -0.02em;
    }

    .challenge-subtitle {
        font-size: 12px;
        line-height: 1.5;
    }

    .challenge-captcha-wrap {
        margin-top: 28px;
    }

    .fkrc-container {
        width: min(100%, 280px);
    }

    .fkrc-checkbox-window {
        min-height: 56px;
    }

    .fkrc-checkbox-container {
        width: 18px;
        height: 18px;
    }

    .fkrc-checkbox {
        margin-top: 18px;
        margin-left: 10px;
    }

    .fkrc-im-not-a-robot {
        left: 38px;
        top: 20px;
        font-size: 11px;
    }

    .fkrc-captcha-logo {
        right: 8px;
        top: 14px;
        width: 46px;
    }

    .fkrc-checkbox-desc {
        right: 9px;
        bottom: 13px;
        font-size: 6px;
    }

    .fkrc-checkbox-desc-secondary {
        bottom: 5px;
        font-size: 6px;
    }

    .fkrc-spinner {
        width: 24px;
        height: 24px;
        top: 16px;
        left: 8px;
    }

    .challenge-ray-id,
    .challenge-support {
        font-size: 11px;
    }

    .fkrc-verifywin-window {
        width: min(100vw - 20px, 320px);
    }

    .fkrc-verifywin-footer {
        grid-template-columns: 1fr;
    }
}
