/* site.css - 全站样式 */
* { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; margin: 0; background: #e8eaed; color: #1f1f1f; font-size: 15px; line-height: 1.5; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 12px 16px; }
@media (max-width: 640px) { .wrap { padding: 10px 12px; font-size: 14px; } }

.nav { background: #1a73e8; color: #fff; padding: 12px 16px; position: sticky; top: 0; z-index: 10; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1160px; margin: 0 auto; padding: 0; }
.nav a { color: #fff; text-decoration: none; }
.nav a:hover { opacity: 0.9; }
.nav-brand { font-weight: 600; font-size: 1.1em; }
.nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-tabs { display: flex; align-items: center; gap: 4px; }
.nav-tabs a { padding: 6px 12px; color: rgba(255,255,255,0.9); text-decoration: none; font-size: 14px; border-radius: 6px; }
.nav-tabs a.active { background: rgba(255,255,255,0.25); }
.nav-tabs a:hover { background: rgba(255,255,255,0.15); }
.nav-links .lang-current { opacity: 0.9; font-weight: 500; }

.layout { display: flex; gap: 24px; margin-top: 16px; }
.layout-main { flex: 1; min-width: 0; }
.layout-side { width: 280px; flex-shrink: 0; }
@media (max-width: 900px) { .layout-side { width: 100%; } }

.date-tabs { display: flex; background: #fff; border-bottom: 1px solid #e8eaed; padding: 0 16px; }
.date-tabs button { padding: 12px 16px; border: none; background: none; font-size: 14px; color: #5f6368; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.date-tabs button.active { color: #1a73e8; font-weight: 600; border-bottom-color: #1a73e8; }
.filter-sort { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: #fff; border-bottom: 1px solid #e8eaed; flex-wrap: wrap; gap: 8px; }
.filter-sort .filter, .filter-sort .sort { display: flex; gap: 8px; }
.filter-sort button { padding: 6px 12px; border: 1px solid #dadce0; background: #fff; border-radius: 6px; font-size: 13px; color: #5f6368; cursor: pointer; }
.filter-sort button.active { background: #e8f0fe; color: #1a73e8; border-color: #1a73e8; }

.feed-list { background: #fff; }
.match-row { display: flex; align-items: center; padding: 10px 16px; border-bottom: 1px solid #f1f3f4; text-decoration: none; color: inherit; min-height: 52px; }
.match-row:hover { background: #f8f9fa; }
.match-row .col-time { flex: 0 0 56px; font-size: 14px; color: #1f1f1f; }
.match-row .col-time .date-sm { font-size: 11px; color: #9aa0a6; display: block; }
.match-row .col-center { flex: 1; min-width: 0; padding: 0 10px; }
.match-row .col-center .league { font-size: 12px; color: #9aa0a6; display: block; }
.match-row .col-center .teams { font-size: 14px; font-weight: 500; }
.match-row .col-right { flex: 0 0 90px; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.match-row .status, .match-row .arrow { font-size: 12px; color: #9aa0a6; }
.feed-by-league { display: none; }
.feed-by-league.visible { display: block; }
.feed-by-time.visible { display: block; }
.league-group { border-bottom: 1px solid #e8eaed; }
.league-group .league-name { padding: 8px 16px; font-size: 12px; color: #5f6368; background: #f8f9fa; }

.news-row { display: flex; gap: 16px; padding: 14px 16px; border-bottom: 1px solid #f1f3f4; text-decoration: none; color: inherit; }
.news-row:hover { background: #f8f9fa; }
.news-row .news-cover { flex: 0 0 100px; height: 70px; background: #f1f3f4; border-radius: 6px; }
.news-row .news-body { flex: 1; min-width: 0; }
.news-row .news-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.news-row .news-summary { font-size: 13px; color: #5f6368; }
.news-row .news-meta { font-size: 12px; color: #9aa0a6; }
.news-row .news-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; background: #e8f0fe; color: #1a73e8; font-size: 12px; margin-right: 6px; }

.data-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.data-card { display: block; background: #fff; border-radius: 10px; padding: 20px; text-decoration: none; color: inherit; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.data-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.data-card h3 { margin: 0 0 8px; font-size: 18px; }
.data-card p { margin: 0; font-size: 13px; color: #5f6368; }

.entity-row { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid #f1f3f4; text-decoration: none; color: inherit; }
.entity-row:hover { background: #f8f9fa; }
.entity-row .entity-name { flex: 1; font-weight: 500; }
.entity-row .entity-meta { font-size: 13px; color: #5f6368; margin-right: 8px; }
.entity-row .arrow { color: #9aa0a6; }

.breadcrumb { list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; }
.breadcrumb li { display: inline; }
.breadcrumb li + li::before { content: " > "; color: #9aa0a6; }
.breadcrumb a { color: #1a73e8; text-decoration: none; }
.detail-layout { display: flex; flex-wrap: wrap; gap: 24px; }
.detail-main { flex: 1; min-width: 0; }
.detail-aside { width: 280px; }
@media (max-width: 640px) { .detail-aside { width: 100%; } }
.detail-title { font-size: 22px; margin-bottom: 4px; font-weight: 600; }
.detail-meta { font-size: 13px; color: #5f6368; margin-bottom: 16px; }
.card { background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 16px; overflow: hidden; }
.card-header { padding: 12px 16px; background: #f8f9fa; font-weight: 600; font-size: 14px; }
.card-body { padding: 16px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 12px; text-align: left; border: 1px solid #e8eaed; }
.table th { background: #f8f9fa; font-weight: 600; }
.article-body h2 { font-size: 16px; margin: 16px 0 8px; }
.article-body p { margin: 0 0 8px; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { margin-bottom: 8px; }
.side-list a { color: #1a73e8; text-decoration: none; }
footer { background: #dadce0; padding: 16px; margin-top: 32px; font-size: 12px; color: #5f6368; text-align: center; }
.cat-tabs { display: flex; gap: 8px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #e8eaed; flex-wrap: wrap; }
.cat-tabs a, .cat-tabs button { padding: 6px 12px; border-radius: 6px; font-size: 14px; color: #5f6368; text-decoration: none; border: none; background: none; cursor: pointer; }
.cat-tabs a.active, .cat-tabs button.active { background: #e8f0fe; color: #1a73e8; }
.empty-msg { padding: 24px; text-align: center; color: #9aa0a6; background: #fff; border-radius: 10px; }
