.visual {
  max-width: 760px;
  background: #f8f7ee;
  padding: 16px;
  border: 1px solid #d6dfd5;
}
.comic-scene {
  margin: 0;
}
.comic-scene img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.comic-scene figcaption {
  font-size: 14px;
  padding: 14px 3px 3px;
  color: #5d6e63;
  line-height: 1.5;
}
.picture-enlarge {
  display: block;
  margin: 8px 0 0 auto;
  font-size: 14px;
}
.picture-token {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.picture-token svg {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}
.picture-token > span {
  font-size: 18px;
}
.apple-basket svg {
  width: 145px;
  height: 102px;
}
.memory-items.picture-memory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 530px;
  margin: auto;
}
.memory-items.picture-memory > span {
  display: flex;
  justify-content: center;
  padding: 12px 6px;
}
.memory-items .picture-token {
  flex-direction: column;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0;
}
.memory-items .picture-token > span {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 17px;
}
.memory-items .picture-token svg {
  width: 83px;
  height: 83px;
}
.match-card .picture-token {
  justify-content: center;
  flex-direction: column;
  gap: 2px;
}
.match-card .picture-token svg {
  width: 88px;
  height: 88px;
}
.picture-dialog {
  width: min(1100px, 96vw);
  max-width: 96vw;
  max-height: 94vh;
  padding: 22px;
  border: 1px solid #9faf9c;
  border-radius: 20px;
  background: #fffdf6;
  color: #28483e;
  box-shadow: 0 30px 90px #152d3044;
}
.picture-dialog::backdrop {
  background: #233b3fd0;
}
.picture-dialog-head {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.picture-dialog-head b {
  font-size: 19px;
}
.picture-dialog-content {
  overflow: auto;
  max-height: 76vh;
}
.picture-dialog-content > svg {
  display: block;
  width: 100%;
  min-width: 660px;
}
.picture-dialog-content .comic-scene {
  min-width: 660px;
}
@media (max-width: 600px) {
  .visual {
    padding: 8px;
    border-radius: 12px;
  }
  .picture-enlarge {
    width: 100%;
    font-size: 13px;
  }
  .picture-token {
    gap: 8px;
  }
  .picture-token > span {
    font-size: 16px;
  }
  .picture-token svg {
    width: 65px;
    height: 65px;
  }
  .memory-items.picture-memory {
    gap: 7px;
  }
  .memory-items .picture-token > span {
    font-size: 14px;
  }
  .memory-items .picture-token svg {
    width: 68px;
    height: 68px;
  }
  .apple-basket svg {
    width: 114px;
    height: 85px;
  }
  .picture-dialog {
    padding: 14px;
  }
  .picture-dialog-head b {
    font-size: 16px;
  }
  .picture-dialog-head button {
    padding: 10px 14px;
  }
}
@media print {
  .picture-enlarge {
    display: none;
  }
  .comic-scene {
    break-inside: avoid;
  }
}
