/* ==========================================================================
   Club & Community Shared Stylesheet (CannaKompass)
   ========================================================================== */

/* 3-Column Layout */
.grid-3-columns {
    display: grid;
    grid-template-columns: 310px 1fr 310px;
    gap: 16px;
    align-items: start;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto 30px auto;
}

@media (max-width: 1840px) {
    .grid-3-columns {
        padding: 0 16px;
    }
}

.grid-3-columns > .page-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-width: 0;
}

.sidebar-left, 
.sidebar-right {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 251, 248, 0.95) 100%);
    border: 1px solid rgba(10, 207, 131, 0.22);
    border-top: 2px solid #0acf83;
    border-radius: 20px;
    padding: 22px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 0 20px rgba(10, 207, 131, 0.06), var(--shadow-btn-inset);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-left::before,
.sidebar-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 70px;
    background: radial-gradient(ellipse 60% 45px at 50% 0%, rgba(10, 207, 131, 0.12), transparent 75%);
    pointer-events: none;
    z-index: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

html.dark-mode .sidebar-left,
html.dark-mode .sidebar-right {
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.88) 0%, rgba(18, 18, 18, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 1px solid rgba(10, 207, 131, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(10, 207, 131, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.07);
}

html.dark-mode .sidebar-left::before,
html.dark-mode .sidebar-right::before {
    background: radial-gradient(ellipse 65% 55px at 50% 0%, rgba(10, 207, 131, 0.16), transparent 75%);
}

.sidebar-left > *,
.sidebar-right > * {
    position: relative;
    z-index: 1;
}

.sidebar-widget {
    display: flex;
    flex-direction: column;
}

.sidebar-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(90deg, rgba(10, 207, 131, 0.35) 0%, rgba(255, 255, 255, 0.06) 40%, transparent 100%) bottom / 100% 1px no-repeat;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.sidebar-title i {
    color: var(--primary-color, #0acf83);
    font-size: 1.05rem;
    filter: drop-shadow(0 0 8px rgba(10, 207, 131, 0.45));
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: var(--text-muted);
    text-decoration: none;
    background: var(--bg-tab-btn);
    border: 1px solid var(--border-color);
    border-radius: 9px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.sidebar-nav-item:hover {
    background: var(--bg-tab-btn-hover);
    color: var(--text-main);
    border-color: rgba(10, 207, 131, 0.45);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.sidebar-nav-item:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.sidebar-nav-item.active {
    background: rgba(10, 207, 131, 0.12);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(10, 207, 131, 0.2), inset 0 1px 0 rgba(10, 207, 131, 0.25);
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar-nav-item.has-active-child {
    background: rgba(10, 207, 131, 0.08);
    border-color: rgba(10, 207, 131, 0.55);
    box-shadow: 0 2px 6px rgba(10, 207, 131, 0.15), inset 0 1px 0 rgba(10, 207, 131, 0.2);
    color: var(--text-main);
    font-weight: 600;
}

.sidebar-nav-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.sidebar-nav-item i {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.sidebar-nav-badge {
    margin-left: auto;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.2s ease;
}

.sidebar-nav-item:hover .sidebar-nav-badge {
    border-color: rgba(10, 207, 131, 0.3);
    color: var(--text-main);
}

.sidebar-nav-item.active .sidebar-nav-badge {
    background: var(--primary-color);
    color: #121212;
    border-color: var(--primary-color);
}

/* Expandable Channel Groups & Strain Sub-Channels */
.sidebar-channel-group {
    display: flex;
    flex-direction: column;
}

.sidebar-parent-channel {
    cursor: pointer;
}

.sidebar-subchannels-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, margin 0.25s ease;
    margin-left: 14px;
    padding-left: 10px;
    border-left: 2px solid rgba(10, 207, 131, 0.25);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-channel-group.open .sidebar-subchannels-container {
    max-height: 380px;
    opacity: 1;
    margin-top: 8px;
    margin-bottom: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
}

/* Compact Sub-Channel Search Box */
.subchannel-search-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-tab-btn);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px 8px;
    margin-bottom: 4px;
    transition: border-color 0.2s ease;
}

.subchannel-search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px rgba(10, 207, 131, 0.2);
}

.subchannel-search-box i.bi-search {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    width: auto;
}

.subchannel-search-box input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.8rem;
    color: var(--text-main);
    width: 100%;
    font-family: inherit;
    padding: 0;
}

.subchannel-search-box input::placeholder {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.subchannel-clear-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
}

.subchannel-clear-btn:hover {
    color: #e53935;
}

/* Scroll Area for Sub-Channels */
.subchannels-scroll-area {
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 4px;
}

.subchannels-scroll-area::-webkit-scrollbar {
    width: 4px;
}

.subchannels-scroll-area::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.subchannels-scroll-area::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.sidebar-subchannel-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.83rem;
    font-weight: 500;
    transition: all 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-subchannel-item i {
    font-size: 0.85rem;
    margin: 0;
    width: 16px;
    text-align: center;
    color: var(--text-muted);
    transition: color 0.15s ease;
}

.sidebar-subchannel-item .subchannel-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-subchannel-item:hover {
    background: var(--bg-tab-hover);
    color: var(--text-main);
}

.sidebar-subchannel-item:hover i {
    color: var(--primary-color);
}

.sidebar-subchannel-item.active {
    background: rgba(10, 207, 131, 0.14);
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar-subchannel-item.active i {
    color: var(--primary-color);
}

.subchannel-verified-icon {
    font-size: 0.72rem !important;
    color: var(--primary-color) !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    width: auto !important;
    opacity: 0.85;
}

.subchannels-empty-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    padding: 6px 8px;
}

/* Scrollable Strain Lists in Search Dropdown & Composer */
.subnav-dropdown-scroll,
.composer-channel-scroll {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 4px;
}

.subnav-dropdown-scroll::-webkit-scrollbar,
.composer-channel-scroll::-webkit-scrollbar {
    width: 4px;
}

.subnav-dropdown-scroll::-webkit-scrollbar-thumb,
.composer-channel-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.subnav-dropdown-subitem,
.channel-menu-subitem {
    padding-left: 18px !important;
    font-size: 0.82rem !important;
}

.subnav-dropdown-subitem i,
.channel-menu-subitem i {
    font-size: 0.8rem !important;
    opacity: 0.8;
}

/* Status & User Profile Box */
.sidebar-user-profile,
.sidebar-profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 207, 131, 0.12);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    border: 1px solid rgba(10, 207, 131, 0.25);
    transition: all 0.2s ease;
}

.sidebar-user-avatar.avatar-creator {
    background: rgba(168, 85, 247, 0.14);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.35);
}

.sidebar-user-avatar.avatar-partner {
    background: rgba(59, 130, 246, 0.14);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.35);
}

.sidebar-user-avatar.avatar-team {
    background: rgba(10, 207, 131, 0.18);
    color: var(--primary-color);
    border-color: rgba(10, 207, 131, 0.45);
}

.sidebar-user-avatar.avatar-vip-gold {
    background: rgba(255, 215, 0, 0.14);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.35);
}

.sidebar-user-avatar.avatar-moderator {
    background: rgba(6, 182, 212, 0.14);
    color: #22d3ee;
    border-color: rgba(6, 182, 212, 0.35);
}

.sidebar-user-avatar.avatar-business {
    background: rgba(249, 115, 22, 0.14);
    color: #fb923c;
    border-color: rgba(249, 115, 22, 0.35);
}

.sidebar-user-avatar.avatar-sponsor {
    background: rgba(234, 179, 8, 0.14);
    color: #facc15;
    border-color: rgba(234, 179, 8, 0.35);
}

.sidebar-user-info,
.sidebar-profile-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
    gap: 2px;
}

.sidebar-user-greeting,
.sidebar-profile-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sidebar-user-name,
.sidebar-profile-username {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-info .user-badge,
.sidebar-profile-info .user-badge {
    margin-top: 2px;
    padding: 3px 10px;
    font-size: 0.85rem;
    max-width: 100%;
}

.sidebar-user-info .user-badge .sidebar-user-name,
.sidebar-profile-info .user-badge .sidebar-user-name,
.sidebar-profile-info .user-badge .sidebar-profile-username {
    color: inherit !important;
    font-size: inherit;
    font-weight: 700;
}

.sidebar-status-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.sidebar-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--bg-tab-btn);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.85rem;
}

.sidebar-status-label {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.sidebar-rank-badge {
    font-weight: 600;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(10, 207, 131, 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(10, 207, 131, 0.25);
    white-space: nowrap;
}

.sidebar-rank-badge.rank-member {
    background: rgba(10, 207, 131, 0.12);
    color: var(--primary-color);
    border-color: rgba(10, 207, 131, 0.28);
}

.sidebar-rank-badge.rank-vip {
    background: rgba(255, 193, 7, 0.14);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.3);
}

.sidebar-rank-badge.rank-creator {
    background: rgba(168, 85, 247, 0.14);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.3);
}

.sidebar-rank-badge.rank-partner {
    background: rgba(59, 130, 246, 0.14);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
}

.sidebar-rank-badge.rank-team {
    background: rgba(10, 207, 131, 0.18);
    color: var(--primary-color);
    border-color: rgba(10, 207, 131, 0.4);
}

.sidebar-rank-badge.rank-moderator {
    background: rgba(6, 182, 212, 0.14);
    color: #22d3ee;
    border-color: rgba(6, 182, 212, 0.3);
}

.sidebar-rank-badge.rank-business {
    background: rgba(249, 115, 22, 0.14);
    color: #fb923c;
    border-color: rgba(249, 115, 22, 0.3);
}

.sidebar-rank-badge.rank-sponsor {
    background: rgba(234, 179, 8, 0.14);
    color: #facc15;
    border-color: rgba(234, 179, 8, 0.3);
}

.sidebar-rank-badge.rank-user {
    background: var(--bg-tab-btn);
    color: var(--text-muted);
    border-color: var(--border-color);
}

/* Guest Box in Sidebar */
.sidebar-guest-box {
    text-align: center;
    padding: 6px 2px;
}

.sidebar-guest-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(10, 207, 131, 0.1);
    border: 1px solid rgba(10, 207, 131, 0.2);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.sidebar-guest-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 12px;
}

.sidebar-guest-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.sidebar-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 9px 16px;
    background-color: rgba(10, 207, 131, 0.08);
    border: 1px solid rgba(10, 207, 131, 0.28);
    color: #0acf83;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: var(--shadow-btn-raised);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-login-btn:hover {
    background-color: rgba(10, 207, 131, 0.18);
    color: #0acf83;
    border-color: #0acf83;
    box-shadow: var(--shadow-btn-raised), 0 0 14px rgba(10, 207, 131, 0.35);
    transform: translateY(-2px);
}

.sidebar-login-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sidebar-guest-subtext {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sidebar-guest-subtext a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.sidebar-guest-subtext a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Club-Specific Components
   ========================================================================== */
.club-overview-header {
    margin-bottom: 35px;
    text-align: center;
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.75) 0%, rgba(18, 18, 18, 0.9) 100%);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 1px solid rgba(10, 207, 131, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.club-overview-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary-color);
}

html.dark-mode .club-overview-header h2 {
    background: linear-gradient(135deg, #047857 0%, #0acf83 25%, #34d399 50%, #10b981 75%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 8px rgba(10, 207, 131, 0.22));
}

.club-overview-header p {
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 50px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    background: rgba(24, 24, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 24px 18px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), 0 0 18px rgba(10, 207, 131, 0.12);
    border-color: rgba(10, 207, 131, 0.45);
}

.pricing-card-vip {
    border: 1px solid rgba(10, 207, 131, 0.4);
    border-top: 2px solid #0acf83;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(10, 207, 131, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #121212;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-name {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.pricing-amount-container {
    text-align: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
}

.pricing-interval {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
    min-height: 40px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 10px;
    font-size: 0.82rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-main);
    line-height: 1.35;
}

.pricing-features li i {
    font-size: 0.95rem !important;
    margin-top: 1px !important;
    flex-shrink: 0;
}

.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pricing-btn-primary {
    background: var(--primary-color);
    color: #121212;
    border: none;
}

.pricing-btn-primary:hover {
    background: #09b874;
    color: #121212;
}

.pricing-btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.pricing-btn-outline:hover {
    background: var(--bg-tab-hover);
    color: var(--text-main);
}

.account-types-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.account-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.account-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.account-type-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(10, 207, 131, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.account-type-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.account-type-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.account-type-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    flex-grow: 1;
    margin-bottom: 18px;
    line-height: 1.45;
}

.account-type-btn {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.account-type-btn:hover {
    background: var(--bg-tab-hover);
}

/* ==========================================================================
   Community-Specific Components
   ========================================================================== */

/* Sub-Nav / Filter Bar */
.community-sub-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.community-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.community-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.community-filter-pill:hover {
    background: var(--bg-tab-hover);
    color: var(--text-main);
}

.community-filter-pill.active {
    background: rgba(10, 207, 131, 0.12);
    color: #0acf83;
    border-color: #0acf83;
}

/* Search & Filter Bar in Sub-Nav */
.community-search-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

/* Channel Dropdown Pill in Subnav */
.subnav-filter-dropdown {
    position: relative;
    display: inline-flex;
}

.subnav-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-tab-btn);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.subnav-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--text-main);
    background: var(--bg-tab-btn-hover);
}

.subnav-filter-btn.active-filter {
    background: rgba(10, 207, 131, 0.12);
    border-color: rgba(10, 207, 131, 0.35);
    color: var(--primary-color);
    font-weight: 600;
}

.subnav-filter-btn i.subnav-chevron {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.subnav-filter-dropdown.open .subnav-chevron {
    transform: rotate(180deg);
}

/* Modern Expandable Search Bar Wrapper with Integrated Channel Selector */
.community-search-wrapper {
    position: relative;
    width: 38px;
    max-width: 100%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.community-search-wrapper.is-expanded {
    width: 440px;
}

.community-search-box {
    display: flex;
    align-items: center;
    background: var(--bg-tab-btn);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    gap: 8px;
    cursor: pointer;
    overflow: hidden;
    justify-content: center;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                border-radius 0.25s ease, 
                border-color 0.2s ease, 
                background 0.2s ease, 
                box-shadow 0.25s ease,
                padding 0.25s ease;
}

.community-search-box:hover {
    border-color: rgba(10, 207, 131, 0.5);
    background: var(--bg-tab-btn-hover);
}

.community-search-box:hover .search-icon-btn {
    color: var(--primary-color);
}

.community-search-wrapper.is-expanded .community-search-box {
    width: 100%;
    border-radius: 20px;
    padding: 4px 10px;
    background: var(--bg-tab-btn-hover);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 207, 131, 0.15), 0 4px 16px rgba(0, 0, 0, 0.25);
    cursor: default;
    overflow: visible;
    justify-content: flex-start;
}

.community-search-wrapper.is-expanded .community-search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 207, 131, 0.25), 0 6px 20px rgba(0, 0, 0, 0.3);
}

.search-icon-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
    outline: none;
    flex-shrink: 0;
}

.community-search-wrapper.is-expanded .search-icon-btn {
    width: 26px;
    height: 26px;
    color: var(--primary-color);
}

.search-icon-btn:hover {
    color: var(--primary-color);
}

.search-icon-btn.active {
    color: var(--primary-color);
}

.community-search-box .community-search-icon,
.community-search-box .search-icon {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    color: inherit;
    font-size: 0.95rem;
    flex-shrink: 0;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

/* Visibility toggling between collapsed and expanded states */
.community-search-wrapper:not(.is-expanded) .search-channel-selector,
.community-search-wrapper:not(.is-expanded) .community-search-input,
.community-search-wrapper:not(.is-expanded) .search-clear-btn,
.community-search-wrapper:not(.is-expanded) .search-close-btn {
    display: none !important;
}

.community-search-wrapper.is-expanded .search-channel-selector {
    display: inline-flex;
    animation: searchItemFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.community-search-wrapper.is-expanded .community-search-input {
    display: block;
    animation: searchItemFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.community-search-wrapper.is-expanded .search-close-btn {
    display: inline-flex;
    animation: searchItemFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes searchItemFadeIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Inline Channel Selector inside Search Box */
.search-channel-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(10, 207, 131, 0.12);
    border: 1px solid rgba(10, 207, 131, 0.3);
    border-radius: 14px;
    padding: 2px 6px 2px 8px;
    flex-shrink: 0;
    animation: channelPillIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes channelPillIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.search-channel-pill {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0;
    outline: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.search-channel-pill i.bi-hash {
    font-size: 0.88rem;
    line-height: 1;
    margin-right: -1px;
}

.search-channel-pill:hover {
    opacity: 0.85;
}

.search-channel-label {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem;
}

.search-channel-chevron {
    font-size: 0.68rem;
    opacity: 0.75;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.search-channel-selector.open .search-channel-chevron {
    transform: rotate(180deg);
}

.search-channel-clear-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    opacity: 0.6;
    cursor: pointer;
    padding: 0 1px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: opacity 0.2s ease, background 0.2s ease;
    line-height: 1;
}

.search-channel-clear-btn:hover {
    opacity: 1;
    background: rgba(10, 207, 131, 0.2);
}

.search-channel-menu {
    top: calc(100% + 8px);
    left: 0;
    min-width: 210px;
    z-index: 120;
}

.community-search-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 0.88rem;
    font-family: inherit;
    padding: 2px 0;
    min-width: 0;
    margin: 0;
}

.community-search-input::placeholder {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.search-clear-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.88rem;
    cursor: pointer;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    transition: color 0.15s ease;
    flex-shrink: 0;
}

.search-clear-btn:hover {
    color: #e53935;
}

.search-clear-btn.d-none {
    display: none !important;
}

.search-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    cursor: pointer;
    padding: 4px 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.15s ease, background 0.15s ease;
    flex-shrink: 0;
    line-height: 1;
    margin-left: 2px;
}

.search-close-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
}

/* Modern Live-Search Flyout */
.community-search-flyout {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 440px;
    max-width: 92vw;
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(10, 207, 131, 0.12);
    z-index: 1000;
    overflow: hidden;
}

.community-search-flyout.d-none {
    display: none !important;
}

/* Category Filter Pills on Top of Flyout */
.search-flyout-categories {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.flyout-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-tab-btn);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.flyout-cat-pill:hover {
    border-color: rgba(10, 207, 131, 0.4);
    color: var(--text-main);
}

.flyout-cat-pill.active {
    background: rgba(10, 207, 131, 0.14);
    border-color: rgba(10, 207, 131, 0.4);
    color: var(--primary-color);
}

.flyout-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    padding: 1px 5px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    line-height: 1.2;
}

.flyout-cat-pill.active .flyout-count {
    background: rgba(10, 207, 131, 0.22);
}

/* Results Container */
.search-flyout-results {
    max-height: 380px;
    overflow-y: auto;
    padding: 6px 8px;
}

.flyout-section {
    margin-bottom: 8px;
}

.flyout-section:last-child {
    margin-bottom: 0;
}

.flyout-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    padding: 6px 8px 3px 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.flyout-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Individual Result Items */
.flyout-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--text-main);
    transition: background 0.15s ease, transform 0.1s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.flyout-item:hover,
.flyout-item.selected {
    background: var(--bg-tab-hover);
}

.flyout-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(10, 207, 131, 0.12);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.flyout-item-content {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.flyout-item-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flyout-item-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.flyout-item-badge {
    font-size: 0.7rem;
    padding: 1px 6px;
    border-radius: 10px;
    background: rgba(10, 207, 131, 0.12);
    color: var(--primary-color);
    font-weight: 600;
}

.flyout-item-arrow {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.6;
    flex-shrink: 0;
}

.flyout-item:hover .flyout-item-arrow {
    opacity: 1;
    color: var(--primary-color);
    transform: translateX(2px);
}

/* Match Highlight */
.search-match {
    background: rgba(10, 207, 131, 0.25);
    color: var(--primary-color);
    border-radius: 2px;
    padding: 0 2px;
    font-weight: 700;
}

/* Flyout Empty */
.flyout-empty {
    padding: 24px 15px;
    text-align: center;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.flyout-empty i {
    font-size: 1.4rem;
    opacity: 0.6;
}

.flyout-empty.d-none {
    display: none !important;
}

/* Flyout Footer */
.search-flyout-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.22);
    border-top: 1px solid var(--border-color);
    font-size: 0.74rem;
    color: var(--text-muted);
}

.search-flyout-footer kbd {
    background: var(--bg-tab-btn);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 0.7rem;
    color: var(--text-main);
    font-family: inherit;
}

/* Post Pulse Highlight Animation */
@keyframes postHighlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(10, 207, 131, 0.7);
        border-color: var(--primary-color);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(10, 207, 131, 0.3);
        border-color: var(--primary-color);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(10, 207, 131, 0);
        border-color: var(--border-color);
    }
}

.community-post-card.highlight-pulse {
    animation: postHighlightPulse 2s ease-out;
}

/* Shared Dropdown Menus for Subnav */
.subnav-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 100;
    min-width: 190px;
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    padding: 6px;
    display: none;
}

.subnav-dropdown-menu.subnav-dropdown-menu-right {
    left: auto;
    right: 0;
}

.subnav-dropdown-menu.show {
    display: block;
}

.subnav-dropdown-header {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 6px 8px 3px 8px;
    font-weight: 700;
}

.subnav-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

.subnav-dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-main);
    font-size: 0.84rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease;
}

.subnav-dropdown-item:hover {
    background: var(--bg-tab-hover);
    color: var(--primary-color);
}

.subnav-dropdown-item.active {
    background: rgba(10, 207, 131, 0.12);
    color: var(--primary-color);
    font-weight: 600;
}

/* Empty State / No Results */
.community-no-results {
    background: var(--bg-section);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    padding: 45px 25px;
    text-align: center;
    margin-top: 10px;
}

.community-no-results.d-none {
    display: none !important;
}

.no-results-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(10, 207, 131, 0.1);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.no-results-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.no-results-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 18px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.btn-reset-filters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(10, 207, 131, 0.15);
    border: 1px solid rgba(10, 207, 131, 0.3);
    color: var(--primary-color);
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reset-filters:hover {
    background: var(--primary-color);
    color: #121212;
}

.btn-create-post {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #121212;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 9px 18px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-create-post:hover {
    background: #09b874;
    transform: translateY(-1px);
    color: #121212;
}

/* Quick Composer Card */
.community-composer-card {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 25px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.03);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.community-composer-card.is-expanded {
    border-color: rgba(10, 207, 131, 0.35);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.composer-top-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.composer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(10, 207, 131, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.composer-input-wrapper {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Title Bar / Capsule */
.composer-input-fake {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    min-height: 48px;
    box-sizing: border-box;
    background: var(--bg-tab-btn);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 0 16px 0 5px;
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}

.composer-input-fake:hover,
.composer-input-fake:focus-within {
    border-color: var(--primary-color);
    background: var(--bg-tab-btn-hover);
}

.composer-input-fake:focus-within {
    box-shadow: 0 0 0 2px rgba(10, 207, 131, 0.15);
}

/* Channel Dropdown Pill */
.composer-channel-dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 36px;
    flex-shrink: 0;
}

.composer-channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 100%;
    background: rgba(10, 207, 131, 0.12);
    border: 1px solid rgba(10, 207, 131, 0.25);
    color: var(--primary-color);
    border-radius: 18px;
    padding: 0 13px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.composer-channel-btn i.bi-hash {
    font-size: 0.92rem;
    line-height: 1;
    margin-right: -2px;
    display: inline-flex;
    align-items: center;
}

.composer-channel-btn:hover {
    background: rgba(10, 207, 131, 0.22);
    border-color: var(--primary-color);
}

.composer-channel-btn i.bi-chevron-down {
    font-size: 0.72rem;
    margin-left: 6px;
    opacity: 0.85;
}

.composer-channel-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 100;
    min-width: 210px;
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    padding: 6px;
    display: none;
}

.composer-channel-menu.show {
    display: block;
}

.channel-menu-group-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 6px 8px 3px 8px;
    font-weight: 700;
}

.channel-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-main);
    font-size: 0.85rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease;
}

.channel-menu-item:hover {
    background: var(--bg-tab-hover);
    color: var(--primary-color);
}

.channel-menu-item.active {
    background: rgba(10, 207, 131, 0.12);
    color: var(--primary-color);
    font-weight: 600;
}

.channel-menu-item i.bi-hash,
.subnav-dropdown-item i.bi-hash {
    font-size: 0.92rem;
    line-height: 1;
    margin-right: -10px;
    display: inline-flex;
    align-items: center;
}

/* Title Input */
.composer-title-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 0.92rem;
    font-family: inherit;
    padding: 2px 4px;
    min-width: 0;
}

.composer-title-input::placeholder {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.composer-input-fake:hover .composer-title-input::placeholder {
    color: var(--text-main);
}

/* Action Buttons Bereich innerhalb von composer-expandable-section */
.composer-actions-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 0;
    margin-bottom: 12px;
    padding-left: 4px;
}

.composer-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    background: transparent;
    border: none;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.composer-action-btn:hover {
    color: var(--primary-color);
    background: rgba(10, 207, 131, 0.08);
}

/* Expandable Section: Textarea & Footer */
.composer-expandable-section {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.25s ease, 
                margin-top 0.3s ease;
}

.community-composer-card.is-expanded .composer-expandable-section {
    max-height: 600px;
    opacity: 1;
    overflow: visible;
    margin-top: 14px;
}

.composer-textarea-container {
    margin-bottom: 12px;
}

.composer-body-textarea {
    width: 100%;
    background: var(--bg-tab-btn);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-main);
    font-size: 0.92rem;
    font-family: inherit;
    line-height: 1.55;
    resize: vertical;
    min-height: 110px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.composer-body-textarea:focus {
    border-color: var(--primary-color);
    background: var(--bg-tab-btn-hover);
    box-shadow: 0 0 0 2px rgba(10, 207, 131, 0.12);
}

.composer-body-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.75;
}

/* Composer Footer unterhalb der Textarea */
.composer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.composer-hint-text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.composer-footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-composer-cancel {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-composer-cancel:hover {
    background: var(--bg-tab-hover);
    color: var(--text-main);
    border-color: rgba(255,255,255,0.2);
}

/* Post Cards */
.community-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.community-post-card {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.community-post-card:hover {
    transform: translateY(-2px);
    border-color: rgba(10, 207, 131, 0.45);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08), 0 0 12px rgba(10, 207, 131, 0.1);
}

.community-post-card.pinned {
    border-left: 4px solid var(--primary-color);
}

html.dark-mode .community-post-card {
    background: rgba(24, 24, 24, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html.dark-mode .community-post-card:hover {
    border-color: rgba(10, 207, 131, 0.5);
    border-top-color: #34d399;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 16px rgba(10, 207, 131, 0.14);
}

/* Post Header Base Bar */
.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: -22px -24px 18px -24px;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.015);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    transition: all 0.25s ease;
    position: relative;
}

/* VIP Custom Header Backdrops (Paid Feature Perks) */
.post-header.header-vip-gold {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.09) 0%, rgba(255, 160, 0, 0.03) 45%, transparent 85%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 215, 0, 0.25);
}

.post-header.header-vip-silver {
    background: linear-gradient(90deg, rgba(220, 235, 250, 0.08) 0%, rgba(148, 163, 184, 0.03) 45%, transparent 85%);
    border-bottom: 1px solid rgba(220, 235, 250, 0.18);
    box-shadow: inset 0 1px 0 rgba(220, 235, 250, 0.22);
}

.post-header.header-vip-bronze {
    background: linear-gradient(90deg, rgba(200, 109, 72, 0.10) 0%, rgba(135, 60, 28, 0.03) 45%, transparent 85%);
    border-bottom: 1px solid rgba(200, 109, 72, 0.22);
    box-shadow: inset 0 1px 0 rgba(200, 109, 72, 0.26);
}

.post-header.header-team {
    background: linear-gradient(90deg, rgba(10, 207, 131, 0.10) 0%, rgba(5, 150, 95, 0.03) 45%, transparent 85%);
    border-bottom: 1px solid rgba(10, 207, 131, 0.22);
    box-shadow: inset 0 1px 0 rgba(10, 207, 131, 0.25);
}

.post-header.header-creator {
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.09) 0%, rgba(126, 34, 206, 0.03) 45%, transparent 85%);
    border-bottom: 1px solid rgba(168, 85, 247, 0.22);
    box-shadow: inset 0 1px 0 rgba(168, 85, 247, 0.25);
}

.post-header.header-partner {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.04) 45%, transparent 85%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.25);
    box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.28);
}

/* Left Author Info Wrapper */
.post-author-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

/* Avatar Container & Micro-Badge */
.post-avatar-container {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.25s ease;
    background: var(--bg-tab-btn);
    border: 1.5px solid var(--border-color);
    color: var(--text-muted);
}

/* VIP Avatar Tier Rings */
.post-avatar.avatar-vip-gold {
    border: 2px solid #ffd700;
    color: #ffd700;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.18) 0%, rgba(18, 18, 18, 0.85) 100%);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.32), inset 0 0 6px rgba(255, 215, 0, 0.2);
}

.post-avatar.avatar-vip-silver {
    border: 2px solid #cbd5e1;
    color: #e2e8f0;
    background: radial-gradient(circle, rgba(220, 235, 250, 0.18) 0%, rgba(18, 18, 18, 0.85) 100%);
    box-shadow: 0 0 14px rgba(203, 213, 225, 0.3), inset 0 0 6px rgba(203, 213, 225, 0.2);
}

.post-avatar.avatar-vip-bronze {
    border: 2px solid #b8623b;
    color: #e88e6a;
    background: radial-gradient(circle, rgba(200, 109, 72, 0.22) 0%, rgba(18, 18, 18, 0.85) 100%);
    box-shadow: 0 0 14px rgba(200, 109, 72, 0.32), inset 0 0 6px rgba(200, 109, 72, 0.2);
}

.post-avatar.avatar-team {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: radial-gradient(circle, rgba(10, 207, 131, 0.2) 0%, rgba(18, 18, 18, 0.85) 100%);
    box-shadow: 0 0 14px rgba(10, 207, 131, 0.35), inset 0 0 6px rgba(10, 207, 131, 0.2);
}

.post-avatar.avatar-creator {
    border: 2px solid #a855f7;
    color: #c084fc;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, rgba(18, 18, 18, 0.85) 100%);
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.35), inset 0 0 6px rgba(168, 85, 247, 0.2);
}

.post-avatar.avatar-partner {
    border: 2px solid #3b82f6;
    color: #60a5fa;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(18, 18, 18, 0.85) 100%);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.35), inset 0 0 6px rgba(59, 130, 246, 0.2);
}

.post-avatar.avatar-member {
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    background: var(--bg-tab-btn);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.post-avatar.avatar-moderator {
    border: 2px solid #06b6d4;
    color: #22d3ee;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(18, 18, 18, 0.85) 100%);
    box-shadow: 0 0 14px rgba(6, 182, 212, 0.35), inset 0 0 6px rgba(6, 182, 212, 0.2);
}

.post-avatar.avatar-business {
    border: 2px solid #f97316;
    color: #fb923c;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, rgba(18, 18, 18, 0.85) 100%);
    box-shadow: 0 0 14px rgba(249, 115, 22, 0.35), inset 0 0 6px rgba(249, 115, 22, 0.2);
}

.post-avatar.avatar-sponsor {
    border: 2px solid #eab308;
    color: #facc15;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.2) 0%, rgba(18, 18, 18, 0.85) 100%);
    box-shadow: 0 0 14px rgba(234, 179, 8, 0.35), inset 0 0 6px rgba(234, 179, 8, 0.2);
}

/* Micro Status Badge anchored to Avatar corner */
.avatar-micro-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    border: 2px solid #1a1a1a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.avatar-micro-badge.micro-gold {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #121212;
}

.avatar-micro-badge.micro-silver {
    background: linear-gradient(135deg, #f8fafc, #94a3b8);
    color: #0f172a;
}

.avatar-micro-badge.micro-bronze {
    background: linear-gradient(135deg, #d87d56, #8f401f);
    color: #fff;
}

.avatar-micro-badge.micro-team {
    background: linear-gradient(135deg, #10b981, #047857);
    color: #fff;
}

.avatar-micro-badge.micro-creator {
    background: linear-gradient(135deg, #c084fc, #9333ea);
    color: #fff;
}

.avatar-micro-badge.micro-partner {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    color: #fff;
}

.avatar-micro-badge.micro-moderator {
    background: linear-gradient(135deg, #22d3ee, #0891b2);
    color: #fff;
}

.avatar-micro-badge.micro-business {
    background: linear-gradient(135deg, #fb923c, #ea580c);
    color: #fff;
}

.avatar-micro-badge.micro-sponsor {
    background: linear-gradient(135deg, #facc15, #ca8a04);
    color: #121212;
}

.avatar-micro-badge.micro-member {
    background: #334155;
    color: #94a3b8;
}

.avatar-micro-badge i,
.avatar-micro-badge svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
    font-size: 0.65rem;
    fill: currentColor;
}

/* Post Meta Details & Identity */
.post-meta-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.post-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Standard Author Name (Normal Members without Badge) */
.post-author-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.98rem;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.post-author-name:hover {
    color: var(--primary-color);
}

/* Combined User Identity Badges (Username inside Badge with Icon) */
.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    vertical-align: middle;
    cursor: pointer;
}

.user-badge i,
.user-badge svg {
    font-size: 0.92rem;
    width: 1em;
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    fill: currentColor;
    flex-shrink: 0;
}

/* Crown Icon Vector Support (Polyfill for missing bi-crown in Bootstrap Icons) */
.bi-crown-fill,
.bi-crown {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%23000' d='M528 448H112a16 16 0 0 1-16-16v-16a16 16 0 0 1 16-16h416a16 16 0 0 1 16 16v16a16 16 0 0 1-16 16zm64-320a48 48 0 1 0-82.6-33.8L400 166.4l-57.4-114.7a48 48 0 1 0-45.2 0L240 166.4 130.6 94.2A48 48 0 1 0 48 128a47.8 47.8 0 0 0 10.2 29.7l77.7 207.2A32 32 0 0 0 166 384h308a32 32 0 0 0 30.1-19.1l77.7-207.2A47.8 47.8 0 0 0 592 128z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%23000' d='M528 448H112a16 16 0 0 1-16-16v-16a16 16 0 0 1 16-16h416a16 16 0 0 1 16 16v16a16 16 0 0 1-16 16zm64-320a48 48 0 1 0-82.6-33.8L400 166.4l-57.4-114.7a48 48 0 1 0-45.2 0L240 166.4 130.6 94.2A48 48 0 1 0 48 128a47.8 47.8 0 0 0 10.2 29.7l77.7 207.2A32 32 0 0 0 166 384h308a32 32 0 0 0 30.1-19.1l77.7-207.2A47.8 47.8 0 0 0 592 128z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

.user-badge .post-author-name,
.user-badge .sidebar-user-name {
    color: inherit !important;
    font-size: inherit;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: inherit;
    text-shadow: none;
}

.user-badge:hover {
    transform: translateY(-1px);
}

/* Team / CannaKompass Badge */
.user-badge.badge-team,
.user-badge.rank-badge-team {
    background: linear-gradient(135deg, rgba(10, 207, 131, 0.22) 0%, rgba(5, 150, 95, 0.12) 100%);
    color: var(--primary-color);
    border: 1px solid rgba(10, 207, 131, 0.45);
    box-shadow: 0 0 12px rgba(10, 207, 131, 0.18);
}

.user-badge.badge-team:hover,
.user-badge.rank-badge-team:hover {
    background: linear-gradient(135deg, rgba(10, 207, 131, 0.32) 0%, rgba(5, 150, 95, 0.2) 100%);
    box-shadow: 0 0 16px rgba(10, 207, 131, 0.35);
    color: #fff;
}

/* VIP Gold Badge */
.user-badge.badge-vip-gold,
.user-badge.rank-badge-gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.22) 0%, rgba(255, 140, 0, 0.12) 100%);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.2);
}

.user-badge.badge-vip-gold:hover,
.user-badge.rank-badge-gold:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.34) 0%, rgba(255, 140, 0, 0.22) 100%);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.38);
    color: #fff;
}

/* VIP Silber Badge */
.user-badge.badge-vip-silver,
.user-badge.rank-badge-silver {
    background: linear-gradient(135deg, rgba(220, 235, 250, 0.2) 0%, rgba(148, 163, 184, 0.1) 100%);
    color: #e2ecf5;
    border: 1px solid rgba(200, 225, 250, 0.45);
    box-shadow: 0 0 12px rgba(200, 225, 250, 0.18);
}

.user-badge.badge-vip-silver:hover,
.user-badge.rank-badge-silver:hover {
    background: linear-gradient(135deg, rgba(220, 235, 250, 0.32) 0%, rgba(148, 163, 184, 0.2) 100%);
    box-shadow: 0 0 16px rgba(200, 225, 250, 0.32);
    color: #fff;
}

/* VIP Bronze Badge (Refined Copper Tone) */
.user-badge.badge-vip-bronze,
.user-badge.rank-badge-bronze {
    background: linear-gradient(135deg, rgba(200, 109, 72, 0.24) 0%, rgba(135, 60, 28, 0.14) 100%);
    color: #e88e6a;
    border: 1px solid rgba(214, 119, 78, 0.52);
    box-shadow: 0 0 12px rgba(200, 109, 72, 0.22);
}

.user-badge.badge-vip-bronze:hover,
.user-badge.rank-badge-bronze:hover {
    background: linear-gradient(135deg, rgba(200, 109, 72, 0.36) 0%, rgba(135, 60, 28, 0.24) 100%);
    box-shadow: 0 0 16px rgba(200, 109, 72, 0.36);
    color: #fff;
}

/* Creator Badge */
.user-badge.badge-creator {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(126, 34, 206, 0.12) 100%);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.48);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.2);
}

.user-badge.badge-creator:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.34) 0%, rgba(126, 34, 206, 0.22) 100%);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
    color: #fff;
}

/* Partner Badge */
.user-badge.badge-partner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.22) 0%, rgba(37, 99, 235, 0.12) 100%);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.48);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.22);
}

.user-badge.badge-partner:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.34) 0%, rgba(37, 99, 235, 0.22) 100%);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.38);
    color: #fff;
}

/* Moderator Badge */
.user-badge.badge-moderator {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.22) 0%, rgba(8, 145, 178, 0.12) 100%);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.48);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

.user-badge.badge-moderator:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.34) 0%, rgba(8, 145, 178, 0.22) 100%);
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.35);
    color: #fff;
}

/* Business Badge */
.user-badge.badge-business {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.22) 0%, rgba(194, 65, 12, 0.12) 100%);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.48);
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.2);
}

.user-badge.badge-business:hover {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.34) 0%, rgba(194, 65, 12, 0.22) 100%);
    box-shadow: 0 0 16px rgba(249, 115, 22, 0.35);
    color: #fff;
}

/* Sponsor Badge */
.user-badge.badge-sponsor {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.22) 0%, rgba(161, 98, 7, 0.12) 100%);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.48);
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.2);
}

.user-badge.badge-sponsor:hover {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.34) 0%, rgba(161, 98, 7, 0.22) 100%);
    box-shadow: 0 0 16px rgba(234, 179, 8, 0.35);
    color: #fff;
}

/* Pinned Post Pill */
.post-pinned-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffb703;
    background: rgba(255, 183, 3, 0.12);
    border: 1px solid rgba(255, 183, 3, 0.35);
    letter-spacing: 0.2px;
}

/* Sub-row Metadata */
.post-sub-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.post-timestamp {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
}

.post-timestamp i {
    font-size: 0.75rem;
    opacity: 0.8;
}

.post-meta-sep {
    opacity: 0.35;
    font-size: 0.75rem;
}

/* Channel Pill in Header (Next to User-Badge in post-author-row) */
.post-channel-tag.post-channel-pill {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.76rem;
    background: var(--bg-tab-btn);
    padding: 3px 9px 3px 7px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.1px;
    vertical-align: middle;
}

.post-channel-tag.post-channel-pill i {
    color: var(--primary-color);
    font-size: 0.86rem;
    line-height: 1;
    margin-right: -1px;
    display: inline-flex;
    align-items: center;
}

.post-channel-tag.post-channel-pill:hover {
    color: var(--primary-color);
    border-color: rgba(10, 207, 131, 0.45);
    background: var(--bg-tab-btn-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Post Action Buttons (Round 50% matching strain details header design) */
.post-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.post-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(10, 207, 131, 0.22);
    background-color: rgba(10, 207, 131, 0.06);
    color: rgba(10, 207, 131, 0.75);
    font-size: 1.15rem;
    cursor: pointer;
    outline: none;
    box-shadow: var(--shadow-btn-raised);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    line-height: 1;
}

.post-action-btn i {
    line-height: 1;
    display: inline-flex;
    color: inherit;
}

.post-action-btn:hover {
    background-color: rgba(10, 207, 131, 0.12);
    color: #0acf83;
    border-color: rgba(10, 207, 131, 0.5);
    box-shadow: var(--shadow-btn-raised), 0 0 12px rgba(10, 207, 131, 0.25);
    transform: translateY(-2px);
}

.post-action-btn:hover i {
    color: #0acf83;
}

.post-action-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.post-action-btn.bookmarked,
.post-action-btn.active,
.post-action-btn.bookmarked i,
.post-action-btn.active i {
    color: #0acf83;
    border-color: #0acf83;
    background-color: rgba(10, 207, 131, 0.16);
    box-shadow: var(--shadow-btn-raised), 0 0 14px rgba(10, 207, 131, 0.42);
}

.post-action-btn.bookmarked:hover,
.post-action-btn.active:hover,
.post-action-btn.bookmarked:hover i,
.post-action-btn.active:hover i {
    color: #0acf83;
    background-color: rgba(10, 207, 131, 0.28);
    border-color: #0acf83;
    box-shadow: var(--shadow-btn-raised), 0 0 18px rgba(10, 207, 131, 0.55);
    transform: translateY(-2px);
}

.post-body {
    margin-bottom: 18px;
}

.post-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.4;
}

.post-text {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.post-tags-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.post-strain-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(10, 207, 131, 0.1);
    border: 1px solid rgba(10, 207, 131, 0.25);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.post-strain-pill:hover {
    background: rgba(10, 207, 131, 0.2);
}

/* Post Interaction Bar */
.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.post-interaction-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Post Interaction Buttons (Comments & Reply - Aligned with Feed Read-More Design) */
.post-interaction-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 20px;
    background: rgba(10, 207, 131, 0.12);
    border: 1px solid rgba(10, 207, 131, 0.35);
    color: #8bc34a;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    box-shadow: var(--shadow-btn-raised);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    line-height: 1;
    gap: 8px;
    white-space: nowrap;
}

.post-interaction-btn i {
    line-height: 1;
    display: inline-flex;
    font-size: 1rem;
    color: inherit;
    transition: transform 0.2s ease;
}

.post-interaction-btn:hover {
    background: var(--primary-color);
    color: #121212;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(10, 207, 131, 0.35);
}

.post-interaction-btn:hover i {
    color: #121212;
    transform: scale(1.1);
}

.post-interaction-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Active State (When comments or reply box is toggled open) */
.post-interaction-btn.active {
    background: var(--primary-color);
    color: #121212;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-btn-raised), 0 0 14px rgba(10, 207, 131, 0.42);
}

.post-interaction-btn.active i {
    color: #121212;
}

.post-interaction-btn.active:hover {
    background: #09b874;
    color: #121212;
    border-color: #09b874;
    box-shadow: var(--shadow-btn-raised), 0 0 18px rgba(10, 207, 131, 0.55);
    transform: translateY(-2px);
}

.post-interaction-btn.active:hover i {
    color: #121212;
}

/* Post Comments Section */
.post-comments-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: fadeInComments 0.2s ease-out;
}

@keyframes fadeInComments {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.post-comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-comment-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
}

.post-comment-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-tab-btn);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.post-comment-body {
    flex: 1;
    min-width: 0;
}

.post-comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.post-comment-time {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.post-comment-text {
    color: var(--text-main);
    line-height: 1.45;
    word-break: break-word;
}

/* Post Reply Box (Antwort-Feld) */
.post-reply-box {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: fadeInReply 0.25s ease-out;
}

@keyframes fadeInReply {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.post-reply-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-tab-btn);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    flex-shrink: 0;
}

.post-reply-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-reply-textarea {
    width: 100%;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text-main);
    font-size: 0.92rem;
    font-family: inherit;
    resize: vertical;
    min-height: 64px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.post-reply-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 207, 131, 0.15);
}

.post-reply-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.btn-reply-cancel {
    background: transparent;
    border: 1px solid rgba(10, 207, 131, 0.22);
    color: var(--text-muted);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-reply-cancel:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-reply-submit {
    background: rgba(10, 207, 131, 0.12);
    border: 1px solid rgba(10, 207, 131, 0.35);
    color: #8bc34a;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-btn-raised);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-reply-submit i {
    font-size: 0.95rem;
    line-height: 1;
    color: inherit;
    transition: transform 0.2s ease;
}

.btn-reply-submit:hover {
    background: var(--primary-color);
    color: #121212;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(10, 207, 131, 0.35);
}

.btn-reply-submit:hover i {
    color: #121212;
    transform: translateX(2px);
}

/* Right Sidebar Community Widgets */
.community-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.community-stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--bg-tab-btn);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
}

.community-stat-item span {
    color: var(--text-muted);
}

.community-stat-item strong {
    color: var(--primary-color);
    font-weight: 700;
}

.community-rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.community-rule-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.community-rule-item i {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1350px) {
    .pricing-grid,
    .account-types-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 1100px) {
    .grid-3-columns {
        grid-template-columns: 1fr;
    }
    .sidebar-left, 
    .sidebar-right {
        position: static;
    }
    .pricing-grid,
    .account-types-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .pricing-grid,
    .account-types-grid {
        grid-template-columns: 1fr;
    }
}
