/* 聊天前準備｜單幅水彩資訊圖＋保留可展開完整原文，僅預覽頁使用。 */
#view-prep {
  max-width: 1000px;
  margin-inline: auto;
  color: #704b35;
}
#view-prep .prep-picture-frame {
  width: min(100%, 970px);
  max-width: 100%;
  margin: 0 auto 1.5rem;
  padding: 0 0 clamp(.85rem, 2.5vw, 1.55rem);
  overflow: hidden;
  border: 1px solid rgba(176,134,92,.34);
  border-radius: 22px;
  background: #fbf0db;
  box-shadow: 0 12px 29px rgba(95,68,42,.085);
  font-family: var(--ciel-body-family, 'Huninn',sans-serif);
}
#view-prep .prep-picture-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
#view-prep .prep-picture-figure {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #fbf0db;
}
#view-prep .prep-picture-open {
  display: block;
  width: 100%;
  outline-offset: 4px;
}
#view-prep .prep-picture-open:focus-visible {
  outline: 3px solid #956b4a;
}
#view-prep .prep-picture-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background: #fbf0db;
}
#view-prep .prep-picture-readable {
  display: block;
  width: min(92%, 840px);
  max-width: 100%;
  margin: clamp(1rem, 2.5vw, 1.5rem) auto .5rem;
  padding: .15rem .5rem .65rem;
  border: 1px solid rgba(166,124,89,.34);
  border-radius: 16px;
  background: rgba(255,249,239,.92);
}
#view-prep .prep-picture-readable > summary {
  padding: .7rem 1.05rem;
  cursor: pointer;
  color: #75523c;
  font: 500 clamp(1rem,1vw + .76rem,1.16rem)/1.6 var(--ciel-title-family,'Iansui',serif);
}
#view-prep .prep-picture-readable > summary:focus-visible {
  outline: 3px solid #896a50;
  outline-offset: 3px;
}
#view-prep .prep-picture-readable-hint {
  margin: .15rem 1rem .75rem;
  color: #775f49;
  font: 400 .97rem/1.7 var(--ciel-body-family,'Huninn',sans-serif);
}
#view-prep .prep-picture-readable #source-prep {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 .3rem .4rem;
}
#view-prep .prep-picture-readable #source-prep,
#view-prep .prep-picture-readable #source-prep * {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  #view-prep .prep-picture-frame { border-radius: 12px; }
  #view-prep .prep-picture-readable { width: 95%; padding: .1rem .22rem .6rem; }
  #view-prep .prep-picture-readable #source-prep { padding: 0 .12rem .4rem; }
  #view-prep .prep-picture-readable .mobile-keep-together { white-space: normal; }
}
