

.cq-member-public {
    padding: 8px 0 32px;
    --cq-ho-so-cot-trai: 340px;
    --cq-ho-so-ava: 326px;
}

.cq-member-shell {
    display: grid;
    grid-template-columns: var(--cq-ho-so-cot-trai) repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.cq-member-card {
    background: #fff;
    border-radius: 34px;
    box-shadow: 0 20px 48px rgba(18, 56, 91, 0.08);
    overflow: hidden;
}

.cq-member-sidebar {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.cq-member-main {
    grid-column: 2 / 5;
    display: contents;
}

.cq-member-avatar {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 34px;
    object-fit: cover;
    display: block;
    margin-bottom: 18px;
    box-shadow: 0 14px 30px rgba(18, 56, 91, 0.12);
    background: #fff;
}

.cq-member-name {
    margin: 0 0 10px;
    color: var(--cq-navy);
    font-size: 30px;
    line-height: 1.08;
    font-weight: 800;
}

.cq-member-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 20px;
}

.cq-member-status-pill,
.cq-member-account-pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: #eef5f8;
    color: var(--cq-navy);
    font-size: 14px;
    font-weight: 700;
}

.cq-member-account-pill {
    margin-bottom: 8px;
}

.cq-member-status-pill.verified {
    background: #e8f4fd;
    color: #0c6cb0;
    gap: 6px;
}

.cq-member-hero {
    position: relative;
    margin-bottom: 18px;
}

.cq-member-banner {
    margin-left: calc(-1 * var(--cq-gutter));
    margin-right: calc(-1 * var(--cq-gutter));
    aspect-ratio: 8 / 1;
    border-radius: 0;
    background: linear-gradient(120deg, #0d5a7c 0%, var(--cq-green) 55%, #4bb06a 100%);
}

.cq-member-hero-avatar {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--cq-ho-so-ava);
    height: var(--cq-ho-so-ava);
    object-fit: cover;
    border-radius: 0;
    background: #fff;
}

.cq-member-sidebar .cq-member-avatar {
    display: none;
}

.cq-member-hero-lv {
    margin: 0 0 var(--cq-3);
    line-height: normal;
}

.cq-member-hero-lv .n,
.cq-member-hero-lv .p {
    display: none;
}

.cq-member-hero-lv .cq-lv-ring {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 2px 6px rgba(0, 0, 0, .3);
}

.cq-member-hero-name {
    position: absolute;
    left: calc(var(--cq-ho-so-cot-trai) + var(--cq-5));
    bottom: 18px;
    right: 24px;
    z-index: 3;
    color: #fff;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .3);
}

.cq-member-hero-nametop {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 30px;
    font-weight: 800;
}

.cq-member-hero-title {
    font-size: 15px;
    font-weight: 500;
    margin-top: 3px;
}

.cq-hero-tick {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25));
}

.cq-member-sidebar .cq-member-name,
.cq-member-action-row .cq-member-status-pill {
    display: none;
}

.cq-member-follow-count {
    margin: 12px 0 4px;
    color: #5b6e83;
    font-size: 15px;
}

.cq-member-follow-count b {
    color: var(--cq-navy);
    font-size: 18px;
    font-weight: 800;
}

.cq-member-link-web .cq-ext {
    margin-left: 5px;
    font-size: 11px;
    color: #9aa8b6;
}

.cq-liked-empty,
.cq-liked-loading {
    padding: 30px 10px;
    text-align: center;
    color: #8593a3;
    font-size: 15px;
}

.cq-work-role {
    margin-bottom: 8px;
    color: var(--cq-navy);
}

.cq-work-org {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    color: var(--cq-navy);
    text-decoration: none;
}

.cq-work-org:hover .cq-work-name {
    text-decoration: underline;
}

.cq-work-logo {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    object-fit: cover;
    flex: 0 0 auto;
    background: #eef3f7;
}

.cq-work-name {
    font-size: 14px;
    font-weight: 600;
}

.cq-work-item {
    margin-bottom: 12px;
}

.cq-work-item:last-child {
    margin-bottom: 0;
}

.cq-work-sub {
    margin: 1px 0 0 44px;
    color: #5b6e83;
    font-size: 13px;
}

.cq-work-logo-txt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    color: var(--cq-green);
    background: #e4f1ec;
}

.cq-member-tabs-shell .datalist-content,
.cq-member-tabs-shell .cq-liked-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, var(--cq-the-rong));
    gap: 12px;
}

.cq-member-tabs-shell .cq-col-3,
.cq-member-tabs-shell .cq-col-2,
.cq-member-tabs-shell .datalist-content > .item {
    width: auto;
    float: none;
    margin: 0;
}

.cq-member-tabs-shell .cq-liked-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.cq-member-tabs-shell .cq-liked-wrap > .cq-col-4,
.cq-member-tabs-shell .cq-liked-wrap > .item-idea {
    width: auto;
    float: none;
    margin: 0;
}

.cq-member-tabs-shell .cq-liked-loading,
.cq-member-tabs-shell .cq-liked-empty {
    grid-column: 1 / -1;
}

.cq-member-follow-stat {
    text-align: center;
    padding: 10px 0;
}

.cq-member-follow-num {
    font-size: 34px;
    font-weight: 800;
    color: var(--cq-navy);
    line-height: 1;
}

.cq-member-follow-lbl {
    margin-top: 6px;
    color: #5b6e83;
    font-size: 14px;
    font-weight: 600;
}

.cq-member-section h3,
.cq-member-stats-panel h3 {
    margin: 0 0 18px;
    color: var(--cq-navy);
    font-size: 20px;
    font-weight: 800;
}

.cq-member-row {
    display: block;
    padding: 13px 0;
    border-top: 1px solid #edf3f8;
}

.cq-member-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.cq-member-label {
    display: block;
    margin-bottom: 8px;
    color: #5b6e83;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cq-member-value {
    color: #173e63;
    font-size: 16px;
    line-height: 1.65;
}

.cq-member-value.muted {
    color: #6f8398;
}

.cq-member-stats-panel {
    grid-column: 2 / 5;
    padding: 26px;
    min-height: var(--cq-member-avatar-size, 320px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cq-member-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.cq-member-stat-box {
    padding: 18px 16px;
    border-radius: 24px;
    background: #f6fafc;
    border: 1px solid #e4edf4;
}

.cq-member-stat-box .cq-member-stat-label {
    display: block;
    margin-bottom: 10px;
}

.cq-member-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cq-member-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #173e63;
    text-decoration: none;
    word-break: break-word;
}

.cq-member-link i {
    color: #007b73;
}

.cq-member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cq-member-tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #eef5f8;
    color: var(--cq-navy);
    font-size: 14px;
    font-weight: 600;
}

.cq-member-stat-label {
    color: #6f8398;
    font-size: 14px;
}

.cq-member-stat-value {
    color: var(--cq-navy);
    font-size: 18px;
    font-weight: 800;
    text-align: right;
}

.cq-member-level-html {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #edf3f8;
}

.cq-member-level-html .level-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cq-member-level-html .level-box img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.cq-member-tabs-shell {
    grid-column: 2 / 5;
    padding: 26px;
}

.cq-member-public .tab-style3 {
    margin-top: 0;
}

.cq-member-hero-avatar > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cq-member-edit,
.cq-member-action-row .cq-member-upload {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid #d6e3ee;
    background: var(--cq-navy);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.cq-member-edit:hover,
.cq-member-action-row .cq-member-upload:hover {
    background: #0d2c48;
}

.cq-member-action-row .cq-member-upload * {
    background: none !important;
    border: 0 !important;
    color: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
    font: inherit;
}

@media (max-width: 1100px) {
    .cq-member-shell {
        grid-template-columns: 1fr;
    }

    .cq-member-sidebar,
    .cq-member-stats-panel,
    .cq-member-tabs-shell {
        grid-column: 1;
        grid-row: auto;
    }

    .cq-member-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .cq-member-tabs-shell .datalist-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cq-member-tabs-shell .cq-liked-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .cq-member-hero-title { font-size: 12px; }
    .cq-member-hero-name { left: calc(20vw + 16px); bottom: 10px; font-size: 18px; gap: 6px; }
    .cq-member-hero-name .cq-member-hero-nametop { font-size: 18px; gap: 6px; }
    .cq-hero-tick { width: 18px; height: 18px; }
    .cq-member-hero-lv { top: 5px; left: 5px; }
    .cq-member-banner { aspect-ratio: 5 / 1; }
    .cq-member-hero-avatar { width: 20vw; height: 20vw; }
}

@media (max-width: 560px) {
    .cq-member-tabs-shell .datalist-content { grid-template-columns: 1fr; }
    .cq-member-tabs-shell .cq-liked-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .cq-member-public { padding: 0 0 24px; }
    .cq-member-avatar { border-radius: 28px; }
    .cq-member-name { font-size: 26px; }
    .cq-member-tabs-shell,
    .cq-member-stats-panel,
    .cq-member-sidebar { padding: 20px 14px; }
    .cq-member-stats-grid { grid-template-columns: 1fr; }

    .cq-member-tabs-shell { order: -1; }

    .cq-member-action-row { gap: 8px; }
    .cq-member-action-row .cq-member-edit,
    .cq-member-action-row .cq-member-upload { flex: 1 1 0; min-width: 0; height: 42px; font-size: 13.5px; padding: 0 10px; }

    .cq-member-tabs-shell .tab-style3 { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .cq-member-tabs-shell .tab-style3::-webkit-scrollbar,
    .cq-member-tabs-shell .tab-style3 *::-webkit-scrollbar { display: none; }

    .cq-member-label { display: none; }
    .cq-member-row { padding: 8px 0; }
    .cq-member-value { font-size: 14px; line-height: 1.55; }
    .cq-member-links { gap: 7px; }
    .cq-member-link i { width: 16px; text-align: center; flex: 0 0 16px; }
    .cq-member-follow-count { font-size: 13.5px; margin: 8px 0 2px; }
    .cq-work-sub { margin-left: 44px; }
}

.cq-member-tabs-shell .c-portfolio { display: block; }
.cq-member-tabs-shell .c-portfolio img { aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: cover; display: block; background: var(--cq-light, #f2f5f7); }
.cq-member-tabs-shell .news-item .img { display: block; }
.cq-member-tabs-shell .news-item .img img { aspect-ratio: 8 / 5; width: 100%; height: auto; object-fit: cover; display: block; background: var(--cq-light, #f2f5f7); }
.cq-member-tabs-shell .guest-item .img img { background: var(--cq-light, #f2f5f7); }

.cq-mstats { display: flex; margin: 12px 0 4px; }
.cq-mstats__item { flex: 1 1 0; min-width: 0; text-align: center; color: #5b6e83; font-size: 12.5px; cursor: pointer; text-decoration: none; }
.cq-mstats__item b { display: block; color: var(--cq-dark, #12385b); font-size: 20px; font-weight: 800; line-height: 1.15; }

.cq-member-more { margin-top: 6px; }
.cq-member-more summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 12px 0; color: var(--cq-dark, #12385b); font-size: 14.5px; font-weight: 700; cursor: pointer; border-top: 1px solid #edf3f8; }
.cq-member-more summary::-webkit-details-marker { display: none; }
.cq-member-more summary::after { content: "\25BE"; margin-left: auto; color: #5b6e83; transition: transform .2s ease; }
.cq-member-more[open] summary::after { transform: rotate(180deg); }
@media (min-width: 768px) {
    .cq-member-more summary { display: none; }
}

@media (max-width: 767px) {

    .cq-member-tabs-shell .btn-style { display: none; }

    .cq-member-tabs-shell { overflow: visible; }    .cq-member-tabs-shell .tabbox-name {
        position: -webkit-sticky; position: sticky; top: 0; z-index: 20;
        background: #ffffff;
        display: flex; align-items: stretch;
        width: 100%; margin: 0; padding: 0; list-style: none;
        overflow: visible; overflow-x: visible;
    }
    .cq-member-tabs-shell .tabbox-name > li { flex: 1 1 0; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; }
    .cq-member-tabs-shell .tabbox-name .TabName {
        flex: 1 1 0; min-width: 0; width: 100%;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 0 !important; padding: 12px 0 !important; margin: 0;
        white-space: nowrap;
    }
    .cq-member-tabs-shell .tabbox-name .TabName::before {
        font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 17px;
    }
    .cq-member-tabs-shell .tab-idea::before { content: "\f0eb"; }    .cq-member-tabs-shell .menutapchi::before,
    .cq-member-tabs-shell .tab-tapchi::before { content: "\f1ea"; }    .cq-member-tabs-shell .menuportfolio::before,
    .cq-member-tabs-shell .tab-portfolio::before { content: "\f07c"; }    .cq-member-tabs-shell .tab-saved::before { content: "\f02e"; }}

.cq-member-hero-act {
    position: absolute;
    right: 0;
    bottom: 18px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--cq-2);
}
.cq-member-hero-act__count {
    color: #fff;
    font-size: var(--cq-fs-1);
    text-shadow: 0 1px 5px rgba(0, 0, 0, .3);
}
.cq-member-hero-act__count b { font-weight: 800; }
.cq-member-hero-act .cq-member-follow,
.cq-member-hero-act .cq-member-dd { vertical-align: middle; }
.cq-member-hero-act__sep { opacity: .55; margin: 0 4px; }

.cq-member-tabs-shell .cq-tab-so { font-weight: 600; opacity: .6; font-size: .92em; }

.cq-member-card.cq-member-sidebar { padding-top: calc(26px + 44px + var(--cq-3)); }

.cq-member-gt { max-width: 68ch; color: var(--cq-text, #33475b); font-size: 15px; line-height: 1.65; }
.cq-member-gt p { margin: 0 0 12px; }
.cq-member-gt img { max-width: 100%; height: auto; border-radius: 12px; }
.cq-member-gt__trong { color: #8797a6; font-style: italic; }

.cq-member-hero-act .cq-member-follow {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 22px; border-radius: 999px;
    background: #fff; color: var(--cq-navy) !important; border: 0;
    font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer;
    box-shadow: 0 6px 18px rgba(10, 40, 70, .18);
}
.cq-member-hero-act .cq-member-follow:hover { background: #f3f7fb; }

.cq-member-doi-anh {
    position: absolute;
    left: 0;
    top: var(--cq-2);
    width: var(--cq-ho-so-ava);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--cq-2);
    padding-right: var(--cq-2);
    pointer-events: none;
}
.cq-member-doi-anh .cq-member-upload {
    pointer-events: auto;
    position: static !important;
    margin: 0 !important;
    min-width: 0;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    border: 0;
    background: rgba(10, 30, 50, .62);
    color: #fff !important;
    font-size: 0;}
.cq-member-doi-anh .cq-member-upload:hover { background: rgba(10, 30, 50, .82); }

.cq-member-diem { margin-top: 20px; max-width: 640px; }
.cq-member-diem .point-item { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--cq-hairline, #eef2f6); font-size: 14px; }
.cq-member-diem .point-item .num { flex: 0 0 62px; text-align: right; font-weight: 800; color: #c0392b; }
.cq-member-diem .point-item .name { flex: 1 1 auto; color: #41505f; }
.cq-member-diem .point-item .point { flex: 0 0 auto; font-weight: 700; color: #12385b; }
.cq-member-diem .huyhieu-item { width: 44px; height: 44px; margin-right: 6px; }

.cq-member-doi-anh .cq-tt-doi--tron {
    pointer-events: auto;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    font-size: 15px;
}

.cq-member-hero .cq-tt-mount {
    position: absolute;
    left: 0;
    top: calc(var(--cq-ho-so-ava) - 36px);
    width: var(--cq-ho-so-ava);
    z-index: 4;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.cq-member-hero .cq-tt-mount .cq-tt {
    pointer-events: auto;
    max-width: calc(var(--cq-ho-so-ava) - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 6px 16px rgba(8, 22, 36, .28);
}
.cq-member-hero[data-co-tt] .cq-member-hero-avatar {
    box-shadow: 0 0 0 4px var(--cq-tt-mau) inset, 0 0 0 4px var(--cq-tt-mau);
}
