/* Spotlight's content layout. Typography, navigation and window chrome come
   from os8088.css, shared with the rest of the site. */
.spot--editorial {
  --spot-accent: #25eee5;
  --spot-rule: #959894;
  background: var(--ground);
}
.spot--editorial :where(main) :is(h1, h2, h3) {
  text-wrap: pretty;
}
.spot--editorial :where(main) :is(h2, h3) { padding: 0; border: 0; }
.spot--editorial :where(main) h1 { font-size: clamp(36px, 4.7vw, 60px); }
.spot--editorial :where(main) h2 { font-size: clamp(30px, 3.8vw, 46px); }
.spot--editorial :where(main) h3 { font-size: 25px; }
.spot--editorial code { white-space: normal; overflow-wrap: anywhere; }
.spot--editorial pre code { white-space: pre; overflow-wrap: normal; }
.spot--editorial p { text-wrap: pretty; }
.spot--editorial img[src$=".jpg"] { image-rendering: auto; }
body.spot--editorial main.wrap {
  max-width: 1192px;
  padding: 28px 0 0;
}
body.spot--editorial main.wrap > * { width: 100%; max-width: none; margin-inline: 0; }
.spot-back { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 34px; font-size: var(--fs-small); }
.spot-back a { text-decoration: none; }
.spot-back > span { text-align: right; text-transform: uppercase; }
.spot-hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 36px; align-items: center; margin-bottom: 32px; }
.spot-hero__copy { min-width: 0; }
.spot-hero__copy .stack > * + * { margin-top: 18px; }
.spot-hero h1 { margin-bottom: 18px; }
.spot--editorial .spot-kicker { text-transform: uppercase; margin: 0 0 18px; }
.spot-kicker a { text-decoration: none; }
.spot-hero__copy .note { padding: 0; border: 0; }
.spot--editorial .cta { align-items: center; gap: 14px 24px; margin-top: 24px; }
.spot--editorial .cta .btn { width: auto; max-width: 100%; }
.spot--editorial .cta > .btn:not(.btn--default) { padding-inline: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 5px; }
.spot--editorial .cta > .btn:not(.btn--default):hover { color: var(--ink); text-decoration-thickness: 3px; }
.spot--editorial .btn--default::after { content: " \2193"; }
.spot--editorial [data-play-video]::after { content: none; }
.spot-play-icon { color: var(--spot-accent); margin-right: 5px; }
.spot--editorial .shot { min-width: 0; }
.spot--editorial .shot img { width: 100%; max-width: none; }
.spot--editorial .shot figcaption { padding: 10px 12px; }
.spot--editorial .shot figcaption b { display: inline; }
.spot--editorial .shot figcaption a { display: inline; }
.spot--editorial .specs.spot-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 14px 0; gap: 0; border-block: 2px solid var(--spot-rule); background: none; }
.spot--editorial .spot-facts > div { background: none; padding: 0 24px; min-width: 0; }
.spot-facts > div + div { border-left: 1px solid var(--spot-rule); }
.spot--editorial .spot-facts dd { overflow-wrap: anywhere; }
.spot--editorial .spot-facts dt { margin-top: 0; padding-top: 4px; }
.spot-index { display: flex; align-items: baseline; gap: 22px; padding: 15px 0; border-bottom: 2px solid var(--spot-rule); }
.spot-index > p { flex: 0 0 auto; margin: 0; text-transform: uppercase; font: var(--fs-px-small)/1.5 var(--font-px); }
.spot--editorial .spot-toc { flex: 1; gap: 10px 22px; border: 0; margin: 0; padding: 0; counter-reset: chapter; }
.spot--editorial .spot-toc li { counter-increment: chapter; }
.spot--editorial .spot-toc li::before { content: none; }
.spot--editorial .spot-toc a::before { content: counter(chapter, decimal-leading-zero) " "; margin-right: 5px; }
.spot-section { padding-block: 36px; }
.spot-section + .spot-section { border-top: 1px solid var(--rule-faint); }
.spot-section__heading { margin-bottom: 24px; }
.spot--editorial .spot-section > .spot-section__heading { max-width: none; margin-inline: 0; }
.spot-section__heading h2 { margin: 12px 0 0; }
.spot-section__heading > p:not(.spot-label) { margin: 12px 0 0; max-width: 75ch; }
.spot--editorial .spot-label { display: table; width: fit-content; margin: 0; padding: 3px 8px; background: var(--spot-accent); color: #000; font: var(--fs-px-small)/1.3 var(--font-px); text-transform: uppercase; }
.spot-section > :not(.spot-section__heading) + :not(.spot-section__heading) { margin-top: 24px; }
.spot-section .win:not(.shot) { border: 0; box-shadow: none; background: none; color: inherit; }
.spot-section .win:not(.shot) > .titlebar { display: none; }
.spot-section .win__body { padding: 0; }
.spot-section .win__body.stack > * + * { margin-top: 18px; }
.spot-section > .win:not(.shot) { max-width: 85ch; margin-inline: auto; }
.spot-section > .win:has(table), .spot-section > .win:has(pre), .spot-section.spot-section--run > .win { max-width: none; }
.spot-section .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.spot-section .spot-cards { align-items: start; }
.spot-section .spot-cards > .win { padding-top: 18px; border-top: 1px solid var(--spot-rule); }
.spot-section .spot-cards h3 { margin-top: 0; }
.spot-section--dark {
  --ink: #fff;
  --paper: #111;
  --chip: #292929;
  --rule-faint: #454545;
  --spot-rule: #747474;
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background: var(--paper);
}
.spot-section--dark::before { content: ""; position: absolute; z-index: -1; inset: 0 calc((min(1192px, 100vw - 64px) - 100vw) / 2); background: var(--paper); }
.spot-section--dark a:focus-visible { outline-color: #fff; }
.spot--editorial .spot-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: none; }
.spot--editorial .spot-steps > li { grid-template-columns: 34px minmax(0, 1fr); align-content: start; gap: 0 16px; margin: 0; }
.spot-steps > li + li { padding-left: 24px; border-left: 1px solid var(--spot-rule); }
.spot--editorial .spot-steps > li::before { height: 32px; line-height: 28px; }
.spot-steps h3 { font-size: 20px; margin: 0 0 6px; }
.spot-steps p { font-size: 14px; }
.spot--editorial .spot-steps:has(pre) { grid-template-columns: minmax(0, 1fr); }
.spot-steps:has(pre) > li + li { border-left: 0; padding-left: 0; }
.spot-explore { padding: 18px 0 24px; border-top: 2px solid var(--spot-rule); }
.spot-references { padding: 20px 0; border-top: 1px solid var(--spot-rule); }
.spot-references h2 { margin: 0 0 12px; font-size: 28px; }
.spot-references ul { margin: 0; font-size: var(--fs-small); }
.spot-references a { overflow-wrap: anywhere; }
.spot-explore h2 { margin: 0 0 18px; font-size: 24px; }
.spot-explore__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.spot-related { display: grid; grid-template-columns: minmax(100px, .8fr) minmax(0, 1fr); gap: 20px; text-decoration: none; }
.spot-related + .spot-related { border-left: 1px solid var(--spot-rule); padding-left: 32px; }
.spot-related img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; object-position: top; }
.spot-related h3 { margin: 0 0 6px; font-size: 26px; }
.spot-related p { margin: 0; font-size: var(--fs-small); }
.spot--editorial .spot-related:hover { background: none; color: inherit; }
.spot-related:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.spot--editorial .spotlight-hero h1 { font-size: clamp(56px, 8vw, 96px); }
.spot--editorial .spotlight-section-heading { margin-top: 32px; padding-block: 12px; border-top: 2px solid var(--spot-rule); border-bottom: 0; }
.spot--editorial .spotlight-section-heading h2 { font-size: 30px; }
.spot--editorial .spotlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.spot--editorial .spotlight-card { border: 0; box-shadow: none; background: none; }
.spot--editorial .spotlight-card > .titlebar { display: none; }
.spot--editorial .spotlight-card__image { border: 1px solid var(--ink); }
.spot--editorial .spotlight-card .win__body { padding: 20px 0 0; }
.spot--editorial .spotlight-card h3 { font-size: 28px; }
.spot--editorial .spotlight-card .specs { background: none; border-block: 1px solid var(--spot-rule); padding: 8px 0; }
.spot--editorial .spotlight-card .specs > div { background: none; padding: 4px; }
.spot-collection-intro { padding: 12px 0 28px; }
.spot-collection .spotlight-section-heading { display: block; }
.spot-collection .spotlight-section-heading h2 { margin-top: 12px; }
.spot-collection-intro h1 { max-width: 18ch; }
.spot-collection-intro p { max-width: 65ch; }
.spot--editorial [id] { scroll-margin-top: 60px; }

/* FF7's short visual story, also built from the shared article components. */
.spot--editorial .specs.spot-facts--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spot-video { position: relative; display: block; width: 100%; border: 0; padding: 0; background: #111; cursor: pointer; }
.spot-video img { display: block; }
.spot-video__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--spot-accent); color: #000; padding: 12px 22px; font: 26px/1 var(--font-body); }
.spot-video:hover .spot-video__play { background: #fff; }
.spot-video:focus-visible { outline: 3px solid var(--spot-accent); outline-offset: -4px; }
.spot-video-frame { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.spot-video-caption { display: flex; justify-content: space-between; gap: 12px; }
.spot-battle { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.spot-battle h3 { font-size: 32px; }
.spot-commands { max-width: none; margin: 20px 0 0; }
.spot-commands > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--spot-rule); }
.spot-commands dt { font: var(--fs-px-small)/1.4 var(--font-px); text-transform: uppercase; }
.spot-commands dd { margin: 0; font-size: var(--fs-small); }
.spot-launch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 36px; max-width: 900px; }
.spot-launch h3 { font-size: 24px; }
.spot-launch > a:hover { background: none; }
.spot-launch img { display: block; max-height: 190px; object-fit: contain; object-position: left; }
.spot-trick { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.spot-sequence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.spot-sequence figure { position: relative; margin: 0; min-width: 0; }
.spot-sequence figure + figure::before { content: "\25b6"; position: absolute; top: 37%; left: -20px; color: var(--spot-accent); font-size: 13px; }
.spot-sequence img { display: block; width: 100%; border: 1px solid #ddd; }
.spot-sequence figcaption { padding-top: 10px; text-align: center; font-size: var(--fs-small); }
.spot-trick__copy { border-left: 1px solid var(--spot-rule); padding-left: 24px; font-size: 14px; }
.spot-trick__copy blockquote { margin: 18px 0 0; padding-left: 16px; border-left: 7px solid var(--spot-accent); font: 26px/1.1 var(--font-px); }
.spot-hardware { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 36px; }
.spot-hardware > a { display: block; }
.spot-hardware img { display: block; width: 100%; }
.spot-hardware h3 { font-size: 30px; }
.spot-clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.spot-clip { position: relative; display: block; background: #000; color: #fff; text-decoration: none; }
.spot-clip img { display: block; width: 100%; aspect-ratio: 2.5; object-fit: cover; }
.spot-clip span { display: block; padding: 5px 8px; font: var(--fs)/1.2 var(--font-px); }
.spot-clip span::before { content: "\25b6"; display: inline-block; padding: 2px 8px; margin: -5px 8px -5px -8px; color: #000; background: var(--spot-accent); }
.spot-scope { display: grid; grid-template-columns: 1fr 2.5fr; gap: 28px; border-block: 2px solid var(--spot-rule); padding: 16px 20px; }
.spot-scope h2 { margin: 0; font-size: 24px; }
.spot-scope p { margin: 0; padding-left: 28px; border-left: 1px solid var(--spot-rule); font-size: var(--fs-small); }
.spot-hardware-notes { margin-top: 24px; max-width: 85ch; font-size: 14px; }
.spot-hardware-notes summary { width: fit-content; cursor: pointer; font-size: var(--fs-small); }
.spot-hardware-notes[open] > p { margin: 16px 0 0; }

@media (max-width: 1256px) {
  body.spot--editorial main.wrap { width: calc(100% - 64px); }
}
@media (max-width: 900px) {
  body.spot--editorial main.wrap { width: calc(100% - 48px); }
  .spot-hero { gap: 26px; align-items: start; }
  .spot-hero__copy .stack > * + * { margin-top: 12px; }
  .spot-hero h1 { margin-bottom: 12px; }
  .spot--editorial .spot-hero .cta { gap: 12px; margin-top: 18px; }
  .spot--editorial .spot-facts > div { padding-inline: 12px; }
  .spot-index { gap: 16px; }
  .spot--editorial .spot-toc { gap: 10px 16px; }
  .spot-trick { grid-template-columns: minmax(0, 1fr); }
  .spot-trick__copy { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-left: 0; padding-left: 0; }
  .spot-trick__copy p { margin: 0; }
  .spot-trick__copy blockquote { margin-top: 0; }
  .spot-section--dark::before { inset-inline: -24px; }
  .spot--editorial .spot-steps { gap: 16px; }
  .spot-steps > li + li { padding-left: 16px; }
  .spot--editorial .spot-steps > li { gap: 0 12px; }
  .spot-explore__grid { gap: 24px; }
  .spot-related { gap: 12px; }
  .spot-related + .spot-related { padding-left: 24px; }
}
@media (max-width: 640px) {
  body.spot--editorial main.wrap { width: calc(100% - 36px); }
  body.spot--editorial main.wrap { padding-top: 22px; }
  .spot-back { font-size: 10px; margin-bottom: 26px; }
  .spot-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 26px; }
  .spot-hero h1 { font-size: 42px; }
  .spot--editorial .specs.spot-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .spot--editorial .spot-facts > div { padding-inline: 12px; }
  .spot-facts > div:nth-child(odd) { border-left: 0; }
  .spot-index { display: block; padding-block: 14px; }
  .spot-index > p { margin-bottom: 12px; }
  .spot--editorial .spot-toc { gap: 14px 18px; }
  .spot-toc a { display: inline-block; }
  .spot-section { padding-block: 28px; }
  .spot-section--dark::before { inset-inline: -18px; }
  .spot-section .grid, .spot--editorial .spotlight-grid { grid-template-columns: minmax(0, 1fr); }
  .spot--editorial .spot-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .spot-steps > li + li { border-left: 0; padding-left: 0; }
  .spot-explore__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .spot-related { grid-template-columns: 120px minmax(0, 1fr); }
  .spot-related + .spot-related { border-left: 0; padding-left: 0; }
  .spot-battle, .spot-hardware { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .spot-launch { gap: 20px; }
  .spot-launch h3 { font-size: 20px; }
  .spot-launch p { font-size: 13px; }
  .spot-sequence { gap: 18px; }
  .spot-sequence figure + figure::before { left: -14px; font-size: 10px; }
  .spot-sequence figcaption { font-size: 9px; }
  .spot-trick__copy { display: block; }
  .spot-trick__copy blockquote { margin-top: 20px; }
  .spot-clips { gap: 16px; }
  .spot-clip span { font-size: 11px; }
  .spot-scope { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-inline: 0; }
  .spot-scope p { border-left: 0; padding-left: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .spot-video__play { transition: background-color .15s; }
}
