/* PrimChat v276 Giga Pack: consistency + resilient UI */
:root{--pc-radius:14px;--pc-gap:12px;--pc-shadow:0 8px 28px rgba(0,0,0,.08)}
html[data-site-theme="dark"],html[data-theme="dark"],body.dark,body.site-theme-dark{--pc-shadow:0 10px 32px rgba(0,0,0,.32)}
button,[role="button"],a,input,select,textarea{touch-action:manipulation}
button:disabled,[role="button"][aria-disabled="true"]{opacity:.58;cursor:not-allowed}
img{max-width:100%;height:auto}
.card,.panel,.modal,.dropdown,.popup,.chat-bubble,.message,.notification-item,.forum-card,.market-card,.profile-card{box-sizing:border-box;max-width:100%}
pre,code{max-width:100%;overflow:auto}
.table-wrap,.table-responsive{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:700px){
 body{overflow-x:hidden}.container,.content,.main,.page{max-width:100%;min-width:0}
 .modal,.popup,.dropdown{max-width:calc(100vw - 20px)}
 .chat-bubble,.message{word-break:break-word;overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}
