.gng-archive-hero.gng-archive-hero--ranks {
  margin-top: -92px;
  padding-top: clamp(176px, 16vw, 218px);
  background:
    linear-gradient(90deg, rgba(5, 8, 12, .74) 0%, rgba(5, 8, 12, .46) 30%, rgba(5, 8, 12, .1) 61%, rgba(5, 8, 12, .32) 100%),
    linear-gradient(0deg, rgba(5, 8, 12, .58) 0%, rgba(5, 8, 12, .02) 46%, rgba(5, 8, 12, .28) 100%),
    image-set(url("../news/gng-hero-bkgd.webp") type("image/webp"), url("../news/gng-hero-bkgd.png") type("image/png")) center center / cover no-repeat;
  background-color: #08101a;
}

.gng-archive-hero--ranks .hero-kicker {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-size: .88rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .9);
}

/* Trimmed hero: tighter copy, shorter band. The .pigskin-hero pairing keeps
   this ahead of the generic laptop-breakpoint hero sizing in gng.css. */
.pigskin-hero.gng-archive-hero--ranks {
  min-height: clamp(300px, 26vw, 380px);
  padding-top: clamp(148px, 12vw, 178px);
  padding-bottom: clamp(34px, 4.5vw, 54px);
}

.gng-archive-hero--ranks .pigskin-hero-sub {
  max-width: 720px;
  color: #f3f7fb;
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  line-height: 1.28;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .9);
}

.gng-archive-hero--ranks .pigskin-timestamps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.gng-archive-hero--ranks .pigskin-updated {
  margin: 0;
  color: #d9e7f4;
  font-size: .72rem;
  background: rgba(5, 8, 12, .54);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .36);
  backdrop-filter: blur(10px);
}

.gng-archive-hero--ranks .pigskin-updated .bi {
  color: var(--gold-2);
}

/* ===== Board control deck ===== */

.pigskin-deck {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 26px;
  padding: 16px 18px 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(32, 40, 50, .66) 0%, rgba(12, 16, 22, .9) 46%, rgba(8, 11, 15, .94) 100%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, .42),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
}

/* animated accent seam across the top edge */
.pigskin-deck::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 185, 66, .9) 22%, rgba(255, 227, 154, .95) 34%, rgba(55, 168, 255, .9) 66%, transparent 100%);
  background-size: 220% 100%;
  opacity: .85;
  animation: pigskinSeam 9s linear infinite;
  z-index: 1;
}

/* faint corner auras */
.pigskin-deck::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 4% 0%, rgba(245, 185, 66, .12), transparent 34%),
    radial-gradient(circle at 96% 100%, rgba(55, 168, 255, .12), transparent 36%);
}

@keyframes pigskinSeam {
  from { background-position: 0% 0; }
  to { background-position: 220% 0; }
}

.pigskin-deck-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.pigskin-deck-row + .pigskin-deck-row {
  margin-top: 10px;
}

.pigskin-deck-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pigskin-deck-label .bi {
  font-size: .9rem;
  color: var(--gold);
}

.pigskin-deck-row[aria-label="Position board"] .pigskin-deck-label .bi {
  color: var(--blue);
}

.pigskin-seg {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(5, 8, 12, .55);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .45);
  overflow-x: auto;
  scrollbar-width: none;
}

.pigskin-seg::-webkit-scrollbar {
  display: none;
}

.pigskin-seg-btn {
  flex: 0 0 auto;
  padding: 7px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, box-shadow .25s ease, transform .2s ease;
}

.pigskin-seg-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .07);
}

.pigskin-seg-btn:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 1px;
}

.pigskin-seg--gold .pigskin-seg-btn.is-active {
  color: #16120a;
  background: linear-gradient(180deg, #ffe39a 0%, #f5b942 100%);
  box-shadow: 0 0 16px rgba(245, 185, 66, .4), inset 0 1px 0 rgba(255, 255, 255, .55);
  transform: translateY(-1px);
}

.pigskin-seg--blue .pigskin-seg-btn.is-active {
  color: #041018;
  background: linear-gradient(180deg, #9ed6ff 0%, #37a8ff 100%);
  box-shadow: 0 0 16px rgba(55, 168, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .5);
  transform: translateY(-1px);
}

.pigskin-deck-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 13px;
}

.pigskin-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-size: .78rem;
  font-weight: 800;
}

.pigskin-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 8px rgba(61, 220, 132, .8);
  animation: pigskinPulse 2.4s ease-in-out infinite;
}

@keyframes pigskinPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.78); }
}

.pigskin-status-board {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pigskin-method {
  margin-top: 13px;
  border-top: 1px dashed rgba(255, 255, 255, .14);
  padding-top: 11px;
}

.pigskin-method summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.pigskin-method summary::-webkit-details-marker {
  display: none;
}

.pigskin-method summary:hover {
  color: var(--gold-2);
}

.pigskin-method summary .bi-cpu {
  color: var(--gold);
}

.pigskin-method-caret {
  font-size: .72rem;
  transition: transform .25s ease;
}

.pigskin-method[open] .pigskin-method-caret {
  transform: rotate(180deg);
}

.pigskin-method p {
  margin: 10px 0 2px;
  max-width: none;
  width: 100%;
  color: #c7d2dd;
  font-size: .9rem;
  line-height: 1.55;
}

.pigskin-method p + p {
  margin-top: 12px;
}

.pigskin-method a,
.pigskin-footnote a {
  color: var(--gold-2);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(245, 185, 66, .45);
  text-underline-offset: 3px;
}

.pigskin-method a:hover,
.pigskin-footnote a:hover {
  color: #fff1c2;
  text-decoration-color: currentColor;
}

/* ===== Search and answer guide ===== */

.pigskin-guide {
  margin-top: 34px;
  padding: 34px 0 8px;
  border-top: 1px solid rgba(245, 185, 66, .3);
}

.pigskin-guide-header {
  max-width: 940px;
}

.pigskin-guide-kicker {
  margin: 0 0 8px;
  color: var(--gold-2);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pigskin-guide h2 {
  max-width: 880px;
  margin: 0;
  color: #fff7e8;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.pigskin-guide-header > p:last-child {
  max-width: 900px;
  margin: 16px 0 0;
  color: #c7d2dd;
  font-size: 1rem;
  line-height: 1.65;
}

.pigskin-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 30px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.pigskin-guide-grid article {
  min-width: 0;
}

.pigskin-guide-grid h3,
.pigskin-guide-faq > h3 {
  margin: 0 0 10px;
  color: #ffe39a;
  font-size: 1rem;
  letter-spacing: .02em;
}

.pigskin-guide-grid p {
  margin: 0;
  color: #c7d2dd;
  line-height: 1.65;
}

.pigskin-guide-faq {
  max-width: 980px;
  margin-top: 30px;
}

.pigskin-guide-faq > h3 {
  margin-bottom: 14px;
  font-size: 1.12rem;
  text-transform: uppercase;
}

.pigskin-guide-faq details {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.pigskin-guide-faq details:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.pigskin-guide-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 2px;
  color: #eef4fa;
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.pigskin-guide-faq summary::-webkit-details-marker {
  display: none;
}

.pigskin-guide-faq summary:hover,
.pigskin-guide-faq summary:focus-visible {
  color: var(--gold-2);
}

.pigskin-guide-faq summary .bi {
  flex: 0 0 auto;
  color: var(--gold-2);
  transition: transform .2s ease;
}

.pigskin-guide-faq details[open] summary .bi {
  transform: rotate(45deg);
}

.pigskin-guide-faq details p {
  max-width: 880px;
  margin: -2px 0 0;
  padding: 0 34px 18px 2px;
  color: #c7d2dd;
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  .pigskin-deck::before,
  .pigskin-status-dot {
    animation: none;
  }
}

@media (max-width: 700px) {
  .pigskin-deck {
    padding: 13px 13px 12px;
  }

  .pigskin-deck-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .pigskin-deck-label {
    font-size: .68rem;
  }

  .pigskin-seg {
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
  }

  .pigskin-seg-btn {
    padding: 8px 13px;
  }

  .pigskin-guide {
    margin-top: 28px;
    padding-top: 28px;
  }

  .pigskin-guide-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 0;
  }

  .pigskin-guide-faq summary {
    align-items: flex-start;
    padding-block: 15px;
  }

  .pigskin-guide-faq details p {
    padding-right: 4px;
  }
}

@media (max-width: 760px) {
  .gng-archive-hero.gng-archive-hero--ranks {
    background:
      linear-gradient(180deg, rgba(5, 8, 12, .44) 0%, rgba(5, 8, 12, .12) 38%, rgba(5, 8, 12, .5) 100%),
      linear-gradient(90deg, rgba(5, 8, 12, .38) 0%, rgba(5, 8, 12, .06) 50%, rgba(5, 8, 12, .38) 100%),
      image-set(url("../news/gng-hero-vertical-01.webp") type("image/webp"), url("../news/gng-hero-vertical-01.png") type("image/png")) center center / cover no-repeat;
  }

  .gng-archive-hero--ranks .hero-kicker {
    margin-bottom: 10px;
    font-size: .76rem;
  }

  .pigskin-hero.gng-archive-hero--ranks {
    min-height: clamp(420px, 62svh, 560px);
    padding-top: clamp(112px, 15svh, 138px);
    padding-bottom: clamp(30px, 5svh, 44px);
  }

  .gng-archive-hero--ranks .pigskin-hero-sub {
    max-width: 23rem;
    margin-inline: auto;
    font-size: clamp(.96rem, 4.2vw, 1.08rem);
    line-height: 1.28;
  }

  .gng-archive-hero--ranks .pigskin-updated {
    justify-content: center;
    font-size: .68rem;
    white-space: normal;
  }

  .gng-archive-hero--ranks .pigskin-timestamps {
    justify-content: center;
  }
}
