*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f4f0;
  color: #1a1a1a;
  min-height: 100vh;
}
header {
  background: #1a2e1a;
  color: #fff;
  padding: 1.5rem 1.25rem 1.25rem;
}
header h1 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
}
header p {
  font-size: 13px;
  opacity: 0.7;
}
.stats {
  display: flex;
  gap: 10px;
  padding: 1rem 1.25rem 0;
  flex-wrap: wrap;
}
.stat {
  background: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  border: 1px solid #e5e5e0;
}
.stat .n {
  font-size: 22px;
  font-weight: 600;
  color: #1a2e1a;
}
.stat .l {
  font-size: 11px;
  color: #888;
}
.controls {
  padding: 1rem 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.stage-tabs {
  padding: 0.75rem 1.25rem 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.stage-tab {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #ccc;
  background: #fff;
  color: #555;
  cursor: pointer;
  font-family: inherit;
}
.stage-tab:hover {
  background: #f0f0ec;
}
.stage-tab.active {
  background: #1a2e1a;
  color: #fff;
  border-color: #1a2e1a;
}
input[type="text"],
select {
  font-size: 13px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  color: #1a1a1a;
  font-family: inherit;
  outline: none;
}
input[type="text"] {
  flex: 1;
  min-width: 160px;
}
input[type="text"]:focus,
select:focus {
  border-color: #1a2e1a;
}
.tz-note {
  font-size: 11px;
  color: #999;
  padding: 6px 1.25rem 0;
}
.main {
  padding: 1rem 1.25rem 2rem;
}
.day-group {
  margin-bottom: 1.25rem;
}
.day-label {
  font-size: 11px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e5e0;
  margin-bottom: 8px;
}
.match-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid #e5e5e0;
  border-radius: 8px;
  margin-bottom: 6px;
  background: #fff;
}
.match-card:hover {
  border-color: #bbb;
}
.group-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 10px;
  background: #f0f0ec;
  color: #555;
  min-width: 42px;
  text-align: center;
  white-space: nowrap;
}
.teams {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}
.teams .venue {
  font-size: 11px;
  font-weight: 400;
  color: #888;
  display: block;
  margin-top: 2px;
}
.time-col {
  font-size: 12px;
  color: #555;
  text-align: right;
  min-width: 62px;
}
.cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 7px;
  border: 1px solid #ccc;
  background: #fff;
  color: #1a2e1a;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}
.cal-btn:hover {
  background: #1a2e1a;
  color: #fff;
  border-color: #1a2e1a;
}
.empty {
  text-align: center;
  color: #888;
  font-size: 14px;
  padding: 3rem 1rem;
}
.score-final {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.score-number {
  font-size: 15px;
  font-weight: 700;
  color: #1a2e1a;
  letter-spacing: 0.5px;
}
.score-status {
  font-size: 10px;
  color: #aaa;
  font-weight: 500;
}
.live-badge {
  font-size: 11px;
  font-weight: 700;
  color: #c00;
  letter-spacing: 0.03em;
}
@media (max-width: 500px) {
  .teams .venue {
    display: none;
  }
  .cal-btn span {
    display: none;
  }
}
