/* Breeze HVN Social 2.3.2 — proportional desktop type + compact mobile posts */
@media (min-width:1100px){
 body{font-size:15.5px}.hvn-social-sidebar a{font-size:15.5px!important}.navbar a,.navbar li{font-size:14.5px!important}
 h2.topic-title,.page-body>h2{font-size:24px!important}.post .content{font-size:18.5px!important;line-height:1.78!important}.postbody .author{font-size:13.5px!important}
 .hvn-post-action{font-size:13px!important;padding:8px 10px!important}.hvn-reaction-btn{font-size:14px!important;min-height:36px!important;padding:7px 11px!important}
 a.forumtitle,a.topictitle{font-size:17px!important}
}
@media (max-width:700px){
 .wrap{width:100%!important;max-width:none!important;padding-left:8px!important;padding-right:8px!important}
 .post{border-radius:15px!important;margin-bottom:14px!important}.post>.inner{display:block!important;padding:14px 12px 16px!important}
 .postprofile{width:100%!important;max-width:none!important;min-height:0!important;padding:0 0 12px!important;margin:0 0 12px!important;border-right:0!important;border-bottom:1px solid #e5ebf0!important;text-align:left!important}
 .postprofile dt{margin:0!important}.hvn-profile-name{text-align:left!important;margin:0 0 8px!important;font-size:17px!important;line-height:1.35!important}.hvn-fullname-line{margin-top:3px!important;font-size:13px!important}
 .postprofile .avatar-container{display:none!important}.postprofile .profile-rank{margin:6px 0 8px!important;width:100%!important}.postprofile .hvn-lp-card{width:100%!important;max-width:none!important;min-height:96px!important;margin:0!important}
 .postprofile dd.profile-posts,.postprofile dd.profile-joined,.postprofile dd.profile-warnings,.postprofile dd.profile-custom-field{display:inline-block!important;margin:3px 12px 3px 0!important;font-size:12.5px!important;line-height:1.45!important}
 .postbody,.has-profile .postbody{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 .hvn-post-buttons-fixed{display:flex!important;flex-wrap:wrap!important;gap:6px!important;justify-content:flex-start!important;margin:0 0 8px!important}.hvn-post-action{font-size:12px!important;padding:7px 9px!important}
 .hvn-reaction-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;width:100%!important;margin:7px 0!important}.hvn-reaction-btn{width:100%!important;min-width:0!important;justify-content:center!important;padding:7px 3px!important;font-size:12.5px!important;white-space:nowrap!important}
 .postbody .author{font-size:12px!important;margin:5px 0 12px!important}.post .content{font-size:16.5px!important;line-height:1.7!important;margin-top:0!important;min-height:0!important}
 .hvn-reaction-summary{margin-top:14px!important;padding:10px 12px!important}.hvn-reaction-summary-line{font-size:13.5px!important;line-height:1.45!important;padding:5px 0!important}
 .hvn-topic-toolbar{padding:10px!important}.hvn-topic-toolbar-main{gap:8px!important}.hvn-topic-search{min-width:0!important}.hvn-topic-search input{font-size:13px!important}
}


/* Breeze HVN Social 2.3.9 — reactions live below post content */
.postbody > .hvn-reaction-row,
.postbody .hvn-reaction-row {
    margin-top: 12px !important;
    margin-bottom: 8px !important;
}
.postbody .hvn-reaction-summary {
    margin-top: 0 !important;
}
@media (max-width: 700px) {
    .postbody > .hvn-reaction-row,
    .postbody .hvn-reaction-row {
        margin-top: 10px !important;
        margin-bottom: 0 !important;
    }
    .postbody .hvn-reaction-summary {
        display: none !important;
    }
}

/* HVN Topic Reply: primary orange action and compact native quote images */
.hvn-reaction-row .hvn-post-reply-primary,
.hvn-reaction-row .hvn-post-quote-reply {
    display:inline-flex !important; align-items:center; justify-content:center; gap:5px;
    min-height:34px; padding:5px 12px; box-sizing:border-box;
    border-radius:8px; font-weight:700; font-size:12px; line-height:1.2;
    text-decoration:none !important; white-space:nowrap;
}
.hvn-reaction-row .hvn-post-reply-primary,
a.hvn-main-reply-link:not(.disabled) {
    background:linear-gradient(180deg,#ffc762,#ff9c1c) !important;
    border:1px solid #e78a0b !important; color:#793b00 !important;
    box-shadow:0 2px 8px rgba(224,122,0,.24) !important;
    animation:hvnReplyGlow 2.2s ease-in-out infinite;
}
.hvn-reaction-row .hvn-post-reply-primary .icon,
a.hvn-main-reply-link:not(.disabled) .icon { color:inherit !important; }
.hvn-reaction-row .hvn-post-reply-primary:hover,
a.hvn-main-reply-link:not(.disabled):hover {
    background:linear-gradient(180deg,#ffda8d,#ffa722) !important;
    color:#703200 !important; border-color:#df8200 !important;
    box-shadow:0 0 0 3px rgba(255,167,34,.18),0 4px 13px rgba(224,122,0,.3) !important;
}
.hvn-reaction-row .hvn-post-quote-reply {
    background:#f5faf9; border:1px solid #d1e1dd;
    color:#196f63 !important;
}
.hvn-reaction-row .hvn-post-quote-reply:hover { background:#e7f5f1; border-color:#9acdc0; }
@keyframes hvnReplyGlow {
    0%,100% { filter:brightness(1); box-shadow:0 2px 8px rgba(224,122,0,.22); }
    50% { filter:brightness(1.07); box-shadow:0 0 0 3px rgba(255,171,51,.18),0 2px 12px rgba(224,122,0,.32); }
}
@media (prefers-reduced-motion:reduce) {
    .hvn-reaction-row .hvn-post-reply-primary,a.hvn-main-reply-link { animation:none !important; }
}
/* Restrict visual size only: no re-encoding or duplicate storage. */
.postbody blockquote img,
.postbody blockquote .postimage,
.postbody blockquote .attach-image img {
    width:auto !important; height:auto !important;
    max-width:min(150px,100%) !important; max-height:110px !important;
    object-fit:contain !important; vertical-align:middle;
}
.postbody blockquote .attach-image,
.postbody blockquote .attach-image > a { max-width:150px !important; }
/* Keep reactions flexible with 3 actions on small screens. */
.postbody .hvn-reaction-row { display:flex !important; flex-wrap:wrap !important; width:100% !important; gap:6px !important; }
.postbody .hvn-reaction-row .hvn-reaction-btn { width:auto !important; flex:0 0 auto !important; min-width:64px !important; }
@media (max-width:600px) {
    .postbody .hvn-reaction-row .hvn-post-reply-primary,
    .postbody .hvn-reaction-row .hvn-post-quote-reply { min-height:32px; padding:5px 9px; font-size:11px; }
}
