@charset "UTF-8";
/* =========================================================================
   Backoffice (xldemo-backoffice) — outil d'administration, même esprit sombre que l'espace modèle
   ========================================================================= */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
body {
  background: #121315;
  color: #E8E8E8;
  font: 300 14px/1.45 Lato, Arial, Helvetica, sans-serif;
}
a {
  color: #FC0;
  text-decoration: none;
}
h1, h2, h3 {
  margin: 0;
  font-weight: 700;
}
p {
  margin: 0 0 10px;
}
.muted {
  color: #888;
}
.nowrap {
  white-space: nowrap;
}
.warn {
  color: #FC0;
}
/* ---- boutons ---- */
.btnMain, .btnLine {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: inherit;
  white-space: nowrap;
  transition: filter 0.15s ease, border-color 0.15s ease;
}
.btnMain.small, .btnLine.small {
  padding: 6px 12px;
  font-size: 0.9em;
}
.btnMain.wide, .btnLine.wide {
  display: flex;
  width: 100%;
  margin-top: 18px;
}
.btnMain {
  background: linear-gradient(#ffc600, #ff8a00);
  color: #2a1500;
}
.btnMain:hover {
  filter: brightness(1.08);
}
.btnMain.danger {
  background: #d9363e;
  color: #FFF;
}
.btnLine {
  background: transparent;
  border: solid 1px #444;
  color: #E8E8E8;
}
.btnLine:hover {
  border-color: #FC0;
}
.btnLine.danger {
  color: #ff7b7b;
  border-color: rgba(255, 107, 107, 0.4);
}
.btnLine.danger:hover {
  border-color: #ff6b6b;
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
/* ---- champs ---- */
label {
  display: block;
  margin: 12px 0 5px;
  font-weight: 400;
  color: #CCC;
}
label small {
  color: #888;
  font-weight: 300;
}
label.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 300;
  cursor: pointer;
}
label.check input {
  margin-top: 3px;
  accent-color: #ff8a00;
}
.field {
  width: 100%;
  padding: 9px 11px;
  border: solid 1px #34363a;
  border-radius: 8px;
  background: #0d0e10;
  color: #FFF;
  font: inherit;
  font-weight: 400;
}
.field:focus {
  outline: none;
  border-color: #ff8a00;
}
.field:disabled {
  color: #888;
}
.field.small {
  width: auto;
  padding: 6px 9px;
}
textarea.field {
  resize: vertical;
  line-height: 1.45;
}
.err {
  display: none;
  color: #ff6b6b;
  font-size: 0.9em;
  padding-top: 6px;
}
.note {
  color: #999;
  font-size: 0.88em;
}
.empty {
  color: #888;
  margin: 0;
  padding: 10px 0;
}
.cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 12px;
}
@media only screen and (min-width: 768px) {
  .cols {
    grid-template-columns: 1fr 1fr;
  }
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
}
@media only screen and (min-width: 992px) {
  .grid2 {
    grid-template-columns: 1fr 1fr;
  }
}
.switch {
  display: inline-flex;
  margin: 0;
  cursor: pointer;
}
.switch input {
  display: none;
}
.switch .slider {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #3a3a3a;
  transition: background 0.2s ease;
}
.switch .slider:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFF;
  transition: transform 0.2s ease;
}
.switch input:checked + .slider {
  background: #25c05a;
}
.switch input:checked + .slider:after {
  transform: translateX(16px);
}
.ava {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: hsl(var(--h), 45%, 32%);
  color: #FFF;
  font-weight: 700;
}
.ava.small {
  width: 30px;
  height: 30px;
  font-size: 0.85em;
}
.thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.state {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 0.75em;
  font-weight: 700;
  vertical-align: middle;
  background: #2a2a2a;
  color: #AAA;
}
.state.ok {
  background: rgba(37, 192, 90, 0.15);
  color: #5c5;
}
.state.pending {
  background: rgba(255, 200, 0, 0.15);
  color: #FC0;
}
.state.blocked {
  background: rgba(255, 107, 107, 0.15);
  color: #ff7b7b;
}
.state.incomplete {
  background: #2a2a2a;
  color: #999;
}
.live {
  color: #ff4d4d;
  font-weight: 700;
  font-size: 0.9em;
}
.trType {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 0.8em;
  background: #25272b;
  color: #CCC;
}
.trType.t-achat {
  background: rgba(37, 192, 90, 0.15);
  color: #5c5;
}
.trType.t-bonus {
  color: #FC0;
}
.trType.t-private {
  color: #ff8fa3;
}
.trType.t-vip {
  color: #c58bff;
}
.trType.t-pack {
  color: #7fc8ff;
}
.trType.t-ajust {
  color: #ffb36b;
}
.amount {
  font-weight: 700;
  white-space: nowrap;
}
.amount.in {
  color: #5c5;
}
.role {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 10px;
  font-size: 0.8em;
  font-weight: 700;
  background: #25272b;
}
.role.r-superadmin {
  background: rgba(255, 200, 0, 0.15);
  color: #FC0;
}
.role.r-manager {
  background: rgba(79, 140, 255, 0.15);
  color: #8fb4ff;
}
.role.r-moderation {
  background: rgba(197, 139, 255, 0.15);
  color: #c58bff;
}
.role.r-support {
  background: rgba(37, 192, 90, 0.15);
  color: #5c5;
}
.role.r-finance {
  background: rgba(127, 200, 255, 0.15);
  color: #7fc8ff;
}
/* =========================================================================
   Connexion
   ========================================================================= */
.loginPage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  background: radial-gradient(circle at 30% 20%, #2a1a05, #121315 60%);
}
.loginPage .box {
  width: 100%;
  max-width: 400px;
  padding: 28px 24px;
  border-radius: 16px;
  background: #1b1c1f;
  border: solid 1px #2c2e33;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.loginPage .logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(#ffc600, #ff8a00);
  color: #2a1500;
  font-size: 1.5em;
  margin-bottom: 14px;
}
.loginPage h1 {
  font-size: 1.5em;
}
.loginPage .intro {
  color: #999;
}
.loginPage .demoAccounts {
  margin-top: 22px;
  padding-top: 16px;
  border-top: solid 1px #2c2e33;
}
.loginPage .demoAccounts .title {
  color: #999;
  font-size: 0.85em;
  margin-bottom: 8px;
}
.loginPage .demoAccounts a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 4px;
  border-radius: 10px;
  color: #EEE;
}
.loginPage .demoAccounts a:hover {
  background: #25272b;
}
.loginPage .demoAccounts a span {
  flex: 1;
}
.loginPage .demoAccounts a span b {
  display: block;
}
.loginPage .demoAccounts a span small {
  color: #888;
}
.loginPage .demoAccounts a > i {
  color: #666;
}
/* =========================================================================
   Espace connecté : barre du haut, menu, contenu
   ========================================================================= */
.boTop {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: #17181b;
  border-bottom: solid 1px #2a2c30;
}
.boTop .menuToggle {
  color: #FFF;
  font-size: 1.3em;
  padding: 4px 6px;
}
.boTop .brand {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFF;
  font-weight: 700;
}
.boTop .brand i {
  color: #FC0;
}
.boTop .me {
  display: flex;
  align-items: center;
  gap: 8px;
}
.boTop .me .role {
  font-size: 0.75em;
}
@media only screen and (min-width: 992px) {
  .boTop {
    margin-left: 240px;
  }
  .boTop .menuToggle, .boTop .brand {
    display: none;
  }
  .boTop .me {
    margin-left: auto;
  }
}
.boMenu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  width: 240px;
  display: flex;
  flex-direction: column;
  background: #17181b;
  border-right: solid 1px #2a2c30;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}
@media only screen and (min-width: 992px) {
  .boMenu {
    transform: none;
  }
}
.boMenu .who {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  border-bottom: solid 1px #2a2c30;
}
.boMenu .who b {
  display: block;
}
.boMenu .who small {
  color: #999;
  font-size: 0.8em;
}
.boMenu nav, .boMenu .menuFoot {
  display: flex;
  flex-direction: column;
  padding: 8px;
}
.boMenu .menuFoot {
  margin-top: auto;
  border-top: solid 1px #2a2c30;
}
.boMenu a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #BBB;
  font-weight: 400;
}
.boMenu a i {
  width: 18px;
  text-align: center;
  color: #777;
}
.boMenu a:hover {
  background: #202226;
  color: #FFF;
}
.boMenu a.selected {
  background: rgba(255, 170, 0, 0.12);
  color: #FFF;
  font-weight: 700;
}
.boMenu a.selected i {
  color: #FC0;
}
.boMenu a .nb {
  margin-left: auto;
  min-width: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #e3262f;
  color: #FFF;
  font-size: 0.75em;
  line-height: 20px;
  text-align: center;
}
.menuBg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.5);
}
body.menuOpen .boMenu {
  transform: none;
}
body.menuOpen .menuBg {
  display: block;
}
.boMain {
  padding: 18px 14px 60px;
  max-width: calc(1300px + 240px);
}
@media only screen and (min-width: 992px) {
  .boMain {
    margin-left: 240px;
    padding: 24px 28px 60px;
  }
}
.boHead {
  margin-bottom: 16px;
}
.boHead h1 {
  font-size: 1.55em;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.boHead p {
  color: #999;
  margin: 0;
}
.boHead.withBack {
  display: flex;
  align-items: center;
  gap: 12px;
}
.boHead.withBack .back {
  color: #FFF;
  padding: 6px 8px;
  border-radius: 8px;
  background: #202226;
}
.boHead.withBack .headPhoto {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: solid 2px #900;
}
.card {
  background: #1b1c1f;
  border: solid 1px #2a2c30;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.card .cardHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.card .cardHead h2 {
  font-size: 1.02em;
}
.card .cardHead h2 i {
  color: #FC0;
  margin-right: 6px;
}
.card .cardHead h2 small {
  font-weight: 300;
}
.card .cardHead a {
  font-size: 0.88em;
}
.card .cardHead .total {
  font-weight: 700;
  color: #5c5;
}
.card h3.sub {
  font-size: 0.95em;
  margin: 18px 0 6px;
  color: #CCC;
}
.kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
@media only screen and (min-width: 768px) {
  .kpis {
    grid-template-columns: repeat(4, 1fr);
  }
}
.kpis .kpi {
  position: relative;
  padding: 14px;
  border-radius: 12px;
  background: #1b1c1f;
  border: solid 1px #2a2c30;
}
.kpis .kpi > i {
  position: absolute;
  right: 12px;
  top: 12px;
  color: #3a3c42;
  font-size: 1.2em;
}
.kpis .kpi span {
  display: block;
  color: #999;
  font-size: 0.8em;
  padding-right: 20px;
}
.kpis .kpi b {
  display: block;
  font-size: 1.35em;
  color: #FFF;
  margin-top: 2px;
}
.kpis .kpi small {
  color: #888;
  font-size: 0.78em;
}
.kpis.inCard {
  margin: 0;
  grid-template-columns: 1fr 1fr 1fr;
}
.kpis.inCard .kpi {
  background: #151618;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.filters .search {
  position: relative;
  flex: 1;
  min-width: 200px;
}
.filters .search i {
  position: absolute;
  left: 11px;
  top: 10px;
  color: #777;
  font-size: 0.85em;
}
.filters .search input {
  width: 100%;
  padding: 8px 12px 8px 30px;
  border: solid 1px #34363a;
  border-radius: 8px;
  background: #0d0e10;
  color: #FFF;
  font: inherit;
  outline: none;
}
.filters .search input:focus {
  border-color: #ff8a00;
}
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  border-bottom: solid 1px #2a2c30;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs a {
  flex-shrink: 0;
  padding: 9px 12px;
  color: #999;
  font-weight: 700;
  border-bottom: solid 2px transparent;
}
.tabs a span {
  margin-left: 4px;
  padding: 0 7px;
  border-radius: 10px;
  background: #25272b;
  font-size: 0.8em;
}
.tabs a.selected {
  color: #FFF;
  border-bottom-color: #ff8a00;
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th {
  text-align: left;
  font-weight: 400;
  font-size: 0.8em;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px;
  border-bottom: solid 1px #2a2c30;
}
.table td {
  padding: 9px 8px;
  border-bottom: solid 1px #232529;
  vertical-align: middle;
}
.table tr:last-child td {
  border-bottom: none;
}
.table .r {
  text-align: right;
}
.table .c {
  text-align: center;
}
.table .ellipsis {
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table.hover tbody tr {
  cursor: pointer;
}
.table.hover tbody tr:hover td {
  background: #202226;
}
.table tr.off td {
  opacity: 0.5;
}
.table .who {
  display: flex;
  align-items: center;
  gap: 10px;
}
.table .who b {
  white-space: nowrap;
}
.table .who small {
  display: block;
  color: #888;
  font-size: 0.82em;
}
.table .showS {
  display: block;
  color: #888;
  font-size: 0.82em;
}
@media only screen and (min-width: 768px) {
  .table .showS {
    display: none;
  }
}
.table .hideS {
  display: none;
}
@media only screen and (min-width: 768px) {
  .table .hideS {
    display: table-cell;
  }
}
.tableScroll {
  overflow-x: auto;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 14px;
}
.pagination a {
  min-width: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #202226;
  color: #CCC;
  text-align: center;
}
.pagination a.selected {
  background: linear-gradient(#ffc600, #ff8a00);
  color: #2a1500;
  font-weight: 700;
}
.rowList {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rowList li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: solid 1px #232529;
}
.rowList li:last-child {
  border-bottom: none;
}
.rowList li .grow {
  flex: 1;
  min-width: 0;
}
.rowList li .grow small {
  display: block;
  color: #888;
  font-size: 0.82em;
}
.rowList li .grow a {
  color: inherit;
}
.rowList.compact li {
  padding: 6px 0;
}
.chipsList {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.chipsList span, .chipsList a {
  padding: 4px 10px;
  border-radius: 14px;
  background: #25272b;
  color: #DDD;
  font-size: 0.88em;
}
.chipsList .tag {
  color: #FC0;
}
.chart {
  display: flex;
  align-items: stretch;
  gap: 3px;
  height: 170px;
}
.chart .col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}
.chart .col .bar {
  width: 100%;
  max-width: 26px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(#ffc600, #ff8a00);
  opacity: 0.85;
}
.chart .col small {
  height: 14px;
  color: #888;
  font-size: 0.65em;
  white-space: nowrap;
}
.chart .col:hover .bar {
  opacity: 1;
}
/* ---- fiche modèle ---- */
.validation .checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 0;
  margin: 0 0 10px;
}
.validation .checks li {
  color: #888;
}
.validation .checks li i {
  color: #555;
}
.validation .checks li.ok {
  color: #DDD;
}
.validation .checks li.ok i {
  color: #25c05a;
}
.validation .adminMsg {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 200, 0, 0.08);
  color: #DDC;
}
.validation .adminMsg i {
  color: #FC0;
  margin-right: 5px;
}
.validation .motifBox {
  margin-top: 12px;
  max-width: 560px;
}
.infos {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px 10px;
  margin: 0 0 12px;
}
.infos dt {
  color: #888;
}
.infos dd {
  margin: 0;
}
.idDoc {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  color: #999;
  font-size: 0.85em;
}
.idDoc img {
  max-width: 260px;
  max-height: 180px;
  border-radius: 8px;
  border: solid 1px #333;
  object-fit: cover;
}
.accroche {
  font-style: italic;
  color: #FC0;
}
.bio {
  color: #CCC;
}
.mediaThumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
@media only screen and (min-width: 768px) {
  .mediaThumbs {
    grid-template-columns: repeat(8, 1fr);
  }
}
.mediaThumbs a {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.mediaThumbs a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mediaThumbs a .vid {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #666;
  font-size: 1.4em;
}
.mediaThumbs a em {
  position: absolute;
  left: 4px;
  top: 4px;
  padding: 0 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: #FC0;
  font-size: 0.65em;
  font-style: normal;
  font-weight: 700;
}
/* ---- modération : conversation ---- */
.convRead {
  max-width: 760px;
}
.convRead .daySep {
  text-align: center;
  margin: 12px 0 8px;
}
.convRead .daySep span {
  padding: 3px 12px;
  border-radius: 10px;
  background: #25272b;
  color: #999;
  font-size: 0.75em;
}
.convRead .cMsg {
  display: flex;
  margin-bottom: 6px;
}
.convRead .cMsg.model {
  justify-content: flex-end;
}
.convRead .cMsg.model .bubble {
  background: #3a2a10;
}
.convRead .cMsg .bubble {
  max-width: 75%;
  padding: 6px 10px;
  border-radius: 10px;
  background: #25272b;
}
.convRead .cMsg .who {
  display: block;
  color: #888;
  font-size: 0.75em;
}
.convRead .cMsg .txt {
  white-space: pre-wrap;
  word-wrap: break-word;
}
.convRead .cMsg .meta {
  display: block;
  text-align: right;
  color: #777;
  font-size: 0.7em;
}
.convRead .cMsg .bonus {
  color: #FC0;
}
.convRead .cMsg .msgFlag {
  display: block;
  margin-top: 3px;
  color: #999;
  font-size: 0.75em;
}
.convRead .cMsg .msgFlag i {
  margin-right: 3px;
}
.convRead .cMsg .msgFlag.del {
  color: #ff7b7b;
}
.convRead .cMsg .msgFlag.react {
  color: #DDD;
}
.convRead .cMsg .pack {
  display: block;
  color: #FC0;
  font-size: 0.85em;
  margin: 3px 0;
}
.convRead .cMsg .thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 4px 0;
}
.convRead .cMsg .thumbs a {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}
.convRead .cMsg .thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.convRead .cMsg .thumbs .vid {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #666;
}
/* ---- chat support ---- */
.table tr.unread td:first-child b::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #ff8a00;
  vertical-align: 1px;
}
.supportLayout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
  align-items: start;
}
@media only screen and (min-width: 992px) {
  .supportLayout {
    grid-template-columns: 1fr 300px;
  }
}
.supportConv .convRead {
  max-width: none;
  max-height: calc(100vh - 420px);
  min-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}
.supportConv .cMsg.auto .bubble {
  background: transparent;
  border: dashed 1px #3a3c42;
  color: #999;
}
.supportConv .cMsg.support .bubble {
  background: #3a2a10;
}
.supportConv .cMsg.ai .bubble {
  background: #16243d;
}
.supportConv .cMsg.ai .bubble .who i {
  color: #4f8cff;
}
.supportConv .sFile {
  display: block;
  margin: 4px 0;
  color: #DDD;
}
.supportConv .sFile img {
  display: block;
  max-width: 240px;
  max-height: 200px;
  border-radius: 8px;
}
.supportConv .sFile i {
  color: #ff6b6b;
  margin-right: 4px;
}
.supportConv .sFile small {
  color: #888;
}
.supportUser .supportPhoto {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  border-radius: 50%;
  object-fit: cover;
}
.supportUser .supportPage {
  display: block;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: solid 1px rgba(255, 204, 0, 0.35);
  border-radius: 10px;
  background: rgba(255, 204, 0, 0.06);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.supportUser .supportPage[hidden] {
  display: none;
}
.supportUser .supportPage.flash {
  background: rgba(255, 204, 0, 0.2);
}
.supportUser .supportPage.stale {
  border-color: #333;
  background: transparent;
  opacity: 0.7;
}
.supportUser .supportPage .lbl {
  display: block;
  margin-bottom: 4px;
  color: #999;
  font-size: 0.78em;
}
.supportUser .supportPage .lbl i {
  color: #FC0;
  margin-right: 3px;
}
.supportUser .supportPage .lbl em {
  font-style: normal;
}
.supportUser .supportPage a {
  display: block;
  color: #FFF;
  text-decoration: none;
  word-break: break-all;
}
.supportUser .supportPage a:hover b {
  text-decoration: underline;
}
.supportUser .supportPage b {
  display: block;
  font-size: 0.92em;
}
.supportUser .supportPage small {
  display: block;
  color: #FC0;
  font-size: 0.8em;
}
.filters .btnLine.on {
  border-color: #FC0;
  color: #FC0;
}
/* ---- actualités des modèles ---- */
.boHead.withAction {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.newsCat {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  background: #2a2c30;
  color: #BBB;
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}
.newsCat.new {
  background: rgba(255, 204, 0, 0.15);
  color: #FC0;
}
.newsCat.tip {
  background: rgba(37, 192, 90, 0.15);
  color: #5c5;
}
.newsCat.event {
  background: rgba(79, 140, 255, 0.15);
  color: #7aa7ff;
}
.newsCat.important {
  background: rgba(238, 0, 0, 0.18);
  color: #ff6b6b;
}
.newsEdit {
  max-width: 820px;
}
.newsEdit .newsCats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}
.newsEdit .newsCats label {
  margin: 0;
  cursor: pointer;
}
.newsEdit .newsCats input {
  display: none;
}
.newsEdit .newsCats .newsCat {
  padding: 5px 12px;
  font-size: 0.8em;
  opacity: 0.5;
  border: solid 1px transparent;
}
.newsEdit .newsCats input:checked + .newsCat {
  opacity: 1;
  border-color: currentColor;
}
.saveBar {
  gap: 8px;
}
/* ---- posts des modèles ---- */
.postState {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 10px;
  background: #2a2c30;
  color: #BBB;
  font-size: 0.75em;
  font-weight: 700;
  vertical-align: middle;
}
.postState.publie {
  background: rgba(37, 192, 90, 0.15);
  color: #5c5;
}
.postState.programme {
  background: rgba(79, 140, 255, 0.15);
  color: #7aa7ff;
}
.postState.masque {
  background: rgba(255, 107, 107, 0.15);
  color: #ff7b7b;
}
.postBo .postTxt {
  margin-bottom: 12px;
  color: #DDD;
  line-height: 1.5;
  word-wrap: break-word;
}
.postBo .mediaThumbs {
  margin-bottom: 14px;
}
.postBo .mediaThumbs a {
  position: relative;
}
.postBo .mediaThumbs .lock {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 2px 5px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  color: #FC0;
  font-size: 0.7em;
}
.postBo .boComment {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: solid 1px #26282c;
}
.postBo .boComment > div {
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
}
.postBo .boComment.hidden > div {
  opacity: 0.45;
}
.supportReply {
  margin-top: 14px;
  padding-top: 14px;
  border-top: solid 1px #2a2c30;
}
.supportReply .quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.supportReply .quick a {
  max-width: 100%;
  padding: 5px 10px;
  border: solid 1px #34363a;
  border-radius: 14px;
  color: #BBB;
  font-size: 0.82em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.supportReply .quick a:hover {
  border-color: #FC0;
  color: #FFF;
}
.supportReply textarea.field {
  width: 100%;
  resize: vertical;
  min-height: 80px;
}
/* ---- listes ---- */
.listeTable .handle {
  width: 24px;
  color: #555;
  cursor: grab;
}
.listeTable .field.small {
  width: 100%;
  max-width: 260px;
}
.listeTable tr.dragging td {
  background: #25272b;
  opacity: 0.7;
}
.addRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.addRow .field {
  flex: 1;
  min-width: 160px;
}
/* ---- paramètres ---- */
.settingRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: solid 1px #232529;
}
.settingRow:last-child {
  border-bottom: none;
}
.settingRow b {
  display: block;
}
.settingRow small {
  color: #888;
}
/* ---- administrateurs ---- */
.droits {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  columns: 1;
}
@media only screen and (min-width: 768px) {
  .droits {
    columns: 2;
  }
}
.droits li {
  break-inside: avoid;
}
.droits li label {
  margin: 4px 0;
}
.matrix td:first-child {
  white-space: nowrap;
}
.matrix .fa-check {
  color: #25c05a;
}
.saveBar {
  display: flex;
  justify-content: flex-end;
}
/* ---- accès refusé ---- */
.denied {
  text-align: center;
  padding: 40px 20px;
}
.denied > i {
  font-size: 2.4em;
  color: #FC0;
  margin-bottom: 10px;
}
.denied b {
  display: block;
  font-size: 1.2em;
  margin-bottom: 6px;
}
.denied p {
  color: #999;
  max-width: 420px;
  margin: 0 auto 16px;
}
/* ---- notifications ---- */
.toast {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 200;
  max-width: calc(100vw - 28px);
  padding: 11px 16px;
  border-radius: 10px;
  background: #25c05a;
  color: #062;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.25s ease;
}
.toast.show {
  transform: none;
  opacity: 1;
}
.toast.error {
  background: #d9363e;
  color: #FFF;
}
/* ---- chat support : "... écrit" de l'utilisateur (temps réel, cf. bo.js) ---- */
.supportTyping {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px 0;
  color: #999;
  font-size: 0.85em;
}
.supportTyping[hidden] {
  display: none;
}
.supportTyping span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999;
  animation: boTyping 1.2s infinite;
}
.supportTyping span:nth-child(2) {
  animation-delay: 0.15s;
}
.supportTyping span:nth-child(3) {
  animation-delay: 0.3s;
  margin-right: 4px;
}
@keyframes boTyping {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
/* ---- chat support : co-navigation (écran de l'utilisateur en direct, cf. bo.js) ---- */
.cbAskBtn {
  margin-bottom: 14px;
}
.cbAskBtn.on {
  border-color: #FC0;
  color: #FC0;
}
.cbViewer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.85);
}
.cbViewer.open {
  display: flex;
}
.cbViewer .cbHead {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 16px;
  background: #151515;
  border-bottom: solid 1px #333;
}
.cbViewer .cbHead b {
  color: #FFF;
}
.cbViewer .cbHead b i {
  color: #FC0;
  margin-right: 6px;
}
.cbViewer .cbHead small {
  color: #777;
}
.cbViewer .cbHead .cbHint {
  flex: 1;
  color: #FC0;
  font-size: 0.85em;
}
.cbViewer .cbHead .cbHint i {
  margin-right: 4px;
}
.cbViewer .cbHead a {
  padding: 6px 12px;
  border: solid 1px #444;
  border-radius: 6px;
  color: #DDD;
  font-size: 0.85em;
  text-decoration: none;
}
.cbViewer .cbHead a.danger {
  border-color: #7a2a2a;
  color: #ff7b7b;
}
.cbViewer .cbStage {
  position: relative;
  flex: 1;
  margin: 14px;
  overflow: hidden;
}
.cbViewer .cbWait {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #999;
}
.cbViewer .cbFrame {
  position: absolute;
  transform-origin: 0 0;
  background: #000;
  box-shadow: 0 0 0 1px #444, 0 20px 60px rgba(0, 0, 0, 0.6);
}
.cbViewer .cbFrame .replayer-wrapper {
  position: relative;
}
.cbViewer .cbFrame iframe {
  border: none;
}
.cbViewer .cbClick {
  position: absolute;
  z-index: 2;
  cursor: crosshair;
}
.cbViewer .cbRipple {
  position: absolute;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: solid 3px #FC0;
  border-radius: 50%;
  pointer-events: none;
  animation: cbRipple 0.7s ease-out forwards;
}
@keyframes cbRipple {
  from {
    transform: scale(0.3);
    opacity: 1;
  }
  to {
    transform: scale(2);
    opacity: 0;
  }
}
/* ---- apparence du site client (thème de couleurs, cf. page_apparence.php) ---- */
.themeLayout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
@media (min-width: 1000px) {
  .themeLayout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}
.themeLayout .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.themePresets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.themePreset {
  display: block;
  padding: 8px;
  border: solid 2px #333;
  border-radius: 12px;
  color: #DDD;
  text-decoration: none;
}
.themePreset:hover {
  border-color: #555;
}
.themePreset.selected {
  border-color: #FC0;
}
.themePreset b {
  display: block;
  margin-top: 8px;
  font-size: 0.9em;
  font-weight: 600;
}
.themePreset .mini {
  display: block;
  position: relative;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}
.themePreset .mini .h {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 18px;
  background: linear-gradient(var(--b1), var(--b2));
}
.themePreset .mini .l {
  position: absolute;
  left: 10px;
  top: 28px;
  width: 60%;
  height: 6px;
  border-radius: 3px;
  background: var(--acc);
  box-shadow: 0 12px 0 rgba(128, 128, 128, 0.35);
}
.themePreset .mini .b {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 44px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(var(--btn1), var(--btn2));
}
.themeMode {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.themeMode span {
  color: #999;
  font-size: 0.9em;
}
.themeMode label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.themeColors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}
.themeColor {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: solid 1px #2c2c2c;
  border-radius: 8px;
  cursor: pointer;
}
.themeColor input[type="color"] {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: none;
  cursor: pointer;
}
.themeColor span {
  font-size: 0.88em;
  line-height: 1.3;
}
.themeColor small {
  display: block;
  color: #777;
  font-family: monospace;
}
.themePreview .pv {
  overflow: hidden;
  border: solid 1px var(--pv-border);
  border-radius: 12px;
  background: var(--pv-bg);
  color: var(--pv-text);
  font-size: 0.92em;
}
.themePreview .pv .pvHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: linear-gradient(180deg, var(--brand), var(--brand2));
  color: #FFF;
}
.themePreview .pv .pvHead b {
  font-size: 1.1em;
  letter-spacing: 0.02em;
}
.themePreview .pv .pvCredits {
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
}
.themePreview .pv .pvCredits i {
  color: var(--accent);
  margin-right: 4px;
}
.themePreview .pv .pvBody {
  padding: 16px 14px 18px;
}
.themePreview .pv .pvCard {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding: 10px;
  border: solid 1px var(--pv-border);
  border-radius: 10px;
  background: var(--pv-card);
}
.themePreview .pv .pvPhoto {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a27e, #6d4c3d);
  border: solid 2px var(--accent);
}
.themePreview .pv .pvCard b {
  display: block;
}
.themePreview .pv .pvCard small {
  display: block;
  color: var(--pv-muted);
}
.themePreview .pv .pvPrice {
  color: var(--accent);
  font-weight: 700;
}
.themePreview .pv p {
  margin: 0 0 8px;
}
.themePreview .pv a {
  color: var(--accent);
}
.themePreview .pv .pvInput {
  display: block;
  margin-bottom: 14px;
  padding: 9px 12px;
  border: solid 2px var(--focus);
  border-radius: 8px;
  color: var(--pv-muted);
}
.themePreview .pv .pvBtn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 5px;
  background: linear-gradient(var(--btn1), var(--btn2));
  color: var(--btn-text);
  font-weight: 700;
}
