/* Conferences (conferences.html) */
.conferences { max-width: 900px; }
.conf-subtitle { font-size: 17px; line-height: 1.6; margin: 0 0 22px; }
.conf-guest { border: 1px solid var(--rule); border-radius: 6px; padding: 22px; background: var(--surface); }
.conf-guest p { margin: 0 0 16px; line-height: 1.6; }
.conf-guest .btn { margin-right: 8px; }

.conf-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.conf-filter[hidden] { display: none; }
.cf-chip { font: inherit; font-size: 14px; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); cursor: pointer; }
.cf-chip:hover, .cf-chip:focus-visible { border-color: var(--accent); }
.cf-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg, #fff); }

.conf-list { display: flex; flex-direction: column; gap: 22px; }
.cf-card { --who-color: var(--accent); display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 20px; align-items: start; border: 1px solid var(--rule); border-left: 3px solid var(--who-color); border-radius: 6px; background: var(--surface); padding: 16px; }
.cf-card[hidden] { display: none; }
.cf-card.cf-playing { grid-template-columns: minmax(0, 1fr); }

.cf-player { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #000; }
.cf-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cf-thumb { position: absolute; inset: 0; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; display: block; width: 100%; height: 100%; }
.cf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .15s ease; }
.cf-thumb:hover img, .cf-thumb:focus-visible img { opacity: .85; }
.cf-thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cf-playicon { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(0, 0, 0, .62); box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.cf-playicon::after { content: ""; position: absolute; left: 23px; top: 17px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.cf-thumb:hover .cf-playicon, .cf-thumb:focus-visible .cf-playicon { background: var(--accent); }
.cf-clock { position: absolute; right: 8px; bottom: 8px; font-size: 12.5px; line-height: 1; padding: 4px 6px; border-radius: 3px; background: rgba(0, 0, 0, .75); color: #fff; font-variant-numeric: tabular-nums; }

.cf-body { min-width: 0; }
.cf-speaker { margin: 0 0 2px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--who-color); }
.cf-title { margin: 0 0 8px; font-size: 21px; line-height: 1.3; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.cf-meta, .cf-channel { margin: 0 0 4px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.cf-tag { display: inline-block; margin: 8px 0 0; font-size: 13px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--rule); color: var(--muted); }
.cf-tag-philo { border-color: var(--who-color); color: var(--who-color); }
.cf-salon { display: block; margin: 12px 0 0; font-size: 15px; color: var(--accent); }
.cf-salon::after { content: " →"; }
.cf-notice { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.cf-notice a { color: inherit; }

@media (max-width: 680px) {
  .cf-card { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 12px; }
  .cf-title { font-size: 19px; }
}

/* Version publique : proposition des membres, administration */
.conf-status { color: var(--muted); font-style: italic; }
.conf-login { margin: 26px 0 0; color: var(--muted); }
.conf-form { margin: 34px 0 0; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); padding: 18px; }
.conf-form[hidden], .conf-pending[hidden], .conf-login[hidden], .conf-status[hidden] { display: none; }
.conf-form .section-label { margin-top: 0; }
.conf-form-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr); gap: 12px 16px; margin: 12px 0 14px; }
.cf-field { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--muted); min-width: 0; }
.cf-field input, .cf-field select { font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--rule); border-radius: 4px; padding: 7px 9px; min-width: 0; width: 100%; box-sizing: border-box; }
.cf-field input:focus, .cf-field select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.conf-msg { margin: 10px 0 0; font-size: 14px; line-height: 1.5; min-height: 0; }
.conf-msg:empty { display: none; }
.conf-ok { color: var(--success); }
.conf-err { color: var(--error); }

.conf-pending { margin: 0 0 30px; border: 1px dashed var(--accent); border-radius: 6px; padding: 16px; }
.conf-pending .section-label { margin-top: 0; }
.cf-pending-row { border-top: 1px solid var(--rule); padding: 14px 0 4px; }
.cf-pending-row:first-of-type { border-top: 0; }
.cf-pending-head { margin: 0 0 8px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.cf-pending-info { color: var(--muted); font-size: 13.5px; }
.cf-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 0 0 12px; }
.cf-admin { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 12px 0 0; }
.cf-editor { min-width: 0; }
.cf-thumb:not(:has(img)) { background: linear-gradient(135deg, #2a2620, #14120f); }

@media (max-width: 680px) {
  .conf-form-grid, .cf-fields { grid-template-columns: minmax(0, 1fr); }
}
.cf-action { background: none; border: 0; padding: 0; margin: 0; font: inherit; font-size: 13.5px; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cf-action:hover, .cf-action:focus-visible { color: var(--accent); }
/* Deuxieme categorie : langue de la video */
.cf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.cf-tags .cf-tag { margin: 0; }
.conf-filter-lang { margin-top: -12px; }
