/* Loader Tanya AI: video layar penuh selama menunggu jawaban, lalu kembali ke chat */
.tai-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#070908;opacity:1;transition:opacity .4s ease}
.tai-overlay.tai-selesai{opacity:0;pointer-events:none}
.tai-video{display:block;width:100%;height:auto;max-height:100%;max-width:100%;object-fit:contain;background:#070908}
.tai-tutup{position:absolute;top:calc(14px + env(safe-area-inset-top,0px));right:14px;z-index:1;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(0,0,0,.45);color:#fff;display:grid;place-items:center;cursor:pointer;transition:background .2s,border-color .2s}
.tai-tutup:hover{background:rgba(255,255,255,.14);border-color:var(--gold-soft)}
.tai-tutup:focus-visible{outline:3px solid var(--gold-soft);outline-offset:2px}
.tai-tutup svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
body.tai-kunci{overflow:hidden}
@media(prefers-reduced-motion:reduce){.tai-overlay{transition:none}}
