/* Shared guide presentation: navigation, footer and responsive play videos. */
:root {
  --guide-white: oklch(1 0 none);
  --guide-navy: oklch(from var(--navy) l c h);
}
.guide-header .home-link,
.guide-bottom .guide-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 48px;
  padding-block: .625rem;
  padding-inline: 1.125rem;
  border: 0;
  border-radius: .625rem;
  background: var(--guide-white);
  color: var(--guide-navy);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-shadow: none;
}
.guide-header .home-link { flex-shrink: 0; }
.guide-header > a:first-child { min-inline-size: 0; }
.guide-header .guide-logo { max-inline-size: 100%; }
.video-start {
  border-color: var(--game-play-color);
  background: var(--game-play-color);
  color: var(--guide-white);
  box-shadow: none;
}
.guide-footer {
  container-type: inline-size;
  text-align: center;
}
.guide-footer p { text-align: center; }
.guide-faq { margin-block: 1.5rem; }
.guide-faq details + details {
  border-block-start: 1px solid color-mix(in oklch, var(--guide-white) 25%, transparent);
}
.guide-faq summary {
  min-block-size: 48px;
  padding-block: .875rem;
  padding-inline: .25rem;
  font-weight: 700;
  cursor: pointer;
  overflow-wrap: break-word;
}
.guide-faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.guide-faq summary:active { opacity: .75; }
.guide-faq details p { margin-block: 0 1rem; overflow-wrap: break-word; }
@media (hover: hover) and (pointer: fine) {
  .guide-header .home-link:hover,
  .guide-bottom .guide-secondary-button:hover {
    background: color-mix(in oklch, var(--guide-white), var(--guide-navy) 8%);
  }
  .video-start:hover {
    background: color-mix(in oklch, var(--game-play-color), var(--guide-white) 4%);
  }
}
.guide-header .home-link:active,
.guide-bottom .guide-secondary-button:active {
  background: color-mix(in oklch, var(--guide-white), var(--guide-navy) 16%);
}
.video-start:active {
  background: color-mix(in oklch, var(--game-play-color), oklch(0 0 none) 10%);
}
.responsive-video-frame .video-box {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.responsive-video-frame video {
  aspect-ratio: 16 / 9;
}
.responsive-video-frame .video-start {
  position: static;
  transform: none;
  inline-size: 100%;
  max-inline-size: none;
  min-block-size: 48px;
}
.responsive-video-frame .video-start[hidden] { display: none; }
.video-operation-hint {
  margin-block: .75rem 0;
  text-align: center;
  font-size: clamp(.875rem, .75rem + .5vw, 1rem);
  font-weight: 700;
}
@media (max-width: 600px) {
  .responsive-video-frame video {
    aspect-ratio: 420 / 662;
  }
}
