/* Homepage community preview; independent of account and download flows. */
.th-zalo-widget{position:fixed;right:222px;bottom:18px;z-index:25;font:14px/1.4 Arial,sans-serif}
.th-zalo-widget [hidden]{display:none!important}
.th-zalo-card{position:relative;width:280px;width:min(280px,calc((100dvh - 178px)*870/1883));min-width:160px;border:2px solid #e5bb68;border-radius:12px;background:#0068ff;box-shadow:0 8px 30px #20180b55}
.th-zalo-widget .th-zalo-preview{display:block;overflow:hidden;border-radius:10px 10px 0 0;background:#e4e9f3}
.th-zalo-widget .th-zalo-preview img{display:block;width:100%;height:auto;margin:0}
.th-zalo-widget .th-zalo-join{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 8px;color:#fff;background:#0068ff;border-radius:0 0 10px 10px;font-weight:700;text-align:center;text-decoration:none}
.th-zalo-widget .th-zalo-join:hover,.th-zalo-widget .th-zalo-open:hover{background:#0055d5}
.th-zalo-widget .th-zalo-close{position:absolute;left:-17px;top:-17px;width:40px;height:40px;display:grid;place-items:center;padding:0;border:2px solid #ffe2a0;border-radius:50%;background:#b32c28;color:#fff;font:28px/1 Arial,sans-serif;box-shadow:0 2px 8px #0003;cursor:pointer}
.th-zalo-widget .th-zalo-open{display:flex;align-items:center;gap:8px;min-height:46px;padding:10px 16px;border:2px solid #e5bb68;border-radius:24px;background:#0068ff;color:#fff;font:700 14px/1.4 Arial,sans-serif;box-shadow:0 4px 14px #20180b44;cursor:pointer}
.th-zalo-widget svg{width:19px;height:19px;flex:none;fill:currentColor}
.th-zalo-widget :focus-visible{outline:3px solid #ffce67;outline-offset:3px}
@media(max-width:1100px){.th-zalo-widget{right:12px;bottom:76px;bottom:calc(76px + env(safe-area-inset-bottom,0px))}.th-zalo-card{width:min(280px,calc(100vw - 42px),calc((100dvh - 210px)*870/1883));min-width:0}.th-zalo-widget .th-zalo-open{min-height:44px}}
@media(max-height:480px){.th-zalo-widget{bottom:12px}.th-zalo-card{width:min(240px,calc((100dvh - 100px)*870/1883));min-width:0}.th-zalo-widget .th-zalo-join{font-size:12px}}
