/* 基础样式 */
body { font-family: -apple-system, sans-serif; background: #1677ff; padding: 15px; max-width: 500px; margin: 0 auto; color: #333; }
.container { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
h1 { text-align: center; color: #1677ff; margin-top: 0; font-size: 22px; }

/* 输入框与按钮 */
.input-group { margin-bottom: 15px; }
label { display: block; font-weight: bold; margin-bottom: 5px; font-size: 14px; }
input, textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; box-sizing: border-box; font-size: 16px; }
textarea { height: 80px; resize: none; }
.btn { width: 100%; padding: 14px; background: #1677ff; color: white; border: none; border-radius: 25px; font-size: 16px; font-weight: bold; cursor: pointer; margin-top: 10px; }
.btn:active { background: #0050b3; }

/* 顶部切换标签 */
.tabs { display: flex; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.tab { flex: 1; text-align: center; padding: 10px; cursor: pointer; color: #888; }
.tab.active { color: #1677ff; border-bottom: 2px solid #1677ff; font-weight: bold; }

/* 列表卡片样式 (搜索结果和最新列表共用) */
.match-card { background: #f5f7fa; border-radius: 8px; padding: 15px; margin-bottom: 10px; position: relative; border: 1px solid #eef2f6; }
.match-card .score { font-size: 18px; font-weight: bold; color: #1677ff; }
.match-card .info { font-size: 12px; color: #666; margin-top: 5px; line-height: 1.5; }

/* 按钮群 */
.card-actions { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e6e6e6; padding-top: 8px; }
.copy-btn { background: #52c41a; color: white; border: none; padding: 5px 12px; border-radius: 4px; font-size: 13px; cursor: pointer; }
.report-btn { background: none; color: #999; border: none; font-size: 12px; cursor: pointer; text-decoration: underline; }
.report-btn:hover { color: #ff4d4f; }

.tips { font-size: 12px; color: #999; margin-top: 10px; background: #fffbe6; padding: 10px; border-radius: 5px; }

/* --- 底部赞助商区域 --- */
.footer-sponsors {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.sponsor-title {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 赞助商网格布局 */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 一行显示2个 */
    gap: 10px;
    margin-bottom: 20px;
}

/* 单个赞助商卡片 */
.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    font-size: 13px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.sponsor-item .icon { margin-right: 6px; font-size: 16px; }

.sponsor-item:hover {
    background: #fff;
    border-color: #1677ff;
    color: #1677ff;
    box-shadow: 0 2px 8px rgba(22, 119, 255, 0.15);
    transform: translateY(-2px);
}

/* 虚线边框（用于虚位以待的广告位） */
.sponsor-item.dashed {
    border: 1px dashed #ddd;
    background: none;
    color: #aaa;
}

.copyright {
    font-size: 11px;
    color: #ccc;
    margin-top: 20px;
}