/* 18/11/2026 nut + khung nho KENH CONG DONG (chat chung) canh nut Ho tro - cung kieu hotro.css */
.bkcd-nut{position:fixed;right:90px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:9990;width:58px;height:58px;border-radius:50%;
  border:2px solid #c99a46;background:radial-gradient(circle at 35% 30%,#3d5a4a,#1f3328 70%);color:#ffd77a;font-size:23px;
  box-shadow:0 4px 14px rgba(0,0,0,.45);cursor:pointer;display:flex;align-items:center;justify-content:center}
.bkcd-nut:hover{transform:translateY(-2px)}
.bkcd-dem{position:absolute;top:-4px;right:-4px;min-width:21px;height:21px;padding:0 5px;border-radius:11px;background:#b3201a;color:#fff3d6;
  border:2px solid #ffd77a;font:700 11px/17px "Be Vietnam Pro",sans-serif;text-align:center}
.bkcd-dem[hidden]{display:none}
.bkcd-nhan{position:absolute;bottom:-17px;left:50%;transform:translateX(-50%);white-space:nowrap;font:700 10px/1 "Be Vietnam Pro",sans-serif;
  color:#7a1a10;background:#fff3d6;border:1px solid #c99a46;border-radius:8px;padding:2px 6px;pointer-events:none}
.bkcd-khung{position:fixed;right:20px;bottom:calc(90px + env(safe-area-inset-bottom,0px));z-index:9991;width:370px;max-width:calc(100vw - 32px);
  height:540px;max-height:calc(100vh - 120px);display:flex;flex-direction:column;background:#1d1410;border:1px solid #c99a46;
  border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.55);overflow:hidden;font-size:14px;color:#f3e3bf;font-family:"Be Vietnam Pro",sans-serif}
.bkcd-khung[hidden]{display:none!important}
.bkcd-dau{background:linear-gradient(180deg,#7a1a10,#4a0f09);border-bottom:2px solid #c99a46;padding:10px 12px 10px 14px;display:flex;align-items:center;gap:8px}
.bkcd-dau b{font-family:"Noto Serif","Times New Roman",Georgia,serif;color:#ffd77a;font-size:16px;flex:1}
.bkcd-dau small{display:block;color:#f3e3bf;opacity:.75;font-weight:normal;font-size:12px;font-family:"Be Vietnam Pro",sans-serif}
.bkcd-dau a,.bkcd-dong{background:none;border:0;color:#ffd77a;font-size:15px;line-height:1;cursor:pointer;padding:4px 6px;text-decoration:none;border-radius:6px}
.bkcd-dau a:hover,.bkcd-dong:hover{background:rgba(255,215,122,.15);color:#fff3d6}
.bkcd-dong{font-size:22px}
.bkcd-ghim{display:none;background:#3a2716;border-bottom:1px solid #5a3d22;color:#e8cf98;font-size:12px;padding:6px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bkcd-ghim i{color:#ffd77a;margin-right:6px}
.bkcd-tin{flex:1;overflow-y:auto;padding:10px 10px 6px;display:flex;flex-direction:column;gap:3px;background:#2a1d16;
  background-image:radial-gradient(rgba(201,154,70,.08) 1px,transparent 1px);background-size:18px 18px}
.bkcd-tin::-webkit-scrollbar{width:7px}.bkcd-tin::-webkit-scrollbar-thumb{background:#5a3d22;border-radius:7px}
.bkcd-ngay{align-self:center;margin:6px 0;font-size:11px;color:#c99a46;border:1px solid #5a3d22;border-radius:9px;padding:1px 10px}
.bkcd-m{display:flex;gap:7px;align-items:flex-end;max-width:100%}
.bkcd-m.toi{flex-direction:row-reverse}
.bkcd-av{flex:0 0 26px;width:26px;height:26px;border-radius:50%;border:1px solid #c99a46;color:#fff3d6;font:700 11px/24px "Noto Serif",serif;text-align:center}
.bkcd-m.toi .bkcd-av{display:none}
.bkcd-cot{display:flex;flex-direction:column;max-width:80%}
.bkcd-m.toi .bkcd-cot{align-items:flex-end}
.bkcd-ten{font:700 11px "Noto Serif",serif;color:#e0b660;margin:4px 4px 1px}
.bkcd-bb{padding:7px 11px;border-radius:12px;line-height:1.4;white-space:pre-wrap;word-wrap:break-word;background:#f3e3bf;color:#3a2a20;border-bottom-left-radius:3px}
.bkcd-m.toi .bkcd-bb{background:#7a1a10;color:#ffe9b8;border:1px solid #c99a46;border-bottom-left-radius:12px;border-bottom-right-radius:3px}
.bkcd-bb img{display:block;max-width:190px;max-height:200px;border-radius:8px;margin-top:3px;cursor:pointer}
.bkcd-tr{border-left:3px solid #c99a46;background:rgba(201,154,70,.16);border-radius:4px;padding:2px 7px;margin-bottom:4px;font-size:12px;opacity:.9}
.bkcd-gio{font-size:10px;color:#a88a5c;margin:1px 5px 3px}
.bkcd-rong{margin:auto;text-align:center;color:#c99a46;font-size:13px;padding:20px}
.bkcd-rong a{display:inline-block;margin-top:10px;background:#b3201a;color:#ffd77a;border:1px solid #c99a46;border-radius:8px;padding:7px 16px;font-weight:700;text-decoration:none}
.bkcd-bao{min-height:0;color:#ff9b8a;font-size:12px;padding:0 10px}
.bkcd-go{display:flex;gap:6px;padding:8px;border-top:1px solid #5a3d22;background:#1d1410}
.bkcd-go input{flex:1;min-width:0;background:#f3e3bf;color:#3a2a20;border:1px solid #c99a46;border-radius:8px;padding:8px 10px;font-size:14px}
.bkcd-go input:disabled{opacity:.6}
.bkcd-go button{background:#b3201a;color:#ffd77a;border:1px solid #c99a46;border-radius:8px;padding:0 14px;font-weight:bold;cursor:pointer}
.bkcd-go button:disabled{opacity:.5}
.bkcd-chan{text-align:center;font-size:11px;color:#a88a5c;padding:0 0 6px;background:#1d1410}
.bkcd-chan a{color:#e0b660}
@media (max-width:480px){.bkcd-khung{right:0;left:0;bottom:0;width:100%;max-width:100%;height:78vh;border-radius:12px 12px 0 0}
  .bkcd-nut{right:84px;bottom:calc(14px + env(safe-area-inset-bottom,0px))}}
