/* Club pages in /teams/, generated by scripts/team-pages.js. Loaded after
   styles.css; reuses its .header hero and .email-preview-card. */

/* Hero: crest and league above the headline. */
.team-hero-id { display: flex; align-items: center; gap: 14px; margin-bottom: 0.75rem; }
.team-hero-crest { width: 64px; height: 64px; object-fit: contain; background: #ffffff; border-radius: 50%; padding: 6px; }
.team-hero-league { color: #d4f5e2; font-weight: 600; font-size: 0.95rem; }
.team-hero-league .flag-icon { margin-right: 6px; }
/* Headline breaks after the comma like the home page's; keep the tail whole so
   "inbox." is never left alone on a line. */
.team-h1-tail { white-space: nowrap; }

/* Next-matches card: date and time on the left, opponent and competition right. */
.team-match-row { align-items: flex-start; }
.team-match-when { min-width: 130px; }
.team-match-row .match-teams a { color: var(--pitch-mid); font-weight: 600; }
.team-match-comp { display: block; font-size: 0.8rem; color: #5b6b75; margin-top: 2px; }
.team-match-comp .flag-icon { margin-right: 5px; }
.team-no-matches { padding: 1rem 0; color: #5b6b75; font-size: 0.92rem; }

/* Sent confirmation: the same pale-gold card as the home page. */
#signup-message.success {
  background: #fff6cf;
  color: #1d2b24;
  border: 0;
  border-left: 4px solid var(--accent-dark);
  padding: 0.85rem 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  line-height: 1.5;
}
#signup-message.success .msg-title { display: block; margin-bottom: 0.25rem; font-size: 1.02rem; font-weight: 700; color: #0F3B2B; }
#signup-message.success .msg-title i { color: #1F6B4A; margin-right: 6px; }
#signup-message.success strong { color: #0F3B2B; }

/* "More teams" and the /teams/ index. */
.team-more { padding: 2rem 15px 2.5rem; }
.team-more-title { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 1.25rem 0 0.75rem; }
.team-more-title .flag-icon { margin-right: 8px; }
.team-chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.team-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid #dde8f2; border-radius: 50px;
  background: var(--panel); color: var(--ink); font-size: 0.92rem; text-decoration: none;
}
.team-chip:hover { border-color: var(--pitch-mid); color: var(--pitch-mid); text-decoration: none; }
.team-chip img { width: 22px; height: 22px; object-fit: contain; }
.team-more-all { margin-top: 1.25rem; font-size: 0.9rem; color: #5b6b75; }
.team-index { padding-top: 6rem; }
.team-index-title { font-size: 1.8rem; font-weight: 700; color: var(--ink); }
