/* ZYRA Connect — rose foncé, blanc, noir */
.cn-app { display: grid; grid-template-columns: 280px 1fr 250px; height: calc(100svh - 150px); min-height: 520px; margin: 18px clamp(18px, 2.4vw, 40px) 28px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(12, 9, 11, .92); overflow: hidden; }
.cn-side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid rgba(255, 255, 255, .12); background: rgba(8, 6, 8, .7); }
.cn-card { display: flex; gap: 12px; align-items: center; padding: 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); border-top: 3px solid #d81b60; }
.cn-card img { border-radius: 12px; } .cn-card b { display: block; font: 800 italic 16px var(--font-h); text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.cn-card span { display: flex; align-items: center; gap: 7px; font: 500 12px var(--font-b); color: #cfc7cb; } .d { width: 7px; height: 7px; border-radius: 50%; background: #8d8489; display: inline-block; } .d.on { background: #fff; box-shadow: 0 0 0 3px rgba(216, 27, 96, .6); }
.cn-chs { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 8px 12px; scrollbar-width: thin; scrollbar-color: #3a2a33 transparent; }
.cat .ct { display: block; width: 100%; text-align: left; margin-top: 12px; padding: 6px 8px; background: none; border: 0; color: #ff7db1; font: 600 11px var(--font-b); letter-spacing: .14em; cursor: pointer; }
.cat .ct::before { content: '\25BE'; margin-right: 6px; } .cat.shut .ct::before { content: '\25B8'; } .cat.shut .cl { display: none; }
.cl a { display: block; padding: 7px 10px; border-radius: 0; color: #cfc7cb; text-decoration: none; font: 500 13px var(--font-b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 2px solid transparent; }
.cl a:hover { background: rgba(255, 255, 255, .06); color: #fff; } .cl a.on { background: rgba(216, 27, 96, .16); color: #fff; border-left-color: #d81b60; } .cl a i { font-style: normal; font-size: 10px; opacity: .6; }
.cn-me { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-top: 1px solid rgba(255, 255, 255, .12); } .cn-me img { border-radius: 50%; }
.cn-me > div { display: grid; gap: 1px; min-width: 0; margin-right: auto; } .cn-me small { font: 600 10px var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: #ff7db1; } .cn-me b { font: 600 13px var(--font-b); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zh-btn.sm { padding: 9px 16px; font-size: 12px; }
.cn-join { display: block; text-align: center; padding: 11px; border-top: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font: 600 12px var(--font-b); letter-spacing: .12em; text-transform: uppercase; } .cn-join:hover { background: #d81b60; }
.cn-chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.cn-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); } .cn-top b { font: 800 italic 18px var(--font-h); color: #fff; white-space: nowrap; } .cn-top span { color: #8d8489; font: 400 13px var(--font-b); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cn-burger { display: none; background: none; border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 18px; padding: 4px 10px; cursor: pointer; }
.cn-msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 8px 8px; scrollbar-width: thin; scrollbar-color: #3a2a33 transparent; }
.cn-load { color: #8d8489; font: 400 14px var(--font-b); padding: 14px; margin: 0; }
.ms { display: flex; gap: 14px; padding: 4px 12px; } .ms:hover { background: rgba(255, 255, 255, .03); } .ms:not(.g) { margin-top: 12px; }
.av { width: 40px; height: 40px; border-radius: 50%; flex: none; margin-top: 2px; object-fit: cover; } .gap { width: 40px; flex: none; }
.bd { min-width: 0; flex: 1; } .hd { display: flex; align-items: baseline; gap: 8px; } .hd b { font: 700 14px var(--font-b); color: #fff; } .hd em { font: 700 9px var(--font-b); font-style: normal; background: #d81b60; color: #fff; padding: 2px 5px; } .hd time { font: 400 11px var(--font-b); color: #8d8489; }
.tx { font: 400 14px/1.55 var(--font-b); color: #e6dfe3; overflow-wrap: anywhere; } .tx a, .eb a { color: #ff7db1; } .tx small { color: #8d8489; font-size: 10px; }
.tx code { background: rgba(255, 255, 255, .08); padding: 1px 5px; font-size: 13px; } .tx pre { background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .1); padding: 10px; overflow-x: auto; font-size: 13px; margin: 6px 0; white-space: pre-wrap; }
.mn { background: rgba(216, 27, 96, .22); color: #fff; padding: 0 3px; } .em { width: 22px; height: 22px; vertical-align: -5px; }
.at { display: block; max-width: min(100%, 420px); max-height: 320px; margin-top: 6px; border: 1px solid rgba(255, 255, 255, .12); object-fit: contain; }
.eb { margin-top: 6px; max-width: 520px; padding: 10px 14px; background: rgba(255, 255, 255, .04); border-left: 4px solid #d81b60; } .eb b { display: block; color: #fff; font: 700 14px var(--font-b); } .eb p { margin: 4px 0 0; font: 400 13px/1.5 var(--font-b); color: #cfc7cb; }
.cn-form { display: flex; gap: 10px; padding: 12px 16px 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.cn-form input { flex: 1; min-width: 0; padding: 13px 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font: 400 14px var(--font-b); } .cn-form input:focus { outline: none; border-color: #d81b60; } .cn-form input:disabled { opacity: .5; }
.cn-form .zh-btn { border: 0; cursor: pointer; } .cn-form .zh-btn:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 800px) { .cn-app { grid-template-columns: 1fr; height: calc(100svh - 120px); } .cn-side { position: absolute; z-index: 5; top: 0; bottom: 0; left: 0; width: min(86vw, 320px); transform: translateX(-102%); transition: transform .25s; } .cn-app { position: relative; } .cn-app.open .cn-side { transform: none; } .cn-burger { display: block; } .cn-top span { display: none; } }

.dv { display: flex; align-items: center; gap: 12px; margin: 18px 12px 6px; color: #8d8489; font: 500 11px var(--font-b); letter-spacing: .08em; } .dv::before, .dv::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, .1); }
.wl { padding: 24px 18px 10px; } .wl .wi { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #d81b60; color: #fff; font: 800 32px var(--font-h); } .wl h2 { margin: 14px 0 4px; font: 800 italic 30px var(--font-h); color: #fff; } .wl p { margin: 0; color: #cfc7cb; font: 400 14px var(--font-b); }
.hd em.rl { background: rgba(216, 27, 96, .25); border: 1px solid rgba(216, 27, 96, .6); color: #ffd3e4; }
.rx { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .rx span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font: 500 12px var(--font-b); color: #fff; } .rx img { width: 16px; height: 16px; }
.cn-mem { border-left: 1px solid rgba(255, 255, 255, .12); background: rgba(8, 6, 8, .7); overflow-y: auto; padding: 14px 12px; min-height: 0; scrollbar-width: thin; scrollbar-color: #3a2a33 transparent; }
.cn-mem h4 { margin: 14px 4px 8px; font: 700 11px var(--font-b); letter-spacing: .12em; color: #ff7db1; } .cn-mem h4:first-child { margin-top: 0; }
.mb { display: flex; align-items: center; gap: 10px; padding: 5px 6px; } .mb img { border-radius: 50%; object-fit: cover; } .mb span { font: 500 13px var(--font-b); color: #e6dfe3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mb em { font: 700 9px var(--font-b); font-style: normal; background: #d81b60; color: #fff; padding: 2px 5px; }
.cn-mem .more { margin: 4px 6px; font: 400 12px var(--font-b); color: #8d8489; }
@media (max-width: 1100px) { .cn-app { grid-template-columns: 260px 1fr; } .cn-mem { display: none; } }

/* pleine largeur, bien cadré sous le menu */
body.look-world main { max-width: none !important; padding: 0 !important; width: 100% !important; }
.cn-app { width: auto; margin: 14px clamp(12px, 1.6vw, 28px) 18px; height: calc(100svh - 120px); }
.at { max-width: min(100%, 380px); max-height: 260px; }
