:root {
  color-scheme: light;
  font-family: Poppins, Arial, sans-serif;
  color: #141414;
  background: #fff;
}
body { margin: 0; }
.figure-view { width: min(800px, calc(100% - 32px)); margin: 0 auto; padding-bottom: 32px; }
.figure-view header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid #e7e6e3;
}
.figure-view a { color: #141414; font: 500 13px/1.55 Poppins, Arial, sans-serif; text-decoration: none; }
.figure-view a:focus-visible { outline: 2px solid #555; outline-offset: 3px; }
.figure-view header a { display: inline-flex; align-items: center; min-height: 40px; }
.figure-view header a:first-child { color: #141414; font-size: 17px; font-weight: 600; }
.figure-view figure { margin: clamp(16px, 3vw, 32px) 0 0; }
.figure-sheet { border: 1px solid #e7e6e3; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 5px 18px rgba(20,20,20,.055); }
.figure-sheet picture, .figure-sheet img { display: block; width: 100%; height: auto; }
.figure-view figcaption { margin-top: 14px; }
.figure-view figcaption p { margin: 0 0 8px; font-size: 14px; line-height: 1.65; color: #303030; }
.figure-view figcaption a { display: inline-flex; align-items: center; min-height: 32px; margin-inline-end: 20px; }
.figure-view header a + a::before, .figure-view figcaption a::after {
  content: ""; display: inline-block; width: .7em; height: .7em; background: currentColor;
  clip-path: polygon(0 41%,69% 41%,45% 16%,57% 4%,100% 50%,57% 96%,45% 84%,69% 59%,0 59%);
}
.figure-view header a + a::before { margin-inline-end: .45em; transform: rotate(180deg); }
.figure-view figcaption a::after { margin-inline-start: .45em; transform: rotate(-45deg); }
.figure-view figcaption a[download]::after { transform: rotate(90deg); }
@media (max-width: 600px) {
  .figure-view { width: calc(100% - 24px); }
  .figure-sheet { border-radius: 16px; }
}
