.season-spotlight {
  --spotlight-paper: #f9f4e9;
  --spotlight-ink: #211d19;
  --spotlight-muted: #514941;
  --spotlight-rule: #d8cdbb;
  --spotlight-accent: #842026;
  --spotlight-panel: #4d171e;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  container: spotlight / inline-size;
  scroll-margin-top: 75px;
  border: 1px solid var(--spotlight-rule);
  border-radius: 8px;
  background: var(--spotlight-paper);
  color: var(--spotlight-ink);
  font: 14px/1.5 'TSP Home Inter', Inter, system-ui, sans-serif;
}

.season-spotlight[data-spotlight-palette="teal"] { --spotlight-accent: #075d56; --spotlight-panel: #123a37; }
.season-spotlight[data-spotlight-palette="blue"] { --spotlight-accent: #214a74; --spotlight-panel: #182d43; }
.season-spotlight[data-spotlight-palette="violet"] { --spotlight-accent: #5d367e; --spotlight-panel: #36204e; }
.season-spotlight[data-spotlight-palette="gold"] { --spotlight-accent: #705221; --spotlight-panel: #3e3121; }
.season-spotlight[data-spotlight-palette="orange"] { --spotlight-accent: #a43b12; --spotlight-panel: #4d2517; }

.season-spotlight :is(h2, h3, p, figure) { margin: 0; }

.season-spotlight-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 65px;
  padding: 11px 20px;
  border-bottom: 3px solid #e3b665;
  background: #211c19;
  color: #fff6e9;
}

.season-spotlight-header > img {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.season-spotlight .season-spotlight-label {
  margin: 0;
  color: inherit;
  font: 800 clamp(21px, 3.5cqi, 30px)/1.12 'TSP Home Inter', Inter, system-ui, sans-serif;
  letter-spacing: -.025em;
}

.season-spotlight-year {
  margin-inline-start: auto;
  padding-inline-start: 12px;
  border-inline-start: 1px solid #75645b;
  color: #f1cf96;
  font-size: clamp(13px, 2.1cqi, 17px);
  font-weight: 800;
  text-align: end;
  white-space: nowrap;
}

.season-spotlight-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(15px, 3.4cqi, 34px);
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(16px, 3.4cqi, 30px);
}

.season-spotlight-photo {
  align-self: start;
  min-width: 0;
}

.season-spotlight-photo > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--spotlight-rule);
  border-radius: 4px;
  background: #e7ddca;
}

.season-spotlight-photo--nba { align-self: center; }
.season-spotlight-photo--nba > img { object-position: 50% 36%; }
.season-spotlight-photo--nhl { align-self: center; }
.season-spotlight-photo--nhl > img { object-position: 49% center; }
.season-spotlight-photo--mlb { align-self: center; }
.season-spotlight-photo--mlb > img { object-position: center 28%; }

.season-spotlight-photo--nfl { align-self: center; }
.season-spotlight-photo--nfl > img { object-position: 15% top; }

.season-spotlight-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 175px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--spotlight-panel);
  color: #fff6e999;
}

.season-spotlight-art-lines {
  position: absolute;
  z-index: -1;
  inset: 14px;
  border: 1px solid currentColor;
}

.season-spotlight-art-lines::before,
.season-spotlight-art-lines::after {
  position: absolute;
  content: "";
}

:is([data-spotlight-visual="pitch"], [data-spotlight-visual="tennis"]) .season-spotlight-art {
  background-color: #173c32;
  background-image: repeating-linear-gradient(90deg, transparent 0 14%, #fff1 14% 28%);
}

[data-spotlight-visual="pitch"] .season-spotlight-art-lines {
  background: linear-gradient(90deg, transparent calc(50% - .5px), currentColor 0 calc(50% + .5px), transparent 0);
}

[data-spotlight-visual="pitch"] .season-spotlight-art-lines::before {
  inset: 50% auto auto 50%;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

[data-spotlight-visual="pitch"] .season-spotlight-art-lines::after {
  inset: 25% 0;
  border-inline: 19px double currentColor;
}

[data-spotlight-visual="tennis"] .season-spotlight-art-lines {
  inset: 20% 14%;
  background: linear-gradient(transparent calc(50% - .5px), currentColor 0 calc(50% + .5px), transparent 0);
}

[data-spotlight-visual="tennis"] .season-spotlight-art-lines::before {
  inset: 15% -1px;
  border: 1px solid currentColor;
}

[data-spotlight-visual="tennis"] .season-spotlight-art-lines::after {
  inset: 15% 24%;
  border-inline: 1px solid currentColor;
  background: linear-gradient(90deg, transparent calc(50% - 1px), #fff6e9 0 calc(50% + 1px), transparent 0);
}

[data-spotlight-visual="gridiron"] .season-spotlight-art {
  background: repeating-linear-gradient(90deg, #fff1 0 12.5%, transparent 12.5% 25%), var(--spotlight-panel);
}

[data-spotlight-visual="gridiron"] .season-spotlight-art-lines {
  background: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), currentColor 0 12.5%);
}

[data-spotlight-visual="gridiron"] .season-spotlight-art-lines::before,
[data-spotlight-visual="gridiron"] .season-spotlight-art-lines::after {
  inset: 34% 0 auto;
  border-top: 1px dashed currentColor;
}

[data-spotlight-visual="gridiron"] .season-spotlight-art-lines::after { top: 66%; }

[data-spotlight-visual="court"] .season-spotlight-art {
  background: repeating-linear-gradient(0deg, transparent 0 8px, #fff1 8px 9px), var(--spotlight-panel);
}

[data-spotlight-visual="court"] .season-spotlight-art-lines,
[data-spotlight-visual="ice"] .season-spotlight-art-lines {
  background: linear-gradient(90deg, transparent calc(50% - .5px), currentColor 0 calc(50% + .5px), transparent 0);
}

[data-spotlight-visual="court"] .season-spotlight-art-lines::before,
[data-spotlight-visual="court"] .season-spotlight-art-lines::after {
  inset: 13% auto 13% -1px;
  width: 35%;
  border: 1px solid currentColor;
  border-radius: 0 50% 50% 0;
  background: linear-gradient(currentColor, currentColor) left center / 35% 1px no-repeat;
}

[data-spotlight-visual="court"] .season-spotlight-art-lines::after {
  inset-inline: auto -1px;
  transform: scaleX(-1);
}

[data-spotlight-visual="ice"] .season-spotlight-art {
  background: #dce8ed;
  color: #2b4a7788;
}

[data-spotlight-visual="ice"] .season-spotlight-art-lines {
  border-radius: 18% / 32%;
}

[data-spotlight-visual="ice"] .season-spotlight-art-lines::before,
[data-spotlight-visual="ice"] .season-spotlight-art-lines::after {
  inset: 28% auto auto 19%;
  width: 17%;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
}

[data-spotlight-visual="ice"] .season-spotlight-art-lines::after { inset-inline: auto 19%; }

[data-spotlight-visual="ring"] .season-spotlight-art-lines {
  inset: 19% 20%;
  border: 3px double currentColor;
  transform: skewY(-10deg) rotate(-6deg);
  box-shadow: 7px 7px 0 0 #211c19;
}

[data-spotlight-visual="ring"] .season-spotlight-art-lines::before {
  inset: -7px;
  background:
    linear-gradient(#ac4634, #ac4634) left top / 13px 13px no-repeat,
    linear-gradient(#ac4634, #ac4634) right bottom / 13px 13px no-repeat,
    linear-gradient(#dbb272, #dbb272) right top / 13px 13px no-repeat,
    linear-gradient(#dbb272, #dbb272) left bottom / 13px 13px no-repeat;
}

[data-spotlight-visual="broadcast"] .season-spotlight-art-lines {
  inset: 23% 21%;
  border: 3px double currentColor;
  border-radius: 10% / 15%;
  background:
    linear-gradient(#ebc585 0 0) 50% 66% / 66% 11% no-repeat,
    linear-gradient(#ece0c95e 0 0) 50% 47% / 66% 2px no-repeat,
    linear-gradient(#ece0c95e 0 0) 50% 36% / 66% 2px no-repeat;
}

[data-spotlight-visual="broadcast"] .season-spotlight-art-lines::before {
  inset: auto 50% 100% auto;
  width: 27%;
  height: 17%;
  border-inline-end: 1px solid currentColor;
  transform: rotate(-38deg);
  transform-origin: bottom right;
}

[data-spotlight-visual="broadcast"] .season-spotlight-art-lines::after {
  inset: 100% 22% auto;
  height: 10%;
  border-inline: 2px solid currentColor;
}

[data-spotlight-visual="ratings"] .season-spotlight-art-lines {
  inset: 14%;
  border: 0;
  background: repeating-radial-gradient(circle, #edc180 0 1px, transparent 1px 13px);
  mask-image: radial-gradient(ellipse, #000, transparent 73%);
}

.season-spotlight-art > img {
  width: 74px;
  height: 74px;
  padding: 9px;
  object-fit: contain;
  border-radius: 50%;
  background: #fbf2df;
  box-shadow: 0 4px 14px #20181046;
}

.season-spotlight-story { min-width: 0; }

.season-spotlight .season-spotlight-distinction {
  color: var(--spotlight-accent);
  font: 800 clamp(12px, 1.8cqi, 14px)/1.35 'TSP Home Inter', Inter, system-ui, sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}

main #season-spotlight .season-spotlight-title {
  margin-block: 4px 8px;
  color: var(--spotlight-ink);
  font: 700 clamp(31px, 6.3cqi, 51px)/1.04 Georgia, 'Times New Roman', serif;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.season-spotlight .season-spotlight-note {
  color: var(--spotlight-muted);
  font-size: clamp(15px, 2.2cqi, 18px);
  line-height: 1.5;
}

main > .season-spotlight, .v3-page.big3-history .season-spotlight { margin-block: 14px; }

@media (max-width: 760px) {
  body[data-preview-home-style] #tsp-stories.v3-page .preview-espn-feed > .season-spotlight--section { order: 28; }
  body.tsp-nfl-home-style[data-preview-home-style] #tsp-stories.v3-page .preview-espn-feed > .season-spotlight--section { order: 26; }
}

@container spotlight (max-width: 520px) {
  .season-spotlight-header { padding-inline: 14px; }
  .season-spotlight-content { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 13px; }
  .season-spotlight-photo > img { aspect-ratio: 16 / 9; }
  .season-spotlight-photo--nhl > img { object-position: 37% center; }
  .season-spotlight-art { min-height: 124px; aspect-ratio: 2.4; }
  .season-spotlight-art > img { width: 57px; height: 57px; padding: 6px; }
}

@container spotlight (max-width: 310px) {
  .season-spotlight-header { gap: 8px; }
  .season-spotlight-year { padding-inline-start: 7px; white-space: normal; }
}
