/*
 * Inside the Pack Game Center 1.6
 *
 * The page-width rules are intentionally scoped to pages that contain the
 * [itp_game_center] shortcode. They remove common WordPress sidebar/content
 * restrictions without using viewport transforms that can create horizontal
 * scrolling or push the Game Center off screen.
 */

.itp-game-center-page #primary,
.itp-game-center-page .content-area,
.itp-game-center-page .site-main,
.itp-game-center-page .entry-content,
.itp-game-center-page .wp-block-post-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  grid-column: 1 / -1 !important;
}

.itp-game-center-page #secondary,
.itp-game-center-page .widget-area,
.itp-game-center-page .site-sidebar,
.itp-game-center-page .primary-sidebar {
  display: none !important;
}

.itp-game-center-page .site-content > .container,
.itp-game-center-page .site-content > .ast-container,
.itp-game-center-page .content-container,
.itp-game-center-page .site-main > .container {
  width: min(100% - 32px, 1320px) !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.itp-gc {
  --itp-black: #080808;
  --itp-panel: #151515;
  --itp-panel-soft: #1c1c1c;
  --itp-red: #b82025;
  --itp-red-bright: #e1282e;
  --itp-white: #fff;
  --itp-muted: #a9aaae;
  --itp-border: rgba(255,255,255,.11);
  --itp-shadow: 0 18px 48px rgba(0,0,0,.16);
  --itp-radius: 20px;
  position: relative;
  left: auto;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  transform: none;
  color: var(--itp-white);
  font-family: inherit;
  line-height: 1.5;
}

.itp-gc *,
.itp-gc *::before,
.itp-gc *::after {
  box-sizing: border-box;
}

.itp-gc__hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--itp-border);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 25%, rgba(184,32,37,.30), transparent 38%),
    linear-gradient(145deg, #1b1b1b 0%, #070707 68%);
  box-shadow: var(--itp-shadow);
}

.itp-gc__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), transparent 82%);
  pointer-events: none;
}

.itp-gc__topline,
.itp-gc__matchup,
.itp-gc__kickoff-line,
.itp-gc-countdown,
.itp-gc__tba {
  position: relative;
  z-index: 1;
}

.itp-gc__topline {
  display: grid;
  grid-template-columns: minmax(240px,.75fr) minmax(360px,1fr);
  justify-content: space-between;
  align-items: start;
  gap: clamp(28px,6vw,80px);
}

.itp-gc__eyebrow,
.itp-gc__section-heading span {
  color: var(--itp-red-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.itp-gc__title {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 74px);
  line-height: .88;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.itp-gc__selector {
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.itp-gc__selector label {
  display: block;
  margin-bottom: 9px;
  color: var(--itp-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.itp-gc__selector select {
  width: 100%;
  min-height: 54px;
  padding: 0 48px 0 17px;
  color: #fff;
  background: #111;
  border: 1px solid var(--itp-border);
  border-radius: 12px;
  font: inherit;
  font-size: 17px;
  font-weight: 750;
}

.itp-gc__matchup {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: clamp(24px,6vw,76px);
  margin: clamp(48px,6vw,76px) auto 32px;
  max-width: 1020px;
}

.itp-gc__team {
  min-width: 0;
  text-align: center;
}

.itp-gc__logo-wrap {
  display: grid;
  place-items: center;
  width: clamp(145px,16vw,205px);
  aspect-ratio: 1;
  margin: 0 auto 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 44px rgba(255,255,255,.035);
}

.itp-gc__logo {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.itp-gc__logo-fallback {
  display: grid;
  place-items: center;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--itp-red);
  color: #fff;
  font-size: clamp(44px,5.5vw,72px);
  font-weight: 950;
  letter-spacing: -.08em;
}

.itp-gc__team--opponent .itp-gc__logo-fallback {
  background: #f2f2f2;
  color: #111;
}

.itp-gc__team-name {
  color: #fff;
  font-size: clamp(25px,3vw,38px);
  font-weight: 900;
  letter-spacing: -.03em;
}

.itp-gc__mascot {
  margin-top: 6px;
  color: var(--itp-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.itp-gc__versus {
  display: grid;
  place-items: center;
  width: clamp(68px,7vw,92px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 50%;
  background: rgba(0,0,0,.62);
  box-shadow: 0 0 0 10px rgba(255,255,255,.025);
}

.itp-gc__versus span {
  font-size: clamp(18px,2vw,24px);
  font-weight: 950;
  letter-spacing: .06em;
}

.itp-gc__kickoff-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  color: #e6e6e6;
  font-size: clamp(16px,1.7vw,20px);
  font-weight: 750;
  text-align: center;
}

.itp-gc-countdown {
  display: grid;
  grid-template-columns: repeat(4,minmax(105px,145px));
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.itp-gc-countdown__unit {
  padding: 18px 14px;
  border: 1px solid var(--itp-border);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  text-align: center;
}

.itp-gc-countdown__unit strong {
  display: block;
  font-size: clamp(34px,4vw,50px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.itp-gc-countdown__unit span {
  display: block;
  margin-top: 8px;
  color: var(--itp-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.itp-gc-countdown__live,
.itp-gc__tba {
  margin-top: 32px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.itp-gc-countdown__live {
  padding: 16px 24px;
  border-radius: 10px;
  background: var(--itp-red);
}

/* Two spacious rows instead of six narrow information tiles. */
.itp-gc__facts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin: 20px 0 34px;
}

.itp-gc__fact {
  min-width: 0;
  min-height: 126px;
  padding: 24px;
  border: 1px solid var(--itp-border);
  border-radius: 16px;
  background: var(--itp-panel);
  box-shadow: 0 10px 25px rgba(0,0,0,.10);
}

.itp-gc__fact > span {
  display: block;
  margin-bottom: 10px;
  color: var(--itp-red-bright);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.itp-gc__fact strong {
  display: block;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 19px;
  line-height: 1.25;
}

.itp-gc__fact small {
  display: block;
  margin-top: 8px;
  color: var(--itp-muted);
  font-size: 13px;
  line-height: 1.35;
}

/* Equal columns keep resources and podcast content from becoming a narrow rail. */
.itp-gc__layout {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px;
  align-items: start;
}

.itp-gc__main,
.itp-gc__sidebar {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.itp-gc-card {
  overflow: hidden;
  padding: clamp(28px,3vw,40px);
  border: 1px solid var(--itp-border);
  border-radius: var(--itp-radius);
  background: var(--itp-panel);
  box-shadow: var(--itp-shadow);
}

.itp-gc__wide-panel {
  margin-top: 32px;
}

.itp-gc__section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--itp-border);
}

.itp-gc__section-heading h2 {
  margin: 3px 0 0;
  color: #fff;
  font-size: clamp(26px,3vw,38px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.itp-gc__section-heading p {
  margin: 0;
  max-width: 190px;
  color: var(--itp-muted);
  font-size: 13px;
  text-align: right;
}

.itp-gc__series-record {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(34px,5vw,54px);
  font-weight: 950;
  letter-spacing: -.045em;
}

.itp-gc__stat-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}

.itp-gc__mini-stat {
  padding: 20px 14px;
  border: 1px solid var(--itp-border);
  border-radius: 13px;
  background: var(--itp-panel-soft);
  text-align: center;
}

.itp-gc__mini-stat strong {
  display: block;
  color: #fff;
  font-size: 24px;
}

.itp-gc__mini-stat span {
  display: block;
  margin-top: 6px;
  color: var(--itp-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.itp-gc__note,
.itp-gc__muted {
  color: var(--itp-muted);
}

.itp-gc__note {
  margin: 22px 0 0;
}

.itp-gc__empty-state {
  display: grid;
  gap: 10px;
  padding: 44px 34px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  text-align: center;
}

.itp-gc__empty-state strong {
  font-size: 34px;
}

.itp-gc__empty-state span {
  max-width: 620px;
  margin: 0 auto;
  color: var(--itp-muted);
  font-size: 18px;
}

.itp-gc__last-meeting {
  display: flex;
  align-items: center;
  gap: 22px;
}

.itp-gc__last-meeting strong {
  display: block;
  color: #fff;
  font-size: 34px;
}

.itp-gc__last-meeting span {
  display: block;
  margin-top: 5px;
  color: var(--itp-muted);
}

.itp-gc__result-badge {
  display: grid;
  place-items: center;
  flex: 0 0 66px;
  height: 66px;
  border-radius: 16px;
  background: #343434;
  color: #fff;
  font-size: 28px;
  font-weight: 950;
}

.itp-gc__result-badge.is-win {
  background: var(--itp-red);
}

.itp-gc__table-wrap {
  overflow-x: auto;
}

.itp-gc__meetings-table {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
}

.itp-gc__meetings-table th,
.itp-gc__meetings-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--itp-border);
  text-align: left;
  white-space: nowrap;
}

.itp-gc__meetings-table th {
  color: var(--itp-muted);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.itp-gc__resource-list {
  display: grid;
  gap: 12px;
}

.itp-gc__resource-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 16px 17px;
  border: 1px solid var(--itp-border);
  border-radius: 11px;
  background: var(--itp-panel-soft);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.itp-gc__resource-list a:hover {
  transform: translateY(-1px);
  border-color: rgba(225,40,46,.65);
  background: #242424;
  color: #fff;
}

.itp-gc__resource-list b {
  color: var(--itp-red-bright);
}

.itp-gc__primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 13px 21px;
  border-radius: 10px;
  background: var(--itp-red);
  color: #fff !important;
  font-weight: 850;
  text-decoration: none !important;
}

.itp-gc__primary-button:hover {
  background: var(--itp-red-bright);
}

.itp-gc__embedded-shortcode {
  min-width: 0;
  width: 100%;
}

.itp-gc__embedded-shortcode > *,
.itp-gc__embedded-shortcode iframe {
  max-width: 100% !important;
}

.itp-gc__standings .itp-gc__embedded-shortcode > *,
.itp-gc__podcast .itp-gc__embedded-shortcode > * {
  width: 100% !important;
}

/* The standings shortcode is a light design, so its containing panel is light too. */
.itp-gc__standings {
  border-color: #dedede;
  background: #fff;
  color: #111;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}

.itp-gc__standings .itp-gc__section-heading {
  border-bottom-color: #dedede;
}

.itp-gc__standings .itp-gc__section-heading h2 {
  color: #111;
}

.itp-gc__standings .itp-gc__section-heading p {
  color: #666;
}

.itp-gc__standings .itp-gc__embedded-shortcode {
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fff;
  color: #111;
}

.itp-gc__forum-full {
  margin-top: 32px;
  padding: 0;
}

.itp-gc__forum-full summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 34px;
  cursor: pointer;
  list-style: none;
}

.itp-gc__forum-full summary::-webkit-details-marker {
  display: none;
}

.itp-gc__forum-full summary span {
  display: grid;
  gap: 4px;
}

.itp-gc__forum-full summary b {
  color: #fff;
  font-size: clamp(24px,3vw,36px);
}

.itp-gc__forum-full summary small {
  color: var(--itp-muted);
  font-size: 13px;
}

.itp-gc__forum-full summary i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--itp-border);
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  font-style: normal;
  transition: transform .2s ease;
}

.itp-gc__forum-full[open] summary i {
  transform: rotate(45deg);
}

.itp-gc__forum-content {
  padding: 0 34px 34px;
}

.itp-gc__error {
  display: grid;
  gap: 7px;
  padding: 24px;
  border: 1px solid #f2bbbb;
  border-radius: 12px;
  background: #fff0f0;
  color: #691313;
}

@media (max-width: 1000px) {
  .itp-gc__layout {
    grid-template-columns: 1fr;
  }

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

  .itp-gc__sidebar > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .itp-gc__topline {
    grid-template-columns: 1fr;
  }

  .itp-gc__selector {
    max-width: none;
    justify-self: stretch;
  }

  .itp-gc__matchup {
    gap: 16px;
  }

  .itp-gc__logo-wrap {
    width: 130px;
  }

  .itp-gc__team-name {
    font-size: 24px;
  }

  .itp-gc-countdown {
    grid-template-columns: repeat(4,1fr);
  }

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

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

@media (max-width: 650px) {
  .itp-game-center-page .site-content > .container,
  .itp-game-center-page .site-content > .ast-container,
  .itp-game-center-page .content-container,
  .itp-game-center-page .site-main > .container {
    width: min(100% - 18px, 1320px) !important;
  }

  .itp-gc__hero {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .itp-gc__title {
    font-size: 44px;
  }

  .itp-gc__matchup {
    grid-template-columns: 1fr auto 1fr;
    margin-top: 42px;
  }

  .itp-gc__logo-wrap {
    width: 92px;
  }

  .itp-gc__team-name {
    font-size: 17px;
  }

  .itp-gc__mascot {
    font-size: 9px;
  }

  .itp-gc__versus {
    width: 48px;
  }

  .itp-gc-countdown {
    gap: 7px;
  }

  .itp-gc-countdown__unit {
    padding: 12px 5px;
  }

  .itp-gc-countdown__unit strong {
    font-size: 25px;
  }

  .itp-gc-countdown__unit span {
    font-size: 8px;
  }

  .itp-gc__facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .itp-gc__fact {
    min-height: 0;
    padding: 18px 15px;
  }

  .itp-gc-card {
    padding: 24px 20px;
  }

  .itp-gc__sidebar {
    grid-template-columns: 1fr;
  }

  .itp-gc__section-heading {
    align-items: flex-start;
  }

  .itp-gc__section-heading p {
    display: none;
  }

  .itp-gc__forum-full summary {
    padding: 22px 20px;
  }

  .itp-gc__forum-content {
    padding: 0 20px 24px;
  }
}

@media (max-width: 430px) {
  .itp-gc__logo-wrap {
    width: 76px;
  }

  .itp-gc__team-name {
    font-size: 14px;
  }

  .itp-gc__kickoff-line {
    font-size: 13px;
  }
}

/* ================================================================
 * Version 1.3: wide, compact desktop dashboard
 * ================================================================ */

.itp-game-center-page {
  overflow-x: clip;
}

/* game-center.js applies this to every content ancestor of the shortcode. */
.itp-game-center-page .itp-gc-host-wide {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  flex: 1 1 100% !important;
  grid-column: 1 / -1 !important;
}

.itp-gc {
  width: min(1420px, calc(100% - 32px));
  max-width: 1420px;
  margin: 0 auto 48px;
}

.itp-gc__hero {
  padding: clamp(26px, 3vw, 42px) clamp(26px, 4vw, 54px);
  border-radius: 22px;
}

.itp-gc__topline {
  grid-template-columns: minmax(250px, .72fr) minmax(420px, 1.28fr);
  align-items: center;
  gap: 34px;
}

.itp-gc__title {
  max-width: none;
  font-size: clamp(45px, 4.4vw, 68px);
  line-height: .84;
  white-space: nowrap;
}

.itp-gc__selector {
  max-width: 640px;
}

.itp-gc__selector select {
  min-height: 50px;
  font-size: 16px;
}

.itp-gc__matchup {
  max-width: 900px;
  gap: clamp(24px, 5vw, 64px);
  margin: 28px auto 18px;
}

.itp-gc__logo-wrap {
  width: clamp(116px, 10vw, 150px);
  margin-bottom: 12px;
}

.itp-gc__logo-fallback {
  font-size: clamp(38px, 4vw, 58px);
}

.itp-gc__team-name {
  font-size: clamp(23px, 2.35vw, 32px);
}

.itp-gc__mascot {
  margin-top: 3px;
  font-size: 11px;
}

.itp-gc__versus {
  width: clamp(58px, 5vw, 72px);
}

.itp-gc__kickoff-line {
  font-size: clamp(15px, 1.3vw, 18px);
}

.itp-gc-countdown {
  grid-template-columns: repeat(4, minmax(86px, 118px));
  gap: 11px;
  margin-top: 20px;
}

.itp-gc-countdown__unit {
  padding: 13px 10px;
  border-radius: 11px;
}

.itp-gc-countdown__unit strong {
  font-size: clamp(30px, 3vw, 42px);
}

.itp-gc-countdown__unit span {
  margin-top: 5px;
  font-size: 9px;
}

.itp-gc__facts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 24px;
}

.itp-gc__fact {
  min-height: 104px;
  padding: 17px 16px;
  border-radius: 13px;
}

.itp-gc__fact > span {
  margin-bottom: 7px;
  font-size: 9px;
}

.itp-gc__fact strong {
  font-size: 16px;
  line-height: 1.22;
}

.itp-gc__fact small {
  margin-top: 5px;
  font-size: 11px;
}

.itp-gc__layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, .85fr);
  gap: 22px;
}

.itp-gc__main,
.itp-gc__sidebar {
  gap: 22px;
}

.itp-gc-card {
  padding: 26px;
  border-radius: 17px;
}

.itp-gc__section-heading {
  margin-bottom: 20px;
  padding-bottom: 16px;
}

.itp-gc__section-heading h2 {
  font-size: clamp(28px, 2.6vw, 40px);
}

.itp-gc__empty-state {
  min-height: 0;
  padding: 28px 24px;
}

.itp-gc__resource-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.itp-gc__resource-list a {
  min-width: 0;
  padding: 13px 14px;
  font-size: 14px;
}

/* Podcast becomes a wide horizontal feature instead of a narrow tall rail. */
.itp-gc__podcast {
  display: grid;
  grid-template-columns: minmax(210px, .3fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  margin-top: 22px;
}

.itp-gc__podcast > .itp-gc__section-heading {
  height: 100%;
  margin: 0;
  padding: 0 28px 0 0;
  border-right: 1px solid var(--itp-border);
  border-bottom: 0;
}

.itp-gc__podcast > .itp-gc__embedded-shortcode,
.itp-gc__podcast > iframe,
.itp-gc__podcast > .itp-gc__primary-button {
  min-width: 0;
}

/* Keep embedded podcast designs from imposing narrow fixed widths. */
.itp-gc__podcast .itp-gc__embedded-shortcode > *,
.itp-gc__podcast .itp-gc__embedded-shortcode > * > * {
  max-width: 100% !important;
}

/* Football-only standings: no hub picker, no duplicate title, no summary tiles. */
.itp-gc__standings {
  margin-top: 22px;
  padding: 26px;
}

.itp-gc__standings .itp-gc__section-heading {
  margin-bottom: 16px;
}

.itp-gc__standings .itp-st-wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.itp-gc__standings .itp-st-header {
  margin-bottom: 10px !important;
}

.itp-gc__standings .itp-st-summary,
.itp-gc__standings .itp-hub-toolbar,
.itp-gc__standings .itp-hub-picker {
  display: none !important;
}

.itp-gc__standings .itp-st-table-scroll {
  box-shadow: none !important;
}

.itp-gc__standings .itp-st-table th,
.itp-gc__standings .itp-st-table td {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}

.itp-gc__forum-full {
  margin-top: 22px;
}

@media (max-width: 1180px) {
  .itp-gc__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .itp-gc__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr);
  }
}

@media (max-width: 940px) {
  .itp-gc__topline {
    grid-template-columns: 1fr;
  }

  .itp-gc__title {
    white-space: normal;
  }

  .itp-gc__selector {
    max-width: none;
  }

  .itp-gc__layout {
    grid-template-columns: 1fr;
  }

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

  .itp-gc__podcast {
    grid-template-columns: 1fr;
  }

  .itp-gc__podcast > .itp-gc__section-heading {
    height: auto;
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--itp-border);
  }
}

@media (max-width: 680px) {
  .itp-gc {
    width: min(100% - 18px, 1420px);
  }

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

  .itp-gc__sidebar {
    grid-template-columns: 1fr;
  }

  .itp-gc__resource-list {
    grid-template-columns: 1fr;
  }

  .itp-gc__standings,
  .itp-gc-card {
    padding: 20px;
  }
}

/* ================================================================
 * Version 1.4: viewport-width dashboard and compact integrations
 * ================================================================ */

.itp-game-center-page {
  overflow-x: clip;
}

/* JS marks only overflow ancestors; it no longer tries to resize theme grids. */
.itp-game-center-page .itp-gc-overflow-host {
  overflow: visible !important;
}

.itp-gc {
  width: 100%;
  max-width: none;
  margin: 0 0 44px;
  transform: none;
  transform-origin: top left;
}

.itp-gc[data-itp-gc-wide="1"] {
  will-change: transform;
}

.itp-gc__hero {
  padding: 34px 46px 30px;
  border-radius: 22px;
}

.itp-gc__topline {
  grid-template-columns: minmax(360px, .95fr) minmax(420px, 1.05fr);
  gap: 36px;
  align-items: center;
}

.itp-gc__title {
  font-size: clamp(52px, 5.1vw, 78px);
  line-height: .82;
  white-space: nowrap;
}

.itp-gc__selector {
  max-width: 650px;
}

.itp-gc__matchup {
  max-width: 980px;
  margin: 30px auto 18px;
  align-items: start;
  gap: clamp(34px, 6vw, 86px);
}

.itp-gc__team {
  display: grid;
  grid-template-rows: auto minmax(2.25em, auto) auto;
  justify-items: center;
  align-content: start;
}

.itp-gc__logo-wrap {
  width: clamp(132px, 11vw, 172px);
  height: clamp(132px, 11vw, 172px);
  aspect-ratio: auto;
  margin-bottom: 13px;
}

.itp-gc__logo {
  width: 80%;
  height: 80%;
}

.itp-gc__team-name {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 2.25em;
  max-width: 290px;
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.08;
  text-align: center;
  text-wrap: balance;
}

.itp-gc__mascot {
  align-self: start;
}

.itp-gc__versus {
  align-self: center;
  margin-top: 38px;
}

.itp-gc__kickoff-line {
  font-size: 17px;
}

.itp-gc-countdown {
  margin-top: 20px;
}

/* A real information bar: weather and location receive more width. */
.itp-gc__facts {
  grid-template-columns: .88fr .95fr 1.45fr .9fr 1fr 1.7fr;
  gap: 12px;
  margin: 16px 0 24px;
}

.itp-gc__fact {
  min-height: 106px;
  padding: 18px 17px;
}

.itp-gc__fact strong {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  font-size: 17px;
  line-height: 1.24;
}

.itp-gc__fact small {
  font-size: 12px;
}

.itp-gc__fact--link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(225,40,46,.8);
  text-underline-offset: 4px;
}

.itp-gc__fact--link a:hover {
  color: #ff7d82;
}

.itp-gc__fact--link b {
  color: var(--itp-red-bright);
  font-size: 13px;
}

.itp-gc__layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, .9fr);
  gap: 24px;
}

.itp-gc__resource-list a {
  overflow-wrap: normal;
  word-break: normal;
}

/* Podcast output is rebuilt into a predictable two-column feature. */
.itp-gc__podcast {
  display: block;
  margin-top: 24px;
}

.itp-gc__podcast > .itp-gc__section-heading {
  height: auto;
  margin: 0 0 22px;
  padding: 0 0 16px;
  border-right: 0;
  border-bottom: 1px solid var(--itp-border);
}

.itp-gc__podcast-body {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(420px, 1.15fr);
  gap: 30px;
  align-items: center;
}

.itp-gc__podcast-copy > span {
  color: var(--itp-red-bright);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.itp-gc__podcast-copy h3 {
  margin: 8px 0 14px;
  color: #fff;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: .95;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.itp-gc__podcast-copy p {
  margin: 0;
  max-width: 680px;
  color: #d2d2d2;
  font-size: 16px;
  line-height: 1.55;
}

.itp-gc__podcast-media {
  min-width: 0;
}

.itp-gc__podcast-media iframe {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  border: 0;
  border-radius: 12px;
  background: #000;
}

.itp-gc__podcast-fallback {
  width: 100%;
  overflow: hidden;
}

.itp-gc__podcast-fallback h1,
.itp-gc__podcast-fallback h2,
.itp-gc__podcast-fallback h3 {
  font-size: clamp(28px, 3.5vw, 50px) !important;
  line-height: .98 !important;
}

/* Compact football table: no desktop horizontal scroll. */
.itp-gc__standings .itp-st-wrap {
  margin-bottom: 0 !important;
}

.itp-gc__standings .itp-st-table-scroll {
  width: 100% !important;
  overflow-x: hidden !important;
}

.itp-gc__standings .itp-st-table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
}

/* Keep the most useful six columns in the compact Game Center table. */
.itp-gc__standings .itp-st-table th:nth-child(3),
.itp-gc__standings .itp-st-table td:nth-child(3),
.itp-gc__standings .itp-st-table th:nth-child(5),
.itp-gc__standings .itp-st-table td:nth-child(5),
.itp-gc__standings .itp-st-table th:nth-child(8),
.itp-gc__standings .itp-st-table td:nth-child(8) {
  display: none !important;
}

.itp-gc__standings .itp-st-table th:first-child,
.itp-gc__standings .itp-st-table td:first-child {
  width: 31% !important;
}

.itp-gc__standings .itp-st-table th,
.itp-gc__standings .itp-st-table td {
  padding: 9px 6px !important;
  font-size: 11px !important;
  white-space: nowrap !important;
}

.itp-gc__standings .itp-st-footer {
  display: none !important;
}

@media (max-width: 1120px) {
  .itp-gc__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .itp-gc__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  }
}

@media (max-width: 920px) {
  .itp-gc__topline {
    grid-template-columns: 1fr;
  }

  .itp-gc__title {
    white-space: normal;
  }

  .itp-gc__layout,
  .itp-gc__podcast-body {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .itp-gc__hero {
    padding: 27px 18px 24px;
  }

  .itp-gc__matchup {
    gap: 12px;
  }

  .itp-gc__logo-wrap {
    width: 88px;
    height: 88px;
  }

  .itp-gc__team-name {
    min-height: 2.4em;
    font-size: 17px;
  }

  .itp-gc__versus {
    margin-top: 20px;
  }

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

  .itp-gc__sidebar {
    grid-template-columns: 1fr;
  }

  .itp-gc__podcast-copy h3 {
    font-size: 32px;
  }
}

/* ================================================================
   Game Center 1.5 layout refinements
   ================================================================ */

/* Keep each dashboard column flowing independently. Placing the podcast
   immediately below series history removes the large dead area that appeared
   while the resources/forum column was taller. */
.itp-gc__main,
.itp-gc__sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.itp-gc__main > .itp-gc-card,
.itp-gc__sidebar > .itp-gc-card {
  margin-top: 0;
  margin-bottom: 0;
}

.itp-gc__main .itp-gc__podcast {
  margin-top: 0;
}

/* The podcast now lives in the wider history column, so use a compact split
   that remains readable without becoming another full-width page section. */
.itp-gc__main .itp-gc__podcast-body {
  grid-template-columns: minmax(240px, .82fr) minmax(320px, 1.18fr);
  gap: 22px;
  align-items: center;
}

.itp-gc__main .itp-gc__podcast-copy h3 {
  font-size: clamp(28px, 2.7vw, 42px);
}

/* The original standings shortcode reserves a very wide school column.
   A fixed, practical school width keeps the conference record visually close
   to the team while the remaining five columns share the available space. */
.itp-gc__standings .itp-st-table th:first-child,
.itp-gc__standings .itp-st-table td:first-child {
  width: 240px !important;
}

.itp-gc__standings .itp-st-table th:not(:first-child),
.itp-gc__standings .itp-st-table td:not(:first-child) {
  width: auto !important;
}

@media (max-width: 1120px) {
  .itp-gc__standings .itp-st-table th:first-child,
  .itp-gc__standings .itp-st-table td:first-child {
    width: 220px !important;
  }
}

@media (max-width: 920px) {
  .itp-gc__main .itp-gc__podcast-body {
    grid-template-columns: 1fr;
  }
}



/* v1.6 performance states: standings are fetched only as the panel nears view. */
.itp-gc__standings-loader {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 118px;
  padding: 24px;
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fafafa;
  color: #222;
  text-align: center;
}

.itp-gc__standings-loader strong {
  color: #222;
  font-size: 16px;
}

.itp-gc__standings-loader small {
  color: #6e6e6e;
  font-size: 12px;
}

.itp-gc__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #dedede;
  border-top-color: var(--itp-red);
  border-radius: 50%;
  animation: itp-gc-spin .8s linear infinite;
}

.itp-gc__standings-retry {
  min-height: 42px;
  padding: 9px 16px;
  border: 0;
  border-radius: 9px;
  background: var(--itp-red);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.itp-gc__standings.is-loaded .itp-gc__embedded-shortcode {
  animation: itp-gc-fade-in .18s ease-out;
}

@keyframes itp-gc-spin {
  to { transform: rotate(360deg); }
}

@keyframes itp-gc-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .itp-gc__spinner,
  .itp-gc__standings.is-loaded .itp-gc__embedded-shortcode {
    animation: none;
  }
}
