:root { --did-red: #e60012; --card-bg: #0d0d0d; --panel-bg: #151515; }

html, body {
    margin: 0;
    background: #000;
    font-family: sans-serif;
    color: #fff;
    /* PC 基准固定，不乱流 */
    height: 100%;
    overflow: hidden;
}

.glow-container {
    /* PC 保持你原版 100vh 布局不变 */
    height: calc(100vh - 42px);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: radial-gradient(circle at 50% 15%, #1a0202 0%, #000000 100%);
    padding: 20px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.page-header {
    text-align: center;
    margin-bottom: 36px;
}
.main-logo {
    height: 60px;
    display: block;
    margin: 35px auto 12px;
}
.sub-title {
    font-size: 15px;
    color: #fff;
    margin: 0;
    text-align: center;
    line-height: 3.6;
}

.search-card {
    width: 90%;
    max-width: 950px;
    background: var(--card-bg);
    padding: 40px 35px;
    border-radius: 12px;
    border: 1px solid #222;
    box-sizing: border-box;
    animation: darkSoftGlow 10s ease-in-out infinite alternate;
}

@keyframes darkSoftGlow {
    0% {
        box-shadow: 0 0 8px #b41428, 0 0 16px rgba(180, 20, 40, 0.15);
    }
    100% {
        box-shadow: 0 0 8px #fff, 0 0 16px rgba(100, 20, 180, 0.15);
    }
}

.filter-grid, .action-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
    align-items: end;
}

.field-group label, .captcha-box label {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    display: block;
}

select, .captcha-input-wrap input {
    background: #151515;
    border: 1px solid #333;
    color: #eee;
    height: 44px;
    padding: 0 12px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    /* 解决手机输入框自动放大 */
    font-size: 16px !important;
}

.captcha-box { grid-column: span 2; }
.captcha-input-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: end;
}

#vcode_img {
    height: 44px;
    width: 100%;
    border: 1px solid #333;
    border-radius: 4px;
    box-sizing: border-box;
    display: block;
}

.btn-match-large {
    grid-column: span 2;
    background: var(--did-red);
    color: #fff;
    border: none;
    height: 44px;
    padding: 0;
    font-weight: 800;
    cursor: pointer;
    border-radius: 4px;
    box-sizing: border-box;
}

.result-title {
    text-align: center;
    margin: 10px 0 20px;
}
.result-title .cn {
    font-size: 20px;
    font-weight: normal;
    color: #fff;
    display: block;
}
.result-title .en {
    font-size: 11px;
    color: #666;
    display: block;
    margin-top: 4px;
}

#result_content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    padding: 25px;
    background: var(--panel-bg);
    border-radius: 4px;
    box-sizing: border-box;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
    padding: 12px 0;
}
.result-tip {
    padding: 15px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    grid-column: 1 / -1;
}
.result-tip.warn {
    color: #fff;
}

.result-label { font-size: 14px; color: #666; text-transform: uppercase; }
.result-val { font-size: 20px; color: #fff; font-weight: normal; }

/* 移动端专属适配 互不影响PC */
@media (max-width: 768px) {
    html, body {
        height: auto;
        overflow: auto;
    }
    .glow-container {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }
    .filter-grid, .action-row { 
        grid-template-columns: 1fr 1fr !important; 
    }
    #result_content { 
        grid-template-columns: 1fr !important; 
    }
}

/* 全局触屏优化 */
html {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}