/*  phpBB3 Style Sheet
    --------------------------------------------------------------
	Style name:			Breeze
	Based on style:		prosilver (the default phpBB 3.3.x style)
	Original author:	Tom Beddard ( http://www.subblue.com/ )
	Modified by:		Ian Bradley ( http://phpbbstyles.iansvivarium.com/ )
    --------------------------------------------------------------
*/

@import url("normalize.css?v=1.1.8");
@import url("base.css?v=1.1.8");
@import url("utilities.css?v=1.1.8");
@import url("common.css?v=1.1.8");
@import url("links.css?v=1.1.8");
@import url("content.css?v=1.1.8");
@import url("buttons.css?v=1.1.8");
@import url("cp.css?v=1.1.8");
@import url("forms.css?v=1.1.8");
@import url("icons.css?v=1.1.8");
@import url("colours.css?v=1.1.8");
@import url("responsive.css?v=1.1.8");
@import url("breeze.css?v=1.1.8");
@import url("hvn-custom.css?v=1.2.6");
@import url("hvn-social.css?v=2.3.0");
@import url("hvn-reading-238.css?v=2.4.0");



/* ADMIN ĐỎ NHẤP NHÁY */
a.username-coloured[style*="FF0000" i],
a[style*="FF0000" i],
span[style*="FF0000" i] {
    color: #ff0000 !important;
    font-weight: 800 !important;
    animation: admin-red-glow 1s ease-in-out infinite alternate !important;
}

/* Ngôi sao sau tên Admin */
a.username-coloured[style*="FF0000" i]::after,
a[style*="FF0000" i]::after {
    content: " ✦";
    display: inline-block;
    margin-left: 3px;
    color: #ffd700;
    font-size: 0.8em;
    animation: staff-star-glow 0.9s ease-in-out infinite alternate;
}

@keyframes admin-red-glow {
    from {
        color: #b60000;
        text-shadow: 0 0 2px #fff, 0 0 4px #ff5050;
        filter: brightness(0.9);
    }

    to {
        color: #ff3030;
        text-shadow:
            0 0 3px #fff,
            0 0 8px #ff0000,
            0 0 14px #ff8080;
        filter: brightness(1.35);
    }
}

@keyframes staff-star-glow {
    from {
        opacity: 0.25;
        transform: scale(0.75) rotate(0deg);
        text-shadow: none;
    }

    to {
        opacity: 1;
        transform: scale(1.25) rotate(180deg);
        text-shadow:
            0 0 4px #fff,
            0 0 8px #ffd700,
            0 0 12px #ff9800;
    }
}



/* ===== SUPER MOD CAM NHẤP NHÁY, KHÔNG CÓ NGÔI SAO ===== */
a.username-coloured[style*="FF8C00" i],
a[style*="FF8C00" i],
span[style*="FF8C00" i] {
    color: #ff8c00 !important;
    font-weight: 800 !important;
    animation: supermod-orange-glow 1s ease-in-out infinite alternate !important;
}

/* Xóa ngôi sao hoặc ký hiệu phía sau Super Mod */
a.username-coloured[style*="FF8C00" i]::after,
a[style*="FF8C00" i]::after,
span[style*="FF8C00" i]::after {
    content: none !important;
    display: none !important;
}

@keyframes supermod-orange-glow {
    from {
        color: #d65f00;
        text-shadow:
            0 0 2px #ffffff,
            0 0 4px #ff9d32;
        filter: brightness(0.95);
    }

    to {
        color: #ff9d00;
        text-shadow:
            0 0 3px #ffffff,
            0 0 8px #ff8c00,
            0 0 14px #ffd080;
        filter: brightness(1.35);
    }
}





/* ===== GIÁO VIÊN ĐỎ ĐẬM #0057B8 NHẤP NHÁY, KHÔNG CÓ NGÔI SAO ===== */
a.username-coloured[style*="0057B8" i],
a[style*="0057B8" i],
span[style*="0057B8" i] {
    color: #0057b8 !important;
    font-weight: 800 !important;
    animation: teacher-blue-glow 1s ease-in-out infinite alternate !important;
}

/* Giáo viên chỉ phát sáng theo màu nick, không thêm ký hiệu phía sau */
a.username-coloured[style*="0057B8" i]::after,
a[style*="0057B8" i]::after,
span[style*="0057B8" i]::after {
    content: none !important;
    display: none !important;
}

@keyframes teacher-blue-glow {
    from {
        color: #003b80;
        text-shadow:
            0 0 2px #ffffff,
            0 0 4px #397fd1;
        filter: brightness(0.95);
    }

    to {
        color: #1478e6;
        text-shadow:
            0 0 3px #ffffff,
            0 0 8px #0057b8,
            0 0 14px #79b8ff;
        filter: brightness(1.35);
    }
}


/* Tên thành viên trong hồ sơ bài viết */
.postprofile dt,
.postprofile dt a,
.postprofile .username,
.postprofile .username-coloured {
    font-family: Tahoma, Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

/* Giữ màu của nhóm mặc định, không ép tất cả thành màu xanh */
.postprofile a.username-coloured {
    text-decoration: none !important;
}

.postprofile a.username-coloured:hover {
    text-decoration: underline !important;
    filter: brightness(1.15);
}


/* Họ và tên trong hồ sơ bài viết */
.postprofile dd[class*="biet_danh"],
.postprofile dd[class*="ho_va_ten"] {
    color: #0077cc !important;       /* Tên thật màu xanh */
    font-family: Tahoma, Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-top: 5px !important;
}

/* Nhãn “Họ & Tên:” nhỏ và màu xám */
.postprofile dd[class*="biet_danh"] strong,
.postprofile dd[class*="ho_va_ten"] strong {
    display: block !important;
    color: #777777 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
}

/* ===== HVN: nickname trong hồ sơ bài viết gọn hơn =====
   Chỉ tác động username cạnh bài viết, không đổi tên thật / màu nhóm / hiệu ứng staff. */
.postprofile .username,
.postprofile .username-coloured {
    font-size: 14px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    display: inline-block;
    max-width: 100%;
}

@media (max-width: 700px) {
    .postprofile .username,
    .postprofile .username-coloured {
        font-size: 13px !important;
        line-height: 1.1 !important;
        letter-spacing: -0.15px;
    }
}

/* ============================================================
   HVN Social 2.1.0 — Facebook compact breadcrumb / menu pills
   Nhỏ gọn, xanh đồng nhất, viền sáng, sao lấp lánh, bóng tím 3D.
   ============================================================ */
#nav-breadcrumbs.hvn-social-breadcrumbs,
#nav-breadcrumbs.nav-breadcrumbs {
    display: flex !important;
    align-items: center !important;
    margin-top: 5px !important;
    padding: 5px 4px 7px !important;
    background: transparent !important;
    border: 0 !important;
    overflow: visible !important;
}

#nav-breadcrumbs .breadcrumbs {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 !important;
}

#nav-breadcrumbs .crumb {
    position: relative !important;
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

#nav-breadcrumbs .crumb::before {
    display: none !important;
    content: none !important;
}

#nav-breadcrumbs .crumb > a,
#nav-breadcrumbs a.hvn-breadcrumb-pill {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    min-height: 26px !important;
    padding: 4px 9px !important;
    border: 1px solid #2f7df4 !important;
    border-radius: 7px !important;
    background: linear-gradient(180deg, #2f86ff 0%, #1877f2 58%, #0d63d6 100%) !important;
    color: #fff !important;
    font: 700 11px/1.1 Tahoma, Arial, sans-serif !important;
    text-decoration: none !important;
    text-shadow: 0 1px 1px rgba(0,45,105,.32) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.46),
        inset 0 -1px 0 rgba(0,72,170,.26),
        0 3px 0 rgba(87,55,168,.24),
        0 4px 8px rgba(87,55,168,.18),
        0 0 7px rgba(24,119,242,.18) !important;
    overflow: hidden !important;
    isolation: isolate !important;
    transform: translateY(0) !important;
    transition: transform .14s ease, filter .14s ease, box-shadow .14s ease, border-color .14s ease !important;
    animation: hvn210MenuBreath 2.5s ease-in-out infinite !important;
}

/* ánh sáng quét qua */
#nav-breadcrumbs .crumb > a::before,
#nav-breadcrumbs a.hvn-breadcrumb-pill::before {
    content: "" !important;
    position: absolute !important;
    top: -65% !important;
    left: -42% !important;
    width: 18% !important;
    height: 230% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.94), transparent) !important;
    transform: rotate(18deg) !important;
    animation: hvn210MenuShine 3.2s ease-in-out infinite !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* ngôi sao nhỏ nhấp nháy */
#nav-breadcrumbs .crumb > a::after,
#nav-breadcrumbs a.hvn-breadcrumb-pill::after {
    content: "✦" !important;
    position: relative !important;
    z-index: 2 !important;
    display: inline-block !important;
    margin-left: 1px !important;
    color: #fff !important;
    font-size: 8px !important;
    line-height: 1 !important;
    text-shadow: 0 0 3px #fff, 0 0 7px #8fc8ff, 0 0 11px #4d8cff !important;
    animation: hvn210MenuStar .8s ease-in-out infinite alternate !important;
}

#nav-breadcrumbs .crumb > a > *,
#nav-breadcrumbs a.hvn-breadcrumb-pill > * {
    position: relative !important;
    z-index: 2 !important;
}

#nav-breadcrumbs .icon {
    color: #fff !important;
    font-size: 10px !important;
    text-shadow: 0 0 5px rgba(255,255,255,.5) !important;
}

/* hover giống nút Facebook: sáng hơn, nổi lên nhẹ */
#nav-breadcrumbs .crumb > a:hover,
#nav-breadcrumbs a.hvn-breadcrumb-pill:hover,
#nav-breadcrumbs .crumb > a:focus,
#nav-breadcrumbs a.hvn-breadcrumb-pill:focus {
    background: linear-gradient(180deg, #58a1ff 0%, #2d88ff 48%, #1877f2 100%) !important;
    border-color: #85bbff !important;
    color: #fff !important;
    filter: brightness(1.14) saturate(1.08) !important;
    transform: translateY(-1px) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.62),
        0 3px 0 rgba(93,60,180,.28),
        0 6px 11px rgba(89,61,170,.24),
        0 0 11px rgba(81,165,255,.8),
        0 0 18px rgba(24,119,242,.46) !important;
}

#nav-breadcrumbs .crumb > a:active,
#nav-breadcrumbs a.hvn-breadcrumb-pill:active {
    transform: translateY(1px) !important;
    box-shadow:
        inset 0 2px 4px rgba(0,65,155,.25),
        0 1px 0 rgba(87,55,168,.2),
        0 2px 5px rgba(87,55,168,.15) !important;
}

@keyframes hvn210MenuShine {
    0%, 56% { left: -42%; opacity: 0; }
    63% { opacity: .95; }
    78% { left: 122%; opacity: .35; }
    100% { left: 122%; opacity: 0; }
}

@keyframes hvn210MenuStar {
    from { opacity: .25; transform: scale(.7) rotate(-12deg); }
    to   { opacity: 1; transform: scale(1.25) rotate(12deg); }
}

@keyframes hvn210MenuBreath {
    0%,100% { filter: brightness(1); }
    50% { filter: brightness(1.05); }
}

@media (max-width:700px) {
    #nav-breadcrumbs.hvn-social-breadcrumbs,
    #nav-breadcrumbs.nav-breadcrumbs {
        overflow-x: auto !important;
        padding: 4px 2px 6px !important;
    }
    #nav-breadcrumbs .breadcrumbs {
        flex-wrap: nowrap !important;
        gap: 5px !important;
    }
    #nav-breadcrumbs .crumb { flex: 0 0 auto !important; }
    #nav-breadcrumbs .crumb > a,
    #nav-breadcrumbs a.hvn-breadcrumb-pill {
        min-height: 25px !important;
        padding: 4px 8px !important;
        font-size: 10.5px !important;
        border-radius: 7px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #nav-breadcrumbs .crumb > a,
    #nav-breadcrumbs a.hvn-breadcrumb-pill,
    #nav-breadcrumbs .crumb > a::before,
    #nav-breadcrumbs a.hvn-breadcrumb-pill::before,
    #nav-breadcrumbs .crumb > a::after,
    #nav-breadcrumbs a.hvn-breadcrumb-pill::after {
        animation: none !important;
    }
}

/* =========================================================
   HVN Social 2.1.6 — Emerald Jewel UI
   Unified Social chrome palette: emerald green. Group/admin/rank
   identity colors are deliberately preserved.
   ========================================================= */
:root {
    --hvn-orange: #078c78;
    --hvn-jewel: #078c78;
    --hvn-jewel-mid: #10a98d;
    --hvn-jewel-light: #8fe3d2;
    --hvn-jewel-deep: #056b5b;
    --hvn-jewel-pale: #ecfffa;
    --hvn-jewel-glow: rgba(16,169,141,.46);
}

/* Global old orange/purple UI accents -> emerald jewel. */
a:hover,
.icon.icon-orange,
a:hover .icon.icon-orange,
.button .icon,
a.button .icon,
.button-secondary .icon,
.button-search .icon,
.button-search-end .icon,
#nav-main .icon,
.navbar .icon-orange,
.hvn-topic-toolbar .icon,
.hvn-topic-search .button-search,
.hvn-topic-search .button-search-end,
.hvn-post-buttons-fixed .icon-orange,
.post-buttons .icon-orange,
.action-bar .icon-orange {
    color: var(--hvn-jewel) !important;
}

/* Main action buttons such as New topic / Reply / toolbar controls. */
.button,
a.button,
.button-secondary,
.hvn-topic-toolbar .hvn-reply-button,
.hvn-topic-toolbar .button,
.hvn-topic-toolbar .dropdown-select,
.hvn-topic-search .button-search,
.hvn-topic-search .button-search-end {
    border-color: #b8ddd5 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 2px 6px rgba(5,107,91,.08) !important;
}
.button:hover,
a.button:hover,
.button-secondary:hover,
.hvn-topic-toolbar .hvn-reply-button:hover,
.hvn-topic-toolbar .button:hover,
.hvn-topic-toolbar .dropdown-select:hover,
.hvn-topic-search .button-search:hover,
.hvn-topic-search .button-search-end:hover,
#nav-main > li > .button:hover,
#nav-main > li > .dropdown-trigger:hover,
.header-profile > .button:hover {
    border-color: #42bda7 !important;
    background: linear-gradient(180deg,#f4fffc 0%,#dff9f2 100%) !important;
    color: var(--hvn-jewel-deep) !important;
    box-shadow: 0 0 0 1px rgba(16,169,141,.18), 0 0 11px rgba(16,169,141,.34), 0 4px 10px rgba(5,107,91,.14) !important;
    filter: brightness(1.04) !important;
}

/* Topic pagination. */
.hvn-topic-toolbar .pagination li.active span,
.hvn-bottom-pagination li.active span,
.pagination li.active span {
    border-color: #087f6a !important;
    background: linear-gradient(180deg,#18b99b 0%,#078c78 52%,#056b5b 100%) !important;
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45),0 0 10px rgba(16,169,141,.38),0 3px 7px rgba(5,107,91,.20) !important;
}
.hvn-topic-toolbar .pagination li a:hover,
.hvn-bottom-pagination li a:hover,
.pagination li a:hover {
    border-color: #68cdbb !important;
    background: #e9fbf6 !important;
    color: #056b5b !important;
    box-shadow: 0 0 8px rgba(16,169,141,.25) !important;
}

/* Post action buttons. */
.hvn-post-action,
.post-buttons .button {
    color: #526760 !important;
}
.hvn-post-action:hover,
.post-buttons .button:hover {
    background: linear-gradient(180deg,#f1fffb 0%,#dcf8f0 100%) !important;
    border-color: #78d3c2 !important;
    color: #056b5b !important;
    box-shadow: 0 0 0 1px rgba(16,169,141,.15),0 0 9px rgba(16,169,141,.28) !important;
}

/* Breadcrumb pills: same emerald jewel family, small and glossy. */
#nav-breadcrumbs .crumb > a,
#nav-breadcrumbs a.hvn-breadcrumb-pill {
    color: #075f51 !important;
    border-color: #8bdacb !important;
    background: linear-gradient(180deg,#f4fffc 0%,#dff9f2 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95),0 3px 0 rgba(57,120,160,.12),0 4px 8px rgba(5,107,91,.12) !important;
}
#nav-breadcrumbs .crumb > a:hover,
#nav-breadcrumbs a.hvn-breadcrumb-pill:hover {
    color: #fff !important;
    border-color: #087f6a !important;
    background: linear-gradient(180deg,#19b99b 0%,#078c78 55%,#056b5b 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45),0 0 12px rgba(16,169,141,.52),0 4px 8px rgba(5,107,91,.24) !important;
}
#nav-breadcrumbs .crumb > a::after,
#nav-breadcrumbs a.hvn-breadcrumb-pill::after {
    color: #72e2ce !important;
    text-shadow: 0 0 5px #fff,0 0 9px rgba(16,169,141,.9) !important;
}

/* Like / Heart / Haha selected = filled emerald jewel. Angry remains red. */
.hvn-reaction-like.is-active,
.hvn-reaction-heart.is-active,
.hvn-reaction-haha.is-active {
    color: #fff !important;
    background:
        linear-gradient(135deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,0) 31%),
        linear-gradient(180deg,#20c8a8 0%,#10a98d 43%,#078c78 72%,#056b5b 100%) !important;
    border-color: #056b5b !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.58), inset 0 -1px 0 rgba(3,72,61,.28), 0 0 0 1px rgba(143,227,210,.30), 0 0 11px rgba(16,169,141,.52), 0 4px 10px rgba(5,107,91,.25) !important;
}
.hvn-reaction-like.is-active .icon,
.hvn-reaction-heart.is-active .icon {
    color: #fff !important;
    text-shadow: 0 0 5px #fff,0 0 9px rgba(143,227,210,.95) !important;
}
.hvn-reaction-haha.is-active .hvn-reaction-face {
    background: #eafff9 !important;
    border-color: #fff !important;
    box-shadow: 0 0 7px rgba(255,255,255,.78),0 0 11px rgba(143,227,210,.72) !important;
}
.hvn-reaction-haha.is-active .hvn-reaction-face::before,
.hvn-reaction-haha.is-active .hvn-reaction-face::after {
    background: #056b5b !important;
}
.hvn-reaction-haha.is-active .hvn-reaction-face > i {
    border-color: #056b5b !important;
    background: transparent !important;
}

/* Inputs/search focus. */
.inputbox:focus,
select:focus,
textarea:focus {
    border-color: #43bea8 !important;
    box-shadow: 0 0 0 3px rgba(16,169,141,.14) !important;
}

/* =========================================================
   HVN Social 2.1.7 — clean focus + readable compact controls
   ========================================================= */
/* Remove browser black focus ring. Keep a soft light-blue focus ring only
   while the control has keyboard/mouse focus; it disappears on blur. */
.hvn-reaction-btn:focus,
.hvn-reaction-btn:focus-visible,
.button:focus,
a.button:focus,
.button-secondary:focus,
.dropdown-select:focus,
.inputbox:focus,
select:focus,
textarea:focus,
.hvn-topic-search button:focus,
.hvn-topic-search a:focus {
    outline: none !important;
    border-color: #8ccdf3 !important;
    box-shadow: 0 0 0 2px rgba(140,205,243,.42), 0 2px 7px rgba(54,139,191,.12) !important;
}

/* Reaction selected state must not inherit a black/native focus border. */
.hvn-reaction-btn.is-active:focus,
.hvn-reaction-btn.is-active:focus-visible {
    outline: none !important;
    border-color: #8ccdf3 !important;
    box-shadow: 0 0 0 2px rgba(140,205,243,.48), 0 0 10px rgba(16,169,141,.34), 0 4px 9px rgba(5,107,91,.18) !important;
}
.hvn-reaction-angry.is-active:focus,
.hvn-reaction-angry.is-active:focus-visible {
    box-shadow: 0 0 0 2px rgba(140,205,243,.48), 0 0 9px rgba(219,74,64,.28), 0 4px 9px rgba(165,31,24,.16) !important;
}

/* Search/settings compact buttons: reduce the over-bright jewel glow and
   force icons to remain clearly visible. */
.hvn-topic-search .button-search,
.hvn-topic-search .button-search-end,
.action-bar .button-search,
.action-bar .button-search-end,
.search-box .button-search,
.search-box .button-search-end {
    background: #ffffff !important;
    border: 1px solid #b9ddd7 !important;
    color: #067765 !important;
    text-shadow: none !important;
    filter: none !important;
    box-shadow: 0 2px 5px rgba(5,107,91,.08) !important;
}
.hvn-topic-search .button-search .icon,
.hvn-topic-search .button-search-end .icon,
.action-bar .button-search .icon,
.action-bar .button-search-end .icon,
.search-box .button-search .icon,
.search-box .button-search-end .icon {
    color: #067765 !important;
    opacity: 1 !important;
    text-shadow: none !important;
    filter: none !important;
}
.hvn-topic-search .button-search:hover,
.hvn-topic-search .button-search-end:hover,
.action-bar .button-search:hover,
.action-bar .button-search-end:hover,
.search-box .button-search:hover,
.search-box .button-search-end:hover {
    background: #eafaf6 !important;
    border-color: #68cdbb !important;
    color: #045f52 !important;
    box-shadow: 0 0 0 1px rgba(104,205,187,.18), 0 3px 7px rgba(5,107,91,.12) !important;
}

/* =========================================================
   HVN Social 2.1.8 — reaction face proportion + focus ring fix
   Only adjusts the requested reaction-face/focus details.
   ========================================================= */
/* Never show the browser/native black ring on reaction controls. */
.hvn-reaction-btn,
.hvn-reaction-btn:hover,
.hvn-reaction-btn:active,
.hvn-reaction-btn:focus,
.hvn-reaction-btn:focus-visible {
    outline: 0 !important;
    -webkit-tap-highlight-color: transparent !important;
}
.hvn-reaction-btn:focus,
.hvn-reaction-btn:focus-visible {
    border-color: #9fd8f5 !important;
    box-shadow: 0 0 0 2px rgba(159,216,245,.42) !important;
}
.hvn-reaction-btn.is-active:focus,
.hvn-reaction-btn.is-active:focus-visible {
    border-color: #9fd8f5 !important;
    box-shadow: 0 0 0 2px rgba(159,216,245,.46), 0 0 10px rgba(16,169,141,.30), 0 4px 9px rgba(5,107,91,.16) !important;
}
.hvn-reaction-angry.is-active:focus,
.hvn-reaction-angry.is-active:focus-visible {
    border-color: #9fd8f5 !important;
    box-shadow: 0 0 0 2px rgba(159,216,245,.46), 0 0 9px rgba(219,74,64,.24), 0 4px 9px rgba(165,31,24,.14) !important;
}

/* Haha and Angry faces use exactly the same outer dimensions. */
.hvn-reaction-face,
.hvn-face-haha,
.hvn-face-angry {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    flex: 0 0 17px !important;
    border-width: 1.6px !important;
}

/* Haha: clearly open, laughing mouth rather than a small smile. */
.hvn-face-haha > i {
    left: 3px !important;
    right: 3px !important;
    bottom: 2.2px !important;
    height: 5.8px !important;
    border: 1.6px solid #737b87 !important;
    border-top: 1.6px solid #737b87 !important;
    border-radius: 2px 2px 7px 7px !important;
    background: #737b87 !important;
}
.hvn-face-haha::before,
.hvn-face-haha::after {
    top: 3.5px !important;
    width: 2.3px !important;
    height: 1.6px !important;
    border-radius: 50% 50% 40% 40% !important;
}

/* Keep angry face same size; only its expression remains angry. */
.hvn-face-angry > i {
    left: 3.2px !important;
    right: 3.2px !important;
    bottom: 2.4px !important;
    height: 4.8px !important;
}

/* Active Haha keeps the large open mouth, recoloured for the existing active palette. */
.hvn-reaction-haha.is-active .hvn-face-haha > i {
    border-color: #056b5b !important;
    background: #056b5b !important;
}

/* Summary faces use the same scale as the reaction buttons. */
.hvn-summary-icon .hvn-summary-face {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    flex: 0 0 17px !important;
    transform: none !important;
}


/* =========================================================
   HVN Social 2.1.9 — Emerald action text hard override
   Fix legacy orange rules with higher specificity from hvn-custom.css.
   ========================================================= */
.post-buttons .hvn-post-action,
.hvn-post-buttons-fixed .hvn-post-action,
.post-buttons a.hvn-post-action,
.hvn-post-buttons-fixed a.hvn-post-action {
    color: #078c78 !important;
    border-color: #b8ddd5 !important;
    background: #eef4f3 !important;
    box-shadow: none !important;
}
.post-buttons .hvn-post-action:visited,
.hvn-post-buttons-fixed .hvn-post-action:visited,
.post-buttons a.hvn-post-action:visited,
.hvn-post-buttons-fixed a.hvn-post-action:visited {
    color: #078c78 !important;
}
.post-buttons .hvn-post-action:hover,
.post-buttons .hvn-post-action:focus,
.hvn-post-buttons-fixed .hvn-post-action:hover,
.hvn-post-buttons-fixed .hvn-post-action:focus,
.post-buttons a.hvn-post-action:hover,
.post-buttons a.hvn-post-action:focus,
.hvn-post-buttons-fixed a.hvn-post-action:hover,
.hvn-post-buttons-fixed a.hvn-post-action:focus {
    color: #056b5b !important;
    border-color: #68cdbb !important;
    background: linear-gradient(180deg,#f4fffc 0%,#dff9f2 100%) !important;
    box-shadow: 0 0 0 1px rgba(16,169,141,.12), 0 0 8px rgba(16,169,141,.22) !important;
    outline: none !important;
}

/* =========================================================
   HVN Social 2.2.0 — Wide readable desktop layout
   Wider forum canvas + larger, airier reading typography.
   ========================================================= */
@media (min-width: 1100px) {
    .wrap {
        max-width: 1500px !important;
        width: calc(100% - 28px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        box-sizing: border-box !important;
    }

    .post > .inner {
        grid-template-columns: 250px minmax(0, 1fr) !important;
        column-gap: 24px !important;
        padding: 18px 20px 17px !important;
    }
    .postprofile {
        width: 250px !important;
        padding-right: 20px !important;
    }
}

@media (min-width: 701px) {
    body {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
    }

    .post {
        margin-top: 16px !important;
        margin-bottom: 20px !important;
    }

    .postprofile .hvn-profile-name,
    .postprofile .hvn-profile-name .username,
    .postprofile .hvn-profile-name .username-coloured,
    .postprofile .username,
    .postprofile .username-coloured {
        font-size: 16px !important;
        line-height: 1.35 !important;
    }

    .postprofile .profile-posts,
    .postprofile .profile-joined,
    .postprofile .profile-custom-field,
    .postprofile dd {
        font-size: 12px !important;
        line-height: 1.55 !important;
        margin-top: 4px !important;
        margin-bottom: 4px !important;
    }

    .postbody h3 {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }

    .postbody .author {
        font-size: 12.5px !important;
        line-height: 1.5 !important;
        margin-bottom: 14px !important;
    }

    .post .content {
        font-size: 17px !important;
        line-height: 1.82 !important;
        letter-spacing: .01em !important;
        word-spacing: .025em !important;
        min-height: 54px !important;
    }

    .post .content p {
        margin-top: 0 !important;
        margin-bottom: 1em !important;
    }

    .post .content ul,
    .post .content ol {
        margin-top: .65em !important;
        margin-bottom: 1em !important;
    }

    a.forumtitle,
    a.topictitle {
        font-size: 15.5px !important;
        line-height: 1.45 !important;
    }

    .forums .list-inner,
    .topics .list-inner {
        line-height: 1.55 !important;
    }
}

/* HVN Social 2.2.1 cache-safe width override */
@media (min-width:1100px){
.wrap{width:min(96vw,1580px)!important;max-width:1580px!important;min-width:0!important;margin:0 auto!important}
.hvn-social-layout{grid-template-columns:190px minmax(0,1fr)!important;gap:24px!important;width:100%!important}
.hvn-social-layout>.page-body,.page-body{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important}
.post>.inner{grid-template-columns:270px minmax(0,1fr)!important;column-gap:28px!important;padding:20px 24px!important}
.postprofile{width:270px!important;padding-right:22px!important}
.postbody,.has-profile .postbody{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important}
}


/* HVN Social 2.4.1 — breadcrumb/navigation pills 1.5x, same colours */
@media (min-width: 701px) {
  #nav-breadcrumbs .crumb > a,
  #nav-breadcrumbs a.hvn-breadcrumb-pill {
    min-height: 39px !important;
    padding: 6px 14px !important;
    gap: 6px !important;
    border-radius: 10px !important;
    font: 700 16.5px/1.15 Tahoma, Arial, sans-serif !important;
  }
  #nav-breadcrumbs .icon {
    font-size: 15px !important;
  }
  #nav-breadcrumbs .crumb > a::after,
  #nav-breadcrumbs a.hvn-breadcrumb-pill::after {
    font-size: 11px !important;
  }
}
@media (max-width: 700px) {
  #nav-breadcrumbs .crumb > a,
  #nav-breadcrumbs a.hvn-breadcrumb-pill {
    min-height: 31px !important;
    padding: 5px 10px !important;
    font-size: 12px !important;
  }
}


/* =========================================================
   HVN Social 2.4.4 — real second admin row (separate UL)
   ========================================================= */
@media (min-width: 901px) {
  #nav-main {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  #nav-main > li {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
  }

  #nav-main > li > .button,
  #nav-main > li > .dropdown-trigger,
  #nav-main > li a.button,
  #nav-main > li a.dropdown-trigger {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  #hvn-admin-nav-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 20px !important;
    margin: 3px 0 0 0 !important;
    padding: 0 0 0 8px !important;
    clear: both !important;
  }

  #hvn-admin-nav-row > li {
    float: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #hvn-admin-nav-row .hvn-admin-nav > .button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    min-height: 18px !important;
    padding: 1px 5px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #7d8a99 !important;
    font: 600 9px/1.15 Tahoma, Arial, sans-serif !important;
    opacity: .78 !important;
    white-space: nowrap !important;
  }

  #hvn-admin-nav-row .hvn-admin-nav > .button span {
    color: #7d8a99 !important;
    font-size: 9px !important;
    font-weight: 600 !important;
  }

  #hvn-admin-nav-row .hvn-admin-nav > .button .icon,
  #hvn-admin-nav-row .hvn-admin-nav > .button i.icon,
  #hvn-admin-nav-row .hvn-admin-nav > .button .fa {
    color: #1877f2 !important;
    font-size: 11px !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }

  #hvn-admin-nav-row .hvn-admin-nav > .button:hover,
  #hvn-admin-nav-row .hvn-admin-nav > .button:focus {
    color: #536579 !important;
    background: rgba(24,119,242,.045) !important;
    opacity: 1 !important;
  }

  #hvn-admin-nav-row .hvn-admin-nav > .button:hover span,
  #hvn-admin-nav-row .hvn-admin-nav > .button:focus span {
    color: #536579 !important;
  }

  #hvn-admin-nav-row .hvn-admin-nav > .button:hover .icon,
  #hvn-admin-nav-row .hvn-admin-nav > .button:focus .icon {
    color: #1877f2 !important;
  }
}

@media (max-width: 900px) {
  #hvn-admin-nav-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
    margin-top: 5px !important;
    padding-left: 4px !important;
  }
  #hvn-admin-nav-row .hvn-admin-nav > .button {
    color: #7d8a99 !important;
    font-size: 9px !important;
    opacity: .72 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  #hvn-admin-nav-row .hvn-admin-nav > .button .icon {
    color: #1877f2 !important;
    font-size: 11px !important;
    opacity: 1 !important;
  }
}

/* HVN 2.4.6: compact secondary admin row + forced Facebook-blue icons */
#hvn-admin-nav-row .hvn-admin-nav > a.button,
#hvn-admin-nav-row .hvn-admin-nav > a.button span {
  color: #8a97a6 !important;
  opacity: .72 !important;
}
#hvn-admin-nav-row .hvn-admin-nav > a.button i,
#hvn-admin-nav-row .hvn-admin-nav > a.button i::before,
#hvn-admin-nav-row .hvn-admin-nav > a.button .icon,
#hvn-admin-nav-row .hvn-admin-nav > a.button .icon::before,
#hvn-admin-nav-row .hvn-admin-nav > a.button .fa,
#hvn-admin-nav-row .hvn-admin-nav > a.button .fa::before {
  color: #1877f2 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
@media (min-width: 901px) {
  #hvn-admin-nav-row {
    min-height: 18px !important;
    margin-top: 2px !important;
  }
  #hvn-admin-nav-row .hvn-admin-nav > a.button,
  #hvn-admin-nav-row .hvn-admin-nav > a.button span {
    font-size: 9px !important;
    line-height: 1.1 !important;
  }
  #hvn-admin-nav-row .hvn-admin-nav > a.button i,
  #hvn-admin-nav-row .hvn-admin-nav > a.button .icon,
  #hvn-admin-nav-row .hvn-admin-nav > a.button .fa {
    font-size: 11px !important;
  }
}

/* =========================================================
   HVN Social 2.4.6 — compact primary header navigation
   Keep colours intact; reduce only type/icon scale and spacing.
   ========================================================= */
@media (min-width: 901px) {
  html body .navbar #nav-main {
    gap: 7px !important;
    align-items: center !important;
  }

  html body .navbar #nav-main > li {
    margin: 0 !important;
    padding: 0 !important;
  }

  html body .navbar #nav-main > li > a.button,
  html body .navbar #nav-main > li > a.dropdown-trigger,
  html body .navbar #nav-main > li > .button,
  html body .navbar #nav-main > li > .dropdown-trigger,
  html body .navbar #nav-main .header-profile > a.button,
  html body .navbar #nav-main .header-profile > .button {
    padding: 6px 7px !important;
    margin: 0 !important;
    min-height: 34px !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
  }

  html body .navbar #nav-main > li > a.button span,
  html body .navbar #nav-main > li > a.dropdown-trigger span,
  html body .navbar #nav-main .header-profile > a.button,
  html body .navbar #nav-main .header-profile > a.button span {
    font-size: 18px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  html body .navbar #nav-main > li > a.button .icon,
  html body .navbar #nav-main > li > a.dropdown-trigger .icon,
  html body .navbar #nav-main > li > a.button i,
  html body .navbar #nav-main > li > a.dropdown-trigger i {
    font-size: 20px !important;
    line-height: 1 !important;
    margin-right: 3px !important;
  }

  /* Secondary admin row stays deliberately much smaller. */
  html body .navbar #hvn-admin-nav-row {
    gap: 8px !important;
    margin-top: 3px !important;
  }
}

@media (min-width: 901px) and (max-width: 1250px) {
  html body .navbar #nav-main {
    gap: 4px !important;
  }
  html body .navbar #nav-main > li > a.button,
  html body .navbar #nav-main > li > a.dropdown-trigger,
  html body .navbar #nav-main > li > .button,
  html body .navbar #nav-main > li > .dropdown-trigger,
  html body .navbar #nav-main > li > a.button span,
  html body .navbar #nav-main > li > a.dropdown-trigger span,
  html body .navbar #nav-main .header-profile > a.button,
  html body .navbar #nav-main .header-profile > a.button span {
    font-size: 16px !important;
  }
  html body .navbar #nav-main > li > a.button .icon,
  html body .navbar #nav-main > li > a.dropdown-trigger .icon,
  html body .navbar #nav-main > li > a.button i,
  html body .navbar #nav-main > li > a.dropdown-trigger i {
    font-size: 18px !important;
  }
}


/* =========================================================
   HVN Social 2.4.7 — balanced primary navbar
   - LevelPoint trio same scale as primary menu
   - messages/notifications/logout grouped at the far right
   - no colour changes except requested text-glow handled by LevelPoint
   ========================================================= */
@media (min-width: 901px) {
  html body #page-header .navbar #nav-main {
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    width:100%!important;
    gap:7px!important;
  }

  /* Extension-injected items: force exactly the same geometry as normal primary links. */
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-profile > a,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-gvcn > a,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-class > a,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-profile > a span,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-gvcn > a span,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-class > a span {
    font-size:18px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    word-break:keep-all!important;
    overflow-wrap:normal!important;
  }
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-profile > a,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-gvcn > a,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-class > a {
    padding:6px 7px!important;
    min-height:34px!important;
  }
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-profile > a .icon,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-gvcn > a .icon,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-class > a .icon {
    font-size:20px!important;
    line-height:1!important;
    margin-right:3px!important;
  }

  /* The first account item creates a flexible spacer: the account cluster hugs the right edge. */
  html body #page-header .navbar #nav-main > li.hvn-account-cluster-start {
    margin-left:auto!important;
  }
  html body #page-header .navbar #nav-main > li.hvn-account-cluster-item,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-logout {
    flex:0 0 auto!important;
    margin-right:0!important;
  }

  /* Logout is injected after Notifications; keep it visually in the right-hand account cluster. */
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-logout > a,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-logout > a span {
    font-size:18px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
  }
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-logout > a {
    padding:6px 7px!important;
    min-height:34px!important;
  }
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-logout > a .icon {
    font-size:20px!important;
    margin-right:3px!important;
  }
}

@media (min-width: 901px) and (max-width: 1250px) {
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-profile > a,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-gvcn > a,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-class > a,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-profile > a span,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-gvcn > a span,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-class > a span,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-logout > a,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-logout > a span {
    font-size:16px!important;
  }
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-profile > a .icon,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-gvcn > a .icon,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-class > a .icon,
  html body #page-header .navbar #nav-main > li.hvn-lp-menu-logout > a .icon {
    font-size:18px!important;
  }
}

/* ======================================================================
   Breeze HVN Social 2.4.19
   Post identity sizing only:
   - Desktop: make hvn_biet_danh (Họ & Tên value) clearly larger.
   - Mobile: reduce it slightly from the previous 18px.
   This block is intentionally last so older mobile/desktop rules cannot win.
   ====================================================================== */
@media (min-width: 701px) {
  html body.section-viewtopic .post.has-profile > .inner > .postprofile .hvn-profile-name > a,
  html body.section-viewtopic .post.has-profile > .inner > .postprofile .hvn-profile-name > strong,
  html body.section-viewtopic .post.has-profile > .inner > .postprofile .hvn-profile-name .username,
  html body.section-viewtopic .post.has-profile > .inner > .postprofile .hvn-profile-name .username-coloured {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  html body.section-viewtopic .post.has-profile > .inner > .postprofile .hvn-fullname-label {
    font-size: 10.5px !important;
    line-height: 1.1 !important;
    font-weight: 600 !important;
    opacity: .72 !important;
  }

  html body.section-viewtopic .post.has-profile > .inner > .postprofile .hvn-fullname-value {
    display: block !important;
    margin-top: 2px !important;
    font-size: 19px !important;
    line-height: 1.22 !important;
    font-weight: 800 !important;
    letter-spacing: .05px !important;
  }
}

@media (max-width: 700px) {
  html body.section-viewtopic .post.has-profile > .inner > .postprofile .hvn-fullname-label {
    font-size: 9px !important;
    line-height: 1.05 !important;
    font-weight: 600 !important;
    opacity: .68 !important;
  }

  html body.section-viewtopic .post.has-profile > .inner > .postprofile .hvn-fullname-value {
    display: block !important;
    margin-top: 1px !important;
    font-size: 16.5px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    letter-spacing: .05px !important;
  }
}
