/* =====================================================
   nextlevel.css v2 — FULL REDESIGN
   Matches the site's existing hero style
   ===================================================== */

/* ─────────────────────────────────────────────────────
   HERO  — upgraded to match site-wide premium hero style
   ───────────────────────────────────────────────────── */
.nl-hero {
  background:
    radial-gradient(ellipse 80% 120% at 70% 50%, rgba(37,99,235,0.18) 0%, transparent 65%),
    linear-gradient(to right, #070d18 0%, #0d1e4a 55%, #1e3a8a 100%);
  padding: 3.5rem 0 6rem;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.nl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.nl-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.nl-hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  color: #93c5fd;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nl-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #93c5fd;
  border-radius: 2px;
  flex-shrink: 0;
}

.nl-hero-title {
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0 0 1.25rem;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}
.nl-hero-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(to right, #C8D4E0, transparent);
  border-radius: 2px;
  margin-top: 1rem;
}
.nl-hero-title em {
  font-style: normal;
  color: #60A5FA;
}

.nl-hero-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  color: #CBD5E1;
  letter-spacing: 0.2em;
  margin-top: 0;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────
   FLOATING STATS CARD — matches schedule records-card
   ───────────────────────────────────────────────────── */
.nl-stats-section {
  max-width: 1400px;
  margin: -3rem auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.nl-stats-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.nl-stat-item {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid #e2e8f0;
}
.nl-stat-item:last-child {
  border-right: none;
}
.nl-stat-item .nl-score-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  display: block;
}
.nl-stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  display: block;
}

/* Scoreboard — compact inline strip below the title */
.nl-scoreboard {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,0.25);
  width: fit-content;
}

.nl-score-cell {
  padding: 0.85rem 2rem;
  text-align: center;
  position: relative;
}
.nl-score-cell + .nl-score-cell::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}

.nl-score-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  margin-bottom: 0.2rem;
}
.nl-score-number.gold { color: #C8D4E0; }

.nl-score-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ─────────────────────────────────────────────────────
   PAGE BODY LAYOUT — unified single bg (#F1F5F9)
   ───────────────────────────────────────────────────── */

/* Sticky filter tab bar — matches site's nav tone */
.nl-filter-bar-wrap {
  background: #fff;
  border-bottom: 2px solid #CBD5E1;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nl-filter-bar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nl-filter-bar::-webkit-scrollbar {
  display: none;
}
.nl-tab {
  padding: 1rem 1.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.nl-tab:hover { color: #1E293B; }
.nl-tab.active {
  color: #1E293B;
  border-bottom-color: #2563EB;
}
.nl-tab-badge {
  background: #F1F5F9;
  color: #64748B;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.5rem;
  border-radius: 100px;
  min-width: 22px;
  text-align: center;
  border: 1px solid #CBD5E1;
}
.nl-tab.active .nl-tab-badge {
  background: #2563EB;
  color: #fff;
  border-color: #2563EB;
}

/* ─────────────────────────────────────────────────────
   PRO SECTION — same page bg, dark cards pop naturally
   ───────────────────────────────────────────────────── */
#section-pro {
  background: #F1F5F9;
  padding: 4rem 0;
}
.nl-pro-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nl-section-desc {
  font-size: 0.85rem;
  color: #64748B;
  margin: 0.2rem 0 0;
  letter-spacing: 0.02em;
}

.nl-section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #CBD5E1;
}
.nl-section-label-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.icon-pro { background: #1E293B; color: #C8D4E0; }
.icon-college { background: #2563EB; color: #fff; }

.nl-section-label-text {
  flex: 1;
}
.nl-section-label-text h2 {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1E293B;
  margin: 0 0 0.1rem;
}
.nl-section-label-text p {
  font-size: 0.78rem;
  color: #64748B;
  margin: 0;
  letter-spacing: 0.03em;
}
.nl-section-label-count {
  font-size: 0.7rem;
  font-weight: 700;
  color: #475569;
  background: #fff;
  border: 1px solid #CBD5E1;
  border-radius: 100px;
  padding: 0.2rem 0.9rem;
  letter-spacing: 0.08em;
}

/* Pro sub-group */
.nl-pro-sub {
  margin-bottom: 2.5rem;
}
.nl-pro-sub-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #64748B;
}
.nl-pro-sub-label.lbl-mlb   { color: #1E293B; }
.nl-pro-sub-label.lbl-milb  { color: #2563EB; }
.nl-pro-sub-label.lbl-ind   { color: #475569; }
.nl-pro-sub-label.lbl-other { color: #64748B; }
.nl-pro-sub-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #CBD5E1;
}

/* ── NBA / FLAGSHIP SPOTLIGHT CARD ─── Flagship 3-column Pro Showcase Card */
.nl-mlb-spotlight {
  display: grid;
  grid-template-columns: 300px 1fr 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.55);
  background:
    radial-gradient(ellipse 65% 110% at 85% 50%, rgba(245, 158, 11, 0.14) 0%, transparent 70%),
    linear-gradient(135deg, #091122 0%, #111f3d 55%, #17274b 100%);
  box-shadow:
    0 14px 36px rgba(9, 17, 34, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
  position: relative;
  align-items: stretch;
}

.nl-mlb-portrait-frame {
  position: relative;
  width: 300px;
  aspect-ratio: 5 / 6;
  background: radial-gradient(circle at 50% 42%, rgba(245, 158, 11, 0.22) 0%, #0f172a 78%);
  border-right: 2px solid rgba(245, 158, 11, 0.45);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.nl-mlb-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  display: block;
}
.nl-mlb-portrait-frame.is-hat-fallback .nl-mlb-photo {
  display: none;
}
.nl-mlb-hat-fallback {
  width: 190px;
  height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}
.nl-mlb-portrait-frame.has-photo:not(.is-hat-fallback) .nl-mlb-hat-fallback {
  display: none;
}
.nl-mlb-hat-placeholder {
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  color: rgba(245,158,11,0.2);
}

.nl-mlb-info {
  padding: 1.45rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.nl-mlb-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.nl-mlb-tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #091122;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 65%, #d97706 100%);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}
.nl-mlb-year-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.26rem 0.7rem;
  border-radius: 6px;
}
.nl-mlb-pos-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 0.26rem 0.68rem;
  border-radius: 6px;
}
.nl-mlb-draft-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.4);
  padding: 0.26rem 0.7rem;
  border-radius: 6px;
}
.nl-mlb-name {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.nl-mlb-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, #fbbf24 0%, rgba(251, 191, 36, 0.15) 100%);
  border-radius: 2px;
  margin-bottom: 0.85rem;
}
.nl-mlb-bio {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0 0 1rem;
  max-width: 780px;
}
.nl-mlb-credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.nl-mlb-cred-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  padding: 0.65rem 0.95rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}
.nl-mlb-cred-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #94a3b8;
}
.nl-mlb-cred-val {
  font-size: 0.86rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.35;
}
.nl-mlb-cred-val i {
  color: #fbbf24;
  font-size: 0.82rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.nl-mlb-cred-val--college i {
  color: #60a5fa;
}
.nl-mlb-cred-val--lc i {
  color: #38bdf8;
}

.nl-mlb-crest-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.5rem 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 50% 45%, rgba(245, 158, 11, 0.18) 0%, rgba(9, 17, 34, 0.45) 75%);
}
.nl-mlb-crest-halo {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nl-mlb-crest-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s ease;
}
.nl-mlb-spotlight:hover .nl-mlb-crest-img {
  transform: scale(1.06);
}
.nl-mlb-crest-caption {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fde68a;
  text-align: center;
}

/* ── PRO SHOWCASE GRID & CARDS ─── True 3:4 Portrait Roster Cards */
.nl-milb-showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
}

.nl-milb-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #111f3d 0%, #0b1428 100%);
  border: 1px solid rgba(59, 130, 246, 0.32);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.16);
}
.nl-milb-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.nl-milb-card:hover {
  border-color: #60a5fa;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.24);
  transform: translateY(-5px);
}

.nl-milb-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  background: radial-gradient(circle at 50% 42%, rgba(56, 189, 248, 0.2) 0%, #17274b 60%, #0b1428 100%);
  overflow: hidden;
  border-bottom: 2px solid #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nl-milb-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 20, 40, 0.72) 0%, rgba(11, 20, 40, 0.1) 28%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.nl-milb-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  transition: transform 0.35s ease;
}
.nl-milb-card:hover .nl-milb-photo {
  transform: scale(1.04);
}
.nl-milb-media.is-hat-fallback .nl-milb-photo {
  display: none;
}
.nl-milb-hat-fallback {
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.55));
}
.nl-milb-media:not(.is-hat-fallback) .nl-milb-hat-fallback {
  display: none;
}

.nl-milb-level-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 5px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid rgba(147, 197, 253, 0.45);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}
.nl-milb-pos-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 5px;
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.nl-milb-cap-crest {
  position: absolute;
  bottom: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(11, 20, 40, 0.9);
  border: 1px solid rgba(147, 197, 253, 0.35);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.nl-milb-media.is-hat-fallback .nl-milb-cap-crest {
  display: none;
}
.nl-milb-cap-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nl-milb-body {
  padding: 0.9rem 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: linear-gradient(180deg, #0f1c38 0%, #091122 100%);
}
.nl-milb-year {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 0.24rem;
}
.nl-milb-name {
  font-size: 1.02rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin-bottom: 0.42rem;
}
.nl-milb-org {
  font-size: 0.76rem;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 0.38rem;
  line-height: 1.32;
}
.nl-milb-org i {
  font-size: 0.7rem;
  color: #fbbf24;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.nl-milb-org span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.nl-milb-college {
  font-size: 0.7rem;
  font-weight: 600;
  color: #93c5fd;
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  align-items: flex-start;
  gap: 0.36rem;
  line-height: 1.3;
}
.nl-milb-college i {
  font-size: 0.66rem;
  color: #60a5fa;
  flex-shrink: 0;
  margin-top: 0.14rem;
}
.nl-milb-college span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.nl-milb-highlights {
  font-size: 0.66rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.38;
  margin-top: 0.42rem;
  padding-top: 0.42rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.16);
}

/* ── PORTRAIT CARDS for International / Pro ── */
.nl-portrait-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.nl-portrait-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  cursor: default;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}
.nl-portrait-card.visible { opacity: 1; transform: translateY(0); }
.nl-portrait-card:hover {
  border-color: rgba(59, 130, 246, 0.65);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
  transform: translateY(-4px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
}
.nl-portrait-card.card-ind:hover {
  border-color: rgba(148,163,184,0.45);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.nl-portrait-hat-area {
  background: radial-gradient(circle at 50% 48%, rgba(56, 189, 248, 0.18) 0%, #1e293b 62%, #0f172a 100%);
  padding: 1.15rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid #2563eb;
  position: relative;
  height: 240px;
  overflow: hidden;
}
.nl-portrait-card.card-ind .nl-portrait-hat-area {
  background: radial-gradient(circle at 50% 48%, rgba(148, 163, 184, 0.16) 0%, #1e293b 62%, #0f172a 100%);
  border-bottom-color: #475569;
  height: 225px;
}
.nl-portrait-hat-area.has-photo:not(.is-hat-fallback) {
  padding: 0;
  height: 285px;
}
.nl-portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}
.nl-portrait-card:hover .nl-portrait-photo {
  transform: scale(1.04);
}
.nl-portrait-hat-area.is-hat-fallback .nl-portrait-photo {
  display: none;
}

.nl-portrait-hat {
  width: 195px;
  height: 195px;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.6));
  transition: transform 0.3s ease;
}
.nl-portrait-card:hover .nl-portrait-hat {
  transform: scale(1.08);
}
.nl-portrait-hat-area.has-photo:not(.is-hat-fallback) .nl-portrait-hat {
  display: none;
}

.nl-portrait-cap-badge {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.nl-portrait-hat-area.is-hat-fallback .nl-portrait-cap-badge {
  display: none;
}
.nl-portrait-cap-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nl-portrait-hat-placeholder {
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.12);
}
.nl-portrait-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.58rem;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.badge-milb-dark {
  background: rgba(37, 99, 235, 0.92);
  color: #ffffff;
  border: 1px solid rgba(147, 197, 253, 0.4);
}
.badge-ind-dark {
  background: rgba(71, 85, 105, 0.9);
  color: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.nl-portrait-info {
  padding: 1.15rem 1.35rem 1.35rem;
  background: #0f172a;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.nl-portrait-year {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #60a5fa;
  text-transform: uppercase;
  margin-bottom: 0.28rem;
}
.nl-portrait-card.card-ind .nl-portrait-year {
  color: #94a3b8;
}
.nl-portrait-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}
.nl-portrait-team {
  font-size: 0.84rem;
  color: #cbd5e1;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  overflow: clip;
}
.nl-portrait-college {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  overflow: clip;
}

/* ─────────────────────────────────────────────────────
   COLLEGE SECTION — same page bg, continuous flow
   ───────────────────────────────────────────────────── */
#section-college {
  background: #F1F5F9;
  padding: 4rem 0;
  border-top: 2px solid #CBD5E1;
}
.nl-college-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

#section-college .nl-section-label-text h2 { color: #1E293B; }
#section-college .nl-section-label-text p  { color: #64748B; }
#section-college .nl-section-label-count {
  color: #475569;
  background: #fff;
  border-color: #CBD5E1;
}

/* ── College controls bar (sort + search) ── */
.nl-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.nl-controls-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.nl-controls-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94A3B8;
  white-space: nowrap;
}
.nl-sort-group {
  display: flex;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  overflow: hidden;
  gap: 0;
}
.nl-sort-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748B;
  background: transparent;
  border: none;
  border-right: 1px solid #CBD5E1;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nl-sort-pill:last-child { border-right: none; }
.nl-sort-pill i { font-size: 0.65rem; opacity: 0.7; }
.nl-sort-pill:hover {
  background: #E2E8F0;
  color: #1E293B;
}
.nl-sort-pill.active {
  background: #2563EB;
  color: #fff;
}
.nl-sort-pill.active i { opacity: 1; }

.nl-controls-right { flex-shrink: 0; }
.nl-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.nl-search-icon {
  position: absolute;
  left: 0.75rem;
  font-size: 0.75rem;
  color: #94A3B8;
  pointer-events: none;
}
.nl-search-input {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 0.45rem 0.75rem 0.45rem 2.1rem;
  font-size: 0.8rem;
  color: #1E293B;
  width: 220px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.nl-search-input::placeholder { color: #94A3B8; }
.nl-search-input:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: #fff;
}

.nl-college-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 0.85rem;
}

.nl-college-card {
  background: #fff;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 1.1rem 0.95rem 1.25rem;
  border-left: 4px solid #2563EB;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  opacity: 0;
  transform: translateY(10px);
}
.nl-college-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.nl-college-card:hover {
  border-left-color: #1D4ED8;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.nl-cc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-width: 0;
}

.nl-cc-name-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.nl-cc-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0f172a;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nl-cc-pos {
  font-size: 0.64rem;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 0.1rem 0.42rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.nl-cc-year {
  flex-shrink: 0;
}
.nl-cc-year-chip {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 100px;
  padding: 0.16rem 0.62rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nl-cc-school {
  font-size: 0.8rem;
  color: #1e293b;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex-wrap: wrap;
}
.nl-cc-school i { font-size: 0.7rem; flex-shrink: 0; color: #2563eb; }
.nl-cc-school-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nl-cc-div-chip {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 4px;
  padding: 0.08rem 0.42rem;
  white-space: nowrap;
}
.nl-cc-notes {
  font-size: 0.73rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.4;
  padding-top: 0.3rem;
  border-top: 1px solid #f1f5f9;
}

/* ─────────────────────────────────────────────────────
   LOADING SKELETONS
   ───────────────────────────────────────────────────── */
@keyframes nl-shimmer {
  from { background-position: -800px 0; }
  to   { background-position:  800px 0; }
}
.nl-skel {
  background: linear-gradient(90deg, #1E293B 25%, #263549 50%, #1E293B 75%);
  background-size: 800px 100%;
  animation: nl-shimmer 1.6s infinite;
  border-radius: 8px;
}
.nl-skel-light {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 800px 100%;
  animation: nl-shimmer 1.6s infinite;
  border-radius: 8px;
}
.nl-skel-spotlight { height: 220px; border-radius: 12px; margin-bottom: 1rem; }
.nl-skel-portrait  { height: 240px; border-radius: 12px; }
.nl-skel-card      { height: 52px; border-radius: 8px; }

/* ─────────────────────────────────────────────────────
   EMPTY STATE
   ───────────────────────────────────────────────────── */
.nl-empty {
  padding: 4rem 2rem;
  text-align: center;
  color: #94a3b8;
}
.nl-empty.light { color: #94a3b8; }

/* ─────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nl-milb-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    max-width: 880px;
  }
}

@media (max-width: 900px) {
  .nl-hero-content { padding: 0 1.5rem; }
  .nl-hero-logo    { display: none; }
  .nl-scoreboard   { flex-wrap: wrap; }
  .nl-score-cell   { min-width: 130px; padding: 1.25rem 1.75rem; }

  .nl-mlb-spotlight {
    grid-template-columns: 200px 1fr;
  }
  .nl-mlb-portrait-frame {
    width: 200px;
  }
  .nl-mlb-crest-panel {
    display: none;
  }

  .nl-portrait-grid { grid-template-columns: repeat(2, 1fr); }

  .nl-college-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nl-sort-bar { display: none; }
  .nl-college-card {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.85rem 1rem 0.85rem 1.25rem;
  }
  .nl-cc-year { text-align: left; }
}

@media (max-width: 640px) {
  .nl-hero-title  { font-size: clamp(2.8rem, 15vw, 4rem); }
  .nl-score-cell  { min-width: 100px; padding: 1rem 1.25rem; }
  .nl-score-number { font-size: clamp(2rem, 8vw, 3rem); }

  .nl-filter-bar { padding: 0 0.75rem; }
  .nl-tab { padding: 0.85rem 0.85rem; font-size: 0.66rem; gap: 0.35rem; }

  .nl-section-label { flex-wrap: wrap; gap: 0.65rem; }

  .nl-controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .nl-controls-left {
    width: 100%;
    justify-content: space-between;
  }
  .nl-sort-group {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .nl-sort-pill {
    justify-content: center;
    padding: 0.45rem 0.35rem;
  }
  .nl-controls-right,
  .nl-search-wrap,
  .nl-search-input {
    width: 100%;
  }

  .nl-college-grid { grid-template-columns: 1fr; }

  .nl-mlb-spotlight {
    grid-template-columns: 1fr;
  }
  .nl-mlb-portrait-frame {
    width: 100%;
    max-width: 280px;
    margin: 1.25rem auto 0;
    border-right: none;
    border-radius: 10px;
    border: 1px solid rgba(245, 158, 11, 0.45);
  }
  .nl-mlb-info {
    padding: 1.35rem 1.25rem 1.5rem;
  }

  .nl-milb-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
  .nl-portrait-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .nl-pro-inner, .nl-college-inner { padding: 0 1rem; }
  #section-pro, #section-college { padding: 3rem 0; }
}

@media (max-width: 380px) {
  .nl-milb-showcase-grid { grid-template-columns: 1fr; }
  .nl-portrait-grid { grid-template-columns: 1fr; }
}
