:root {
  --font-sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

#nav {
  position: sticky;
  box-shadow: var(--shadow);
}

#nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--nav-line);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-emblem {
  height: 36px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-emblem-sm {
  height: 32px;
}

.nav-titles {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.app-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-name--hero {
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-align: center;
  margin-top: 4px;
}

.app-tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

.app-tagline--hero {
  text-align: center;
  margin-top: 6px;
}

.brand-fifa-lockup {
  height: 18px;
  width: auto;
  max-width: 200px;
  margin: 10px auto 0;
  display: block;
  object-fit: contain;
  opacity: 0.92;
}

.login-brand {
  text-align: center;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.login-brand .brand-emblem {
  height: 80px;
  margin: 0 auto;
  display: block;
}

[data-theme="light"] .brand-fifa-lockup {
  filter: none;
  opacity: 1;
}

[data-theme="dark"] .brand-fifa-lockup,
[data-theme="dalton"] .brand-fifa-lockup {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

[data-theme="light"] .brand-emblem {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.login-card {
  box-shadow: var(--shadow);
  border-radius: 16px;
}

.match-card,
.stat-card {
  box-shadow: var(--shadow);
}

.match-card.col {
  border-width: 1px;
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}
