* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.header {
    padding: 20px;
    background: rgba(255,255,255,0.1);
}
.logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.title {
    color: #fff;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 600px;
}
.search-box input {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.search-box button {
    padding: 15px 30px;
    font-size: 16px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.search-box button:hover {
    background: #ff5252;
    transform: translateY(-2px);
}
.report-btn {
    padding: 15px 30px;
    font-size: 16px;
    background: #4ecdc4;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.report-btn:hover {
    background: #3dbdb4;
    transform: translateY(-2px);
}
.ranking {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    flex-wrap: wrap;
    justify-content: center;
}
.ranking-box {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.ranking-box h3 {
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}
.ranking-list {
    list-style: none;
}
.ranking-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}
.ranking-list li:last-child {
    border-bottom: none;
}
.rank-num {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #667eea;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-right: 10px;
    font-size: 12px;
}
.footer {
    padding: 20px;
    background: rgba(255,255,255,0.1);
    text-align: center;
    color: #fff;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal.active {
    display: flex;
}
.modal-content {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}
.modal-close:hover {
    color: #333;
}

/* 搜索结果表格 */
.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.result-table th, .result-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.result-table th {
    background: #667eea;
    color: #fff;
}
.result-table tr:hover {
    background: #f5f5f5;
}
.no-result {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #667eea;
}
.captcha-group {
    display: flex;
    gap: 10px;
}
.captcha-group input {
    flex: 1;
}
.captcha-img {
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
}
.submit-btn {
    width: 100%;
    padding: 15px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}
.submit-btn:hover {
    background: #5568d3;
}
.msg {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}
.msg-success {
    background: #d4edda;
    color: #155724;
}
.msg-error {
    background: #f8d7da;
    color: #721c24;
}
