#about-content {
  width: 100%;
}

#about-content video {
  height: 256px;
}

#about-text {
  margin: 10px;
}

r {
  color: var(--color-r);
}

/* about + reels side by side, reels sized to the about text's height */
@media (min-width: 1200px) {
  #index-about {
    flex: 0 0 auto;
  }
  #index-reels {
    /* size container: its content doesn't add height, so it stretches to the about's height */
    container-type: size;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  #index-reels .games-main {
    /* the space left under the title, the reels fit inside it */
    container-type: size;
    flex: 1 1 0;
    min-height: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin: 0;
    /* tab padding (2 x .5rem) + video-container margin + caption line */
    --reel-extra: calc(2.5rem + 10px);
  }
  #index-reels .games-main > .game-tab {
    margin-top: 0;
    /* as wide as fits the height at 16:9, but at most half the row */
    width: min(50cqw, calc((100cqh - var(--reel-extra)) * 16 / 9 + 1rem));
  }
  #index-reels > .game-category-title {
    text-align: right;
  }
  #index-reels .game-tab p {
    margin: 0;
    line-height: 1.5rem;
  }
  #index-reels .game-tab lite-youtube {
    outline: 2px solid transparent;
    outline-offset: 3px;
    transition: outline-color 0.2s ease-out;
  }
  #index-reels .game-tab.reel-playing lite-youtube {
    outline-color: var(--color-y);
  }
  #index-reels .game-tab.reel-playing .game-category-title {
    color: var(--color-y);
  }
}

/* reel theater: the playing reel, enlarged to the section width (desktop only) */
#reel-theater {
  height: 0;
}
#reel-theater.closing {
  overflow: hidden;
}
.reel-theater-stage {
  display: none;
  /* section width, but never taller than the screen under the header */
  width: min(100%, calc((100vh - 200px) * 16 / 9));
  margin: 0 auto;
  padding-top: 30px;
}
#reel-theater.open .reel-theater-stage {
  display: block;
}
.reel-theater-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}
#reel-theater.settled .reel-theater-bar {
  opacity: 1;
}
.reel-theater-bar .game-category-title {
  margin: 0;
}
.reel-theater-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: var(--color-w);
  border: 1px solid var(--color-w);
  border-radius: 4px;
  transition:
    color 0.2s,
    background-color 0.2s,
    border-color 0.2s;
}
.reel-theater-close:hover {
  color: var(--color-b);
  background-color: var(--color-y);
  border-color: var(--color-y);
}
.reel-theater-frame {
  transform-origin: 0 0;
}
.reel-theater-frame lite-youtube {
  transition: opacity 0.3s ease;
}
@media (max-width: 1199.98px) {
  #reel-theater {
    display: none;
  }
}
