.nc-esporte-card,
.nc-match-app {
  --nc-ink: var(--ink, #18221f);
  --nc-muted: var(--muted, #5d6962);
  --nc-line: var(--line, #dce2db);
  --nc-paper: var(--paper, #f7f8f5);
  --nc-lime: var(--lime, #7fac45);
  --nc-live: #c42b2b;
  --nc-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --nc-sans: var(--sans, system-ui, -apple-system, "Segoe UI", sans-serif);
}

.nc-esporte-card {
  background: #fff;
  color: var(--nc-ink);
  border: 1px solid var(--nc-line);
  border-top: 3px solid var(--nc-lime);
  border-radius: 0;
  overflow: hidden;
  margin: 1.4rem 0;
  font-family: var(--nc-sans);
}

.nc-esporte-card a {
  color: var(--green-2, #38611e);
  text-decoration: none;
}

.nc-esporte-card a:hover {
  color: var(--nc-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nc-esporte-card a:focus-visible,
.nc-match-app a:focus-visible,
.nc-match-tab-item:focus-visible {
  outline: 3px solid var(--nc-lime);
  outline-offset: 3px;
}

.nc-esporte-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--nc-line);
}

.nc-esporte-heading h2,
.nc-classificacao > h2 {
  margin: 0;
  font: 600 1.65rem/1 var(--nc-display);
  letter-spacing: 0.01em;
  color: var(--nc-ink);
}

.nc-esporte-heading p,
.nc-classificacao > p {
  margin: 0.35rem 0 0;
  color: var(--nc-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.nc-classificacao > h2,
.nc-classificacao > p {
  margin-left: 18px;
  margin-right: 18px;
}

.nc-classificacao > h2 { margin-top: 16px; }

.nc-classificacao > .nc-table-notice {
  padding: 8px 10px;
  border-left: 3px solid var(--nc-lime);
  background: var(--nc-paper);
  color: var(--nc-ink);
}

.nc-esporte-updated {
  color: var(--nc-muted);
  font-size: 0.75rem;
  line-height: 1.4;
  max-width: 36ch;
}

[data-nc-update][data-state="error"] {
  color: #8a2b12;
}

.nc-score-list {
  display: grid;
}

.nc-score-row {
  padding: 14px 18px 16px;
  border-bottom: 1px solid var(--nc-line);
  border-left: 3px solid transparent;
}

.nc-score-row:last-child { border-bottom: 0; }

.nc-score-row[data-status="ao_vivo"],
.nc-score-row[data-status="intervalo"] {
  border-left-color: var(--nc-live);
  background: #fff8f7;
}

.nc-score-row[data-status="encerrado"] {
  border-left-color: var(--nc-lime);
}

.nc-score-competition {
  margin: 0 0 8px;
  color: var(--nc-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nc-score-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.nc-score-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font: 600 1.15rem/1.15 var(--nc-display);
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.nc-score-team b { font-weight: inherit; min-width: 0; }
.nc-score-team.is-home { flex-direction: row-reverse; text-align: right; }
.nc-score-team.is-away { text-align: left; }

.nc-crest {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 2px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
}

.nc-crest.is-initials {
  display: inline-grid;
  place-items: center;
  background: var(--nc-ink);
  color: #fff;
  font: 700 0.72rem/1 var(--nc-display);
  letter-spacing: 0.04em;
}

.nc-score-kick {
  display: none;
  font-size: 0.62em;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

[data-status="agendado"] .nc-score-value > :not(.nc-score-kick) { display: none; }
[data-status="agendado"] .nc-score-kick { display: inline; }

.nc-score-value {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  margin: 0;
  padding: 0;
  background: none;
  color: var(--nc-ink);
  font: 700 2rem/0.9 var(--nc-display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.nc-score-value i {
  font-style: normal;
  color: var(--nc-lime);
  padding: 0 0.05em;
}

.nc-score-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
  color: var(--nc-muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.nc-score-meta > a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}

.nc-score-state,
.nc-score-meta > [data-nc-status] {
  font: 600 0.78rem/1.2 var(--nc-display);
  letter-spacing: 0.04em;
}

.nc-score-row[data-status="ao_vivo"] [data-nc-status] {
  color: var(--nc-live);
}

.nc-score-row[data-status="ao_vivo"] [data-nc-status]::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--nc-live);
  box-shadow: 0 0 0 4px #c42b2b22;
  animation: nc-live 1.8s ease-out infinite;
}

.nc-esporte-empty {
  margin: 0;
  padding: 2rem 1.25rem;
  color: var(--nc-muted);
  text-align: left;
}

.nc-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.nc-esporte-card table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.nc-esporte-card caption {
  caption-side: bottom;
  text-align: left;
  padding: 10px 18px 14px;
  color: var(--nc-muted);
  font-size: 0.75rem;
}

.nc-esporte-card th {
  padding: 8px 10px;
  background: var(--nc-ink);
  color: #e7eee4;
  font: 600 0.72rem/1 var(--nc-display);
  letter-spacing: 0.06em;
  text-align: center;
}

.nc-esporte-card td,
.nc-esporte-card tbody th {
  padding: 9px 10px;
  border-bottom: 1px solid var(--nc-line);
  text-align: center;
  font-size: 0.88rem;
  white-space: nowrap;
  background: #fff;
}

.nc-esporte-card .nc-group-start > * {
  border-top: 2px solid var(--nc-ink);
}

.nc-esporte-card th.nc-col-name {
  text-align: left;
}

.nc-esporte-card .nc-club {
  text-align: left;
  width: 100%;
  font: 600 0.95rem/1.2 var(--nc-display);
  white-space: normal;
}

.nc-esporte-card .nc-club .nc-crest {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
  font-size: 0.55rem;
}

.nc-esporte-card .nc-pts {
  font: 700 1.05rem/1 var(--nc-display);
  color: var(--nc-ink);
}

.nc-esporte-note {
  margin: 0;
  padding: 12px 18px 16px;
  color: var(--nc-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.nc-match-app {
  background: var(--nc-paper);
  color: var(--nc-ink);
}

.nc-match-hero {
  position: relative;
  padding: 28px 0 0;
  margin: 0;
  background: var(--nc-ink);
  color: #e4eee0;
}

.nc-match-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.18;
}

.nc-match-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nc-match-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #18221fcc, #18221f 78%);
}

.nc-match-hero .shell,
.nc-match-hero-content {
  position: relative;
  z-index: 2;
}

.nc-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 1rem;
  color: #6b776f;
  font-size: 0.78rem;
}

.nc-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

.nc-match-hero .nc-breadcrumb,
.nc-breadcrumb-dark { color: #c5d4c6; }
.nc-match-hero .nc-breadcrumb a,
.nc-breadcrumb-dark a { color: #fff; }

.eyebrow.nc-match-eyebrow {
  margin: 0 0 10px;
  text-align: center;
  color: var(--nc-lime);
  font: 600 1.05rem/1 var(--nc-display);
  letter-spacing: 0.08em;
}

.nc-match-scoreboard-container { max-width: 920px; margin: 0 auto; }

.nc-match-hero .nc-match-card {
  margin: 0;
  padding: 8px 0 22px;
  background: transparent;
  border: 0;
  color: #fff;
}

.nc-match-hero .nc-score-competition,
.nc-match-hero .nc-match-status,
.nc-match-hero .nc-match-venue,
.nc-match-hero .nc-match-broadcast,
.nc-match-hero .nc-match-source,
.nc-match-hero .nc-esporte-updated {
  color: #c5d4c6;
  text-align: center;
}

.nc-match-hero .nc-esporte-card a { color: #d7ecb8; }
.nc-match-hero .nc-esporte-updated { margin: 8px auto 0; }

.nc-match-score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.nc-match-score > a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font: 600 clamp(1.3rem, 3vw, 2.1rem)/1.05 var(--nc-display);
  color: #fff;
  overflow-wrap: anywhere;
}

.nc-match-score > a b { font-weight: inherit; min-width: 0; }
.nc-match-score > a.is-home { flex-direction: row-reverse; text-align: right; }
.nc-match-score > a.is-away { text-align: left; }
.nc-match-score .nc-crest { width: clamp(44px, 7vw, 72px); height: clamp(44px, 7vw, 72px); }
.nc-match-score .nc-crest.is-initials { font-size: clamp(0.9rem, 2vw, 1.3rem); background: #ffffff1f; box-shadow: inset 0 0 0 2px #ffffff40; }

.nc-match-hero .nc-score-value {
  color: #fff;
  font-size: clamp(2.8rem, 8vw, 4.6rem);
}

.nc-match-status,
.nc-match-venue,
.nc-match-source,
.nc-match-broadcast {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.85rem;
}

.nc-match-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 18px;
  border-top: 1px solid #334038;
}

.nc-match-tab-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  font: 600 0.95rem/1 var(--nc-display);
  letter-spacing: 0.04em;
  color: #d5e3d2;
  border-bottom: 3px solid transparent;
}

.nc-match-tab-item:hover,
.nc-match-tab-item.active {
  color: #fff;
  border-bottom-color: var(--nc-lime);
}

.nc-match-body {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr);
  gap: 36px;
  padding: 28px 0 72px;
}

.nc-match-editorial h2,
.nc-match-widget h3 {
  margin: 0 0 1rem;
  font: 600 1.6rem/1.1 var(--nc-display);
}

.nc-match-main-column,
.nc-match-sidebar { min-width: 0; scroll-margin-top: 24px; }

.nc-match-backlink { display: flex; justify-content: center; margin: 2rem 0; }

.nc-score-value.is-updated {
  animation: nc-goal 1.4s ease-out;
}

@keyframes nc-live {
  50% { box-shadow: 0 0 0 8px #c42b2b00; }
}

@keyframes nc-goal {
  0% { background: var(--nc-lime); color: var(--nc-ink); }
  100% { background: transparent; }
}

@media (max-width: 900px) {
  .nc-match-body {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .nc-esporte-heading { display: block; }
  .nc-esporte-updated { display: block; margin-top: 8px; }
  .nc-score-team { font-size: 1.05rem; }
  .nc-score-value { font-size: 1.7rem; }
  .nc-match-score { gap: 8px; }
  .nc-match-score > a { font-size: 1.15rem; }
  .nc-match-score > a.is-home, .nc-match-score > a.is-away { flex-direction: column; text-align: center; gap: 8px; }
  .nc-crest { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .nc-esporte-card *,
  .nc-match-app * {
    animation: none !important;
    transition: none !important;
  }
}
