.gaq-checker,
.gaq-checker *,
.gaq-checker *::before,
.gaq-checker *::after {
    box-sizing: border-box;
}

.gaq-checker {
    width: 100%;
    max-width: 760px;
    margin: 28px auto;
    padding: 28px;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    background: #fff;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    box-shadow: 0 4px 18px rgba(0,0,0,.045);
}

.gaq-header {
    margin-bottom: 26px;
    text-align: center;
}

.gaq-title {
    margin: 0 0 7px;
    color: #222;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.45;
}

.gaq-subtitle {
    color: #888;
    font-size: 14px;
    line-height: 1.7;
}

.gaq-item {
    margin-bottom: 21px;
}

.gaq-no-margin {
    margin-bottom: 0;
}

.gaq-item label {
    display: block;
    margin: 0 0 8px;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

.gaq-required {
    color: #f5222d;
}

.gaq-item select,
.gaq-item input {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #d9dce2;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.gaq-item select:focus,
.gaq-item input:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 2px rgba(22,119,255,.08);
}

.gaq-number-wrap {
    position: relative;
}

.gaq-number-wrap input {
    padding-right: 45px;
}

.gaq-unit {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #888;
    font-size: 14px;
    pointer-events: none;
}

.gaq-tip {
    margin-top: 7px;
    color: #888;
    font-size: 13px;
    line-height: 1.7;
}

.gaq-extra-box {
    margin-bottom: 21px;
    padding: 17px;
    border: 1px solid #d9e8ff;
    border-radius: 8px;
    background: #f7faff;
}

.gaq-button {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 5px 0 0;
    padding: 11px 20px;
    border: 0;
    border-radius: 7px;
    background: #1677ff;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.gaq-button:hover {
    background: #0958d9;
}

.gaq-button:active {
    background: #003eb3;
}

.gaq-result {
    display: none;
    margin-top: 22px;
    padding: 17px 18px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.85;
    word-break: break-word;
}

.gaq-result.gaq-success {
    display: block;
    border: 1px solid #b7eb8f;
    background: #f6ffed;
    color: #237804;
}

.gaq-result.gaq-fail {
    display: block;
    border: 1px solid #ffccc7;
    background: #fff2f0;
    color: #a8071a;
}

.gaq-result.gaq-warning {
    display: block;
    border: 1px solid #ffe58f;
    background: #fffbe6;
    color: #874d00;
}

.gaq-result-title {
    display: block;
    margin-bottom: 5px;
    font-size: 17px;
    font-weight: 700;
}

.gaq-rules {
    margin-top: 28px;
    padding-top: 23px;
    border-top: 1px solid #eee;
}

.gaq-rules-title {
    margin-bottom: 14px;
    color: #333;
    font-size: 17px;
    font-weight: 700;
}

.gaq-rule-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    padding: 10px 12px;
    border-radius: 5px;
    background: #f7f8fa;
    color: #555;
    font-size: 14px;
}

.gaq-rule-label {
    flex: 0 0 115px;
    color: #222;
    font-weight: 600;
}

.gaq-notice {
    margin-top: 13px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.gaq-notice strong {
    color: #333;
}

@media (max-width: 768px) {
    .gaq-checker {
        margin: 20px auto;
        padding: 21px 16px;
        border-radius: 9px;
        box-shadow: none;
    }

    .gaq-header {
        margin-bottom: 22px;
    }

    .gaq-title {
        font-size: 20px;
    }

    .gaq-subtitle {
        font-size: 13px;
    }

    .gaq-item {
        margin-bottom: 18px;
    }

    .gaq-item label {
        font-size: 14px;
    }

    .gaq-item select,
    .gaq-item input {
        height: 47px;
        font-size: 16px;
    }

    .gaq-extra-box {
        margin-bottom: 18px;
        padding: 14px;
    }

    .gaq-button {
        min-height: 49px;
        font-size: 16px;
    }

    .gaq-result {
        padding: 15px;
        font-size: 14px;
    }

    .gaq-rules {
        margin-top: 24px;
        padding-top: 20px;
    }

    .gaq-rule-row {
        display: block;
        padding: 10px;
    }

    .gaq-rule-label {
        display: block;
        margin-bottom: 2px;
    }
}

@media (max-width: 375px) {
    .gaq-checker {
        padding: 18px 13px;
    }

    .gaq-title {
        font-size: 18px;
    }
}