#chat-screen{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;background:#0b0b0e;color:#e7e7ea;font-family:Tajawal,Inter,system-ui,sans-serif}#chat-head{display:flex;align-items:center;gap:12px;padding:max(14px,env(safe-area-inset-top)) 16px 14px;background:#121216;border-bottom:1px solid #1F1F25}#chat-back{color:#9ca3af;display:flex;padding:4px;border-radius:10px}#chat-back:hover{background:#1f1f25;color:#fff}.choix-centre{margin:24px auto;max-width:340px;display:flex;flex-direction:column;gap:18px}.choix-centre p{color:#fff;font-size:22px;font-weight:700;text-align:center;line-height:1.5}.choix-centre.photo-bloc button{font-size:32px}.choix-centre.photo-bloc button:first-of-type{background:#fc0;color:#111;border-color:#111}.tel-bloc .tel-num{color:#fc0;font-size:34px;font-weight:800;text-align:center;letter-spacing:1px}.tel-bloc #tel-ok{background:#fc0;color:#111;border-color:#111;font-size:28px;padding:16px}.tel-bloc button.autre{font-size:18px;padding:12px;background:#3a3a3a;border:2px solid #8A8A93}.photo-exemple{display:block;margin:0 auto;max-width:100%;max-height:190px;border-radius:14px;border:2px solid #FFCC00}.apres-bloc button.autre{font-size:22px;padding:14px;background:#3a3a3a;border:2px solid #8A8A93}.apres-bloc .b-video:not(.autre),.apres-bloc .b-store{background:#fc0;color:#111;border-color:#111;font-size:30px}.lien-nouveau{margin:10px auto;background:none;border:none;color:#8a8a93;font-size:16px;text-decoration:underline}#video-ov{position:fixed;inset:0;z-index:200;background:#000;display:flex;flex-direction:column}#video-ov .v-haut{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#111;color:#fff;font-size:20px;font-weight:700;direction:rtl}#video-ov .v-fermer{background:none;border:none;padding:4px}#video-ov iframe{flex:1;width:100%;border:0;background:#000}#video-ov .v-bas{padding:10px 14px 14px;background:#111}#video-ov .v-fini{width:100%;padding:16px;font-size:22px;font-weight:800;border-radius:16px;border:3px solid #111;background:#fc0;color:#111}#video-ov .v-bas:empty{display:none}#video-ov .v-bas{display:flex;flex-direction:column;gap:10px}#video-ov .v-store{width:100%;padding:16px;font-size:26px;font-weight:800;border-radius:16px;border:3px solid #111;background:#fc0;color:#111;animation:pop .25s ease-out}#video-ov .v-fini:disabled{background:#3a3a3a;color:#bbb;border-color:#555}.choix-centre button{padding:22px 16px;font-size:45px;font-weight:800;color:#fff;background:#2a2a30;border:3px solid #FFCC00;border-radius:26px}.choix-centre button:active{background:#fc0;color:#111}#casa-gate{margin:28px auto;max-width:340px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:18px}#casa-gate p{color:#fff;font-size:22px;font-weight:700;line-height:1.5}#casa-gate button{width:60%;padding:12px;font-size:20px;font-weight:800;background:#fc0;color:#111;border:3px solid #111;border-radius:18px;box-shadow:0 0 0 4px #ffcc0059}#casa-gate button.autre{background:#3a3a3a;color:#fff;border:2px solid #8A8A93;box-shadow:none;font-size:18px;padding:10px}#chat-avatar{position:relative;height:42px}#chat-avatar img{height:42px;width:auto;border-radius:10px;-o-object-fit:contain;object-fit:contain;background:#fff;padding:3px 6px}#chat-dot{position:absolute;bottom:1px;inset-inline-end:1px;width:11px;height:11px;border-radius:50%;background:#25d366;border:2px solid #121216}#chat-title{display:flex;flex-direction:column;line-height:1.3}#chat-title strong{font-size:22px;line-height:1.1;white-space:nowrap;color:#fff;font-weight:700}.bot-tag{font-size:10px;background:#fc0;color:#0f0f0f;padding:1px 6px;border-radius:6px;vertical-align:middle;font-weight:800}#chat-status{font-size:12px;color:#8a8a93}#chat-log{flex:1;overflow-y:auto;padding:18px 14px 8px;display:flex;flex-direction:column;gap:8px;scroll-behavior:smooth}#chat-log>:first-child{margin-top:auto!important}#chat-log>:last-child{margin-bottom:auto!important}.plaque-bloc button{font-size:36px;padding:18px 16px}.plaque-bloc .p-oui{background:#fc0;color:#111;border-color:#111}#casa-gate button{transform:translateY(113px)}#casa-gate #casa-oui{transform:translateY(37px)}#chat-log{padding-bottom:226px}.msg{max-width:92%;padding:10px 14px;border-radius:18px;text-align:center;font-size:22px;line-height:1.6;word-wrap:break-word;font-weight:700;animation:pop .18s ease-out}.msg.bot{align-self:center;background:transparent;color:#fff}.msg.me{align-self:center;background:#fc0;color:#111}.msg.photo{display:inline-flex;align-items:center;gap:8px;opacity:.95}.msg b{font-weight:800}.msg.typing{align-self:center;display:inline-flex;gap:4px;padding:14px 16px}.msg.typing span{width:7px;height:7px;border-radius:50%;background:#6b6b74;animation:blink 1.2s infinite}.msg.typing span:nth-child(2){animation-delay:.2s}.msg.typing span:nth-child(3){animation-delay:.4s}#chat-quick{display:flex;flex-wrap:wrap;gap:8px;padding:0 14px;justify-content:center}#chat-form{display:none!important}#saisie-centre{margin:18px auto;width:100%;max-width:340px;display:flex;flex-direction:column;gap:14px}#saisie-centre input{width:100%;text-align:center;font-size:26px;font-weight:700;padding:14px;border-radius:16px;border:3px solid #FFCC00;background:#1c1c22;color:#fff;outline:none}#saisie-centre input,#saisie-centre input:focus{border-color:#fc0!important;box-shadow:none!important}#saisie-centre input.invalid{border-color:#e5484d!important}#saisie-centre button{padding:16px;font-size:24px;font-weight:800;background:#fc0;color:#111;border:3px solid #111;border-radius:18px}#chat-quick:not(:empty){padding-bottom:10px}.qbtn{background:#1c1c22;color:#e7e7ea;border:1.5px solid #34343D;padding:15px 26px;border-radius:26px;font-size:18px;font-weight:700;line-height:1.25;min-height:52px;cursor:pointer;transition:transform .12s,background .15s,border-color .15s}.qbtn:hover{background:#26262e;border-color:#fc0;transform:translateY(-1px)}.qbtn:active{transform:scale(.97)}.qbtn.primary{background:#fc0;color:#0f0f0f;border-color:#fc0}.qbtn.green{background:#25d366;color:#07210f;border-color:#25d366;font-weight:800}.qbtn.green:hover{background:#1ebe5b;border-color:#1ebe5b}.qbtn.gray{background:#2a2a31;color:#c9c9cf;border-color:#3a3a43}.qbtn.gray:hover{background:#34343d;border-color:#4a4a55}#chat-form{display:flex;align-items:center;gap:8px;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:#121216;border-top:1px solid #1F1F25}#chat-input{flex:1;background:#1e1e24;color:#fff;border:1px solid #2C2C34;border-radius:22px;padding:12px 16px;font-size:15px;outline:none;font-family:inherit;transition:border-color .15s}#chat-input::-moz-placeholder{color:#6b6b74}#chat-input::placeholder{color:#6b6b74}#chat-input:focus{border-color:#0a84ff}#chat-input.invalid{border-color:#ff5a5a}#chat-input:disabled{opacity:.5}#chat-attach{background:none;border:none;color:#8a8a93;padding:8px;cursor:pointer;display:flex}#chat-attach:hover{color:#fc0}#chat-send{background:#0a84ff;color:#fff;border:none;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .15s,transform .12s}#chat-send:hover:not(:disabled){background:#0667d6;transform:scale(1.05)}#chat-send:disabled{background:#2c2c34;color:#5a5a63;cursor:not-allowed}[dir=rtl] #chat-send svg{transform:scaleX(-1)}@keyframes pop{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes blink{0%,60%,to{opacity:.3}30%{opacity:1}}
