/* Native chat (object 0xcca560): chat bar, top-left feed, recent-target list, channel menu, history window.
   Native 800x600 coordinates inside .nchat-bl (anchored bottom-left like the HUD) and .nchat-feed (top-left). */
.nchat{position:fixed;inset:0;z-index:26;pointer-events:none;font:12px/12px "MingLiU","PMingLiU",monospace;color:#fff;user-select:none;-webkit-user-select:none}
.nchat[hidden],body:not([data-in-world="true"]) .nchat{display:none}
.nchat [hidden]{display:none!important}
.nchat-bl{position:absolute;left:0;bottom:0;width:800px;height:600px;transform:scale(var(--nhud-scale,1));transform-origin:0 100%}
.nchat-feed{position:absolute;left:0;top:0;width:400px;height:200px;transform:scale(var(--nhud-scale,1));transform-origin:0 0}
.nchat div,.nchat button,.nchat input{position:absolute;margin:0;padding:0;border:0;box-sizing:border-box;image-rendering:pixelated}
.nchat button{background:none;cursor:pointer;pointer-events:auto}
.nchat-sprite{background-repeat:no-repeat;pointer-events:none}
.nchat-black{background:#000;pointer-events:none}
.nchat-text{white-space:pre;pointer-events:none}
.nchat-shadow{text-shadow:1px 1px 0 #323232}
.nchat-bright:hover{background:url(../assets/ui/hud/on_bright.png) 0 0/100% 100%;opacity:.4}
.nchat-rect:hover,.nchat-rect[data-selected="true"]{background:url(../assets/ui/hud/on_bright_rect.png) 0 0/100% 100%;opacity:.4}
.nchat-input{opacity:0;background:none;color:transparent;caret-color:transparent;font:inherit;outline:0;pointer-events:auto}
.nchat-caret{animation:nchat-caret .55s step-end infinite}
@keyframes nchat-caret{0%{visibility:visible}18%{visibility:hidden}}
.nchat-history{pointer-events:auto}
.nchat-tip{position:fixed;z-index:70;pointer-events:none;white-space:pre;background:rgba(0,0,0,.72);color:#fff;font:12px/15px "MingLiU","PMingLiU",monospace;padding:5px 6px}
