/* Videos and screenshots fill the content width */
.md-typeset video,
.md-typeset img.full {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* "Result" figure under each tutorial */
.md-typeset figure.result {
  margin: 1.5em 0;
}
.md-typeset figure.result figcaption {
  font-size: 0.85em;
  opacity: 0.8;
}
/* Japanese pages (/ja/): Japanese fonts have no italics, and browsers slant kanji artificially. */
:lang(ja) .md-typeset figcaption {
  font-style: normal;
}

/* Tutorial meta line (time / level) */
.md-typeset .tutorial-meta {
  font-size: 0.85em;
  opacity: 0.85;
  margin-top: -0.6em;
}

/* Placeholder box for screenshots that still need a manual capture */
.md-typeset .shot-todo {
  border: 2px dashed var(--md-accent-fg-color);
  border-radius: 6px;
  padding: 1em;
  text-align: center;
  font-size: 0.85em;
  opacity: 0.85;
}

/* Numbered callouts on a screenshot. In Markdown:
     <div class="callouts" markdown>
     ![...](image.png){ .full }
     <span class="callout" style="left: 49%; top: 9%" aria-hidden="true">1</span>
     </div>
   followed by a numbered list that explains each number. Positions are % of the image. */
.md-typeset .callouts {
  position: relative;
  margin: 1em 0 0.6em;
}
.md-typeset .callouts > p {
  margin: 0;
}
.md-typeset .callouts img {
  display: block;
}
.md-typeset .callouts .callout {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 1.7em;
  height: 1.7em;
  line-height: 1.7em;
  border-radius: 50%;
  background: #ffd400;
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 0 0 2px #000, 0 1px 4px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
@media screen and (max-width: 44.9375em) {
  .md-typeset .callouts .callout {
    font-size: 0.55rem;
  }
}
