
/* ==================================================
   Visitor Intelligence 中文增强
   ================================================== */

#visitor {
    font-family:
        "Microsoft YaHei UI",
        "Microsoft YaHei",
        "PingFang SC",
        "Segoe UI",
        sans-serif;
}


#visitor .section-header small {
    font-size: 11px;
    color: #7190a8;
}


#visitor .section-header h2 {
    font-size: 38px;
    font-weight: 700;
}


.visitor-main-card small {
    font-size: 11px !important;
    color: #7494ac !important;
}


.visitor-main-card > span {
    font-size: 11px !important;
    color: #71869b !important;
}


.visitor-card h3 {
    font-size: 13px !important;
    letter-spacing: 1.5px !important;
}


.visitor-row {
    min-height: 44px !important;
}


.visitor-row span {
    font-size: 12px !important;
    color: #7e93aa !important;
}


.visitor-row b {
    font-size: 12px !important;
    color: #d0ddea !important;
}


.visitor-ua small {
    font-size: 10px !important;
}


.visitor-ua code {
    font-size: 12px !important;
    color: #9eb9ca !important;
}


/* =============================
   精确位置检测
   ============================= */

.geo-panel {
    margin-top: 22px;

    padding: 27px;

    border:
        1px solid
        rgba(98,216,255,.20);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(10,27,45,.88),
            rgba(5,11,23,.88)
        );

    backdrop-filter:
        blur(20px);

    box-shadow:
        0 25px 70px
        rgba(0,0,0,.18);
}


.geo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding-bottom: 18px;

    border-bottom:
        1px solid
        rgba(100,170,210,.11);
}


.geo-header small {
    color: #69839b;
    font-size: 10px;
    letter-spacing: 1.4px;
}


.geo-header h3 {
    margin-top: 6px;

    color: #d9efff;

    font-size: 22px;
}


.geo-badge {
    flex: none;

    padding: 7px 12px;

    border:
        1px solid
        rgba(255,190,80,.22);

    border-radius: 999px;

    background:
        rgba(255,183,70,.06);

    color: #dcb876;

    font-size: 10px;
}


.geo-badge.ok {
    color: #63e695;

    border-color:
        rgba(74,222,128,.25);

    background:
        rgba(74,222,128,.05);
}


.geo-badge.error {
    color: #ff8b8b;

    border-color:
        rgba(255,100,100,.24);
}


.geo-description {
    margin-top: 18px;

    color: #8096aa;

    font-size: 12px;

    line-height: 1.8;
}


.geo-buttons {
    margin-top: 20px;

    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


.geo-buttons button {
    min-height: 43px;

    padding:
        0 18px;

    border:
        1px solid
        rgba(98,216,255,.30);

    border-radius: 12px;

    background:
        rgba(55,158,220,.10);

    color: #b9edff;

    font-family: inherit;

    font-size: 12px;

    cursor: pointer;

    transition: .2s;
}


.geo-buttons button:hover:not(:disabled) {
    transform:
        translateY(-2px);

    border-color:
        rgba(98,216,255,.65);

    background:
        rgba(55,158,220,.18);

    box-shadow:
        0 8px 25px
        rgba(55,158,220,.12);
}


.geo-buttons button:disabled {
    opacity: .35;

    cursor: not-allowed;
}


.geo-result {
    margin-top: 21px;

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    overflow: hidden;

    border:
        1px solid
        rgba(100,170,210,.12);

    border-radius: 14px;
}


.geo-result > div {
    min-height: 82px;

    padding: 15px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 7px;

    border-right:
        1px solid
        rgba(100,170,210,.10);
}


.geo-result > div:last-child {
    border-right: none;
}


.geo-result span {
    color: #70869c;

    font-size: 10px;
}


.geo-result strong {
    color: #cae9fa;

    font-family:
        var(--font-code);

    font-size: 13px;
}


.geo-address {
    margin-top: 15px;

    padding: 18px;

    border:
        1px solid
        rgba(100,170,210,.11);

    border-radius: 13px;

    background:
        rgba(4,12,23,.52);
}


.geo-address small {
    display: block;

    margin-bottom: 7px;

    color: #6c8198;

    font-size: 10px;
}


.geo-address strong {
    color: #c2d9e8;

    font-size: 13px;

    line-height: 1.75;

    font-weight: 500;
}


.geo-status {
    margin-top: 12px;

    color: #70879d;

    font-size: 11px;
}


.privacy-notice {
    margin-top: 24px;

    padding: 20px;

    display: flex;

    gap: 16px;

    border:
        1px solid
        rgba(74,222,128,.16);

    border-radius: 15px;

    background:
        rgba(74,222,128,.025);
}


.privacy-icon {
    flex: none;

    width: 36px;

    height: 36px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(74,222,128,.22);

    border-radius: 10px;

    color: #64e79a;

    font-size: 17px;
}


.privacy-notice strong {
    color: #8fe6af;

    font-size: 12px;
}


.privacy-notice p {
    margin-top: 9px;

    color: #738a80;

    font-size: 11px;

    line-height: 1.75;
}


@media(max-width:900px) {

    .geo-result {
        grid-template-columns:
            1fr 1fr;
    }

    .geo-result > div {
        border-bottom:
            1px solid
            rgba(100,170,210,.10);
    }

    .geo-header {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

}


.visitor-log-notice {
    margin-top:20px;

    padding:20px;

    border:
        1px solid
        rgba(255,188,80,.14);

    border-radius:15px;

    background:
        rgba(255,188,80,.025);
}


.visitor-log-notice strong {
    color:#e8c27b;

    font-size:12px;
}


.visitor-log-notice p {
    margin-top:9px;

    color:#827968;

    font-size:11px;

    line-height:1.75;
}


.visitor-log-notice {
    margin-top:20px;

    padding:20px;

    border:
        1px solid
        rgba(255,188,80,.14);

    border-radius:15px;

    background:
        rgba(255,188,80,.025);
}


.visitor-log-notice strong {
    color:#e8c27b;

    font-size:12px;
}


.visitor-log-notice p {
    margin-top:9px;

    color:#827968;

    font-size:11px;

    line-height:1.75;
}
