/* Page « conv fictive » (YAP-044) : compléments à guides.css, sans style en ligne (CSP). */

.demo-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 18px 0 0; }
.demo-actions a:not(.guide-button) { font-size: 14px; font-weight: 750; }

.demo-cast { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0; padding: 0; list-style: none; }
.demo-cast li { margin: 0; border: 1px solid #3c3238; border-radius: 14px; padding: 13px 14px; background: #1c1a20; }
.demo-cast h3 { margin: 0 0 4px; font-size: 16px; }
.demo-cast p { margin: 0; font-size: 13px; line-height: 1.5; }
.demo-cast .demo-role { color: #ffaaa2; font-size: 12px; font-weight: 800; letter-spacing: .02em; }

.demo-chat { margin: 18px 0; border: 1px solid #3c3238; border-radius: 16px; padding: 14px 14px 6px; background: #1a171c; }
.demo-chat-title { margin: 0 0 10px; color: #c5b7bb; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.demo-chat ol { margin: 0; padding: 0; list-style: none; }
.demo-chat li { margin: 0 0 8px; color: #ded6d7; font-size: 13.5px; line-height: 1.45; }
.demo-chat time { display: inline-block; min-width: 3.4em; color: #8f8589; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.demo-chat b { color: #fff0ec; font-weight: 800; }
.demo-chat .demo-system { color: #a69ca0; font-style: italic; }

.demo-gallery { display: grid; gap: 18px 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 20px 0 8px; padding: 0; list-style: none; }
.demo-gallery li { margin: 0; }
.demo-gallery figure { margin: 0; }
.demo-gallery img { display: block; width: 100%; height: auto; border-radius: 14px; background: #1c1a20; box-shadow: 0 10px 26px #00000066; }
.demo-gallery figcaption { margin-top: 8px; color: #c5b7bb; font-size: 12px; line-height: 1.45; }
.demo-gallery figcaption strong { display: block; color: #fff0ec; font-size: 12.5px; }

/* YAP-047 : le reste du pack, sous scellé (silhouettes sans image, compteur). */
.demo-sealed { margin: 22px 0 6px; border: 1.5px dashed #a8862f; border-radius: 18px; padding: 16px 14px 14px; background: #1c1912; }
.demo-sealed > p { margin: 0 0 10px; }
.demo-sealed-count { color: #ffe7a3; font-size: 15px; }
.demo-sealed-count strong { display: block; color: #fff6cf; font-size: clamp(30px, 8vw, 40px); font-weight: 900; line-height: 1; }
.demo-seals { display: grid; gap: 12px 10px; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); margin: 14px 0 0; padding: 0; list-style: none; }
.demo-seals li { display: grid; align-content: start; justify-items: center; gap: 4px; margin: 0; text-align: center; }
.demo-seal-back {
  display: grid; place-items: center; width: 100%; max-width: 110px; aspect-ratio: 9 / 16; border: 3px solid transparent; border-radius: 12px;
  background: radial-gradient(circle at 50% 42%, #2a2430, #17141a 78%) padding-box, linear-gradient(150deg, #7ef0ff, #b48cff 35%, #ff8bd1 65%, #ffe48a) border-box;
  color: #ffffff3d; font-size: 34px; font-weight: 900; box-shadow: 0 10px 22px #00000066;
}
.demo-seal-name { color: #fff0ec; font-size: 12.5px; font-weight: 800; line-height: 1.25; }
.demo-seal-more { color: #ffd76a; font-size: 12px; font-weight: 800; }

.demo-flow { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0; }
.demo-flow .privacy-block { margin: 0; }
.demo-line { margin: 10px 0 0; border-radius: 10px; padding: 10px 12px; background: #121216; color: #ded6d7; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.demo-line span { display: block; color: #8f8589; font: 800 10px/1.6 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }

.demo-faq details { margin: 0 0 10px; border: 1px solid #3c3238; border-radius: 13px; padding: 12px 14px; background: #1c1a20; }
.demo-faq summary { color: #fff0ec; font-size: 14.5px; font-weight: 800; cursor: pointer; }
.demo-faq details p { margin: 10px 0 0; }

.demo-langs .guide-section { margin-bottom: 26px; }
.demo-langs h2 { font-size: clamp(20px, 5.4vw, 25px); }

@media (max-width: 720px) {
  .demo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .demo-flow { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .demo-cast { grid-template-columns: 1fr; }
}
