/* HotCampinas PM: the same compact dark forum palette, without fixed content widths. */
.hc-pm{font:13px/1.5 Arial,Helvetica,sans-serif;color:#ddd;background:#202020;border:1px solid #444;border-radius:3px;min-width:0;max-width:100%;padding:14px;box-sizing:border-box}
.hc-pm *{box-sizing:border-box;min-width:0}
.hc-pm h1,.hc-pm h2{font-family:Arial,Helvetica,sans-serif!important;color:#eee!important;line-height:1.35!important;overflow-wrap:anywhere}
.hc-pm h1{font-size:18px!important;margin:0 0 12px!important;padding:9px 10px;background:linear-gradient(#363636,#252525);border-bottom:2px solid #d71920}
.hc-pm h2{font-size:15px!important;margin:12px 0!important}
.hc-pm-tabs,.hc-pm-controls,.hc-pm-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}
.hc-pm-readall{display:flex;margin:0;max-width:100%}
.hc-pm-readall button{flex-wrap:wrap}
.hc-pm-readall button:disabled{cursor:default}
.hc-pm [data-hc-pm-count],.hc-account-pm [data-hc-pm-count]{font-variant-numeric:tabular-nums}
#kunena .hc-account-panel .hc-account-shortcuts{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px 8px;min-width:0;max-width:100%}
#kunena .hc-account-panel .hc-account-pm{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:32px;padding:5px 8px!important;border:1px solid #555;border-radius:3px;color:#ddd;text-decoration:none!important;font:12px/1.5 Arial,Helvetica,sans-serif!important;max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:normal;word-break:normal;transition:background-color .18s,color .18s}
#kunena .hc-account-panel .hc-account-pm:hover,#kunena .hc-account-panel .hc-account-pm:focus-visible{background:#333;color:#fff}
#kunena .hc-account-shortcuts .hc-presence{position:relative;flex:0 0 auto!important;width:max-content;max-width:100%}
#kunena .hc-account-shortcuts .hc-presence[open]{flex-basis:auto!important}
#kunena .hc-account-shortcuts .hc-presence :is(summary,.hc-presence-toggle){width:fit-content;box-sizing:border-box}
#kunena .hc-account-shortcuts .hc-presence #status-online{position:absolute;top:100%;right:0;left:auto;z-index:1100;width:max-content;max-width:calc(100vw - 24px);box-sizing:border-box;margin-top:4px;box-shadow:0 5px 12px #0006}
@media(max-width:767px){#kunena .hc-account-panel .hc-account-shortcuts{grid-column:1/-1;grid-row:2}#kunena .hc-account-panel .kuser-status{grid-column:1;grid-row:1}#kunena .hc-account-panel .klogout-action{grid-column:2;grid-row:1}#kunena .hc-account-panel .hc-account-pm{min-height:44px}#kunena .hc-account-shortcuts .hc-presence{margin:0}.hc-pm-tabs .hc-pm-readall{flex:1 1 190px}.hc-pm-readall button{width:100%}}
@media(max-width:767px){#kunena .hc-account-shortcuts .hc-presence[open] #status-online{left:auto;right:0;display:grid!important;grid-template-columns:repeat(2,max-content);justify-items:start;max-width:calc(100vw - 112px)}}
.hc-pm .hc-pm-button,.hc-pm-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;max-width:100%;min-height:34px;padding:6px 12px!important;background:linear-gradient(#454545,#303030)!important;border:1px solid #555!important;border-radius:3px!important;color:#eee!important;font:13px/1.4 Arial,Helvetica,sans-serif!important;text-decoration:none!important;white-space:normal!important;text-align:center;box-shadow:none!important;transition:background .15s,color .15s}
.hc-pm .hc-pm-primary,.hc-pm .hc-pm-button.active{background:linear-gradient(#e1262c,#b70f16)!important;border-color:#e1262c!important}
.hc-pm .hc-pm-button:hover,.hc-pm .hc-pm-button:focus-visible{background:#c71920!important;color:#fff!important;border-color:#ed2a32!important}
.hc-pm .hc-pm-button:disabled{opacity:.65;cursor:wait}
.hc-pm label{display:block;font-weight:bold;color:#ddd;margin:12px 0 5px}
.hc-pm input:not([type=hidden]),.hc-pm textarea{display:block;width:100%!important;max-width:100%;padding:9px!important;background:#161616!important;color:#eee!important;border:1px solid #555!important;border-radius:3px!important;font:14px/1.5 Arial,Helvetica,sans-serif!important;box-shadow:none!important}
.hc-pm textarea{resize:vertical;min-height:160px}
.hc-pm input:focus,.hc-pm textarea:focus{outline:2px solid #ce2028;outline-offset:1px}
.hc-pm small,.hc-pm-meta{font:11px/1.5 Arial,Helvetica,sans-serif;color:#bdbdbd;overflow-wrap:anywhere}
.hc-pm small{display:block;margin-top:5px}
.hc-pm-recipient{padding:9px;background:#292929;border-left:3px solid #d71920;overflow-wrap:anywhere}
.hc-pm-row{display:block!important;padding:11px 10px!important;border-bottom:1px solid #444;background:linear-gradient(#303030,#272727);color:#eee!important;text-decoration:none!important;overflow-wrap:anywhere}
.hc-pm-row:hover{background:#383838;color:#fff!important}
.hc-pm-row-title{display:block;font-size:13px}
.hc-pm-row.unread .hc-pm-row-title{font-weight:bold}
.hc-pm-new{font-size:10px;color:#fff;background:#d71920;border-radius:2px;padding:2px 4px;display:inline-block;margin-right:4px}
.hc-pm-body{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px 0;border-top:1px solid #444;color:#eee;font-size:14px;line-height:1.6}
.hc-pm-empty{padding:16px 8px;color:#bbb}
a.hc-pm-unread,a.hc-pm-unread:visited,#sp-header #sp-menu a.hc-pm-unread,body .offcanvas-menu a.hc-pm-unread,#kunena a.hc-pm-unread{color:#ff3038!important;font-weight:bold!important}
body.site .offcanvas-menu .offcanvas-inner ul.menu a.hc-pm-unread{color:#ff3038!important;font-weight:bold!important}
#kunena a.hc-pm-send{display:flex!important;align-items:center;justify-content:center;position:static!important;width:fit-content!important;max-width:100%;box-sizing:border-box;margin:6px auto!important;padding:5px 12px!important;min-height:28px;border:1px solid #e32a32!important;border-radius:3px!important;background:linear-gradient(#e1262c,#b70f16)!important;font:700 11px/1.4 Arial,Helvetica,sans-serif!important;color:#fff!important;text-decoration:none!important;white-space:nowrap;opacity:1!important;visibility:visible!important;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
#kunena a.hc-pm-send:focus-visible{outline:2px solid #70aaf5;outline-offset:2px;background:#1768ad!important}
@media(hover:hover) and (pointer:fine){#kunena a.hc-pm-send:hover{background:#1768ad!important;border-color:#4489cf!important;box-shadow:0 2px 5px #0006!important;transform:translateY(-1px)}}
@media(prefers-reduced-motion:reduce){#kunena a.hc-pm-send{transition:none!important;transform:none!important}}
@media(max-width:767px){.hc-pm{padding:9px}.hc-pm h1{font-size:16px!important}.hc-pm-tabs{gap:6px}.hc-pm-tabs .hc-pm-button{flex:1 1 120px}.hc-pm-pagination{justify-content:center}#kunena a.hc-pm-send{min-height:36px;padding:7px 12px!important;transform:none!important}}

/* Small screens: username above Online + Sair, shortcuts use the full panel width. */
@media(max-width:991px){
 body .offcanvas-menu .offcanvas-inner ul.menu .menu-child{display:block!important;height:auto!important;max-height:none!important;opacity:1!important;visibility:visible!important;padding:2px 0 4px 12px!important;margin:0 0 8px 8px!important;border-left:2px solid #555}
 body .offcanvas-menu .offcanvas-inner ul.menu .menu-child li>a{font-size:15.5px!important;line-height:1.4!important;min-height:40px!important;padding:8px 10px!important}
 body .offcanvas-menu .offcanvas-inner ul.menu .menu-toggler{display:none!important}
 body .offcanvas-menu .offcanvas-inner ul.menu>li:has(>.menu-child)>a{font-size:18.2px!important;font-weight:700!important}
}
@media(max-width:991px){
 #kunena.hc-forum .hc-account-panel .kuser-wrap{grid-template-columns:36px minmax(0,1fr) 70px 70px!important;gap:6px 8px!important;align-items:center}
 #kunena.hc-forum .hc-account-panel .kuser-info,#kunena.hc-forum .hc-account-panel .kuser-status{display:contents!important}
 #kunena.hc-forum .hc-account-panel .kuser-avatar{grid-column:1;grid-row:1;align-self:center;width:36px!important}
 #kunena.hc-forum .hc-account-panel .kuser-avatar img{width:36px!important;max-width:36px!important}
 #kunena.hc-forum .hc-account-panel .kuser-status>.kuser-name{grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere}
 #kunena.hc-forum .hc-account-panel .hc-account-state{grid-column:3;grid-row:1;display:inline-flex;align-items:center}
 #kunena.hc-forum .hc-account-panel .klogout-action{grid-column:4;grid-row:1;margin:0!important;justify-self:start}
 #kunena.hc-forum .hc-account-panel .hc-account-state>a,#kunena.hc-forum .hc-account-panel .hc-account-state>span,#kunena.hc-forum .hc-account-panel .klogout-action button{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;height:32px!important;min-height:32px!important;width:70px!important;min-width:70px!important;padding:5px 9px!important;font:12px/1.5 Arial,Helvetica,sans-serif!important;gap:4px}
 #kunena.hc-forum .hc-account-panel .klogout-action button i{font-size:12px!important;line-height:1!important}
 #kunena.hc-forum .hc-account-panel .hc-account-shortcuts{grid-column:1/-1;grid-row:2;position:relative;width:100%;align-items:center}
 #kunena.hc-forum .hc-account-panel .klogout-links{grid-column:1/-1;grid-row:3}
 #kunena.hc-forum .hc-account-shortcuts .hc-presence{position:static!important}
 #kunena.hc-forum .hc-account-shortcuts .hc-presence :is(summary,.hc-presence-toggle){display:flex;align-items:center;justify-content:center;gap:5px;list-style:none;text-align:center;padding:5px 8px!important;font:12px/1.5 Arial,Helvetica,sans-serif!important}
 #kunena.hc-forum .hc-account-shortcuts .hc-presence :is(summary,.hc-presence-toggle)::-webkit-details-marker{display:none}
 #kunena.hc-forum .hc-account-shortcuts .hc-presence :is(summary,.hc-presence-toggle)::before{content:'▾'}
 #kunena.hc-forum .hc-account-shortcuts .hc-presence[open] :is(summary,.hc-presence-toggle)::before{content:'▴'}
 #kunena.hc-forum .hc-account-shortcuts .hc-presence[open] #status-online{left:0;right:auto;top:100%;max-width:100%}
}

/* Phone topic actions: equal tiles in both toolbars and on each post. */
@media(max-width:991px){
 body:has(#kunena #postform #message) .hc-mobile-latest,
 body:has(#kunena #postform #message) #sp-right .sp-module:has(.hc-latest){display:none!important}
 #sp-component #kunena.hc-forum [id="topic-actions-toolbar"],#sp-component #kunena.hc-forum .hc-message-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:6px!important;min-width:0;padding:8px!important;box-sizing:border-box}
 #sp-component #kunena.hc-forum [id="topic-actions-toolbar"]>ul,#sp-component #kunena.hc-forum [id="topic-actions-toolbar"]>ul>li{display:contents!important}
 #sp-component #kunena.hc-forum [id="topic-actions-toolbar"]::before,#sp-component #kunena.hc-forum [id="topic-actions-toolbar"]::after,#sp-component #kunena.hc-forum [id="topic-actions-toolbar"]>ul::before,#sp-component #kunena.hc-forum [id="topic-actions-toolbar"]>ul::after{display:none!important;content:none!important}
 #sp-component #kunena.hc-forum [id="topic-actions-toolbar"]>ul>li>.kbtn,#sp-component #kunena.hc-forum .hc-message-actions>.kbtn{float:none!important;display:flex!important;align-items:center!important;justify-content:center!important;align-self:stretch!important;gap:5px;min-width:0!important;max-width:100%!important;width:100%!important;min-height:44px!important;margin:0!important;padding:8px!important;box-sizing:border-box;white-space:normal!important;word-break:normal!important;text-align:center!important;font:600 12px/1.4 Arial,Helvetica,sans-serif!important}
 #sp-component #kunena.hc-forum [id="topic-actions-toolbar"] .hc-action-last,#sp-component #kunena.hc-forum .hc-message-actions>.hc-action-last{grid-column:1/-1}
 #sp-component #kunena.hc-forum .hc-quick-tools-row:first-of-type{display:grid!important;grid-template-columns:max-content max-content!important;justify-content:start!important}
 #sp-component #kunena.hc-forum .hc-quick-tools-row:first-of-type>button{width:auto!important;max-width:100%;justify-self:start;padding:6px 10px!important}
 #sp-component #kunena.hc-forum .kreply .kgoto-editor{display:flex!important;flex-direction:column;align-items:stretch;gap:8px;min-width:0;padding:8px 0!important}
 #sp-component #kunena.hc-forum .kreply .kgoto-editor small{display:block;font:11px/1.5 Arial,Helvetica,sans-serif;white-space:normal;overflow-wrap:anywhere}
 #sp-component #kunena.hc-forum .kreply .kgoto-editor :is(#gotoeditor,.gotoeditor){float:none!important;display:flex!important;align-items:center;justify-content:center;width:100%!important;max-width:100%;box-sizing:border-box;min-height:44px!important;margin:0!important;padding:8px 10px!important;white-space:normal!important;text-align:center!important;font:600 12px/1.5 Arial,Helvetica,sans-serif!important;background:linear-gradient(#454545,#303030)!important;border:1px solid #555!important;border-radius:3px;color:#eee!important}
 #sp-component #kunena.hc-forum .kreply .modal-footer .kactions-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%}
 #sp-component #kunena.hc-forum .kreply .modal-footer .kactions-wrap>input{min-width:0;width:100%!important;margin:0!important;min-height:44px;white-space:normal}
}

/* Presence chooser: four equal options, closed state always wins. */
#sp-component #kunena.hc-forum .hc-presence:not([open]) #status-online{display:none!important}
#sp-component #kunena.hc-forum .hc-presence[open] #status-online{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;width:340px;max-width:calc(100vw - 32px);padding:7px!important;box-sizing:border-box}
#sp-component #kunena.hc-forum .hc-presence #status-online>a{display:flex!important;align-items:center;justify-content:center;min-width:0!important;width:100%!important;min-height:36px!important;padding:6px 3px!important;box-sizing:border-box;margin:0!important;white-space:nowrap;font:11px/1.4 Arial,Helvetica,sans-serif!important;gap:3px}
@media(max-width:991px){#sp-component #kunena.hc-forum .hc-presence[open] #status-online{width:100%!important;max-width:100%!important;left:0;right:auto}}

#sp-component #kunena.hc-forum .hc-account-shortcuts .hc-account-pm,
#sp-component #kunena.hc-forum .hc-account-shortcuts .hc-presence-toggle{font:400 13px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important}
#sp-component #kunena.hc-forum .hc-presence-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;min-height:44px;box-sizing:border-box;width:fit-content;padding:5px 8px;margin:0;border:1px solid #555;border-radius:3px;background:transparent;color:#ddd;white-space:nowrap}
#sp-component #kunena.hc-forum .hc-presence-toggle::before{content:'▾'}
#sp-component #kunena.hc-forum .hc-presence[open] .hc-presence-toggle::before{content:'▴'}
#sp-component #kunena.hc-forum .hc-presence #status-online[hidden]{display:none!important}

/* Account menu avatars share EnORmE's current height; contain preserves portrait proportions. */
#sp-component #kunena.hc-forum .hc-account-panel{--hc-menu-avatar-height:30.25px;--hc-menu-avatar-width:44px}
#sp-component #kunena.hc-forum .hc-account-panel .kuser-avatar{width:var(--hc-menu-avatar-width)!important;max-width:var(--hc-menu-avatar-width)!important;max-height:var(--hc-menu-avatar-height)!important;min-height:0!important;align-self:center;display:flex;align-items:center;justify-content:center}
#sp-component #kunena.hc-forum .hc-account-panel .kuser-avatar>a{display:flex!important;align-items:center;justify-content:center;width:100%!important;max-height:var(--hc-menu-avatar-height)!important;min-height:0!important;padding:0!important}
#sp-component #kunena.hc-forum .hc-account-panel .kuser-avatar img{display:block!important;width:auto!important;height:auto!important;min-height:0!important;max-width:var(--hc-menu-avatar-width)!important;max-height:var(--hc-menu-avatar-height)!important;object-fit:contain!important}
@media(max-width:991px){#sp-component #kunena.hc-forum .hc-account-panel{--hc-menu-avatar-height:24.75px;--hc-menu-avatar-width:36px}}

/* Facebook's native widget supplies the real video height, including landscape Reels. */
html body #kunena .hc-video.hc-video--facebook,body .hc-video-preview .hc-video.hc-video--facebook{aspect-ratio:auto!important;height:auto!important;min-height:0!important;width:100%!important;max-width:720px!important;overflow:hidden}
html body #kunena .hc-video--facebook iframe,body .hc-video-preview .hc-video--facebook iframe{position:static!important;max-width:100%!important;aspect-ratio:auto!important}

html body #kunena .hc-instagram{display:block!important;width:100%!important;max-width:540px!important;height:auto!important;aspect-ratio:auto!important;margin:12px 0!important;padding:0!important;overflow:hidden!important;background:transparent!important}
html body #kunena .hc-instagram :is(blockquote,iframe){display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;box-shadow:none!important;position:static!important;inset:auto!important;aspect-ratio:auto!important}

@media(min-width:992px){
#sp-component #kunena.hc-forum .hc-account-panel .hc-account-shortcuts{align-items:center!important}
#sp-component #kunena.hc-forum .hc-account-panel :is(.hc-account-pm,.hc-presence-toggle){height:32px!important;min-height:32px!important;line-height:19.5px!important;align-self:center!important}
#sp-component #kunena.hc-forum .hc-account-panel .kuser-last-visit{margin-top:0!important;margin-bottom:0!important;align-self:center!important}
}
