/* Ảnh thực thể (NPC, quái, bản đồ, vật phẩm) từ client VNG. Chỉ nạp ở trang sinh bởi gen_entities.py */
.the-hop{display:flex;align-items:flex-start;gap:20px}
.the-hop-nd{flex:1;min-width:0}
.hinh-the{margin:0;flex:none;max-width:260px;text-align:center}
.hinh-the img{display:block;margin:0 auto;max-width:100%;height:auto;background:var(--soft);border:1px solid var(--line2);border-radius:var(--r);padding:8px}
.hinh-the figcaption{font-size:12px;line-height:1.4;color:var(--mut2);margin-top:4px}
.hinh-vp img{image-rendering:pixelated;padding:6px}
.hinh-bd{max-width:100%;margin:0 0 12px}
.hinh-bd img{width:100%;height:auto;padding:0;max-width:768px}
.the-hop-rong{display:block}
.thumb{display:inline-block;vertical-align:middle;height:32px;width:auto;max-width:48px;object-fit:contain;margin-right:8px}
.thumb-vp{height:32px;width:32px;image-rendering:pixelated}
.thumb-bd{height:36px;width:auto;max-width:64px;object-fit:cover;border-radius:var(--r)}
.thumb-trong{display:inline-block;vertical-align:middle;width:1px;margin-right:8px}
.ds-vp{list-style:none;margin:8px 0 0;padding:0}
.bang td .thumb{margin-right:8px}
@media (max-width:600px){.the-hop{flex-direction:column;align-items:center}.hinh-the{max-width:220px}}

/* Ô túi đồ kiểu game: nền ô lấy từ \Spr\Ui4\道具栏\面板.spr của client VNG (40x40), icon 32x32 phóng 2x nét cứng */
.o-vp{display:inline-flex;align-items:center;justify-content:center;flex:none;width:80px;height:80px;padding:6px;box-sizing:border-box;background:#2a2a2a url(../img/ui/o-vp.png) center/100% 100% no-repeat;border:1px solid #111;border-radius:3px;image-rendering:pixelated;line-height:0}
.o-vp img{max-width:100%;max-height:100%;image-rendering:pixelated;display:block;margin:auto}
.o-vp-s{width:40px;height:40px;padding:3px}
.o-vp-s img{max-width:100%}
.vp-hang{display:flex;gap:16px;align-items:flex-start;margin:12px 0;padding:12px;border:1px solid var(--line2);border-radius:var(--r);background:var(--surface)}
.vp-o{display:flex;flex-direction:column;align-items:center;gap:6px;flex:none;width:120px;text-align:center}
.vp-o-nho{display:inline-flex;flex-direction:row;width:auto;gap:8px;align-items:center;text-align:left;vertical-align:middle}
.vp-o-nho .o-vp{width:40px;height:40px;padding:3px}
.vp-t,.o-ten{font-weight:600;font-size:14px;line-height:1.35}
.vp-nd{flex:1;min-width:0;font-size:14px}
.vp-nhom{margin:8px 0 2px}.vp-nhom:first-child{margin-top:0}
.vp-ds{margin:0 0 4px;padding-left:18px}.vp-ds li{margin:1px 0}
.vp-bang td{vertical-align:top}.vp-bang .vp-o-c{width:136px;background:var(--soft)}
/* thẻ mô tả kiểu tooltip game: nền tối trong mờ, chữ giữa, trắng; tên vàng nhạt; dòng chú ý vàng */
.tt-game{display:inline-block;max-width:340px;min-width:220px;box-sizing:border-box;padding:10px 16px;background:rgba(22,20,16,.94);color:#f2efe6;border:1px solid #6e5c36;border-radius:3px;box-shadow:0 0 0 1px #000;font:13px/1.55 Tahoma,Verdana,"Segoe UI",Arial,sans-serif;text-align:center}
.tt-game p{margin:0}.tt-t{color:#ffe9a0;font-weight:700;font-size:14px}.tt-m{color:#fff}.tt-v{color:#fff}.tt-y{color:#ffe21a}.tt-sp{height:8px}
.npc-the{display:flex;gap:16px;align-items:flex-end;margin:12px 0;padding:12px;border:1px solid var(--line2);border-radius:var(--r);background:var(--surface)}
.npc-cn{position:relative;flex:none;display:flex;flex-direction:column;align-items:center;min-width:120px;padding:6px 8px 0;background:linear-gradient(#3b3a35,#2a2924)}
.npc-cn img{display:block;max-height:180px;width:auto;height:auto;position:relative;z-index:1}
.npc-nhan{font:700 13px/1.2 Tahoma,Verdana,Arial,sans-serif;color:#7be85f;text-shadow:-1px 0 #000,1px 0 #000,0 -1px #000,0 1px #000;margin-bottom:4px;text-align:center}
.npc-dat{position:absolute;left:8%;right:8%;bottom:2px;height:18px;border-radius:50%;background:radial-gradient(ellipse,rgba(0,0,0,.45),transparent 70%)}
.npc-nd{flex:1;min-width:0;font-size:14px}.npc-nd p{margin:0 0 4px}.npc-ten{font-weight:700;font-size:16px}
@media (max-width:600px){.vp-hang,.npc-the{flex-direction:column;align-items:center}.vp-nd{width:100%}.vp-bang .vp-o-c{width:100px}.vp-o{width:100px}}
.vp-cac{display:flex;flex-wrap:wrap;gap:12px}
