/* Bulle — Quartiers (M16b). Retour arrière : retirer ce fichier d'index.html. */
.qt-ic { display: inline-grid; place-items: center; line-height: 0; flex: none; }
.qt-icon { flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 30%; background: var(--sheen, none), var(--qt, var(--violet)); color: #1D1B24;
  font: 700 calc(1em + 6px)/1 var(--font-titre); box-shadow: inset 0 -4px 10px rgba(27, 16, 51, .16); }
.qt-icon img { width: 100%; height: 100%; object-fit: cover; }

/* Carte en tête des salons */
.qt-card { position: relative; display: flex; align-items: center; gap: 10px; width: calc(100% - 16px); margin: 6px 8px 10px; padding: 10px 12px; border-radius: 16px; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--violet) 18%, transparent); background: linear-gradient(120deg, color-mix(in srgb, var(--violet) 8%, var(--panneau)), var(--panneau));
  color: var(--texte); font: inherit; text-align: left; }
.qt-card:hover { background: var(--surface-hover); }
.qt-card-ic { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.qt-card-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.qt-card-t b { font-size: .92rem; }
.qt-card-t small { font-size: .78rem; color: var(--texte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qt-card.is-live .qt-card-t small { color: var(--vert, #2BB673); font-weight: 650; }
.qt-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--vert, #2BB673); flex: none; box-shadow: 0 0 0 0 color-mix(in srgb, var(--vert, #2BB673) 50%, transparent); animation: qt-pulse 2s ease-out infinite; }
@keyframes qt-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--vert, #2BB673) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 9px transparent; } }
:root[data-motion="off"] .qt-pulse { animation: none; }
@media (prefers-reduced-motion: reduce) { .qt-pulse { animation: none; } }

/* Panneau */
.qt-hero { position: relative; margin: -16px -16px 0; padding: 0 16px 6px; }
.qt-hero-band { height: 96px; margin: 0 -16px; background: linear-gradient(135deg, color-mix(in srgb, var(--qt, var(--violet)) 70%, #fff), var(--qt, var(--violet))); }
.qt-hero-band.has-img { background: var(--qt-banner) center / cover no-repeat; }
.qt-hero-id { display: flex; align-items: flex-end; gap: 12px; margin-top: -30px; }
.qt-hero-id .qt-icon { border: 3px solid var(--fond); font-size: 22px; }
.qt-hero-id h2 { margin: 0 0 2px; font: 700 1.3rem/1.15 var(--font-titre); letter-spacing: -.03em; overflow-wrap: anywhere; }
.qt-hero-meta { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--texte-3); }
.qt-on { width: 8px; height: 8px; border-radius: 50%; background: var(--vert, #2BB673); }
.qt-desc { margin: 12px 0 0; color: var(--texte-2); font-size: .92rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.qt-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.qt-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; font-size: .8rem; font-weight: 700; background: var(--panneau-2); color: var(--texte-2); }
.qt-pill.is-open { background: color-mix(in srgb, var(--vert, #2BB673) 16%, transparent); color: color-mix(in srgb, var(--vert, #2BB673) 70%, var(--texte)); }
.qt-sec { display: flex; align-items: center; gap: 6px; }
.qt-sec .qt-ic { color: var(--violet); }
.qt-live { display: grid; gap: 6px; }
.qt-live-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--ligne); background: var(--panneau); color: inherit; font: inherit; cursor: pointer; text-align: left; }
.qt-live-row b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qt-avs { display: flex; align-items: center; }
.qt-avs .avatar { width: 26px !important; height: 26px !important; font-size: 11px !important; margin-left: -6px; box-shadow: 0 0 0 2px var(--panneau); }
.qt-avs small { margin-left: 4px; font-size: .75rem; color: var(--texte-3); }
.qt-join { font-size: .8rem; font-weight: 750; color: var(--violet); }
.qt-rdv { margin-top: 8px; }
.qt-online { display: flex; flex-wrap: wrap; gap: 10px; }
.qt-person { width: 62px; display: grid; justify-items: center; gap: 4px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.qt-person .avatar { width: 46px !important; height: 46px !important; }
.qt-person small { max-width: 62px; font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--texte-2); }
.qt-enter { margin-top: 22px; }
.qt-manage { margin-top: 18px; padding: 12px 14px; border-radius: 16px; border: 1px dashed color-mix(in srgb, var(--violet) 35%, transparent); background: var(--panneau); }
.qt-manage summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.qt-manage summary::-webkit-details-marker { display: none; }
.qt-manage summary b { flex: 1; font-size: .92rem; }
.qt-manage summary small { font-size: .78rem; color: var(--texte-3); }
.qt-manage summary .qt-ic { color: var(--violet); }
.qt-manage .mo-seg { margin-top: 6px; }
.qt-tags { margin-top: 6px; max-height: 220px; overflow-y: auto; padding: 2px; }
.qt-save { margin-top: 14px; width: 100%; justify-content: center; }

/* Découverte */
.qt-disc { display: grid; gap: 10px; }
.qt-dcard { display: grid; gap: 10px; padding: 14px; border-radius: 20px; background: var(--panneau); border: 1px solid var(--ligne); box-shadow: var(--e-1, none); }
.qt-dcard-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.qt-dcard-id .qt-icon { font-size: 16px; }
.qt-dcard-id b { display: block; font-size: 1rem; overflow-wrap: anywhere; }
.qt-dcard-id small { color: var(--texte-3); font-size: .8rem; }
.qt-dcard-desc { margin: 0; color: var(--texte-2); font-size: .88rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.qt-dcard-act { display: flex; justify-content: flex-end; }
@media (min-width: 761px) { .qt-disc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
