body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  background: var(--tg-theme-bg-color, #fff);
  color: var(--tg-theme-text-color, #000);
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--tg-theme-header-bg-color, #2481cc);
  color: white;
}
nav {
  display: flex;
  border-bottom: 1px solid #eee;
}
nav button {
  flex: 1;
  padding: 12px;
  border: none;
  background: none;
  font-size: 16px;
}
nav button.active {
  border-bottom: 2px solid #2481cc;
  font-weight: bold;
}
.match-item, .team-item {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.partner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f0f0f0;
  padding: 8px;
  text-align: center;
  font-size: 14px;
}
.hidden { display: none; }