/* The story so far. On the map: one line at the top that opens on tap. In 会話: the chapter summary. */
.adv-story-band {
  position: relative; z-index: 4; flex: none; min-width: 0; border: 2px solid #dfb74e; border-radius: 14px;
  background: #fff8ddf2; color: #3e5261;
}
.adv-story-band summary {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 36px 0 12px; position: relative;
  cursor: pointer; list-style: none; white-space: nowrap;
}
.adv-story-band summary::-webkit-details-marker { display: none; }
.adv-story-band summary::after { content: ''; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid #8a6a1f; border-bottom: 2px solid #8a6a1f; transform: rotate(45deg); }
.adv-story-band[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.adv-story-band summary:focus-visible { outline: 3px solid #b48c2d; outline-offset: 2px; border-radius: 12px; }
.adv-story-band__label { flex: none; padding: 1px 8px; border-radius: 99px; background: #f1d36e; color: #5b4510; font-size: 12px; font-weight: 700; line-height: 1.6; }
.adv-story-band b { min-width: 0; color: #36546a; font-size: 15px; line-height: 1.4; }
/* Opened, the band takes the heading's place (the map frame gives up the height). */
.adv-story-band__body { padding: 0 12px 10px; }
.adv-map:has(.adv-story-band[open]) .adv-map__heading { display: none; }
.adv-story-band__body p { margin: 0; color: #4f5f68; font-size: 15px; line-height: 1.7; word-break: keep-all; line-break: strict; overflow-wrap: anywhere; text-wrap: pretty; }
.adv-story-band__body p + p { margin-top: 6px; }
.adv-story-band[data-story-stage="ready"], .adv-story-band[data-story-stage="complete"] { background: #fff4cdf2; }

.adv-story-summary {
  display: flex; align-items: flex-start; gap: 12px; min-width: 0; margin: 0 0 16px; padding: 12px 14px;
  border: 2px solid #dfb74e; border-radius: 15px; background: #fff8dd; color: #3e5261;
}
.adv-story-mark { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; margin-top: 2px; border-radius: 50%; background: #e9edcf; }
.adv-story-mark img { width: 34px; height: 34px; object-fit: contain; }
.adv-story-copy { flex: 1; min-width: 0; }
.adv-story-label { display: block; margin-bottom: 2px; color: #6c7856; font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .06em; }
.adv-story-copy h4 { margin: 0 0 4px; color: #36546a; font-size: 15px; line-height: 1.5; font-weight: 700; }
.adv-story-copy p { margin: 0 0 6px; color: #53616a; font-size: 15px; line-height: 1.7; word-break: keep-all; line-break: strict; overflow-wrap: anywhere; }
.adv-journal .adv-story-summary p { display: block; padding: 0; border: 0; background: none; }
.adv-journal .adv-journal-resume { color: #64715b; font-size: 14px; line-height: 1.8; }
