:root{
    --tc-header-h: 72px;
    --tc-left-w: 310px;
    --tc-right-w: 350px;
    --tc-content-w: 860px;

    --tc-page-bg: #f4eef8;
    --tc-side-bg: #ffffff;
    --tc-surface: #ffffff;
    --tc-surface-soft: #fbf9fe;

    --tc-border: #e6daf5;
    --tc-border-soft: rgba(124, 37, 255, 0.10);
    --tc-divider: rgba(36, 23, 64, 0.08);

    --tc-text: #241740;
    --tc-text-soft: #75698f;
    --tc-text-faint: #a295bf;
	--tc-feed-w: 900px;
    --tc-primary: #7c25ff;
    --tc-primary-dark: #6510db;
    --tc-primary-soft: #efe5ff;

    --tc-radius-md: 16px;
    --tc-radius-lg: 22px;
    --tc-radius-xl: 28px;

    --tc-shadow-sm: 0 8px 24px rgba(109, 67, 177, 0.06);
    --tc-shadow-md: 0 14px 34px rgba(109, 67, 177, 0.10);
}

/* RESET */
*,
*::before,
*::after{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--tc-text);
    background: var(--tc-page-bg);
}

img{
    display: block;
    max-width: 100%;
}

a{
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea{
    font: inherit;
}

button{
    border: none;
    background: none;
    cursor: pointer;
}

input:focus,
button:focus,
select:focus,
a:focus{
    outline: 2px solid rgba(124, 37, 255, 0.18);
    outline-offset: 2px;
}

.tcProfileLayout{
    min-height: 100vh;
}

/* HEADER */
.tcTopbar{
    position: sticky;
    top: 0;
    z-index: 300;
    height: var(--tc-header-h);
    display: flex;
    align-items: center;
    padding: 0 18px;
    background: rgba(243, 237, 249, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(117, 105, 143, 0.10);
}

.tcTopbar__brand{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 900;
    color: var(--tc-text);
}

.tcTopbar__logo{
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, #8b68ff, #6d35eb);
    box-shadow: 0 8px 18px rgba(109, 53, 235, 0.22);
}

/* LAYOUT */
.tcProfileLayout__grid{
    min-height: calc(100vh - var(--tc-header-h));
    padding-left: var(--tc-left-w);
    padding-right: var(--tc-right-w);
}

/* LEFT / RIGHT PANELS */
.tcLeftPanel,
.tcRightPanel{
    position: fixed;
    top: var(--tc-header-h);
    bottom: 0;
    overflow-y: auto;
    background: var(--tc-side-bg);
    padding: 18px 14px 24px;
}

.tcLeftPanel{
    left: 0;
    width: var(--tc-left-w);
    border-right: 1px solid rgba(117, 105, 143, 0.10);
}

.tcRightPanel{
    right: 0;
    width: var(--tc-right-w);
    border-left: 1px solid rgba(117, 105, 143, 0.10);
}

/* CENTER STAGE */
.tcCenterStage{
    width: 100%;
    min-height: calc(100vh - var(--tc-header-h));
    position: relative;
    z-index: 1;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f4effa 120px,
        #f2ecf8 100%
    );
}
/* vrai conteneur du flux */
.tcFeedContainer{
    width: 100%;
    max-width: var(--tc-feed-w);
    margin: 0 auto;
    padding: 0 20px 32px;
}

/* bandeau sticky */
.tcFeedHeroBand{
    position: sticky;
    top: var(--tc-header-h);
    z-index: 120;
    padding: 22px 0 18px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.92) 0%,
        rgba(243,236,252,0.88) 100%
    );
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(124, 37, 255, 0.08);
    box-shadow: 0 8px 20px rgba(124, 37, 255, 0.06);
}

/* contenu du hero aligné à la largeur du feed */
.tcFeedHeroBand__inner{
    width: 100%;
    margin: 0 auto;
}

/* haut du hero */
.tcFeedHeroBand__top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.tcFeedHeroBand__intro h2{
    margin: 0 0 8px;
    font-size: 2.2rem;
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.tcFeedHeroBand__intro p{
    margin: 0;
    color: var(--tc-text-soft);
    font-size: 1rem;
    line-height: 1.5;
}

.tcFeedHeroBand__addBtn{
    min-width: 220px;
    white-space: nowrap;
}

/* toolbar */
.tcFeedToolbar{
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 170px;
    gap: 16px;
    align-items: end;
    margin-bottom: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--tc-border);
    border-radius: 24px;
    box-shadow: 0 14px 28px rgba(79, 47, 145, 0.06);
}

.tcFeedToolbar__themeForm,
.tcFeedToolbar__searchForm{
    display: contents;
}

.tcFeedToolbar__theme,
.tcFeedToolbar__search,
.tcFeedToolbar__submit{
    min-width: 0;
}

.tcFeedToolbar__label{
    display: block;
    margin-bottom: 8px;
    color: var(--tc-text-soft);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
}

/* select */
.tcSelectWrap{
    position: relative;
}

.tcSelect{
    width: 100%;
    height: 52px;
    padding: 0 44px 0 16px;
    border-radius: 18px;
    border: 1px solid rgba(112, 77, 200, 0.12);
    background: #ffffff;
    color: var(--tc-text);
    font-size: 0.96rem;
    font-weight: 600;
    appearance: none;
    outline: none;
}

.tcSelectWrap__arrow{
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #a49bbf;
    font-size: 0.95rem;
}

/* recherche */
.tcFeedToolbar__search{
    position: relative;
    min-width: 0;
}

.tcFeedSearch{
    position: relative;
    width: 100%;
}

.tcFeedSearch__icon{
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #a49bbf;
    pointer-events: none;
}

.tcFeedSearch input{
    width: 100%;
    height: 52px;
    padding: 0 16px 0 42px;
    border-radius: 18px;
    border: 1px solid rgba(112, 77, 200, 0.12);
    background: #ffffff;
    color: var(--tc-text);
    font-size: 0.96rem;
    font-weight: 500;
    outline: none;
}

.tcFeedToolbar__submit .tcBtn{
    width: 100%;
    min-height: 52px;
    border-radius: 18px;
}

/* suggestions */
.tcSearchResults{
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(112, 77, 200, 0.10);
    border-radius: 18px;
    box-shadow: 0 18px 32px rgba(79, 47, 145, 0.12);
    max-height: 320px;
    overflow-y: auto;
}

.tcSearchResults[hidden]{
    display: none;
}

/* filtres */
.tcFeedQuickFilters{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

/* liste des posts */
.tcFeedList{
    width: 100%;
    display: grid;
    gap: 22px;
    padding-top: 22px;
}

/* carte */
.tcPostCard{
    overflow: hidden;
    width: 100%;
    background: #fff;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-xl);
    box-shadow: var(--tc-shadow-sm);
    transition: .18s ease;
}

.tcPostCard__media img{
    width: 100%;
    height: 360px;
    object-fit: cover;
}
/* HERO BAND */
.tcFeedHeroBand{
    position: sticky;
    top: var(--tc-header-h);
    z-index: 120;
    padding: 22px 24px 18px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.85) 0%,
        rgba(243,236,252,0.85) 100%
    );
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(124, 37, 255, 0.08);
    box-shadow: 0 8px 20px rgba(124, 37, 255, 0.06);
}

.tcFeedHeroBand__inner{
    width: 100%;
    max-width: var(--tc-content-w);
    margin: 0 auto;
}

.tcFeedHeroBand__top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.tcFeedHeroBand__intro h2{
    margin: 0 0 8px;
    font-size: 2.2rem;
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.tcFeedHeroBand__intro p{
    margin: 0;
    color: var(--tc-text-soft);
    font-size: 1rem;
    line-height: 1.5;
}

.tcFeedHeroBand__addBtn{
    min-width: 220px;
    white-space: nowrap;
}

/* CENTER PANEL */
.tcCenterPanel{
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--tc-content-w);
    margin: 0 auto;
    padding: 24px 24px 30px;
}

/* FEED SHELL */
.tcFeedShell{
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* =========================================
   MOTEUR / TOOLBAR
========================================= */

.tcFeedToolbar {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 180px;
    gap: 16px;
    align-items: end;
    margin-bottom: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--tc-border);
    border-radius: 24px;
    box-shadow: 0 14px 28px rgba(79, 47, 145, 0.06);
}

.tcFeedToolbar__themeForm,
.tcFeedToolbar__searchForm {
    display: contents;
}

.tcFeedToolbar__theme,
.tcFeedToolbar__search,
.tcFeedToolbar__submit {
    min-width: 0;
}

.tcFeedToolbar__label {
    display: block;
    margin-bottom: 8px;
    color: var(--tc-text-soft);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
}

/* =========================================
   SELECT
========================================= */

.tcSelectWrap {
    position: relative;
}

.tcSelect {
    width: 100%;
    height: 52px;
    padding: 0 44px 0 16px;
    border-radius: 18px;
    border: 1px solid rgba(112, 77, 200, 0.12);
    background: #ffffff;
    color: var(--tc-text);
    font-size: 0.96rem;
    font-weight: 600;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tcSelect:focus {
    border-color: rgba(123, 49, 246, 0.22);
    box-shadow: 0 0 0 4px rgba(123, 49, 246, 0.07);
    background: #fff;
}

.tcSelectWrap__arrow {
    position: absolute;
    right: 16px;
    top: calc(50% + 11px);
    transform: translateY(-50%);
    pointer-events: none;
    color: #a49bbf;
    font-size: 0.95rem;
}

/* =========================================
   RECHERCHE
========================================= */

.tcFeedToolbar__search {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    z-index: 20;
}

.tcFeedSearch {
    position: relative;
    width: 100%;
    z-index: 21;
}

.tcSearchResults {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 50;

    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(112, 77, 200, 0.10);
    border-radius: 18px;
    box-shadow: 0 18px 32px rgba(79, 47, 145, 0.12);

    max-height: 320px;
    overflow-y: auto;
}

.tcSearchResults[hidden] {
    display: none;
} 

.tcFeedSearch input {
    width: 100%;
    height: 52px;
    padding: 0 16px 0 44px;
    border-radius: 18px;
    border: 1px solid rgba(112, 77, 200, 0.12);
    background: #ffffff;
    color: var(--tc-text);
    outline: none;
    font-size: 0.96rem;
    font-weight: 500;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tcFeedSearch input::placeholder {
    color: #aaa1c0;
}

.tcFeedSearch input:focus {
    border-color: rgba(123, 49, 246, 0.22);
    box-shadow: 0 0 0 4px rgba(123, 49, 246, 0.07);
    background: #fff;
}

/* =========================================
   BOUTON RECHERCHE
========================================= */

.tcFeedToolbar__submit {
    min-width: 0;
}

.tcFeedToolbar__submit .tcBtn {
    width: 100%;
    min-height: 52px;
    border-radius: 18px;
}

/* =========================================
   RÉSULTATS LIVE SOUS LE CHAMP
========================================= */

.tcSearchResults {
    grid-column: 2 / 4;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: -2px;
    padding: 10px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(112, 77, 200, 0.10);
    border-radius: 18px;
    box-shadow: 0 16px 28px rgba(79, 47, 145, 0.08);
    max-height: 320px;
    overflow-y: auto;
}

.tcSearchResults[hidden] {
    display: none;
}

.tcSearchSuggestion {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    border-radius: 14px;
    padding: 12px 14px;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.tcSearchSuggestion:hover,
.tcSearchSuggestion.is-active {
    background: #f6efff;
}

.tcSearchSuggestion__title {
    display: block;
    font-weight: 800;
    color: #2a2147;
    line-height: 1.3;
    font-size: 0.95rem;
}

.tcSearchSuggestion__meta {
    display: block;
    margin-top: 4px;
    font-size: 0.88rem;
    color: #7b7496;
    line-height: 1.35;
}

.tcSearchResults__empty {
    padding: 10px 12px;
    color: #7b7496;
    font-size: 0.92rem;
}

/* =========================================
   QUICK FILTERS
========================================= */
.tcFeedList {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.tcFeedQuickFilters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.tcChip {
    min-height: 40px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(112, 77, 200, 0.10);
    background: #ffffff;
    color: var(--tc-text-soft);
    font-size: 0.9rem;
    font-weight: 700;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.tcChip:hover {
    background: #f7f2fe;
    color: var(--tc-text);
    transform: translateY(-1px);
}

.tcChip.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--tc-primary), var(--tc-primary-dark, var(--tc-primary-2)));
    box-shadow: 0 10px 22px rgba(101, 16, 219, 0.18);
}

/* POSTS */
.tcFeedList{
    display: grid;
    gap: 22px;
}

.tcPostCard{
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-xl);
    box-shadow: var(--tc-shadow-sm);
    transition: .18s ease;
}

.tcPostCard:hover{
    transform: translateY(-2px);
    box-shadow: var(--tc-shadow-md);
}

.tcPostCard__head{
    padding: 16px 18px 8px;
}

.tcPostCard__author{
    display: flex;
    align-items: center;
    gap: 12px;
}

.tcPostCard__avatar{
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #d3c0ff, var(--tc-primary));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(124, 37, 255, 0.16);
}

.tcPostCard__avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tcPostCard__author strong{
    display: block;
    font-size: 1rem;
    line-height: 1.1;
    font-weight: 900;
}

.tcPostCard__tag{
    margin-top: 4px;
    color: var(--tc-text-soft);
    font-size: 0.92rem;
    font-weight: 600;
}

.tcPostCard__body{
    padding: 0 18px;
}

.tcPostCard__title{
    margin: 0 0 6px;
    font-size: 1.26rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 900;
}

.tcPostCard__date{
    margin-bottom: 14px;
    color: var(--tc-text-soft);
    font-size: 0.92rem;
    font-weight: 600;
}

.tcPostCard__media{
    display: block;
    overflow: hidden;
    border-radius: 22px;
    background: #f1ebfa;
}

.tcPostCard__media img{
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    transition: transform .25s ease;
}

.tcPostCard__media:hover img{
    transform: scale(1.02);
}

.tcPostCard__footer{
    padding: 14px 18px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.tcPostCard__stats{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--tc-text-soft);
    font-size: 0.96rem;
    font-weight: 600;
}

.tcPostCard__more{
    white-space: nowrap;
    font-size: 0.96rem;
    font-weight: 800;
}

.tcPostCard__more:hover{
    color: var(--tc-primary-dark);
}

.tcFeedLoader,
.tcFeedEnd{
    padding: 14px 6px 2px;
    text-align: center;
    color: var(--tc-text-soft);
    font-size: 0.94rem;
    font-weight: 600;
}

.tcFeedSentinel{
    height: 1px;
}

.tcEmptyState{
    padding: 22px;
    text-align: center;
    color: var(--tc-text-soft);
}

/* RIGHT SIDE CARDS */
.tcMessengerCard,
.tcNotificationCard{
    background: var(--tc-surface);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-xl);
    box-shadow: var(--tc-shadow-sm);
}

/* LEFT COLUMN - CONTINUOUS PANEL WITH SEPARATORS ONLY */
.tcLeftPanel .tcCard,
.tcLeftPanel .tcProfileCard,
.tcLeftPanel .tcSideMenu,
.tcLeftPanel .tcMiniInfoCard{
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

.tcLeftPanel > .tcProfileCard,
.tcLeftPanel > .tcSideMenu,
.tcLeftPanel > .tcMiniInfoCard{
    position: relative;
    padding-left: 16px;
    padding-right: 16px;
}

.tcLeftPanel > .tcProfileCard{
    padding-top: 4px;
    padding-bottom: 24px;
}

.tcLeftPanel > .tcSideMenu{
    padding-top: 24px;
    padding-bottom: 24px;
}

.tcLeftPanel > .tcMiniInfoCard{
    padding-top: 24px;
    padding-bottom: 8px;
}

.tcLeftPanel > .tcProfileCard::after,
.tcLeftPanel > .tcSideMenu::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--tc-divider);
}

.tcProfileCard__avatarWrap{
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.tcProfileCard__avatar{
    width: 108px;
    height: 108px;
    border-radius: 50%;
    overflow: hidden;
    padding: 5px;
    background: linear-gradient(180deg, #f7f1fe 0%, #ebe1fb 100%);
    border: 1px solid var(--tc-border);
    display: grid;
    place-items: center;
}

.tcProfileCard__avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.tcProfileCard__avatarFallback{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #cbb4ff, var(--tc-primary));
}

.tcProfileCard__name{
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.08;
    font-weight: 900;
}

.tcProfileCard__tag{
    margin-top: 8px;
    color: var(--tc-text-soft);
    font-size: 0.95rem;
    font-weight: 700;
}

.tcProfileCard__stats{
    margin-top: 18px;
    display: grid;
    gap: 10px;
    color: var(--tc-text-soft);
    font-size: 0.92rem;
}

.tcProfileCard__actions{
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

/* BUTTONS */
.tcBtn{
    min-height: 52px;
    border-radius: 18px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: .18s ease;
}

.tcBtn:hover{
    transform: translateY(-1px);
}

.tcBtn--full{
    width: 100%;
}

.tcBtn--primary{
    color: #fff;
    background: linear-gradient(135deg, var(--tc-primary), var(--tc-primary-dark));
    box-shadow: 0 12px 24px rgba(101, 16, 219, 0.22);
}

.tcBtn--secondary,
.tcBtn--soft{
    color: var(--tc-text);
    background: #fff;
    border: 1px solid var(--tc-border);
}

.tcSideMenu{
    display: grid;
    gap: 8px;
}

.tcSideMenu__link{
    min-height: 46px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 14px;
    color: var(--tc-text-soft);
    font-size: 0.95rem;
    font-weight: 700;
    transition: .18s ease;
}

.tcSideMenu__link:hover{
    background: #f7f2fe;
    color: var(--tc-text);
}

.tcSideMenu__link.is-active{
    background: #f0e8fb;
    color: var(--tc-text);
}

.tcSideMenu__icon{
    width: 18px;
    display: inline-flex;
    justify-content: center;
    color: var(--tc-primary);
}

.tcMiniInfoCard{
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tcMiniInfoCard__icon{
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--tc-primary-soft);
    color: var(--tc-primary);
    font-size: 0.95rem;
    font-weight: 800;
}

.tcMiniInfoCard__content strong{
    display: block;
    margin-bottom: 6px;
    font-size: 0.98rem;
}

.tcMiniInfoCard__content p{
    margin: 0;
    color: var(--tc-text-soft);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* RIGHT CONTENT */
.tcMessengerCard{
    padding: 18px;
    min-height: 100%;
}

.tcMessengerCard__header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.tcMessengerCard__brand{
    display: flex;
    align-items: center;
    gap: 12px;
}

.tcMessengerCard__logo{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--tc-primary), var(--tc-primary-dark));
}

.tcMessengerCard__brand h3{
    margin: 0;
    font-size: 0.98rem;
    font-weight: 900;
}

.tcIconBtn{
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    color: var(--tc-text-soft);
    border: 1px solid var(--tc-border);
    background: #fff;
}

.tcMessengerBlock{
    display: grid;
    gap: 14px;
}

.tcMessengerBlock__head{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tcMessengerBlock__head h4{
    margin: 0;
    font-size: 0.95rem;
    font-weight: 900;
}

.tcNotificationCard{
    padding: 16px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.tcNotificationCard__icon{
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #efe5fb;
    color: var(--tc-primary);
}

.tcNotificationCard__content strong{
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.tcNotificationCard__content p{
    margin: 0;
    color: var(--tc-text-soft);
    font-size: 0.9rem;
    line-height: 1.45;
}

.tcNotificationCard__time{
    white-space: nowrap;
    color: var(--tc-text-soft);
    font-size: 0.88rem;
    font-weight: 700;
}

.tcMessengerList{
    display: grid;
    gap: 14px;
}

.tcDiscussionItem{
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.tcDiscussionItem__avatar{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 900;
    background: linear-gradient(135deg, #cdb3ff, var(--tc-primary));
}

.tcDiscussionItem__body strong{
    display: block;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.tcDiscussionItem__tag{
    margin-bottom: 6px;
    color: var(--tc-text-soft);
    font-size: 0.86rem;
    font-weight: 600;
}

.tcDiscussionItem__body p{
    margin: 0;
    color: var(--tc-text);
    font-size: 0.9rem;
    line-height: 1.45;
}

.tcDiscussionItem__time{
    white-space: nowrap;
    color: var(--tc-text-soft);
    font-size: 0.86rem;
    font-weight: 700;
    padding-top: 2px;
}

.tcMessengerCard__cta{
    margin-top: 4px;
}

.tcMessengerFooter{
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--tc-border);
    display: grid;
    gap: 12px;
}

.tcMessengerFooter__tools{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tcMessengerFooter__tools button{
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #f7f2fc;
    color: var(--tc-text-soft);
}

.tcMessengerFooter__tabs{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tcMessengerFooter__tabs button{
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--tc-border);
    background: #fff;
    color: var(--tc-text-soft);
    font-size: 0.9rem;
    font-weight: 700;
}

.tcMessengerFooter__tabs button.is-active{
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--tc-primary), var(--tc-primary-dark));
}

/* SCROLLBAR */
.tcLeftPanel::-webkit-scrollbar,
.tcRightPanel::-webkit-scrollbar{
    width: 8px;
}

.tcLeftPanel::-webkit-scrollbar-thumb,
.tcRightPanel::-webkit-scrollbar-thumb{
    background: #cdbce8;
    border-radius: 999px;
}

/* RESPONSIVE */
@media (max-width: 1480px){
    :root{
        --tc-left-w: 290px;
        --tc-right-w: 320px;
        --tc-content-w: 780px;
    }

    .tcPostCard__media img{
        height: 320px;
    }
}

@media (max-width: 1180px){
    .tcFeedToolbar{
        grid-template-columns: 1fr;
    }

    .tcFeedHeroBand__top{
        flex-direction: column;
        align-items: stretch;
    }

    .tcFeedHeroBand__addBtn{
        min-width: 0;
        width: 100%;
    }

    .tcPostCard__media img{
        height: 260px;
    }
}

@media (max-width: 980px){
    .tcProfileLayout__grid{
        padding-left: 0;
        padding-right: 0;
    }

    .tcLeftPanel,
    .tcRightPanel{
        position: static;
        width: 100%;
        height: auto;
        overflow: visible;
        background: transparent;
        border: none;
    }

    .tcCenterPanel{
        max-width: none;
        padding: 18px 14px 30px;
    }

    .tcFeedHeroBand{
        padding: 18px 14px;
    }

    .tcLeftPanel > .tcProfileCard::after,
    .tcLeftPanel > .tcSideMenu::after{
        left: 14px;
        right: 14px;
    }
}

@media (max-width: 720px){
    :root{
        --tc-header-h: 62px;
    }

    .tcFeedHeroBand__intro h2{
        font-size: 1.5rem;
    }

    .tcFeedHeroBand__intro p{
        font-size: 0.92rem;
    }

    .tcPostCard__media img{
        height: 220px;
    }

    .tcPostCard__footer{
        flex-direction: column;
        align-items: flex-start;
    }
}