.logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  width: 200px;
}

.logo img {
  width: 100%;
  height: auto;
}

/* ── Team topbar ──────────────────────────── */
.team-topbar-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
}

.team-topbar-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.division-pill {
  background: #1a1a1a;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 1rem;
  padding: .2rem .65rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
}

.change-btn {
  font-size: .75rem;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 2rem;
  padding: .25rem .7rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.change-btn:hover {
  background: #f5f5f5;
  color: #333;
}

/* ── Form well ────────────────────────────── */
.form-well {
  background: #f6f6f6;
  border-radius: .6rem;
  padding: .75rem;
  margin-bottom: .75rem;
}

.form-well-row {
  display: flex;
  gap: .4rem;
  margin-bottom: .4rem;
}

.form-well-row:last-child {
  margin-bottom: 0;
}

.form-well-select {
  flex: 1;
  font-size: .88rem !important;
  padding: .45rem .55rem !important;
  min-width: 0;
}

.form-well-pitches {
  flex: 0 0 64px;
  font-size: .88rem !important;
  padding: .45rem .55rem !important;
}

.form-well-add {
  flex-shrink: 0;
  padding: .45rem 1rem;
  font-size: .88rem;
}

/* ── Pitch log ────────────────────────────── */
.counts {
  margin-top: 8px;
}

.log-date-header {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #888;
  padding: .6rem 0 .25rem;
  border-top: 1px solid #eee;
  margin: .5rem 0 .25rem;
}

.log-card {
  display: flex;
  align-items: center;
  padding: .5rem .6rem;
  border-radius: .5rem;
  margin-bottom: .35rem;
  background: #fff;
  border: 1px solid #eee;
}

.log-pitcher {
  font-size: .88rem;
  font-weight: 600;
  flex: 1;
}

.log-vs {
  font-size: .75rem;
  color: #888;
  margin: 0 .3rem;
}

.log-opponent {
  font-size: .78rem;
  color: #555;
  margin-right: .5rem;
}

.log-cross-badge {
  font-size: .72rem;
  color: #888;
  margin-right: .5rem;
}

.log-type-badge {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: .1rem .35rem;
  border-radius: .25rem;
  margin-right: .35rem;
}

.log-type-badge.travel {
  background: #e0eaff;
  color: #3a5bbf;
}

.log-type-badge.house {
  background: #e6f4ea;
  color: #2e7d48;
}

.log-count {
  font-size: .82rem;
  font-weight: 700;
  background: #eee;
  padding: .15rem .5rem;
  border-radius: .3rem;
  margin-right: .4rem;
}

.log-delete {
  color: #ccc;
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: none;
  line-height: 1;
  padding: 0 .1rem;
}

.log-delete:hover {
  color: #c00;
}

/* ── Snapshot cards ───────────────────────── */
.snapshot-cards {
  margin-top: .25rem;
}

.snapshot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem .6rem;
  border-radius: .5rem;
  border: 1px solid #eee;
  margin-bottom: .4rem;
  background: #fff;
  gap: .75rem;
}

.snapshot-card-left {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.snapshot-name {
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.snapshot-last {
  font-size: .72rem;
  color: #999;
  margin-top: .1rem;
}

.snapshot-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: .2rem;
}

.snapshot-avail {
  font-size: .8rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 1rem;
  white-space: nowrap;
}

.avail-today {
  background: #d1fae5;
  color: #065f46;
}

.avail-tomorrow {
  background: #fef3c7;
  color: #92400e;
}

.avail-later {
  background: #f3f4f6;
  color: #6b7280;
}

.snapshot-counts {
  font-size: .72rem;
  color: #aaa;
  white-space: nowrap;
}

/* ── Tabs ─────────────────────────────────── */
.tabs {
  margin-bottom: 10px;
}

/* ── Legacy (kept for other pages) ───────── */
.headline {
  margin-top: 8px;
  margin-bottom: 0px;
}

.team {
  margin-bottom: 15px;
}
