/* =====================================================================
   COCO2 — gabarit STANDARD (par défaut) de Tropical, Blue Classic 2011 et Taupe : exactement la disposition de
   COCO2 Actuel, Coconut et Brown (mêmes places, mêmes tailles, texte de 13 px), habillée des couleurs, logos, formes
   d'onglets et de boutons et décors de chaque présentation. Comme Coconut et Brown (classic-shared.css), on ne change
   que les variables de couleur et quelques détails : aucune position ni taille n'est redéfinie ici.
   Gabarit historique (scènes à l'échelle des captures d'origine) : case « Disposition historique » du panneau Design,
   règles de classic-tropical.css, classic-blue2011.css et classic-taupe.css.
   ===================================================================== */

/* ---------- Tropical : vert anis, cadre gris clair, saisie jaune, palmier / soleil / ananas dans les marges ---------- */
html[data-apparence="tropical"]:not([data-gabarit="historique"]) .app {
  --taupe: #b3cc66; --taupe-dark: #a3bc55; --paper: #eeeeee; --lavender: #c4bcee; --lavender-row: #e3ddfb;
  --lavender-row-2: #cdc3f3; --violet-row: #9b98db; --btn: #ffff99; --panel: #e9e98e;
  background: url("../assets/themes/coconut/logo.svg") no-repeat 18px 8px / auto 70px, var(--taupe);
}
html[data-apparence="tropical"]:not([data-gabarit="historique"]) .app .band-bottom,
html[data-apparence="tropical"]:not([data-gabarit="historique"]) .app .mini-footer { background: #e9e98e; border-top-color: #b8b860; }
html[data-apparence="tropical"]:not([data-gabarit="historique"]) #input { background: #ffff99; border-color: #000; }
html[data-apparence="tropical"]:not([data-gabarit="historique"]) .tab { background: #e6e6e6; border-color: #000; border-radius: 8px 8px 0 0; font-family: "Lucida Console", "Courier New", Courier, monospace; font-weight: bold; }
html[data-apparence="tropical"]:not([data-gabarit="historique"]) .tab.active { background: var(--paper); }
html[data-apparence="tropical"]:not([data-gabarit="historique"]) #users li:has(.pseudo.g-F) { background: #da9abc; }
html[data-apparence="tropical"]:not([data-gabarit="historique"]) .app:has(.tab.active .puce) .messages { background: linear-gradient(#a3b6e2, #fff); }
/* Décor : seulement dans les marges libres de part et d'autre du tchat (jamais par-dessus), sans effet sur les clics. */
html[data-apparence="tropical"]:not([data-gabarit="historique"]) body:has(#app:not([hidden])) .decor-tropical { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; }
html[data-apparence="tropical"]:not([data-gabarit="historique"]) .decor-tropical .d-bande { display: none; }
html[data-apparence="tropical"]:not([data-gabarit="historique"]) .decor-tropical .d-palmier { position: absolute; left: 0; bottom: 60px; width: min(400px, calc((100vw - 1080px) / 2)); height: auto; max-height: 92vh; object-fit: contain; object-position: left bottom; }
html[data-apparence="tropical"]:not([data-gabarit="historique"]) .decor-tropical .d-soleil { position: absolute; right: 12px; top: 12px; width: min(200px, calc((100vw - 1100px) / 2)); height: auto; }
html[data-apparence="tropical"]:not([data-gabarit="historique"]) .decor-tropical .d-ananas { position: absolute; right: 0; bottom: 96px; width: min(300px, calc((100vw - 1100px) / 2)); height: auto; max-height: 70vh; object-fit: contain; object-position: right bottom; }

/* ---------- Blue Classic 2011 : fond bleu pâle, zone #efefef, onglets gris arrondis, boutons pastel ---------- */
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .app {
  --taupe: #cfdef4; --taupe-dark: #b9cbe8; --paper: #efefef; --lavender: #dddddd; --lavender-row: #e8e8f2;
  --lavender-row-2: #d6d6e6; --violet-row: #a8a8e0; --btn: #eef2fb; --panel: #dddddd;
  background: url("../assets/themes/blue2011/logo.svg") no-repeat 18px 10px / auto 62px, var(--taupe);
}
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .app .band-bottom,
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .app .mini-footer { background: #c2d4ee; border-top-color: #7f95bd; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .tab { background: #cdcbca; border-color: #000; border-radius: 6px 6px 0 0; font-family: "Lucida Console", "Courier New", Courier, monospace; font-weight: bold; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .tab.active { background: var(--paper); font-weight: normal; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) #input { background: #fffef4; border-color: #000; border-radius: 6px; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .btn-coco.rail { font-family: "Lucida Console", "Courier New", Courier, monospace; border: 1px solid #000; box-shadow: none; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .btn-coco.rail.accueil { background: #ffffff; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .btn-coco.rail.filtre { background: #d3b8cc; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .btn-coco.rail.design { background: #dfe7b1; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .btn-coco.rail.reset { background: #bddda5; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .btn-coco.rail.profil { background: #e6e6e6; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .btn-coco.rail.info { background: #f0c0c4; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .btn-coco.rail.premium { background: #eadcbc; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .btn-coco.rail.amiz { background: #e2b837; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) #smiley-btn { background: #b9bcdb; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) .msg .from { color: #000 !important; font-weight: normal; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) #chat-users li > small { background: #a8a8e0; }
html[data-apparence="blue2011"]:not([data-gabarit="historique"]) #chat-users li.g-F > small { background: #e8a8b8; }

/* ---------- Taupe : fond taupe, zone #eeeeee à bande bleu-gris, onglet actif bleu clair, boutons colorés ---------- */
html[data-apparence="taupe"]:not([data-gabarit="historique"]) .app {
  --taupe: #a08878; --taupe-dark: #b5a093; --paper: #eeeeee; --lavender: #c9bdb4; --lavender-row: #ddd3cc;
  --lavender-row-2: #cfc3ba; --violet-row: #b6c9ef; --btn: #f4ec84; --panel: #d8cdc5;
  background: url("../assets/themes/taupe/logo.svg") no-repeat 18px 8px / auto 62px, linear-gradient(var(--taupe-dark) 0 72px, var(--taupe) 72px);
}
html[data-apparence="taupe"]:not([data-gabarit="historique"]) .app .band-bottom,
html[data-apparence="taupe"]:not([data-gabarit="historique"]) .app .mini-footer { background: #8e8178; border-top-color: #2a2522; }
html[data-apparence="taupe"]:not([data-gabarit="historique"]) .app .mini-footer a,
html[data-apparence="taupe"]:not([data-gabarit="historique"]) .app .typing { color: #f6f4f0; }
html[data-apparence="taupe"]:not([data-gabarit="historique"]) .tab { background: #e6e6e6; border-color: #000; border-radius: 6px 6px 0 0; font-family: "Courier New", Courier, monospace; font-weight: bold; }
html[data-apparence="taupe"]:not([data-gabarit="historique"]) .tab.active { background: #a3b4e0; }
html[data-apparence="taupe"]:not([data-gabarit="historique"]) #view-chat .messages { border-left: 8px solid #b5c1cd; }
html[data-apparence="taupe"]:not([data-gabarit="historique"]) .app:has(.tab.active .puce) .messages { background: linear-gradient(#9fb4e1, #fff); }
html[data-apparence="taupe"]:not([data-gabarit="historique"]) #input { background: #f4f4f1; border-color: #000; border-radius: 6px; }
html[data-apparence="taupe"]:not([data-gabarit="historique"]) .btn-coco.rail { font-family: "Courier New", Courier, monospace; font-weight: bold; border: 1px solid #000; }
html[data-apparence="taupe"]:not([data-gabarit="historique"]) .btn-coco.rail.reset { background: #bfe5a8; }
html[data-apparence="taupe"]:not([data-gabarit="historique"]) .btn-coco.rail.profil { background: #ffffff; }
html[data-apparence="taupe"]:not([data-gabarit="historique"]) .btn-coco.rail.info { background: #f5a3a3; }
html[data-apparence="taupe"]:not([data-gabarit="historique"]) #pm-participants .nom.g-F { color: #b01ec0; }

/* ---------- Rose Classic (variante rose de l'époque Coco.gg 2.0) : fond rose, onglet actif bleu clair, saisie rose pâle ---------- */
html[data-apparence="rose"]:not([data-gabarit="historique"]) .app {
  --taupe: #dac4d0; --taupe-dark: #c6a3b7; --paper: #eeeeee; --lavender: #d9c6e6; --lavender-row: #e6d8ef;
  --lavender-row-2: #d6c3e3; --violet-row: #b9a8dc; --btn: #e0e28e; --panel: #d6c7cf;
  background: url("../assets/themes/taupe/logo.svg") no-repeat 18px 8px / auto 62px, linear-gradient(var(--taupe-dark) 0 72px, var(--taupe) 72px);
}
html[data-apparence="rose"]:not([data-gabarit="historique"]) .app .band-bottom,
html[data-apparence="rose"]:not([data-gabarit="historique"]) .app .mini-footer { background: #caa9bc; border-top-color: #000; }
html[data-apparence="rose"]:not([data-gabarit="historique"]) .tab { background: #dfdfdf; border-color: #000; border-radius: 4px 4px 0 0; font-family: "Courier New", Courier, monospace; font-weight: bold; }
html[data-apparence="rose"]:not([data-gabarit="historique"]) .tab.active { background: #a0b2e0; }
html[data-apparence="rose"]:not([data-gabarit="historique"]) .app:has(.tab.active .puce) .messages { background: linear-gradient(#9db4e0, #eaf2ff); }
html[data-apparence="rose"]:not([data-gabarit="historique"]) #input { background: #f2e9ee; border-color: #000; border-radius: 6px; }
html[data-apparence="rose"]:not([data-gabarit="historique"]) .btn-coco.rail { font-family: "Courier New", Courier, monospace; font-weight: bold; border: 1px solid #000; box-shadow: none; }
html[data-apparence="rose"]:not([data-gabarit="historique"]) .btn-coco.rail.accueil, html[data-apparence="rose"]:not([data-gabarit="historique"]) .btn-coco.rail.profil { background: #dededc; }
html[data-apparence="rose"]:not([data-gabarit="historique"]) .btn-coco.rail.filtre { background: #d6adcb; }
html[data-apparence="rose"]:not([data-gabarit="historique"]) .btn-coco.rail.design { background: #e0e28e; }
html[data-apparence="rose"]:not([data-gabarit="historique"]) .btn-coco.rail.reset { background: #bbddaa; }
html[data-apparence="rose"]:not([data-gabarit="historique"]) .btn-coco.rail.premium { background: #dbcdaa; }
html[data-apparence="rose"]:not([data-gabarit="historique"]) .btn-coco.rail.info { background: #e69e9f; }
html[data-apparence="rose"]:not([data-gabarit="historique"]) .btn-coco.rail.amiz { background: #e2b93b; }
html[data-apparence="rose"]:not([data-gabarit="historique"]) #smiley-btn { background: #b7beda; }
html[data-apparence="rose"]:not([data-gabarit="historique"]) #pm-participants .nom.g-F { color: #b01ec0; }
