/* ════════════════════════════════════════════════════════════════
   SPORTSHAVEN HEADER — v9
   TV mark locked to pennant via absolute positioning inside logobox
   Mobile MVP row: 5 photo-only chips all visible in one eyeshot
   ════════════════════════════════════════════════════════════════ */

:root {
  --sh-orange:      #F26A21;
  --sh-orange-dk:   #C8510F;
  --sh-orange-soft: rgba(242, 106, 33, 0.10);
  --sh-charcoal:    #1a1a1a;
  --sh-white:       #fff;
  --sh-offwhite:    #fafafa;
  --sh-text:        #1a1a1a;
  --sh-muted:       #8b8b8b;
  --sh-border:      rgba(170,170,170,0.30);
  --sh-t:           0.2s cubic-bezier(.4, 0, .2, 1);
}

#shah-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  width: 100%;
  font-family: inherit;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.08);
}

/* ════ TICKER ════ */
.shah-ticker {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border-bottom: 2px solid var(--sh-orange);
  height: 58px;
  display: flex; align-items: center; overflow: hidden;
}
.shah-ticker__live {
  display: flex; align-items: center; gap: 9px;
  padding: 0 20px; height: 100%;
  flex-shrink: 0;
  border-right: 1px solid var(--sh-border);
}
.shah-ticker__livedot {
  width: 10px; height: 10px;
  background: var(--sh-orange);
  border-radius: 50%;
  animation: shah-pulse 1.4s ease-in-out infinite;
}
@keyframes shah-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(242,106,33,0.55); transform: scale(1); }
  50%      { box-shadow: 0 0 0 9px rgba(242,106,33,0); transform: scale(1.1); }
}
.shah-ticker__livetxt {
  font-size: 14px; font-weight: 900; letter-spacing: 3px;
  color: var(--sh-charcoal); text-transform: uppercase;
}
.shah-ticker__badge {
  background: var(--sh-orange); color: #fff;
  font-size: 14px; font-weight: 900; letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0 24px; height: 100%;
  display: flex; align-items: center;
  flex-shrink: 0; position: relative; z-index: 2;
}
.shah-ticker__badge::after {
  content: ''; position: absolute; right: -12px; top: 0;
  border-left: 12px solid var(--sh-orange);
  border-top: 29px solid transparent;
  border-bottom: 29px solid transparent;
}
.shah-ticker__track {
  flex: 1; overflow: hidden; height: 100%;
  padding-left: 28px;
  display: flex; align-items: center;
  mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 60px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 60px), transparent 100%);
}
.shah-ticker__inner {
  display: inline-flex; white-space: nowrap;
  animation: shah-ticker 60s linear infinite;
}
.shah-ticker__inner:hover { animation-play-state: paused; }
@keyframes shah-ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.shah-tick {
  color: var(--sh-charcoal);
  font-size: 15px; font-weight: 700;
  padding-right: 56px;
}
.shah-tick::before { content: '»'; color: var(--sh-orange); margin-right: 12px; font-weight: 900; font-size: 16px; }
.shah-ticker__time {
  font-size: 13px; font-weight: 800; color: var(--sh-charcoal);
  padding: 0 16px; white-space: nowrap; flex-shrink: 0;
  letter-spacing: 0.8px;
  border-left: 1px solid var(--sh-border);
  height: 100%; display: flex; align-items: center;
}
.shah-ticker__brand {
  font-size: 14px; font-weight: 900; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--sh-charcoal);
  padding: 0 22px 0 10px; white-space: nowrap; flex-shrink: 0;
}
.shah-ticker__brand span { color: var(--sh-orange); margin-left: 4px; }

/* ════ ② HERO ════ */
.shah-hero {
  background-color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 24px 14px;
  overflow: hidden;
  border-bottom: 1px solid var(--sh-border);
  min-height: 280px;
}
.shah-hero__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 50% at center 55%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 80%);
  pointer-events: none;
}
.shah-hero__eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: 9px;
  text-transform: uppercase; color: var(--sh-muted);
  margin-bottom: 6px;
  position: relative; z-index: 2;
}

/* ★★★ THE KEY FIX — logobox sized to logo, TV positioned ABSOLUTELY inside it
   This guarantees TV moves with the pennant and never escapes */
.shah-hero__logolink {
  display: block;
  position: relative;
  z-index: 2;
  line-height: 0;
  text-decoration: none;
}

.shah-hero__logobox {
  display: inline-block;
  position: relative;          /* TV will absolute-position INSIDE this box */
  line-height: 0;
  max-width: 100%;
}

.shah-hero__logo {
  display: block;
  width: 1400px;
  max-width: calc(100vw - 180px);  /* leave room so TV doesn't clip past edge */
  height: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  mix-blend-mode: multiply;
  transition: transform var(--sh-t), filter var(--sh-t);
}
.shah-hero__logolink:hover .shah-hero__logo {
  transform: scale(1.005);
  filter: drop-shadow(0 12px 40px rgba(242, 106, 33, 0.30));
}

/* TV mark — sits directly under the pennant tail tip per design */
.shah-hero__tv {
  position: absolute;
  right: 28%;
  bottom: -4%;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(22px, 3.8vw, 56px);
  color: var(--sh-orange);
  letter-spacing: 0;
  line-height: 1;
  padding-right: 4px;
  text-shadow: 2px 4px 0 rgba(0,0,0,0.05);
  transform: rotate(-3deg);
  pointer-events: none;
  white-space: nowrap;
  z-index: 3;
}

.shah-hero__tagline {
  font-size: 13px; font-weight: 800;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: var(--sh-text);
  margin-top: 12px;
  position: relative; z-index: 2;
  text-align: center;
}
.shah-hero__tagline::after {
  content: '';
  display: block;
  width: 70px; height: 2px;
  background: var(--sh-orange);
  margin: 8px auto 0;
  border-radius: 1px;
}

/* Hamburger — bottom right, INSIDE the now-compact hero */
.shah-hbg {
  position: absolute;
  right: 16px; bottom: 16px;
  z-index: 100;
  width: 44px; height: 44px;
  background: var(--sh-orange);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(242, 106, 33, 0.40);
  transition: background var(--sh-t), transform var(--sh-t);
}
.shah-hbg:hover { background: var(--sh-orange-dk); transform: scale(1.05); }
.shah-hbg span {
  display: block; width: 22px; height: 2.4px;
  background: #fff; border-radius: 2px;
  transition: all var(--sh-t);
  pointer-events: none;
}
.shah-hbg.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.shah-hbg.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.shah-hbg.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

.shah-drawer {
  position: absolute;
  bottom: 80px;
  right: 16px;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid var(--sh-border);
  border-bottom: 3px solid var(--sh-orange);
  border-radius: 14px 14px 14px 0;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
  display: none;
  z-index: 999;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.shah-drawer.open { display: block; }
.shah-drawer__inner { padding: 14px 0; }
.shah-drawer__section { padding: 8px 0; }
.shah-drawer__section + .shah-drawer__section { border-top: 1px solid var(--sh-border); }
.shah-drawer__heading {
  font-size: 10px; font-weight: 900;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--sh-orange);
  padding: 6px 22px 8px;
}
.shah-drawer .shah-cat {
  background: none; border: none; border-radius: 0;
  color: var(--sh-charcoal);
  justify-content: flex-start;
  padding: 11px 22px;
  font-size: 15px; width: 100%;
  text-align: left; text-transform: uppercase;
  letter-spacing: 1px; gap: 12px; height: auto;
  box-shadow: none; text-decoration: none;
  display: flex; align-items: center;
}
.shah-drawer .shah-cat:hover { background: var(--sh-orange-soft); color: var(--sh-orange); transform: none; }
.shah-drawer .shah-cat__icon { width: 26px; height: 26px; }
.shah-drawer .shah-cat--store {
  background: var(--sh-orange); color: #fff;
  margin: 6px 16px;
  border-radius: 8px; padding: 11px 14px;
  justify-content: center;
}
.shah-drawer .shah-cat--store:hover { background: var(--sh-orange-dk); color: #fff; }
.shah-drawer__mvp {
  display: flex; align-items: center;
  padding: 9px 22px; gap: 8px;
  font-size: 14px; color: var(--sh-charcoal);
  text-decoration: none;
}
.shah-drawer__mvp:hover { background: var(--sh-orange-soft); color: var(--sh-orange); }
.shah-drawer__mvp strong { font-weight: 700; }
.shah-drawer__mvp span {
  font-size: 10px; color: var(--sh-orange);
  font-weight: 900; letter-spacing: 1.5px;
  background: var(--sh-orange-soft);
  padding: 2px 7px; border-radius: 4px;
}
.shah-drawer__tip {
  display: block;
  margin: 6px 16px; padding: 12px 14px;
  background: var(--sh-charcoal); color: #fff;
  text-align: center; text-decoration: none;
  font-weight: 900; font-size: 13px; letter-spacing: 1.5px;
  border-radius: 8px; text-transform: uppercase;
}
.shah-drawer__tip:hover { background: var(--sh-orange); color: #fff; }

/* ════ ③ CHANNEL BAR ════ */
.shah-channelbar {
  background: #fff;
  border-bottom: 1px solid var(--sh-border);
  display: flex; align-items: center;
  padding: 0 16px;
  height: 56px;
}
.shah-cats {
  display: flex; align-items: center; gap: 6px;
  flex: 1; min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 2px;
  justify-content: space-between;
}
.shah-cats::-webkit-scrollbar { display: none; }
.shah-cat {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 0 14px 0 10px;
  height: 44px;
  border-radius: 24px;
  border: 2px solid var(--sh-orange);
  background: #fff;
  color: var(--sh-charcoal);
  font-family: inherit;
  font-size: 14px; font-weight: 900;
  letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  flex: 1 1 auto;
  transition: all var(--sh-t);
  cursor: pointer;
}
.shah-cat__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  flex-shrink: 0; overflow: hidden;
}
.shah-cat__icon img, .shah-cat__icon svg {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.shah-cat__icon--placeholder {
  background: var(--sh-orange); color: #fff;
  border-radius: 50%;
  font-size: 14px; font-weight: 900;
}
.shah-cat:hover, .shah-cat.active {
  background: var(--sh-orange);
  border-color: var(--sh-orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(242, 106, 33, 0.45);
}
.shah-cat:hover .shah-cat__icon img,
.shah-cat.active .shah-cat__icon img { filter: brightness(0) invert(1); }
.shah-cat--store {
  background: var(--sh-charcoal); border-color: var(--sh-charcoal);
  color: var(--sh-orange);
}
.shah-cat--store:hover { background: #000; border-color: var(--sh-orange); color: var(--sh-orange); }

.shah-tip {
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0;
  padding-left: 18px;
  border-left: 1px solid var(--sh-border);
  margin-left: 14px;
}
.shah-tip__textwrap { display: flex; flex-direction: column; line-height: 1.2; gap: 2px; }
.shah-tip__label { font-size: 13px; font-weight: 800; color: var(--sh-charcoal); white-space: nowrap; }
.shah-tip__email { font-size: 10.5px; font-weight: 600; color: var(--sh-muted); }
.shah-tip__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sh-orange); color: #fff;
  border-radius: 22px;
  padding: 11px 20px;
  font-family: inherit;
  font-size: 13px; font-weight: 900;
  letter-spacing: 1.8px; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background var(--sh-t), transform var(--sh-t);
  line-height: 1;
  box-shadow: 0 4px 14px rgba(242, 106, 33, 0.35);
}
.shah-tip__btn:hover { background: var(--sh-orange-dk); transform: translateY(-2px); color: #fff; }

/* ════ ④ MVP STRIP — DESKTOP ════ */
.shah-mvpbar {
  background: #fff;
  border-top: 2px solid var(--sh-orange);
  border-bottom: 1px solid var(--sh-border);
  height: 70px;
  display: flex; align-items: center;
  padding: 0 16px;
  overflow: hidden;
}
.shah-mvp__brand {
  display: flex; align-items: center;
  flex-shrink: 0;
  padding-right: 12px;
  border-right: 2px solid var(--sh-orange);
  margin-right: 12px;
}
.shah-mvp__title {
  font-size: 20px; font-weight: 900;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--sh-orange);
  line-height: 1;
}
.shah-mvp__cards {
  display: flex; align-items: center; gap: 8px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  height: 100%;
  padding: 8px 0;
}
.shah-mvp__cards::-webkit-scrollbar { display: none; }
.shah-mvp-card {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 5px;
  border-radius: 36px;
  border: 1.5px solid var(--sh-border);
  background: #fff;
  color: var(--sh-charcoal);
  text-decoration: none;
  flex: 1 1 0;
  min-width: 0;
  transition: all var(--sh-t);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  height: 56px;
  overflow: hidden;
}
.shah-mvp-card:hover {
  border-color: var(--sh-orange);
  box-shadow: 0 6px 22px rgba(242, 106, 33, 0.28);
  transform: translateY(-2px);
}
.shah-mvp__photo {
  width: 44px; height: 44px;
  border-radius: 50%;
  background-size: cover; background-position: center top;
  background-color: var(--sh-offwhite);
  border: 2px solid var(--sh-orange);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.shah-mvp__photo--placeholder {
  background: linear-gradient(135deg, var(--sh-orange), var(--sh-orange-dk));
  color: #fff; font-size: 18px; font-weight: 900;
}
.shah-mvp__info { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; min-width: 0; flex: 1; overflow: hidden; }
.shah-mvp__name {
  font-size: 13.5px; font-weight: 900;
  letter-spacing: 0.3px;
  color: var(--sh-charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shah-mvp__sub {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.3px; color: var(--sh-muted);
  white-space: nowrap;
  overflow: hidden;
}
.shah-mvp__team {
  background: var(--sh-orange); color: #fff;
  font-size: 8.5px; font-weight: 900;
  letter-spacing: 1.2px;
  padding: 2px 6px; border-radius: 3px;
  flex-shrink: 0;
}
.shah-mvp__reason {
  color: var(--sh-charcoal);
  font-size: 10px; font-weight: 600;
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* ════ RESPONSIVE TABLET ════ */
@media (max-width: 1439px) and (min-width: 768px) {
  .shah-hero { min-height: 400px; padding: 22px 20px 68px; }
  .shah-cat { font-size: 14px; padding: 0 16px 0 12px; height: 44px; gap: 9px; }
  .shah-cat__icon { width: 28px; height: 28px; }
}

/* ════ RESPONSIVE MOBILE — single-eyeshot MVP, big logo, locked TV ════ */
@media (max-width: 767px) {
  .shah-ticker { height: 44px; }
  .shah-ticker__live { padding: 0 12px; gap: 6px; }
  .shah-ticker__livetxt { font-size: 11px; letter-spacing: 2px; }
  .shah-ticker__livedot { width: 7px; height: 7px; }
  .shah-ticker__badge { font-size: 11px; padding: 0 14px; letter-spacing: 2px; }
  .shah-ticker__badge::after { border-left-width: 9px; border-top-width: 22px; border-bottom-width: 22px; right: -9px; }
  .shah-ticker__time, .shah-ticker__brand { display: none; }
  .shah-tick { font-size: 12.5px; padding-right: 40px; }

  /* HERO — bigger logo, no margins eating space */
  .shah-hero {
    min-height: 280px;
    padding: 14px 6px 66px;
  }
  .shah-hero__logo {
    width: 720px;
    max-width: calc(100vw - 16px);   /* edge-to-edge */
  }
  /* TV stays locked via the clamp() rule — no override here */
  .shah-hero__eyebrow { font-size: 10px; letter-spacing: 6px; margin-bottom: 6px; }
  .shah-hero__tagline { font-size: 10px; letter-spacing: 4px; margin-top: 14px; }
  .shah-hero__tagline::after { width: 60px; margin-top: 8px; }

  .shah-hbg { right: 14px; bottom: 14px; width: 44px; height: 44px; }
  .shah-drawer { bottom: 66px; right: 10px; }

  /* Channel bar */
  .shah-channelbar {
    height: auto;
    padding: 8px 10px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .shah-cats {
    width: 100%; padding: 0;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    gap: 5px;
  }
  .shah-cat {
    font-size: 11.5px;
    padding: 0 9px 0 7px;
    height: 32px;
    gap: 5px;
    border-radius: 18px;
    letter-spacing: 0.3px;
  }
  .shah-cat__icon { width: 22px; height: 22px; }
  .shah-tip {
    padding-left: 0;
    border-left: none;
    margin-left: 0;
    border-top: 1px solid var(--sh-border);
    width: 100%;
    justify-content: space-between;
    padding-top: 7px;
    gap: 8px;
  }
  .shah-tip__textwrap { gap: 0; }
  .shah-tip__label { font-size: 11.5px; }
  .shah-tip__email { font-size: 9.5px; }
  .shah-tip__btn { font-size: 10.5px; padding: 8px 11px; letter-spacing: 1.2px; }

  /* ★★★ MVP — ALL 5 IN ONE EYESHOT
     Photo-only chips (no card text) so they fit at once.
     Tap shows full athlete page; reason in title tooltip on long-press. */
  .shah-mvpbar {
    height: 84px;
    padding: 0 8px;
    overflow: hidden;
  }
  .shah-mvp__brand {
    padding-right: 8px;
    margin-right: 6px;
    border-right-width: 1.5px;
  }
  .shah-mvp__title { font-size: 13px; letter-spacing: 1.5px; }

  /* MVP cards collapse to photo+initial circle ONLY on mobile */
  .shah-mvp__cards {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 4px;
    padding: 0;
    overflow: hidden;        /* hard cut, no scroll */
    flex: 1;
  }
  .shah-mvp-card {
    height: 72px;
    min-width: 0;
    flex: 1 1 0;
    padding: 4px 2px;
    gap: 0;
    border-radius: 8px;
    border: none;
    background: none;
    box-shadow: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  .shah-mvp-card:hover {
    background: var(--sh-orange-soft);
    transform: none;
    box-shadow: none;
  }
  .shah-mvp__photo {
    width: 38px; height: 38px;
    border-width: 2px;
    margin-bottom: 4px;
  }
  .shah-mvp__photo--placeholder { font-size: 16px; }
  .shah-mvp__info { flex-direction: column; align-items: center; gap: 0; width: 100%; }
  .shah-mvp__name {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.1px;
    line-height: 1.15;
    max-width: 100%;
    text-align: center;
    padding: 0 2px;
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .shah-mvp__sub { display: none; }   /* team chip + reason hidden on mobile chip mode */
}

@media (max-width: 400px) {
  .shah-hero__logo { width: 620px; }
  .shah-hero { min-height: 220px; padding: 10px 4px 52px; }
  .shah-cat { font-size: 10.5px; padding: 0 7px 0 5px; height: 30px; gap: 4px; }
  .shah-cat__icon { width: 20px; height: 20px; }
  .shah-mvp__photo { width: 34px; height: 34px; }
  .shah-mvp__name { font-size: 8.5px; }
}

/* THEME DATE NUKE */
.top-bar, .top-header, .top-strip, #topbar,
.theme-header-date, .tg-date-wrap, .tg-current-date, .tg-top-bar,
.site-header .top-bar, .site-header .header-date,
.site-header time.date, .site-header time.entry-date,
.site-header .site-branding, .site-header .site-info, .site-header .site-description,
.site-header .main-navigation, .site-header #site-navigation, .site-header nav.main-navigation,
#masthead .top-bar, #masthead .site-branding, #masthead .site-description,
#masthead .main-navigation, #masthead time, #masthead .header-date,
.indepth-news-top-bar, .indepth-news-date {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}
#shah-header ~ time, #shah-header + time { display: none !important; }
