/* Shared copy of the homepage flash strip CSS (home.css). Keep in sync. */
/* —— Homepage flash match-cards strip (cream/gold) —— */
.npl-flash {
  --flash-cream: #fffdf8;
  --flash-cream-2: #f8f2e4;
  --flash-gold: #d2ad6a;
  --flash-gold-deep: #7f5c1e;
  --flash-ink: #3d2a12;
  --flash-muted: #6b542e;
  background: linear-gradient(180deg, #f8f2e4 0%, #fffdf8 100%);
  border-bottom: 1px solid rgba(210, 173, 106, 0.45);
  padding: 0.65rem 0 0.75rem;
}
.npl-flash__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.npl-flash__track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d2ad6a transparent;
  padding-bottom: 0.15rem;
}
.npl-flash__track::-webkit-scrollbar { height: 4px; }
.npl-flash__track::-webkit-scrollbar-thumb {
  background: #d2ad6a;
  border-radius: 4px;
}
.npl-flash__card {
  flex: 0 0 calc((100% - 2.25rem) / 4);
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.7rem 0.8rem 0.65rem;
  background: var(--flash-cream);
  border: 1px solid rgba(210, 173, 106, 0.55);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(127, 92, 30, 0.06);
  text-decoration: none;
  color: var(--flash-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.npl-flash__card:hover,
.npl-flash__card:focus-visible {
  border-color: var(--flash-gold);
  box-shadow: 0 4px 14px rgba(127, 92, 30, 0.12);
  transform: translateY(-1px);
  outline: none;
}
.npl-flash__card--live {
  border-color: rgba(210, 173, 106, 0.9);
  box-shadow: 0 0 0 1px rgba(210, 173, 106, 0.35);
}
.npl-flash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  min-height: 1.1rem;
}
.npl-flash__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--flash-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.npl-flash__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  line-height: 1;
}
.npl-flash__badge--result {
  background: rgba(210, 173, 106, 0.22);
  color: var(--flash-gold-deep);
}
.npl-flash__badge--upcoming {
  background: #f8f2e4;
  color: var(--flash-muted);
  border: 1px solid rgba(210, 173, 106, 0.4);
}
.npl-flash__badge--live {
  background: #7f5c1e;
  color: #fffdf8;
}
.npl-flash__pulse {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #fffdf8;
  box-shadow: 0 0 0 0 rgba(255, 253, 248, 0.7);
  animation: npl-flash-pulse 1.4s ease-out infinite;
}
@keyframes npl-flash-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 253, 248, 0.65); }
  70% { box-shadow: 0 0 0 6px rgba(255, 253, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 253, 248, 0); }
}
.npl-flash__teams {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.npl-flash__row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.4rem;
}
.npl-flash__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  background: #f8f2e4;
  box-shadow: inset 0 0 0 1px rgba(127, 92, 30, 0.28);
}
.npl-flash__logo--empty {
  display: inline-block;
  background: #f8f2e4;
  border-radius: 50%;
}
.npl-flash__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--flash-ink);
  line-height: 1.25;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.npl-flash__score {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--flash-gold-deep);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.npl-flash__score--empty {
  color: var(--flash-muted);
  font-weight: 600;
}
.npl-flash__overs {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--flash-muted);
  white-space: nowrap;
}
.npl-flash__status {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--flash-muted);
  line-height: 1.35;
  min-height: 1.9em;
  text-wrap: balance;
}
.npl-flash__empty {
  flex: 1;
  text-align: center;
  padding: 1rem;
  color: var(--flash-muted);
  font-size: 0.85rem;
}
@media (max-width: 900px) {
  .npl-flash__card {
    flex: 0 0 calc((100% - 0.75rem) / 2);
    max-width: none;
  }
}
@media (max-width: 560px) {
  .npl-flash {
    padding: 0.55rem 0 0.65rem;
  }
  .npl-flash__inner {
    padding: 0 0.65rem;
  }
  .npl-flash__card {
    flex: 0 0 100%;
    max-width: none;
    padding: 0.75rem 0.85rem 0.65rem;
  }
  .npl-flash__name { font-size: 0.88rem; }
  .npl-flash__score { font-size: 0.9rem; }
}

.npl-flash__inner{position:relative}
.npl-flash__track{scroll-padding-left:0}
.npl-flash__arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:34px;height:34px;border-radius:50%;border:1px solid #d2ad6a;background:#fffdf8;color:#7f5c1e;font-size:1.4rem;line-height:1;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(127,92,30,.18);padding:0;margin:0;overflow:visible}
.npl-flash__arrow span{display:block;line-height:1;transform:translateY(-1px)}
.npl-flash,.npl-flash__inner{overflow:visible}
.npl-flash__arrow--prev{left:0}.npl-flash__arrow--next{right:0}
@media (min-width:901px){
  .npl-flash__inner{padding-left:2.35rem;padding-right:2.35rem}
}
.npl-flash__arrow:hover,.npl-flash__arrow:focus-visible{background:#d2ad6a;color:#fffdf8;outline:2px solid #7f5c1e;outline-offset:2px}
.npl-flash__arrow:disabled{opacity:.35;cursor:default;background:#fffdf8;color:#7f5c1e}
.npl-flash__track:focus-visible{outline:2px solid #d2ad6a;outline-offset:3px;border-radius:12px}
@media (max-width:900px){.npl-flash__arrow{display:none}}
@media (min-width:901px){#npl-flash .npl-flash__arrow,#npl-flash .npl-flash__arrow:hover,#npl-flash .npl-flash__arrow:focus-visible,#npl-flash .npl-flash__arrow:active{transform:translateY(-50%)!important;translate:none!important}}

/* Subpages: keep strip above full-bleed dark breadcrumb/hero shadows */
main.season-main > .npl-flash, main > .npl-flash { position: relative; z-index: 2; }
