:root {
  --primary-color: #1A8C4E;
  --primary-light: #2CA05A;
  --accent-color: #F5C200;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --bg-color: #F5F5F5;
  --white: #FFFFFF;
  --border-color: #E5E5E5;
  --danger-color: #E24B4A;
  --warning-color: #F5A623;
  --info-color: #4A90D9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--bg-color);
  padding-bottom: 60px;
}

a { color: inherit; text-decoration: none; }

.header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  padding: 16px 16px 12px;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.header-title {
  font-size: 18px;
  font-weight: 600;
  display: block;
}

.header-subtitle {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.header-subtitle .wechat-link {
  font-size: 12px;
  opacity: 1;
  background-color: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 10px;
}

.header-back {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #fff;
  margin-bottom: 4px;
  cursor: pointer;
}

.header-back::before {
  content: '‹';
  font-size: 22px;
  margin-right: 4px;
  font-weight: 300;
}

.content { padding: 12px; }

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  color: var(--text-light);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.empty-state .icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.section {
  background-color: var(--white);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.section-title {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.title-icon { margin-right: 6px; }

.section-count {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
  margin-left: 4px;
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.tab-item {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.tab-item.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  font-weight: 600;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.empty-tab {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light);
  font-size: 14px;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  display: flex;
  border-top: 1px solid var(--border-color);
  z-index: 100;
}

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  font-size: 11px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.bottom-nav a.active {
  color: var(--primary-color);
}

.bottom-nav a .nav-icon {
  font-size: 20px;
  margin-bottom: 2px;
}

.next-round-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(26,140,78,0.3);
}

.banner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.banner-header.clickable {
  cursor: pointer;
}

.banner-toggle {
  font-size: 12px;
  opacity: 0.9;
  padding: 2px 8px;
  background-color: rgba(255,255,255,0.2);
  border-radius: 10px;
}

.next-round-banner.collapsed .banner-matches {
  display: none;
}

.next-round-banner.collapsed {
  padding-bottom: 12px;
}

.banner-tag {
  background-color: rgba(255,255,255,0.2);
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

.banner-time { font-size: 13px; opacity: 0.9; }

.banner-venue {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background-color: rgba(255,255,255,0.15);
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

.banner-venue .venue-icon { margin-right: 6px; }
.banner-venue .venue-name { flex: 1; }
.banner-venue .venue-nav {
  font-size: 12px;
  padding: 2px 8px;
  background-color: rgba(255,255,255,0.3);
  border-radius: 8px;
}

.banner-matches { margin-bottom: 12px; }

.banner-match-item {
  display: flex;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.banner-match-item:last-child { border-bottom: none; }

.banner-match-left {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.banner-match-right {
  display: flex;
  align-items: center;
  flex: 1;
}

.banner-venue-sm {
  font-size: 11px;
  opacity: 0.8;
  white-space: nowrap;
  text-align: left;
}

.team-block { display: flex; align-items: center; }
.team-block.home { justify-content: flex-end; }
.team-block.away { justify-content: flex-start; }
.team-block .team-color-bar {
  width: 4px; height: 18px; border-radius: 2px; margin: 0 6px;
}
.team-block .team-name { font-size: 14px; font-weight: 500; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs { font-size: 12px; color: rgba(255,255,255,0.7); margin: 0 10px; }

.banner-footer { display: flex; align-items: center; justify-content: space-between; }

.booking-tag {
  padding: 4px 10px; border-radius: 10px; font-size: 12px; background-color: rgba(255,255,255,0.2);
}

.banner-note { font-size: 11px; opacity: 0.8; max-width: 60%; text-align: right; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.section-header .section-title { margin-bottom: 0; }
.current-round { font-size: 12px; color: var(--text-secondary); }

.match-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.2s;
}

.match-card:active { transform: scale(0.98); }

.match-round {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.round-tag { font-size: 12px; color: var(--primary-color); font-weight: 500; }
.match-date { font-size: 12px; color: var(--text-light); }

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.team-info { display: flex; align-items: center; flex: 1; }
.team-info.home { justify-content: flex-start; }
.team-info.away { justify-content: flex-end; }

.team-logo-circle {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 8px; flex-shrink: 0;
}

.team-logo-circle .team-initial { font-size: 14px; font-weight: 600; color: #fff; }
.team-info .team-name { font-size: 14px; font-weight: 500; color: var(--text-primary); max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.match-score { display: flex; align-items: center; padding: 0 12px; }
.score { font-size: 28px; font-weight: 700; color: var(--text-primary); }
.score-divider { font-size: 20px; color: var(--text-light); margin: 0 4px; }

.match-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.venue { font-size: 12px; color: var(--text-light); }

.status-tag { padding: 2px 8px; border-radius: 8px; font-size: 11px; }
.status-finished { background-color: #888780; color: #fff; }
.status-live { background-color: var(--primary-color); color: #fff; }
.status-upcoming { background-color: var(--info-color); color: #fff; }

.match-events-preview { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border-color); }
.events-count { font-size: 12px; color: var(--text-secondary); }

.table-header {
  display: flex;
  align-items: center;
  padding: 10px 8px;
  background-color: #E8E8E8;
  border-radius: 8px 8px 0 0;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.table-body {
  background-color: var(--white);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.table-row {
  display: flex;
  align-items: center;
  padding: 12px 8px;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s;
  cursor: pointer;
}

.table-row:last-child { border-bottom: none; }
.table-row:hover { background-color: #F8F8F8; }
.table-row.promotion { border-left: 3px solid var(--primary-color); }

.col-rank { width: 36px; text-align: center; }
.col-team { flex: 1; display: flex; align-items: center; min-width: 0; }
.col-num { width: 30px; text-align: center; font-size: 12px; color: var(--text-secondary); }
.col-points { width: 44px; text-align: center; }

.rank-badge {
  width: 22px; height: 22px; border-radius: 50%;
  background-color: #E8E8E8;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
  margin: 0 auto;
}

.rank-badge.top1 { background-color: #F5C200; color: #fff; }
.rank-badge.top2 { background-color: #C0C0C0; color: #fff; }
.rank-badge.top3 { background-color: #CD7F32; color: #fff; }

.team-color-bar-sm { width: 4px; height: 18px; border-radius: 2px; margin-right: 8px; flex-shrink: 0; }
.standings-logo { width: 24px; height: 24px; margin-right: 8px; flex-shrink: 0; }
.standings-logo .team-initial { font-size: 12px; }
.standings-team-name { display: none; }
.team-name-cell { font-size: 13px; color: var(--text-primary); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.points-value { font-size: 16px; font-weight: 700; color: var(--primary-color); }
.positive { color: var(--primary-color); }
.negative { color: var(--danger-color); }

.scorer-item {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.2s;
}

.scorer-item:active { transform: scale(0.98); }
.scorer-item.top-scorer {
  background: linear-gradient(135deg, rgba(245,194,0,0.08) 0%, rgba(245,194,0,0.02) 100%);
  border: 1px solid rgba(245,194,0,0.3);
}

.rank-section { width: 40px; display: flex; align-items: center; justify-content: center; }
.rank-icon { font-size: 22px; }

.player-section { flex: 1; display: flex; align-items: center; min-width: 0; }

.player-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-right: 10px; flex-shrink: 0;
}

.player-number { font-size: 13px; font-weight: 700; color: #fff; }

.player-info { min-width: 0; flex: 1; }
.player-name { font-size: 15px; font-weight: 600; color: var(--text-primary); display: block; margin-bottom: 2px; }
.team-info-sm { display: flex; align-items: center; }
.team-dot { width: 6px; height: 6px; border-radius: 50%; margin-right: 4px; }
.team-name-sm { font-size: 12px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.goals-section { display: flex; align-items: baseline; justify-content: flex-end; min-width: 50px; }
.goals-count { font-size: 24px; font-weight: 700; color: var(--primary-color); line-height: 1; }
.goals-label { font-size: 12px; color: var(--text-secondary); margin-left: 2px; }

.team-card {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.2s;
}

.team-card:active { transform: scale(0.98); }

.team-logo-md {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-right: 12px; flex-shrink: 0;
}

.team-logo-md .team-initial { font-size: 18px; font-weight: 700; color: #fff; }
.team-card .team-name { flex: 1; font-size: 15px; font-weight: 600; color: var(--text-primary); min-width: 0; }

.team-stats-sm { display: flex; align-items: center; margin-right: 8px; }
.stat-item-sm { display: flex; flex-direction: column; align-items: center; padding: 0 6px; }
.stat-value-sm { font-size: 14px; font-weight: 600; color: var(--text-primary); line-height: 1; }
.stat-label-sm { font-size: 10px; color: var(--text-light); margin-top: 1px; }
.stat-item-sm.highlight .stat-value-sm { color: var(--primary-color); }
.stat-divider-sm { width: 1px; height: 16px; background-color: var(--border-color); }

.arrow { width: 20px; text-align: center; color: var(--text-light); font-size: 18px; font-weight: 300; }

.score-section {
  background-color: var(--white);
  border-radius: 12px;
  padding: 24px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-block-detail { display: flex; flex-direction: column; align-items: center; width: 100px; }

.team-logo-lg {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}

.team-logo-lg .team-initial { font-size: 22px; font-weight: 700; color: #fff; }
.team-block-detail .team-name { font-size: 14px; font-weight: 600; color: var(--text-primary); text-align: center; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.score-display { display: flex; flex-direction: column; align-items: center; }
.score-lg { font-size: 36px; font-weight: 700; color: var(--text-primary); line-height: 1; }
.score-separator { font-size: 24px; color: var(--text-light); margin: 0 4px; }
.match-status-tag { margin-top: 6px; }

.timeline-item { display: flex; align-items: stretch; min-height: 40px; margin-bottom: 4px; }
.timeline-minute { width: 44px; display: flex; align-items: center; justify-content: center; }
.minute-badge { font-size: 11px; color: var(--text-secondary); background-color: #F0F0F0; padding: 2px 6px; border-radius: 4px; font-weight: 500; }

.timeline-content { flex: 1; display: flex; align-items: center; }
.timeline-content.home { flex-direction: row; }
.timeline-content.away { flex-direction: row-reverse; }

.event-info {
  display: flex; align-items: center; padding: 4px 10px;
  background-color: #F8F8F8; border-radius: 4px; flex: 1;
}

.timeline-content.away .event-info { flex-direction: row-reverse; }
.event-player-name { font-size: 13px; color: var(--text-primary); font-weight: 500; }
.event-type { font-size: 12px; color: var(--text-secondary); margin: 0 4px; }

.card-item { display: flex; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-color); }
.card-item:last-child { border-bottom: none; }
.card-minute { width: 44px; }
.card-info { flex: 1; display: flex; align-items: center; }
.card-type-icon { margin-right: 8px; font-size: 16px; }
.card-player-name { font-size: 13px; color: var(--text-primary); font-weight: 500; margin-right: 8px; }
.card-team-name { font-size: 12px; color: var(--text-light); }

.info-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-color); }
.info-item:last-child { border-bottom: none; }
.info-label { font-size: 13px; color: var(--text-secondary); }
.info-value { font-size: 13px; color: var(--text-primary); font-weight: 500; }

.team-header-detail {
  display: flex;
  align-items: center;
  padding: 16px;
  margin-bottom: 12px;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.team-logo-md {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-right: 12px; flex-shrink: 0;
}

.team-logo-md .team-initial { font-size: 20px; font-weight: 700; color: #fff; }

.team-info-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.team-header-detail .team-name { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.team-header-detail .team-fullname { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

.stats-grid { display: flex; justify-content: space-between; margin-bottom: 12px; }
.stat-card {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 10px 0; background-color: #F8F8F8; border-radius: 8px; margin: 0 4px;
}

.stat-card:first-child { margin-left: 0; }
.stat-card:last-child { margin-right: 0; }
.stat-card.highlight { background-color: rgba(26,140,78,0.1); }
.stat-card.highlight .stat-value { color: var(--primary-color); }
.stat-value { font-size: 18px; font-weight: 700; color: var(--text-primary); line-height: 1; }
.stat-label { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }

.stats-detail {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; background-color: #F8F8F8; border-radius: 8px;
}

.detail-item { display: flex; flex-direction: column; align-items: center; }
.detail-label { font-size: 11px; color: var(--text-secondary); margin-bottom: 2px; }
.detail-value { font-size: 14px; font-weight: 600; color: var(--text-primary); }

.players-table { border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); }
.players-table .table-header { border-radius: 0; }
.players-table .col-number { width: 44px; text-align: center; font-weight: 500; }
.players-table .col-name { flex: 1; font-weight: 500; }
.players-table .col-position { width: 56px; text-align: center; color: var(--text-secondary); }
.players-table .col-goals { width: 56px; text-align: right; }
.goals-count-sm { color: var(--primary-color); font-weight: 600; }
.goals-zero { color: var(--text-light); }

.team-scorer-item {
  display: flex; align-items: center; padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.team-scorer-item:last-child { border-bottom: none; }
.scorer-rank { width: 24px; font-size: 12px; color: var(--primary-color); font-weight: 600; }
.scorer-name { flex: 1; font-size: 14px; color: var(--text-primary); font-weight: 500; }
.scorer-number { font-size: 12px; color: var(--text-secondary); margin-right: 12px; }
.scorer-goals { font-size: 14px; color: var(--primary-color); font-weight: 600; }

.legend {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; padding: 0 4px;
}

.legend-item { display: flex; align-items: center; }
.legend-color { width: 12px; height: 12px; border-radius: 2px; margin-right: 4px; }
.legend-color.promotion { background-color: var(--primary-color); }
.legend-text { font-size: 11px; color: var(--text-secondary); }

.data-notice {
  background-color: #FFF3CD;
  border: 1px solid #FFC107;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #856404;
  text-align: center;
}

.welcome-banner {
  background-color: #E8F5E9;
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  padding: 10px 36px 10px 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  position: relative;
}

.welcome-banner a {
  color: var(--primary-color);
  font-weight: 500;
}

.welcome-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-light);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.welcome-close:hover {
  color: var(--text-primary);
}

.app-wrapper {
  display: flex;
  flex-direction: column;
}

.fixed-header-container {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-color);
}

@media (min-width: 768px) {
  .app-wrapper {
    display: flex;
    flex-direction: column;
  }
  
  .fixed-header-container {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-color);
  }
}

.footer {
  padding: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: auto;
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
}

.footer a:hover {
  text-decoration: underline;
}

.qr-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.qr-modal.show {
  display: flex;
}

.qr-modal-content {
  background-color: var(--white);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  max-width: 280px;
  width: 90%;
}

.qr-modal-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.qr-code-img {
  width: 200px;
  height: 200px;
  margin-bottom: 12px;
}

.qr-modal-close {
  margin-top: 12px;
  padding: 8px 24px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.qr-modal-close:hover {
  background-color: var(--primary-light);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
    background-color: #E8E8E8;
  }

  .app-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-color);
    box-shadow: 0 0 24px rgba(0,0,0,0.1);
  }

  .header {
    padding: 20px 24px 16px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .header-title { font-size: 22px; }
  .header-subtitle { font-size: 14px; }

  .bottom-nav {
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
  }

  .bottom-nav a {
    flex-direction: row;
    padding: 10px 0;
    font-size: 14px;
    gap: 4px;
  }

  .bottom-nav a .nav-icon {
    font-size: 18px;
    margin-bottom: 0;
    margin-right: 4px;
  }

  .content { padding: 20px; }

  .match-card {
    padding: 20px;
    margin-bottom: 12px;
  }

  .match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .match-card:active { transform: translateY(-2px); }

  .team-info .team-name { max-width: 120px; font-size: 15px; }
  .score { font-size: 32px; }

  .next-round-banner { padding: 20px; }
  .banner-match-item { padding: 8px 0; }
  .team-block .team-name { max-width: 140px; font-size: 15px; }

  .scorer-item { padding: 16px; margin-bottom: 10px; }
  .scorer-item:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  .scorer-item:active { transform: translateY(-1px); }
  .player-name { font-size: 16px; }
  .goals-count { font-size: 28px; }

  .team-card { padding: 16px; margin-bottom: 10px; }
  .team-card:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  .team-card:active { transform: translateY(-1px); }
  .team-card .team-name { font-size: 16px; }

  .section { padding: 20px; margin-bottom: 16px; }
  .section-title { font-size: 18px; }

  .table-header { padding: 12px 12px; font-size: 13px; }
  .table-row { padding: 14px 12px; }
  .col-num { width: 40px; font-size: 13px; }
  .col-points { width: 56px; }
  .team-name-cell { font-size: 14px; }
  .standings-team-name { display: inline; }
  .points-value { font-size: 18px; }

  .score-section { padding: 32px 24px; }
  .team-block-detail { width: 140px; }
  .team-logo-lg { width: 72px; height: 72px; }
  .team-logo-lg .team-initial { font-size: 28px; }
  .team-block-detail .team-name { font-size: 16px; max-width: 130px; }
  .score-lg { font-size: 48px; }

  .team-header-detail { padding: 32px 0; }
  .team-logo-xl { width: 80px; height: 80px; }
  .team-logo-xl .team-initial { font-size: 32px; }
  .team-header-detail .team-name { font-size: 24px; }

  .stats-grid { margin-bottom: 16px; }
  .stat-card { padding: 14px 0; }
  .stat-value { font-size: 22px; }
  .stat-label { font-size: 12px; }

  .players-table .col-number { width: 56px; }
  .players-table .col-position { width: 72px; }
  .players-table .col-goals { width: 72px; }
}

@media (min-width: 1200px) {
  .app-wrapper {
    max-width: 1000px;
  }

  .content { padding: 24px 32px; }

  .matches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .matches-grid .match-card {
    margin-bottom: 0;
  }

  .scorers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .scorers-grid .scorer-item {
    margin-bottom: 0;
  }

  .teams-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .teams-grid .team-card {
    margin-bottom: 0;
  }

  .detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .detail-layout .section {
    margin-bottom: 0;
  }

  .header-title { font-size: 24px; }
  .team-info .team-name { max-width: 160px; }
  .team-block .team-name { max-width: 180px; }
}
