:root {
  --field: #e7eeff;
  --spine: #ffe14a;
  --ink: #141414;
  --paper: #f7f8ff;
  --muted: #3d4458;
  --rail: 176px;
  --tape: 32px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  background: var(--field);
  color: var(--ink);
  font-family: "Schibsted Grotesk", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
}

.grid-bg {
  display: none;
}

.mast {
  grid-column: 1;
  grid-row: 1 / -1;
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  padding: 16px 12px 12px;
  background: var(--spine);
  border-right: 3px solid var(--ink);
  z-index: 40;
}

.tape {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  container-type: size;
}

.tape-run {
  position: absolute;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--spine);
  color: var(--ink);
  font-family: Anybody, Impact, sans-serif;
  font-size: 14px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.18em;
  line-height: 1;
  white-space: nowrap;
}

.tape-top,
.tape-bottom {
  left: 0;
  right: 0;
  z-index: 2;
  height: var(--tape);
  padding-inline: var(--tape);
  box-sizing: border-box;
  background: var(--spine);
}

.tape-top {
  background:
    linear-gradient(var(--ink), var(--ink)) top / 100% 2px no-repeat,
    var(--spine);
}

.tape-bottom {
  background:
    linear-gradient(var(--ink), var(--ink)) bottom / 100% 2px no-repeat,
    var(--spine);
}

.tape-top {
  top: 0;
}

.tape-bottom {
  bottom: 0;
}

.tape-top .tape-line,
.tape-bottom .tape-line {
  width: 100%;
  margin: 0;
}

.tape-line {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='122' height='32'%3E%3Ctext x='58' y='21' text-anchor='middle' font-family='Arial Black, Impact, sans-serif' font-size='13' fill='%23141414'%3EOFFICIAL ·%3C/text%3E%3C/svg%3E");
  background-repeat: space;
  background-position: center;
  background-size: 122px 100%;
}

.tape-left,
.tape-right {
  top: var(--tape);
  bottom: var(--tape);
  z-index: 1;
  align-items: flex-start;
  width: var(--tape);
  justify-content: center;
  background: var(--spine);
}

.tape-left {
  left: 0;
  background:
    linear-gradient(var(--ink), var(--ink)) left / 2px 100% no-repeat,
    var(--spine);
}

.tape-right {
  right: 0;
  background:
    linear-gradient(var(--ink), var(--ink)) right / 2px 100% no-repeat,
    var(--spine);
}

.tape-fold {
  position: absolute;
  z-index: 3;
  width: var(--tape);
  height: var(--tape);
  background: var(--spine);
}

.tape-fold::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 145%;
  height: 2px;
  background: var(--ink);
}

.tape-fold-tl,
.tape-fold-br {
  background:
    linear-gradient(var(--ink), var(--ink)) top / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) left / 2px 100% no-repeat,
    var(--spine);
}

.tape-fold-tl {
  top: 0;
  left: 0;
}

.tape-fold-br {
  right: 0;
  bottom: 0;
  background:
    linear-gradient(var(--ink), var(--ink)) bottom / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right / 2px 100% no-repeat,
    var(--spine);
}

.tape-fold-tl::before,
.tape-fold-br::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.tape-fold-tr,
.tape-fold-bl {
  background:
    linear-gradient(var(--ink), var(--ink)) top / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right / 2px 100% no-repeat,
    var(--spine);
}

.tape-fold-tr {
  top: 0;
  right: 0;
}

.tape-fold-bl {
  bottom: 0;
  left: 0;
  background:
    linear-gradient(var(--ink), var(--ink)) bottom / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) left / 2px 100% no-repeat,
    var(--spine);
}

.tape-fold-tr::before,
.tape-fold-bl::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.tape-left .tape-line,
.tape-right .tape-line {
  position: absolute;
  width: calc(100cqh - (var(--tape) * 2));
  height: var(--tape);
  top: 0;
  left: 0;
  transform-origin: top left;
  transform: rotate(90deg) translateY(-100%);
}

.tape-right .tape-line {
  left: 0;
  right: auto;
  top: 0;
  width: calc(100cqh - (var(--tape) * 2));
  transform-origin: top left;
  transform: rotate(90deg) translateY(-100%);
}

.series {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  flex: 1;
}

.series-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.series-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow: auto;
  padding-bottom: 4px;
}

.series-row a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.series-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--ink);
  background: #fff;
}

.series-row a span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.series-row a:hover img,
.series-row a:focus-visible img {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

.series-row a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

main {
  grid-column: 2;
  padding: 18px 18px 0;
}

.stage {
  position: relative;
  height: calc(100dvh - 36px);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  background: #000;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.stage-frame {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: grid;
  padding: var(--tape);
  background: #000;
  overflow: hidden;
}

.stage-frame iframe {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border: 0;
}

.tick {
  display: none;
}

.play-screen {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 16px;
  padding: calc(var(--tape) + 22px) calc(var(--tape) + 36px) calc(var(--tape) + 32px);
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0) 42%, rgba(20, 20, 20, 0.72) 100%),
    url("../assets/play-bg.jpg") center / cover no-repeat;
}

.play-screen.is-hidden {
  display: none;
}

.play-banner {
  position: absolute;
  top: var(--tape);
  left: 0;
  right: 0;
  padding: 16px 24px 40px calc(var(--tape) + 20px);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.82) 82%, rgba(0, 0, 0, 0.62) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0 74%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0 74%, transparent 100%);
}

.play-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: min(420px, 50%);
}

.play-logo {
  display: block;
  width: 100%;
  height: auto;
}

.play-kicker {
  color: #fff;
  font-family: Anybody, Impact, sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.04em;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 #000;
}

.play-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  min-width: 240px;
  padding: 16px 28px 14px;
  border: 3px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  background: var(--spine);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.play-btn svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
  stroke: none;
}

.play-btn span {
  font-family: Anybody, Impact, sans-serif;
  font-size: 48px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.play-btn:hover,
.play-btn:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.play-btn:focus-visible,
.icon-btn:focus-visible,
.modal-close:focus-visible,
.hide-bar:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.play-status {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.dock {
  position: relative;
  z-index: 4;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 10px;
  background: var(--paper);
  border-top: 3px solid var(--ink);
  color: var(--ink);
}

.hide-bar {
  display: none;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  border: 2px solid var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.hide-bar svg,
.icon-btn svg,
.modal-close svg {
  width: 16px;
  height: 16px;
}

.dock-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  position: relative;
  height: 36px;
  min-width: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.icon-btn:hover {
  background: var(--spine);
}

.icon-btn.is-like,
.icon-btn.is-dislike {
  background: var(--spine);
}

.icon-btn[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 3px 6px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.icon-btn:hover::after,
.icon-btn:focus-visible::after {
  opacity: 1;
}

#fullscreenBtn[data-tooltip]::after {
  left: auto;
  right: 0;
  transform: none;
}

.stage.fs-active {
  position: fixed;
  inset: 0;
  z-index: 80;
  width: 100vw;
  height: 100dvh;
  border: 0;
  box-shadow: none;
}

.stage.fs-active .hide-bar {
  display: inline-flex;
  margin-right: auto;
}

.stage.fs-active .facts {
  display: none;
}

.stage.fs-active.bar-hidden .dock {
  display: none;
}

.modal {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 12px 68px 0;
  background: rgba(20, 20, 20, 0.35);
}

.modal.show {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  padding: 18px 18px 14px;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--ink);
}

.modal-card h2 {
  margin-bottom: 12px;
  font-family: Anybody, Impact, sans-serif;
  font-size: 26px;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 2px solid var(--ink);
  background: #fff;
  cursor: pointer;
}

.control-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.control-cols h3 {
  font-size: 15px;
}

.control-cols p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex-shrink: 0;
  background: var(--paper);
  border-top: 3px solid var(--ink);
}

.facts article {
  padding: 16px 14px 14px;
  background: transparent;
  text-align: left;
}

.facts article + article {
  border-left: 2px solid var(--ink);
}

.facts strong {
  display: block;
  font-family: Anybody, Impact, sans-serif;
  font-size: 26px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.facts span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.dossier {
  grid-column: 2;
  display: grid;
  grid-template-columns: 240px minmax(0, 68ch);
  column-gap: 48px;
  row-gap: 22px;
  width: auto;
  margin: 22px 18px 28px;
  padding: 28px 28px 32px;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.dossier-head {
  display: contents;
}

.dossier-head p,
.dossier-head h1 {
  grid-column: 1 / -1;
}

.dossier-head ul {
  grid-column: 1;
  grid-row: 3;
  align-self: start;
}

.dossier-copy {
  grid-column: 2;
  grid-row: 3;
  min-width: 0;
}

.dossier-head p {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dossier-head h1 {
  margin: 0;
  max-width: 12ch;
  text-wrap: balance;
  font-family: Anybody, Impact, sans-serif;
  font-size: 64px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.045em;
  line-height: 0.84;
  text-transform: uppercase;
}

.dossier-head ul {
  list-style: none;
}

.dossier-head li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 2px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.dossier-head li span {
  color: var(--muted);
  font-weight: 500;
}

.dossier-head a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dossier-copy h2,
.dossier-copy h3 {
  font-family: Anybody, Impact, sans-serif;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

.dossier-copy h2 {
  margin: 26px 0 8px;
  max-width: 16ch;
  font-size: 28px;
  line-height: 0.95;
}

.dossier-copy h2:first-child {
  margin-top: 0;
}

.dossier-copy h3 {
  margin: 16px 0 4px;
  font-size: 18px;
}

.dossier-copy p,
.dossier-copy li {
  color: #22283a;
  font-size: 16px;
  line-height: 1.55;
}

.dossier-copy p + p {
  margin-top: 10px;
}

.dossier-copy ul {
  margin: 8px 0 0 18px;
}

.dossier-copy li + li {
  margin-top: 4px;
}

footer {
  grid-column: 2;
  padding: 0 18px 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 980px) {
  :root {
    --rail: 100%;
  }

  body {
    display: block;
  }

  .mast {
    position: sticky;
    top: 0;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--spine);
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .play-banner {
    padding: 8px 12px 16px calc(var(--tape) + 10px);
  }

  .play-mark {
    width: min(260px, 62%);
  }

  .series {
    flex: 1;
    min-width: 0;
    flex-direction: row;
    align-items: center;
  }

  .series-label {
    display: none;
  }

  .series-row {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
  }

  .series-row a {
    width: 72px;
    flex: 0 0 auto;
  }

  .series-row a span {
    display: none;
  }

  .stage {
    height: calc(100dvh - 92px);
    min-height: 420px;
  }

  .dossier {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dossier-head ul,
  .dossier-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .dossier-head h1 {
    font-size: 48px;
  }
}

@media (max-width: 640px) {
  .play-kicker {
    font-size: 36px;
  }

  .play-btn {
    min-width: 200px;
    padding: 12px 18px 10px;
  }

  .play-btn span {
    font-size: 36px;
  }

  .play-btn svg {
    width: 28px;
    height: 28px;
  }

  .play-screen {
    gap: 12px;
    padding: calc(var(--tape) + 14px) calc(var(--tape) + 16px) calc(var(--tape) + 16px);
  }

  :root {
    --tape: 24px;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .facts article:nth-child(odd) {
    border-left: 0;
  }

  .facts article:nth-child(n + 3) {
    border-top: 2px solid var(--ink);
  }

  .control-cols {
    grid-template-columns: 1fr;
  }

  .dossier-head h1 {
    font-size: 34px;
  }

  main,
  .dossier,
  footer {
    margin-left: 12px;
    margin-right: 12px;
  }

  main {
    padding: 12px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .play-btn:hover,
  .play-btn:focus-visible {
    transform: none;
  }
}
