:root {
    --fc-bg: #eef1f5;
    --fc-panel: #ffffff;
    --fc-panel-2: #f8fafc;
    --fc-border: #e5e7eb;
    --fc-border-strong: #d1d5db;
    --fc-text: #111827;
    --fc-muted: #6b7280;
    --fc-soft: #374151;
    --fc-accent: #d9b45f;
    --fc-accent-2: #4f8cff;
    --fc-danger: #ef4444;
    --fc-radius: 18px;
    --fc-nav-h: 72px;
    --fc-sidebar-w: 280px;
    --fc-rightbar-w: 330px;
}

* {
    scrollbar-color: #cbd5e1 #ffffff;
    scrollbar-width: thin;
}

body {
    min-height: 100vh;
    background: var(--fc-bg);
    color: var(--fc-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
}

.fc-shell {
    min-height: 100vh;
    padding-top: var(--fc-nav-h);
    background:
        linear-gradient(180deg, rgba(214, 217, 221, 0.98), rgba(229, 233, 239, 0.98)),
        var(--fc-bg);
}

.fc-navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1040;
    height: var(--fc-nav-h);
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(280px, 680px) minmax(260px, 1fr);
    align-items: center;
    gap: 1rem;
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #080808 0%, #020202 100%);
    backdrop-filter: blur(22px);
    color: #f5f5f5;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.fc-nav-left,
.fc-nav-actions,
.fc-welcome-user,
.fc-welcome-actions,
.fc-account-row,
.fc-composer-top,
.fc-composer-actions {
    display: flex;
    align-items: center;
}

.fc-nav-left,
.fc-nav-actions {
    gap: 0.7rem;
}

.fc-nav-actions {
    justify-content: flex-end;
}

.fc-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
    letter-spacing: 0;
    font-size: 1.04rem;
}

.fc-brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(217, 180, 95, 0.55);
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(217, 180, 95, 0.35), rgba(79, 140, 255, 0.2));
    color: var(--fc-accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 28px rgba(217, 180, 95, 0.08);
}

.fc-search {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    height: 44px;
    padding: 0 1rem;
    border: 1px solid #27272a;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.065);
    color: var(--fc-muted);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.fc-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f5f5f5;
}

.fc-search input::placeholder {
    color: #9ca3af;
}

.fc-icon-btn,
.fc-user-menu {
    position: relative;
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 13px;
    background: transparent;
    color: #d4d4d8;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.fc-icon-btn:hover,
.fc-user-menu:hover {
    border-color: #303030;
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-1px);
}

.fc-has-dot::after {
    content: "";
    position: absolute;
    top: 9px;
    right: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fc-accent);
}

.fc-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    object-fit: cover;
    background: #1f1f1f;
}

.fc-avatar-lg {
    width: 52px;
    height: 52px;
}

.fc-avatar-xl {
    width: 76px;
    height: 76px;
}

.fc-dropdown {
    border: 1px solid #242424;
    background: #111;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.fc-dropdown .dropdown-item {
    color: #d4d4d8;
}

.fc-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #f5f5f5;
}

.fc-sidebar,
.fc-rightbar {
    position: fixed;
    top: var(--fc-nav-h);
    bottom: 0;
    overflow-y: auto;
    padding: 1.25rem;
}

.fc-section-hero,
.fc-section-panel,
.fc-section-action {
    border: 1px solid #e4eaf2;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}

.fc-section-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.45rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% 18%, rgba(246, 198, 88, .2), transparent 30%),
        linear-gradient(135deg, #fff, #f6fbff);
}

.fc-section-hero h1 {
    margin: .2rem 0;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 950;
    letter-spacing: 0;
}

.fc-section-hero p {
    max-width: 680px;
    margin: 0;
    color: #64748b;
}

.fc-section-hero-icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 22px;
    color: #0b5fe8;
    background: #eaf3ff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.fc-section-hero-icon svg {
    width: 34px;
    height: 34px;
}

.fc-section-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    margin-bottom: 1rem;
}

.fc-section-action {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 72px;
    border-radius: 18px;
    padding: .95rem;
    color: #0f172a;
    text-align: left;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.fc-section-action:hover {
    transform: translateY(-2px);
    border-color: #c8d8ec;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .09);
}

.fc-section-action span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: #0b5fe8;
    background: #eaf3ff;
}

.fc-section-action svg {
    width: 22px;
    height: 22px;
}

.fc-section-panel {
    padding: 1.25rem;
    border-radius: 24px;
}

.fc-section-panel header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.fc-section-panel h2,
.fc-section-grid h3 {
    margin: 0;
    color: #0f172a;
    font-weight: 950;
}

.fc-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

.fc-section-grid article {
    min-height: 150px;
    padding: 1rem;
    border: 1px solid #e4eaf2;
    border-radius: 18px;
    background: #f8fbff;
}

.fc-section-grid p {
    margin: .45rem 0 0;
    color: #64748b;
}

.fc-blog-filter,
.fc-blog-form,
.fc-blog-detail,
.fc-blog-card {
    border: 1px solid #e4eaf2;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}

.fc-blog-filter {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 180px 190px auto auto;
    gap: .75rem;
    margin-bottom: 1rem;
    padding: .9rem;
    border-radius: 20px;
}

.fc-blog-filter input,
.fc-blog-filter select,
.fc-blog-form input,
.fc-blog-form select,
.fc-blog-form textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid #dbe5f2;
    border-radius: 12px;
    background: #f8fbff;
    padding: .65rem .8rem;
}

.fc-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.fc-blog-card {
    overflow: hidden;
    border-radius: 22px;
}

.fc-blog-cover,
.fc-blog-detail-cover {
    min-height: 180px;
    background:
        radial-gradient(circle at 82% 18%, rgba(246, 198, 88, .35), transparent 32%),
        linear-gradient(135deg, #0f172a, #0b5fe8);
    background-size: cover;
    background-position: center;
}

.fc-blog-cover {
    position: relative;
}

.fc-blog-cover span {
    position: absolute;
    top: .8rem;
    left: .8rem;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #0b5fe8;
    padding: .28rem .62rem;
    font-size: .74rem;
    font-weight: 900;
}

.fc-blog-card > div:last-child,
.fc-blog-detail {
    padding: 1.15rem;
}

.fc-blog-card h2,
.fc-blog-detail h1 {
    margin: .35rem 0;
    color: #0f172a;
    font-weight: 950;
    letter-spacing: 0;
}

.fc-blog-card p,
.fc-blog-detail p,
.fc-blog-content {
    color: #64748b;
}

.fc-blog-meta,
.fc-blog-actions,
.fc-blog-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
}

.fc-blog-meta span {
    border-radius: 999px;
    background: #eaf3ff;
    color: #0b5fe8;
    padding: .24rem .6rem;
    font-size: .74rem;
    font-weight: 900;
}

.fc-blog-meta small {
    color: #64748b;
    font-weight: 750;
}

.fc-blog-actions a {
    color: #0b5fe8;
    font-weight: 900;
    text-decoration: none;
}

.fc-blog-form {
    display: grid;
    gap: .85rem;
    padding: 1.15rem;
    border-radius: 22px;
}

.fc-blog-form p {
    display: grid;
    gap: .35rem;
    margin: 0;
}

.fc-blog-form label {
    color: #0f172a;
    font-weight: 850;
}

.fc-blog-detail {
    border-radius: 24px;
}

.fc-blog-detail-cover {
    margin: 1rem 0;
    border-radius: 20px;
}

.fc-blog-content {
    font-size: 1.02rem;
    line-height: 1.8;
}

.fc-sidebar {
    left: 0;
    width: var(--fc-sidebar-w);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(217, 180, 95, 0.055), transparent 18rem),
        #050505;
    color: #f5f5f5;
}

.fc-rightbar {
    right: 0;
    width: var(--fc-rightbar-w);
    border-left: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.fc-main {
    width: min(100%, 980px);
    max-width: calc(100vw - var(--fc-sidebar-w) - var(--fc-rightbar-w) - 3rem);
    margin-left: calc(var(--fc-sidebar-w) + ((100vw - var(--fc-sidebar-w) - var(--fc-rightbar-w) - min(100%, 980px)) / 2));
    margin-right: var(--fc-rightbar-w);
    padding: clamp(1.25rem, 2vw, 2rem) clamp(1rem, 2vw, 1.75rem) 3rem;
    background: #74acf5;
    min-height: calc(100vh - var(--fc-nav-h));
}

.fc-sidebar-section {
    display: grid;
    gap: 0.35rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.fc-side-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    min-height: 48px;
    padding: 0.78rem 0.95rem;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: #c9c9cf;
    text-align: left;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.fc-side-link:hover,
.fc-side-link.active {
    border-color: rgba(217, 180, 95, 0.32);
    background: linear-gradient(135deg, rgba(217, 180, 95, 0.15), rgba(79, 140, 255, 0.06));
    color: #f5f5f5;
    box-shadow: inset 3px 0 0 rgba(217, 180, 95, 0.85);
}

.fc-welcome-card,
.fc-card,
.fc-empty-feed,
.fc-widget,
.fc-action-card {
    border: 1px solid var(--fc-border);
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.065), 0 1px 2px rgba(15, 23, 42, 0.05);
}

.fc-welcome-card {
    display: grid;
    gap: 1.25rem;
    padding: 1.65rem;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(217, 180, 95, 0.12), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.fc-profile-hero {
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.fc-profile-cover {
    position: relative;
    min-height: 190px;
    background:
        linear-gradient(135deg, rgba(5, 5, 5, 0.18), rgba(79, 140, 255, 0.2)),
        linear-gradient(120deg, #0f172a 0%, #315f9f 45%, #d9b45f 100%);
}

.fc-profile-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.36) 100%);
}

.fc-profile-cover img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    display: block;
}

.fc-profile-hero-body {
    position: relative;
    display: grid;
    gap: 1.2rem;
    padding: 0 1.65rem 1.65rem;
    background: #ffffff;
}

.fc-profile-avatar-frame {
    display: grid;
    width: 112px;
    height: 112px;
    place-items: center;
    margin-top: -42px;
    border: 5px solid #ffffff;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
    z-index: 1;
}

.fc-profile-avatar-frame .fc-avatar-xl {
    width: 100%;
    height: 100%;
}

.fc-profile-copy {
    padding-top: 1.1rem;
}

.fc-role-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.55rem;
}

.fc-role-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    border: 1px solid rgba(217, 180, 95, 0.32);
    border-radius: 999px;
    background: rgba(217, 180, 95, 0.12);
    color: #2f2410;
    font-size: 0.86rem;
    font-weight: 850;
    padding: 0.38rem 0.7rem;
}

.fc-role-pill small {
    color: #7c6a3a;
    font-size: 0.72rem;
    font-weight: 750;
}

.fc-role-empty {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(217, 180, 95, 0.28);
    border-radius: 14px;
    background: rgba(217, 180, 95, 0.1);
    color: #8a6a22;
}

.fc-faith-center-panel {
    display: grid;
    gap: 0.75rem;
}

.fc-faith-center-search {
    display: grid;
    gap: 0.55rem;
}

.fc-faith-center-search label {
    color: #111827;
    font-size: 0.9rem;
    font-weight: 850;
}

.fc-faith-center-search > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid #dbe3ee;
    border-radius: 16px;
    background: #f8fbff;
    padding: 0.45rem 0.45rem 0.45rem 0.85rem;
}

.fc-faith-center-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font-weight: 650;
}

.fc-faith-center-results {
    display: grid;
    gap: 0.55rem;
}

.fc-faith-center-results form,
.fc-faith-center-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    background: #ffffff;
    padding: 0.75rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.fc-faith-center-results form > div,
.fc-faith-center-card div {
    display: grid;
    min-width: 0;
}

.fc-faith-center-results strong,
.fc-faith-center-card strong {
    color: #111827;
    font-size: 0.98rem;
    line-height: 1.2;
}

.fc-faith-center-results span,
.fc-faith-center-card span,
.fc-faith-center-card small {
    color: var(--fc-muted);
    font-size: 0.82rem;
}

.fc-faith-center-icon {
    display: grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    background: rgba(217, 180, 95, 0.14);
    color: #8a6a22 !important;
}

.fc-faith-center-card.is-pending .fc-faith-center-icon {
    background: rgba(79, 140, 255, 0.12);
    color: #2563eb !important;
}

.fc-profile-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
}

.fc-profile-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.1rem;
}

.fc-profile-detail-card {
    margin-top: 0;
}

.fc-profile-detail-card header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eef2f7;
}

.fc-profile-detail-card header span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: rgba(217, 180, 95, 0.16);
    color: #8a6219;
}

.fc-profile-detail-card h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 850;
}

.fc-profile-bio {
    margin-bottom: 1rem;
    color: var(--fc-soft);
    line-height: 1.65;
}

.fc-profile-definition-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.fc-profile-definition-list div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.72rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.fc-profile-definition-list div:last-child {
    border-bottom: 0;
}

.fc-profile-definition-list dt {
    color: var(--fc-muted);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.fc-profile-definition-list dd {
    margin: 0;
    color: var(--fc-text);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.fc-profile-definition-list a {
    color: #315f9f;
}

.fc-membership-id-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.9rem 0;
    border-top: 1px solid #f1f5f9;
}

.fc-membership-id-row:first-of-type {
    border-top: 0;
}

.fc-membership-id-row strong,
.fc-membership-id-row span {
    display: block;
}

.fc-membership-id-row span {
    color: var(--fc-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.fc-account-card-view {
    margin-top: 1rem;
}

.fc-settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fc-settings-header h1 {
    margin-top: 0.15rem;
}

.fc-settings-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.1rem;
}

.fc-settings-card {
    margin-top: 0;
}

.fc-settings-card header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #eef2f7;
}

.fc-settings-card header > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(217, 180, 95, 0.16);
    color: #8a6219;
}

.fc-settings-card h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 850;
}

.fc-settings-card header p {
    margin: 0.12rem 0 0;
    color: var(--fc-muted);
    font-size: 0.9rem;
}

.fc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.fc-form-field {
    display: grid;
    gap: 0.42rem;
}

.fc-form-field label {
    color: #1f2937;
    font-size: 0.84rem;
    font-weight: 800;
}

.fc-form-field input,
.fc-form-field select,
.fc-form-field textarea {
    width: 100%;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    background: #fbfdff;
    color: var(--fc-text);
    padding: 0.72rem 0.85rem;
    outline: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.fc-form-field input:focus,
.fc-form-field select:focus,
.fc-form-field textarea:focus {
    border-color: rgba(217, 180, 95, 0.72);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(217, 180, 95, 0.12);
}

.fc-form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.fc-form-field input[type="file"] {
    padding: 0.62rem;
}

.fc-form-field-check {
    align-content: center;
    min-height: 48px;
}

.fc-form-field-check .form-check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    padding-left: 0;
}

.fc-form-field-check input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    padding: 0;
    border-radius: 0.35rem;
}

.fc-form-field small {
    color: var(--fc-muted);
    font-size: 0.78rem;
}

.fc-form-field .errorlist {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--fc-danger);
    font-size: 0.82rem;
    font-weight: 700;
}

.fc-settings-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
}

.fc-wall-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fc-wall-header h1 {
    margin-top: 0.15rem;
}

.fc-wall-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    background: rgba(217, 180, 95, 0.16);
    color: #8a6219;
    box-shadow: inset 0 0 0 1px rgba(217, 180, 95, 0.22);
}

.fc-welcome-user {
    gap: 1.15rem;
}

.fc-eyebrow {
    color: var(--fc-accent);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fc-welcome-card h1 {
    margin: 0.12rem 0 0.45rem;
    font-size: clamp(1.75rem, 4vw, 2.55rem);
    font-weight: 850;
    color: #0b1220;
}

.fc-welcome-card p,
.fc-muted {
    color: var(--fc-muted);
}

.fc-welcome-actions {
    flex-wrap: wrap;
    gap: 0.7rem;
}

.fc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.72rem 1.08rem;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 700;
    transition: transform 0.18s ease, filter 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.fc-btn:hover,
.fc-action-card:hover {
    transform: translateY(-2px);
}

.fc-btn-primary {
    background: linear-gradient(135deg, var(--fc-accent), #f6d27b);
    color: #111;
    box-shadow: 0 12px 28px rgba(217, 180, 95, 0.24);
}

.fc-btn-ghost {
    border-color: var(--fc-border-strong);
    background: linear-gradient(180deg, #ffffff, #f9fafb);
    color: var(--fc-text);
}

.fc-card,
.fc-empty-feed,
.fc-widget {
    margin-top: 1.1rem;
    padding: 1.15rem;
    border-radius: 20px;
}

.fc-composer-top {
    gap: 0.75rem;
}

.fc-composer-avatar {
    width: 48px;
    height: 48px;
}

.fc-composer-input-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
}

.fc-composer-input {
    flex: 1;
    min-height: 92px;
    border: 1px solid var(--fc-border);
    border-radius: 18px;
    background: #f9fafb;
    color: var(--fc-muted);
    text-align: left;
    padding: 0.95rem 1rem;
    resize: vertical;
    outline: 0;
}

.fc-composer-input:focus {
    border-color: rgba(217, 180, 95, 0.65);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(217, 180, 95, 0.12);
}

.fc-composer-tools,
.fc-composer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.fc-composer-tools {
    margin-top: 0.85rem;
}

.fc-composer-tool {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 42px;
    border: 1px solid #e6edf7;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #f9fbff);
    color: #425a7b;
    font-weight: 700;
    padding: 0.55rem 0.95rem;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.fc-composer-tool:hover {
    border-color: rgba(79, 140, 255, 0.28);
    box-shadow: 0 12px 30px rgba(79, 140, 255, 0.08);
    transform: translateY(-1px);
}

.fc-composer-tool input[type="file"] {
    display: none;
}

.fc-composer-hint {
    cursor: default;
}

.fc-mention-shortcut {
    border: 1px solid rgba(217, 180, 95, 0.3);
    background: linear-gradient(180deg, rgba(255, 251, 239, 0.98), rgba(255, 247, 223, 0.96));
}

.fc-mention-shortcut:hover {
    border-color: rgba(217, 180, 95, 0.48);
    box-shadow: 0 12px 28px rgba(217, 180, 95, 0.16);
}

.fc-composer-footer {
    margin-top: 1rem;
}

.fc-composer-actions {
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.05rem;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
}

.fc-post-type-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.fc-composer-actions button,
.fc-post-type-group button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--fc-muted);
    padding: 0.55rem 0.7rem;
}

.fc-composer-actions button:hover {
    background: #f3f4f6;
    color: var(--fc-text);
}

.fc-post-type-group button.is-active {
    background: rgba(217, 180, 95, 0.16);
    color: #111827;
    box-shadow: inset 0 0 0 1px rgba(217, 180, 95, 0.38);
}

.fc-post-submit {
    border: 0;
}

.fc-composer-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.fc-media-picker,
.fc-tag-picker,
.fc-hashtag-hint {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 46px;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    background: #fbfdff;
    color: #374151;
    font-weight: 750;
    padding: 0.65rem 0.8rem;
}

.fc-media-picker {
    position: relative;
    cursor: pointer;
}

.fc-media-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.fc-tag-picker {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fc-tagged-users {
    display: none;
}

.fc-mention-dropdown {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    z-index: 25;
    overflow: hidden;
    border: 1px solid rgba(207, 220, 237, 0.9);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(18px);
}

.fc-mention-dropdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem 0.75rem;
    border-bottom: 1px solid #edf2f7;
}

.fc-mention-dropdown-head strong {
    color: #0f172a;
    font-size: 0.92rem;
}

.fc-mention-dropdown-head span {
    color: #64748b;
    font-size: 0.8rem;
    text-align: right;
}

.fc-mention-list {
    display: grid;
    gap: 0.2rem;
    max-height: 320px;
    overflow-y: auto;
    padding: 0.45rem;
}

.fc-mention-empty {
    padding: 1rem;
    color: #64748b;
    font-size: 0.92rem;
    text-align: center;
}

.fc-mention-item {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: #0f172a;
    padding: 0.72rem 0.8rem;
    text-align: left;
    transition: background .18s ease, transform .18s ease;
}

.fc-mention-item:hover,
.fc-mention-item.is-active {
    background: linear-gradient(180deg, #f3f8ff, #eef5ff);
    transform: translateY(-1px);
}

.fc-mention-item img,
.fc-mention-avatar-fallback {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.fc-mention-avatar-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.18), rgba(217, 180, 95, 0.26));
    color: #0f62fe;
    font-weight: 800;
}

.fc-mention-item strong,
.fc-mention-chip strong {
    display: block;
    color: #0f172a;
    font-size: 0.92rem;
    line-height: 1.2;
}

.fc-mention-item span,
.fc-mention-chip span {
    color: #64748b;
    font-size: 0.82rem;
}

.fc-mention-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.fc-mention-chips:empty {
    display: none;
}

.fc-mention-chip {
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: center;
    max-width: 100%;
    border: 1px solid rgba(207, 220, 237, 0.95);
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    padding: 0.38rem 0.45rem 0.38rem 0.4rem;
}

.fc-mention-chip img,
.fc-mention-chip .fc-mention-avatar-fallback {
    width: 32px;
    height: 32px;
    box-shadow: none;
}

.fc-mention-chip-copy {
    min-width: 0;
}

.fc-mention-chip-remove {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: #64748b;
    font-size: 1rem;
    line-height: 1;
}

.fc-mention-chip-remove:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.fc-suggestion-mobile-zone {
    display: none;
}

.fc-suggestion-widget {
    background:
        radial-gradient(circle at 88% 12%, rgba(217, 180, 95, 0.24), transparent 38%),
        linear-gradient(180deg, #ffffff, #f8fbff);
}

.fc-suggestion-list {
    display: grid;
    gap: 0.75rem;
}

.fc-suggestion-card {
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    background: #ffffff;
    padding: 0.8rem;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
}

.fc-suggestion-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
}

.fc-avatar-suggested {
    width: 56px;
    height: 56px;
    border: 2px solid rgba(217, 180, 95, 0.45);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.fc-suggestion-name {
    display: inline-block;
    color: #0f172a;
    font-weight: 850;
    line-height: 1.2;
}

.fc-suggestion-top span {
    display: block;
    color: #334155;
    font-size: 0.83rem;
    font-weight: 720;
}

.fc-suggestion-top small {
    color: #64748b;
    font-size: 0.76rem;
}

.fc-suggestion-reason {
    margin: 0.65rem 0 0;
    color: #0b5fe8;
    font-size: 0.8rem;
    font-weight: 820;
}

.fc-suggestion-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.7rem;
}

.fc-suggestion-actions .fc-btn {
    min-height: 34px;
    padding: 0.42rem 0.68rem;
    border-radius: 10px;
    font-size: 0.74rem;
    font-weight: 800;
}

.fc-suggestion-empty {
    display: grid;
    gap: 0.25rem;
    border: 1px dashed #dbe6f5;
    border-radius: 14px;
    background: #ffffff;
    padding: 0.75rem;
}

.fc-suggestion-empty strong {
    color: #0f172a;
    font-size: 0.86rem;
}

.fc-suggestion-empty span {
    color: #64748b;
    font-size: 0.78rem;
}

@media (max-width: 1199.98px) {
    .fc-suggestion-mobile-zone {
        display: block;
    }

    .fc-suggestion-mobile-zone .fc-suggestion-widget {
        margin-top: 0;
    }

    .fc-suggestion-mobile-zone .fc-suggestion-list {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0.65rem;
        padding-bottom: 0.35rem;
    }

    .fc-suggestion-mobile-zone .fc-suggestion-card {
        min-width: 250px;
        max-width: 270px;
        scroll-snap-align: start;
    }
}

.fc-feed-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.1rem;
}

.fc-feed-post {
    margin-top: 0;
}

.fc-feed-post-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.fc-feed-post-header div {
    display: grid;
}

.fc-feed-post-header strong {
    color: #111827;
    line-height: 1.2;
}

.fc-feed-post-header span {
    color: var(--fc-muted);
    font-size: 0.82rem;
}

.fc-post-type-badge {
    align-self: start;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151 !important;
    font-size: 0.72rem !important;
    font-weight: 800;
    padding: 0.28rem 0.58rem;
}

.fc-feed-post p {
    margin: 0;
    color: #1f2937;
    line-height: 1.65;
}

.fc-hashtag-row,
.fc-tagged-row,
.fc-post-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.fc-hashtag-row span {
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.1);
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.28rem 0.58rem;
}

.fc-tagged-row {
    color: #6b7280;
}

.fc-tagged-row small {
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-weight: 750;
    padding: 0.26rem 0.54rem;
}

.fc-media-grid {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 18px;
}

.fc-media-grid img,
.fc-media-grid video {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    background: #050505;
}

.fc-media-count-2,
.fc-media-count-3,
.fc-media-count-4,
.fc-media-count-5,
.fc-media-count-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fc-post-actions {
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
}

.fc-post-actions form {
    flex: 1;
}

.fc-post-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 40px;
    border: 1px solid transparent;
    border-radius: 13px;
    background: transparent;
    color: #6b7280;
    font-weight: 800;
}

.fc-post-actions button:hover {
    background: #f9fafb;
    color: #111827;
}

.fc-post-actions button.is-liked {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
}

.fc-comment-panel {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.85rem;
    border-top: 1px solid #eef3f9;
    padding-top: 0.85rem;
}

.fc-comment-list {
    display: grid;
    gap: 0.65rem;
}

.fc-comment-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    align-items: flex-start;
}

.fc-comment-item > div {
    border: 1px solid #e9eff7;
    border-radius: 16px;
    background: #f8fbff;
    padding: 0.65rem 0.75rem;
}

.fc-comment-item strong {
    display: block;
    color: #0d1b34;
    font-size: 0.88rem;
    font-weight: 900;
}

.fc-comment-item p {
    margin: 0.2rem 0 0;
    color: #253858;
    font-size: 0.93rem;
    line-height: 1.45;
}

.fc-comment-item small {
    display: block;
    margin-top: 0.28rem;
    color: #7b8aa2;
    font-size: 0.76rem;
    font-weight: 750;
}

.fc-comment-form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
}

.fc-comment-input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #dbe6f5;
    border-radius: 999px;
    background: #ffffff;
    color: #0d1b34;
    outline: 0;
    padding: 0.7rem 1rem;
    font-weight: 700;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.fc-comment-input:focus {
    border-color: rgba(15, 95, 232, 0.38);
    box-shadow: 0 0 0 4px rgba(15, 95, 232, 0.09);
}

.fc-comment-form button {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #0f5fe8;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 95, 232, 0.2);
}

.fc-comment-form button svg {
    width: 18px;
    height: 18px;
}

.fc-empty-feed {
    display: grid;
    justify-items: center;
    text-align: center;
    padding: 2.7rem 1.4rem;
    background:
        linear-gradient(180deg, #ffffff, #fbfdff);
}

.fc-empty-orbit {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(79, 140, 255, 0.35);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.12), rgba(217, 180, 95, 0.13));
    color: var(--fc-accent-2);
    box-shadow: 0 14px 36px rgba(79, 140, 255, 0.11);
}

.fc-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 1.1rem;
}

.fc-action-card {
    display: grid;
    gap: 0.45rem;
    min-height: 158px;
    padding: 1.15rem;
    border-radius: 20px;
    color: var(--fc-text);
    text-align: left;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

button.fc-action-card {
    width: 100%;
}

.fc-action-card:hover {
    border-color: rgba(217, 180, 95, 0.35);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1);
}

.fc-action-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: rgba(217, 180, 95, 0.12);
    color: var(--fc-accent);
}

.fc-action-card small,
.fc-widget span {
    color: var(--fc-muted);
}

.fc-widget h2,
.fc-widget-header h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
}

.fc-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.fc-badge {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(217, 180, 95, 0.14);
    color: var(--fc-accent);
    font-size: 0.75rem;
    font-weight: 800;
}

.fc-account-row {
    gap: 0.8rem;
}

.fc-account-row div {
    display: grid;
}

.fc-progress {
    height: 9px;
    margin: 1rem 0;
    background: #e5e7eb;
}

.fc-progress .progress-bar {
    background: linear-gradient(90deg, var(--fc-accent), var(--fc-accent-2));
}

.fc-stat-line,
.fc-system-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--fc-soft);
    padding: 0.45rem 0;
    border-top: 1px solid #f1f5f9;
}

.fc-system-status {
    justify-content: flex-start;
    gap: 0.5rem;
}

.fc-system-status span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.11);
}

.fc-mobile-nav {
    display: none;
}

.fc-backdrop {
    display: none;
}

.fc-toast {
    border: 1px solid var(--fc-border);
    background: #ffffff;
    color: var(--fc-text);
}

[data-icon] svg {
    width: 1.15rem;
    height: 1.15rem;
    stroke-width: 2;
}

.fc-card,
.fc-widget,
.fc-action-card,
.fc-welcome-card,
.fc-empty-feed {
    animation: fcRise 0.45s ease both;
}

@keyframes fcRise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199.98px) {
    .fc-navbar {
        grid-template-columns: auto 1fr auto;
    }

    .fc-search {
        display: none;
    }

    .fc-sidebar {
        transform: translateX(-100%);
        transition: transform 0.22s ease;
        z-index: 1050;
        background: #050505;
    }

    .fc-sidebar.is-open {
        transform: translateX(0);
    }

    .fc-backdrop.is-visible {
        position: fixed;
        inset: 0;
        z-index: 1045;
        display: block;
        background: rgba(0, 0, 0, 0.64);
    }

    .fc-rightbar {
        display: none;
    }

    .fc-main {
        width: min(100%, 980px);
        max-width: 100%;
        margin-right: 0;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .fc-navbar {
        height: 64px;
        padding: 0 0.8rem;
    }

    :root {
        --fc-nav-h: 64px;
    }

    .fc-nav-actions .fc-icon-btn:not(.fc-has-dot),
    .fc-brand span:last-child {
        display: none;
    }

    .fc-main {
        padding: 1rem 1rem 5.5rem;
    }

    .fc-profile-cover,
    .fc-profile-cover img {
        min-height: 150px;
    }

    .fc-profile-hero-body {
        padding: 0 1rem 1rem;
    }

    .fc-profile-avatar-frame {
        width: 96px;
        height: 96px;
        margin-top: -34px;
        border-width: 4px;
    }

    .fc-profile-copy {
        padding-top: 0.65rem;
    }

    .fc-welcome-user {
        align-items: flex-start;
    }

    .fc-welcome-actions,
    .fc-profile-actions,
    .fc-btn,
    .fc-quick-grid {
        width: 100%;
    }

    .fc-quick-grid {
        grid-template-columns: 1fr;
    }

    .fc-profile-details-grid {
        grid-template-columns: 1fr;
    }

    .fc-settings-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .fc-wall-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .fc-form-grid {
        grid-template-columns: 1fr;
    }

    .fc-profile-definition-list div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .fc-composer-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fc-composer-tools,
    .fc-composer-footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    .fc-composer-tool,
    .fc-post-submit {
        justify-content: center;
    }

    .fc-composer-meta {
        grid-template-columns: 1fr;
    }

    .fc-mention-dropdown {
        left: -0.25rem;
        right: -0.25rem;
    }

    .fc-mention-dropdown-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .fc-mobile-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1040;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: #050505;
        backdrop-filter: blur(18px);
    }

    .fc-mobile-nav a,
    .fc-mobile-nav button {
        display: grid;
        justify-items: center;
        gap: 0.15rem;
        min-height: 62px;
        border: 0;
        background: transparent;
        color: #d4d4d8;
        padding-top: 0.55rem;
    }

    .fc-mobile-nav .active {
        color: var(--fc-accent);
    }
}

@media (max-width: 767.98px) {
    .fc-section-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .fc-section-actions,
    .fc-section-grid {
        grid-template-columns: 1fr;
    }
}

/* Social dashboard refresh - light, responsive institutional feed */
:root {
    --fc-bg: #f6f9fe;
    --fc-panel: rgba(255, 255, 255, 0.92);
    --fc-border: #e6edf7;
    --fc-border-strong: #d7e2f0;
    --fc-text: #071331;
    --fc-muted: #60708e;
    --fc-soft: #31476d;
    --fc-accent: #0f62fe;
    --fc-accent-2: #f4a100;
    --fc-success: #16a34a;
    --fc-radius: 18px;
    --fc-nav-h: 86px;
    --fc-sidebar-w: 290px;
    --fc-rightbar-w: 390px;
}

body {
    background: radial-gradient(circle at 18% 0%, #ffffff 0, #f5f8fd 42%, #eef4fb 100%);
    color: var(--fc-text);
}

.fc-shell {
    padding-top: var(--fc-nav-h);
    background: transparent;
}

.fc-navbar {
    height: var(--fc-nav-h);
    grid-template-columns: 290px minmax(280px, 610px) minmax(260px, 1fr);
    padding: 0 2rem;
    border: 1px solid var(--fc-border);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--fc-text);
    box-shadow: 0 12px 34px rgba(39, 64, 105, 0.08);
    backdrop-filter: blur(22px);
}

.fc-brand {
    font-size: 1.35rem;
    color: var(--fc-text);
}

.fc-brand-mark {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffe7a3, #0f62fe);
    color: #fff;
    font-weight: 900;
}

.fc-search {
    height: 48px;
    border-color: #dae5f4;
    border-radius: 12px;
    background: #f7faff;
    color: #526989;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}

.fc-search input { color: var(--fc-text); }
.fc-search input::placeholder { color: #6b7c99; }
.fc-search kbd {
    border: 1px solid #d5dfef;
    border-radius: 8px;
    background: #fff;
    color: #53657f;
    box-shadow: none;
    font-size: .78rem;
}

.fc-icon-btn,
.fc-user-menu {
    color: #132544;
    border-color: transparent;
    background: transparent;
}

.fc-icon-btn:hover,
.fc-user-menu:hover {
    border-color: #dce6f4;
    background: #f4f8ff;
}

.fc-has-count::after {
    content: attr(data-count);
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #0f62fe;
    color: #fff;
    font-size: .68rem;
    font-weight: 900;
}

.fc-nav-actions { gap: 1rem; }
.fc-user-menu {
    width: auto;
    min-width: 180px;
    height: 54px;
    display: flex;
    justify-content: flex-start;
    gap: .75rem;
    padding: .35rem .55rem;
    border-radius: 16px;
}

.fc-user-menu-copy { display: grid; line-height: 1.1; text-align: left; }
.fc-user-menu-copy strong { font-size: .94rem; }
.fc-user-menu-copy small { color: var(--fc-muted); font-size: .78rem; }
.fc-avatar { border: 3px solid #fff; background: #dbe7f6; box-shadow: 0 6px 18px rgba(31, 57, 97, .12); }

.fc-sidebar,
.fc-rightbar {
    top: var(--fc-nav-h);
    padding: 1.35rem 1.6rem;
}

.fc-sidebar {
    background: rgba(255,255,255,.8);
    border-right: 1px solid var(--fc-border);
    color: var(--fc-soft);
    box-shadow: 18px 0 45px rgba(39, 64, 105, 0.04);
}

.fc-sidebar-section { border-bottom: 0; gap: .34rem; }
.fc-side-link {
    min-height: 46px;
    border-radius: 10px;
    color: #31476d;
    font-weight: 750;
    padding: .72rem .84rem;
}

.fc-side-link:hover,
.fc-side-link.active {
    border-color: transparent;
    background: linear-gradient(135deg, #edf4ff, #f6faff);
    color: #075ce4;
    box-shadow: none;
}

.fc-side-link.active { font-weight: 900; }
.fc-side-link svg { color: inherit; }
.fc-side-count {
    margin-left: auto;
    min-width: 24px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #0f62fe;
    color: #fff;
    font-size: .75rem;
}

.fc-side-plan {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: auto;
    padding: .95rem;
    border: 1px solid #dbe6f5;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff, #f4f8ff);
    color: var(--fc-text);
    box-shadow: 0 12px 28px rgba(31, 57, 97, .08);
}
.fc-side-plan div { display: grid; flex: 1; }
.fc-side-plan small { color: var(--fc-muted); }
.fc-side-plan > span:first-child { color: #f4a100; }

.fc-main {
    width: auto;
    max-width: none;
    margin-left: var(--fc-sidebar-w);
    margin-right: var(--fc-rightbar-w);
    padding: 2.1rem 2rem 3.5rem;
    background: transparent;
    min-height: calc(100vh - var(--fc-nav-h));
}

.fc-rightbar {
    width: var(--fc-rightbar-w);
    border-left: 0;
    background: transparent;
}

.fc-welcome-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 .25rem 1.2rem;
}
.fc-welcome-strip h1 { margin: 0; font-size: clamp(1.85rem, 3vw, 2.35rem); font-weight: 900; letter-spacing: -.02em; }
.fc-welcome-strip p { margin: .3rem 0 0; color: var(--fc-muted); font-size: 1.02rem; }

.fc-btn { border-radius: 10px; min-height: 48px; font-weight: 850; }
.fc-btn-primary { background: #0f62fe; color: #fff; box-shadow: 0 14px 30px rgba(15, 98, 254, .22); }
.fc-btn-primary:hover { filter: brightness(.96); }
.fc-btn-ghost { border-color: #dbe6f5; background: #fff; color: var(--fc-text); }

.fc-creation-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.55rem;
}
.fc-creation-grid button {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: .75rem;
    min-height: 104px;
    border: 1px solid var(--fc-border);
    border-radius: 16px;
    background: rgba(255,255,255,.9);
    color: #31476d;
    box-shadow: 0 14px 34px rgba(31,57,97,.07);
    transition: transform .18s ease, box-shadow .18s ease;
}
.fc-creation-grid button:hover { transform: translateY(-2px); box-shadow: 0 20px 45px rgba(31,57,97,.1); }
.fc-creation-grid span { color: #0f62fe; }
.fc-creation-grid button:nth-child(2) span { color: #16a34a; }
.fc-creation-grid button:nth-child(3) span { color: #ff7a3d; }
.fc-creation-grid button:nth-child(4) span { color: #7c3aed; }
.fc-creation-grid button:nth-child(5) span { color: #f4a100; }
.fc-creation-grid small { font-weight: 850; }

.fc-faith-center-panel { margin-bottom: 1.3rem; }
.fc-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: .6rem .25rem 1rem;
}
.fc-section-title h2 { margin: 0; font-size: 1.25rem; font-weight: 900; }
.fc-section-title span { color: #456184; }

.fc-card,
.fc-empty-feed,
.fc-widget,
.fc-action-card,
.fc-welcome-card,
.fc-faith-center-card,
.fc-faith-center-results form {
    border: 1px solid var(--fc-border);
    background: rgba(255,255,255,.92);
    box-shadow: 0 18px 45px rgba(31, 57, 97, .08);
}
.fc-card,
.fc-empty-feed,
.fc-widget { border-radius: 16px; }
.fc-card { padding: 1.15rem; margin-top: 1rem; }
.fc-composer { display: block; margin-bottom: 1rem; }

.fc-feed-list { gap: 1rem; }
.fc-feed-post { padding: 1rem 1.05rem .75rem; overflow: hidden; }
.fc-feed-post-header { grid-template-columns: auto minmax(0,1fr) auto; }
.fc-feed-post-header strong { font-size: 1rem; }
.fc-post-type-badge { background: transparent; color: #456184 !important; }
.fc-feed-post p { color: #0d1b36; font-size: .98rem; }
.fc-media-grid { grid-template-columns: repeat(3, minmax(0,1fr)); border-radius: 10px; }
.fc-media-grid img, .fc-media-grid video { height: 130px; border-radius: 10px; max-height: none; }
.fc-post-actions { margin-top: 1rem; padding-top: .7rem; border-top: 1px solid #e9eff7; }
.fc-post-actions form, .fc-post-actions > button { flex: 1; }
.fc-post-actions button { min-height: 38px; border-radius: 9px; color: #425a7b; }
.fc-post-actions button:hover { background: #f3f7fd; color: #0f62fe; }

.fc-widget { margin-top: 0; margin-bottom: 1rem; padding: 1.3rem; }
.fc-widget-header a,
.fc-widget-header button { border: 0; background: transparent; color: #0f62fe; font-weight: 800; font-size: .86rem; }
.fc-widget h2, .fc-widget-header h2 { font-size: 1.08rem; font-weight: 900; }
.fc-event-list, .fc-activity-list { display: grid; gap: 1rem; }
.fc-event-item { display: grid; grid-template-columns: 62px 1fr; gap: .9rem; padding-bottom: 1rem; border-bottom: 1px solid #edf2f8; }
.fc-event-item:last-child { border-bottom: 0; padding-bottom: 0; }
.fc-event-item time { display: grid; place-items: center; height: 66px; border: 1px solid #8bb8ff; border-radius: 9px; background: #eef5ff; color: #0f62fe; }
.fc-event-item time span { font-size: .72rem; font-weight: 900; }
.fc-event-item time strong { font-size: 1.45rem; color: #15233d; line-height: 1; }
.fc-event-item.is-green time { border-color: #b8ead0; background: #ecfdf4; color: #16a34a; }
.fc-event-item.is-gold time { border-color: #ffe2a8; background: #fff8e8; color: #c47a00; }
.fc-event-item div { display: grid; align-content: center; gap: .12rem; }
.fc-event-item div span, .fc-event-item small, .fc-activity-list span { color: var(--fc-muted); }
.fc-activity-list p { margin: 0; display: grid; color: #31476d; }
.fc-member-stack { display: flex; margin-bottom: .75rem; }
.fc-member-stack .fc-avatar { margin-right: -.55rem; border-color: #fff; }
.fc-progress .progress-bar { background: #0f62fe; }

.fc-mobile-nav { background: rgba(255,255,255,.94); border-top: 1px solid #dbe6f5; box-shadow: 0 -16px 36px rgba(31,57,97,.1); }
.fc-mobile-nav a, .fc-mobile-nav button { color: #31476d; }
.fc-mobile-nav .active { color: #0f62fe; }

@media (max-width: 1399.98px) {
    :root { --fc-rightbar-w: 340px; --fc-sidebar-w: 270px; }
    .fc-creation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1199.98px) {
    .fc-navbar { grid-template-columns: auto 1fr auto; }
    .fc-sidebar { background: #fff; z-index: 1050; }
    .fc-rightbar { display: none; }
    .fc-main { margin: 0 auto; max-width: 920px; padding: 1.5rem 1.2rem 5rem; }
    .fc-user-menu { min-width: auto; }
    .fc-user-menu-copy { display: none; }
}

@media (max-width: 767.98px) {
    :root { --fc-nav-h: 68px; }
    .fc-navbar { height: var(--fc-nav-h); padding: 0 .9rem; }
    .fc-brand span:last-child, .fc-search, .fc-nav-actions .fc-icon-btn { display: none; }
    .fc-welcome-strip { align-items: flex-start; flex-direction: column; }
    .fc-welcome-strip .fc-btn { width: 100%; }
    .fc-creation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
    .fc-creation-grid button { min-height: 90px; }
    .fc-media-grid, .fc-media-count-2, .fc-media-count-3, .fc-media-count-4, .fc-media-count-5, .fc-media-count-6 { grid-template-columns: 1fr; }
    .fc-media-grid img, .fc-media-grid video { height: 220px; }
    .fc-post-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fc-comment-form { grid-template-columns: auto minmax(0, 1fr) auto; }
    .fc-faith-center-search > div { grid-template-columns: auto minmax(0,1fr); }
    .fc-faith-center-search .fc-btn { grid-column: 1 / -1; }
}

/* Fluid main canvas polish */
.fc-shell {
    background:
        radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.95) 0, rgba(246, 249, 254, 0.86) 34%, transparent 58%),
        linear-gradient(180deg, #f8fbff 0%, #f4f7fb 44%, #eef3f8 100%) !important;
}

.fc-main {
    width: calc(100vw - var(--fc-sidebar-w) - var(--fc-rightbar-w)) !important;
    max-width: none !important;
    margin-left: var(--fc-sidebar-w) !important;
    margin-right: var(--fc-rightbar-w) !important;
    padding: clamp(1rem, 2vw, 2.2rem) clamp(1rem, 2vw, 2rem) 3.5rem !important;
    background: linear-gradient(180deg, #f8fbff 0%, #f5f7fb 48%, #eef3f8 100%) !important;
}

.fc-main > * {
    max-width: 100%;
}

@media (min-width: 1600px) {
    .fc-main {
        padding-left: clamp(2rem, 3vw, 3.2rem) !important;
        padding-right: clamp(2rem, 3vw, 3.2rem) !important;
    }
}

@media (max-width: 1399.98px) {
    .fc-main {
        width: calc(100vw - var(--fc-sidebar-w) - var(--fc-rightbar-w)) !important;
    }
}

@media (max-width: 1199.98px) {
    .fc-main {
        width: min(100%, 980px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        background: linear-gradient(180deg, #f8fbff 0%, #f5f7fb 55%, #eef3f8 100%) !important;
    }
}

@media (max-width: 767.98px) {
    .fc-main {
        width: 100% !important;
        padding: 1rem 0.85rem 5.5rem !important;
    }
}

/* Dashboard blog */
.fc-blog-filter {
    align-items: center;
    border: 1px solid var(--fc-border);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px rgba(31, 57, 97, 0.08);
}

.fc-blog-filter input,
.fc-blog-filter select,
.fc-blog-form input,
.fc-blog-form select,
.fc-blog-form textarea {
    color: var(--fc-text);
    border-color: #dbe6f5;
    background: #f7faff;
    outline: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.fc-blog-filter input:focus,
.fc-blog-filter select:focus,
.fc-blog-form input:focus,
.fc-blog-form select:focus,
.fc-blog-form textarea:focus {
    border-color: rgba(15, 98, 254, 0.45);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.09);
}

.fc-blog-card {
    display: grid;
    min-height: 100%;
    border: 1px solid var(--fc-border);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(31, 57, 97, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fc-blog-card:hover {
    transform: translateY(-2px);
    border-color: #cfe0f6;
    box-shadow: 0 24px 58px rgba(31, 57, 97, 0.12);
}

.fc-blog-cover,
.fc-blog-detail-cover {
    background:
        radial-gradient(circle at 82% 14%, rgba(244, 161, 0, 0.34), transparent 32%),
        linear-gradient(135deg, #071331 0%, #0f62fe 100%);
}

.fc-blog-card h2 {
    font-size: 1.22rem;
    line-height: 1.25;
}

.fc-blog-actions {
    margin-top: 0.85rem;
}

.fc-blog-actions a,
.fc-blog-actions button {
    font-weight: 900;
}

.fc-blog-form,
.fc-blog-detail {
    border: 1px solid var(--fc-border);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(31, 57, 97, 0.08);
}

.fc-blog-detail header {
    display: grid;
    gap: 0.55rem;
}

.fc-blog-detail h1 {
    max-width: 880px;
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.fc-blog-content {
    max-width: 880px;
    color: #203454;
}

.fc-empty-icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 22px;
    color: #0f62fe;
    background: #eaf3ff;
}

.fc-empty-icon svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 1199.98px) {
    .fc-blog-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fc-blog-filter .fc-btn {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .fc-blog-grid,
    .fc-blog-filter {
        grid-template-columns: 1fr;
    }

    .fc-blog-cover,
    .fc-blog-detail-cover {
        min-height: 150px;
    }

    .fc-blog-card > div:last-child,
    .fc-blog-detail,
    .fc-blog-form {
        padding: 1rem;
    }
}

/* Dashboard messages */
.fc-message-filter,
.fc-message-thread-card,
.fc-message-detail-hero,
.fc-message-chat {
    border: 1px solid var(--fc-border);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(31, 57, 97, 0.08);
}

.fc-message-filter {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px auto;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.9rem;
    border-radius: 18px;
}

.fc-message-filter input,
.fc-message-filter select,
.fc-message-reply textarea,
.fc-message-reply input {
    width: 100%;
    min-height: 46px;
    border: 1px solid #dbe6f5;
    border-radius: 12px;
    background: #f7faff;
    color: var(--fc-text);
    padding: 0.7rem 0.85rem;
    outline: 0;
}

.fc-message-filter input:focus,
.fc-message-filter select:focus,
.fc-message-reply textarea:focus,
.fc-message-reply input:focus {
    border-color: rgba(15, 98, 254, 0.45);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.09);
}

.fc-message-list {
    display: grid;
    gap: 0.85rem;
}

.fc-message-thread-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 18px;
    color: var(--fc-text);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fc-message-thread-card:hover {
    transform: translateY(-2px);
    border-color: #cfe0f6;
    box-shadow: 0 24px 58px rgba(31, 57, 97, 0.12);
}

.fc-message-thread-card.has-unread {
    border-color: rgba(15, 98, 254, 0.32);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), #f4f8ff);
}

.fc-message-thread-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: #eaf3ff;
    color: #0f62fe;
}

.fc-message-thread-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.fc-message-thread-heading strong {
    color: #071331;
    font-size: 1rem;
    font-weight: 950;
}

.fc-message-thread-heading span {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #0f62fe;
    color: #fff;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 900;
}

.fc-message-thread-card p,
.fc-message-thread-card small,
.fc-muted {
    color: var(--fc-muted);
}

.fc-message-thread-card p {
    margin: 0.3rem 0;
}

.fc-message-detail-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.35rem;
    border-radius: 22px;
}

.fc-message-detail-hero a {
    color: #0f62fe;
    font-weight: 850;
}

.fc-message-detail-hero h1 {
    margin: 0.2rem 0;
    color: #071331;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    font-weight: 950;
}

.fc-message-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.fc-message-chat {
    display: grid;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 22px;
}

.fc-message-stack {
    display: grid;
    gap: 0.75rem;
}

.fc-message-bubble {
    display: grid;
    gap: 0.35rem;
    max-width: min(760px, 92%);
    padding: 0.9rem 1rem;
    border: 1px solid #dbe6f5;
    border-radius: 18px 18px 18px 6px;
    background: #f7faff;
    color: #10213f;
}

.fc-message-bubble.is-mine {
    justify-self: end;
    border-color: rgba(15, 98, 254, 0.28);
    border-radius: 18px 18px 6px 18px;
    background: linear-gradient(135deg, #0f62fe, #2f80ed);
    color: #fff;
}

.fc-message-bubble div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
}

.fc-message-bubble p {
    margin: 0;
    line-height: 1.55;
}

.fc-message-bubble small,
.fc-message-bubble a {
    color: inherit;
    opacity: 0.82;
}

.fc-message-reply {
    display: grid;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #edf2f8;
}

.fc-message-reply p {
    display: grid;
    gap: 0.35rem;
    margin: 0;
}

.fc-message-reply label {
    color: #203454;
    font-weight: 850;
}

.fc-message-archived {
    border: 1px solid #f1d3d3;
    border-radius: 16px;
    background: #fff6f6;
    color: #8a1f1f;
    padding: 1rem;
}

.fc-message-archived p {
    margin: 0.25rem 0 0;
}

@media (max-width: 767.98px) {
    .fc-message-filter,
    .fc-message-detail-hero {
        grid-template-columns: 1fr;
    }

    .fc-message-filter,
    .fc-message-detail-hero,
    .fc-message-detail-actions {
        display: grid;
    }

    .fc-message-detail-actions .fc-btn,
    .fc-message-detail-actions form {
        width: 100%;
    }

    .fc-message-bubble {
        max-width: 100%;
    }
}

/* Dashboard events */
.fc-event-filter,
.fc-dashboard-event-card,
.fc-event-detail {
    border: 1px solid var(--fc-border);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(31, 57, 97, 0.08);
}

.fc-event-filter {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 190px 160px auto;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.9rem;
    border-radius: 18px;
}

.fc-event-filter input,
.fc-event-filter select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #dbe6f5;
    border-radius: 12px;
    background: #f7faff;
    color: var(--fc-text);
    padding: 0.7rem 0.85rem;
    outline: 0;
}

.fc-dashboard-event-list {
    display: grid;
    gap: 1rem;
}

.fc-dashboard-event-card {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: 20px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fc-dashboard-event-card:hover {
    transform: translateY(-2px);
    border-color: #cfe0f6;
    box-shadow: 0 24px 58px rgba(31, 57, 97, 0.12);
}

.fc-dashboard-event-card time {
    display: grid;
    place-items: center;
    align-self: start;
    min-height: 86px;
    border: 1px solid #8bb8ff;
    border-radius: 16px;
    background: linear-gradient(180deg, #eef5ff, #ffffff);
    color: #0f62fe;
}

.fc-dashboard-event-card time span {
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.fc-dashboard-event-card time strong {
    color: #071331;
    font-size: 2rem;
    line-height: 1;
}

.fc-dashboard-event-body {
    display: grid;
    gap: 0.7rem;
}

.fc-event-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.fc-event-card-heading h2 {
    margin: 0.15rem 0 0;
    color: #071331;
    font-size: 1.25rem;
    font-weight: 950;
}

.fc-event-featured {
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(244, 161, 0, 0.14);
    color: #b87300;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 950;
}

.fc-dashboard-event-body p,
.fc-event-card-meta small {
    color: var(--fc-muted);
}

.fc-event-card-meta,
.fc-event-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.fc-event-card-meta span {
    color: #0f62fe;
}

.fc-event-detail {
    overflow: hidden;
    border-radius: 24px;
}

.fc-event-detail-cover {
    min-height: 260px;
    background:
        radial-gradient(circle at 84% 14%, rgba(244, 161, 0, 0.34), transparent 32%),
        linear-gradient(135deg, #071331 0%, #0f62fe 100%);
    background-size: cover;
    background-position: center;
}

.fc-event-detail > header {
    display: grid;
    gap: 0.55rem;
    padding: 1.25rem 1.35rem;
}

.fc-event-detail > header a {
    color: #0f62fe;
    font-weight: 850;
}

.fc-event-detail h1 {
    margin: 0;
    color: #071331;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 950;
}

.fc-event-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
    padding: 0 1.35rem 1.35rem;
}

.fc-event-detail-main,
.fc-event-detail-aside {
    border: 1px solid #e6edf7;
    border-radius: 18px;
    background: #f8fbff;
    padding: 1rem;
}

.fc-event-detail-main h2 {
    margin: 0 0 0.6rem;
    color: #071331;
    font-weight: 950;
}

.fc-event-detail-aside {
    display: grid;
    align-content: start;
    gap: 0.85rem;
}

.fc-event-detail-aside > div {
    display: grid;
    gap: 0.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e6edf7;
}

.fc-event-detail-aside span {
    color: #0f62fe;
}

.fc-event-detail-aside p {
    margin: 0;
    color: var(--fc-muted);
}

@media (max-width: 991.98px) {
    .fc-event-filter,
    .fc-event-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .fc-dashboard-event-card {
        grid-template-columns: 1fr;
    }

    .fc-dashboard-event-card time {
        width: 86px;
    }

    .fc-event-card-heading,
    .fc-event-card-actions {
        display: grid;
    }

    .fc-event-card-actions .fc-btn {
        width: 100%;
    }
}

/* Dashboard documents */
.fc-document-filter,
.fc-document-card,
.fc-document-detail {
    border: 1px solid var(--fc-border);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(31, 57, 97, 0.08);
}

.fc-document-filter {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 190px 160px auto;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.9rem;
    border-radius: 18px;
}

.fc-document-filter input,
.fc-document-filter select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #dbe6f5;
    border-radius: 12px;
    background: #f7faff;
    color: var(--fc-text);
    padding: 0.7rem 0.85rem;
    outline: 0;
}

.fc-document-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.fc-document-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.95rem;
    padding: 1rem;
    border-radius: 20px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fc-document-card:hover {
    transform: translateY(-2px);
    border-color: #cfe0f6;
    box-shadow: 0 24px 58px rgba(31, 57, 97, 0.12);
}

.fc-document-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 16px;
    color: #0f62fe;
    background: #eaf3ff;
}

.fc-document-heading,
.fc-document-meta,
.fc-document-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.fc-document-card h2 {
    margin: 0.35rem 0;
    color: #071331;
    font-size: 1.2rem;
    font-weight: 950;
}

.fc-document-card p,
.fc-document-meta small,
.fc-document-detail-aside p {
    color: var(--fc-muted);
}

.fc-document-featured,
.fc-document-meta span {
    border-radius: 999px;
    padding: 0.22rem 0.58rem;
    font-size: 0.72rem;
    font-weight: 950;
}

.fc-document-featured {
    background: rgba(244, 161, 0, 0.14);
    color: #b87300;
}

.fc-document-meta span {
    background: #eaf3ff;
    color: #0f62fe;
}

.fc-document-detail {
    display: grid;
    gap: 1rem;
    padding: 1.35rem;
    border-radius: 24px;
}

.fc-document-detail header {
    display: grid;
    gap: 0.55rem;
}

.fc-document-detail header a {
    color: #0f62fe;
    font-weight: 850;
}

.fc-document-detail h1 {
    margin: 0;
    color: #071331;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 950;
}

.fc-document-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
}

.fc-document-preview,
.fc-document-detail-aside {
    border: 1px solid #e6edf7;
    border-radius: 18px;
    background: #f8fbff;
    padding: 1rem;
}

.fc-document-preview {
    display: grid;
    min-height: 260px;
    place-items: center;
    align-content: center;
    gap: 0.65rem;
    text-align: center;
}

.fc-document-preview span {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 24px;
    color: #0f62fe;
    background: #eaf3ff;
}

.fc-document-preview span svg {
    width: 42px;
    height: 42px;
}

.fc-document-preview strong {
    max-width: 620px;
    color: #071331;
    font-size: 1.3rem;
    font-weight: 950;
}

.fc-document-detail-aside {
    display: grid;
    align-content: start;
    gap: 0.85rem;
}

.fc-document-detail-aside > div {
    display: grid;
    gap: 0.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e6edf7;
}

.fc-document-detail-aside span {
    color: #0f62fe;
}

.fc-document-detail-aside p {
    margin: 0;
}

@media (max-width: 991.98px) {
    .fc-document-filter,
    .fc-document-grid,
    .fc-document-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .fc-document-card {
        grid-template-columns: 1fr;
    }

    .fc-document-actions .fc-btn {
        width: 100%;
    }
}

/* Dashboard saved */
.fc-saved-list {
    display: grid;
    gap: 0.9rem;
}

.fc-saved-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.95rem;
    border: 1px solid var(--fc-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(31, 57, 97, 0.08);
    padding: 1rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fc-saved-card:hover {
    transform: translateY(-2px);
    border-color: #cfe0f6;
    box-shadow: 0 24px 58px rgba(31, 57, 97, 0.12);
}

.fc-saved-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 16px;
    color: #0f62fe;
    background: #eaf3ff;
}

.fc-saved-heading,
.fc-saved-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.fc-saved-heading {
    justify-content: space-between;
}

.fc-saved-heading small {
    color: var(--fc-muted);
    font-weight: 800;
}

.fc-saved-card h2 {
    margin: 0.35rem 0 0.8rem;
    color: #071331;
    font-size: 1.2rem;
    font-weight: 950;
}

.fc-saved-actions form {
    margin: 0;
}

@media (max-width: 767.98px) {
    .fc-saved-card {
        grid-template-columns: 1fr;
    }

    .fc-saved-actions,
    .fc-saved-actions .fc-btn,
    .fc-saved-actions form {
        width: 100%;
    }
}

/* Dashboard voting */
.fc-voting-filter,
.fc-voting-card,
.fc-voting-detail {
    border: 1px solid var(--fc-border);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(31, 57, 97, 0.08);
}

.fc-voting-filter {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px auto;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.9rem;
    border-radius: 18px;
}

.fc-voting-filter input,
.fc-voting-filter select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #dbe6f5;
    border-radius: 12px;
    background: #f7faff;
    color: var(--fc-text);
    padding: 0.7rem 0.85rem;
    outline: 0;
}

.fc-voting-list {
    display: grid;
    gap: 1rem;
}

.fc-voting-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.95rem;
    padding: 1rem;
    border-radius: 20px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fc-voting-card:hover {
    transform: translateY(-2px);
    border-color: #cfe0f6;
    box-shadow: 0 24px 58px rgba(31, 57, 97, 0.12);
}

.fc-voting-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 16px;
    color: #0f62fe;
    background: #eaf3ff;
}

.fc-voting-heading,
.fc-voting-meta,
.fc-voting-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.fc-voting-heading {
    justify-content: space-between;
}

.fc-voting-card h2 {
    margin: 0.35rem 0;
    color: #071331;
    font-size: 1.2rem;
    font-weight: 950;
}

.fc-voting-card p,
.fc-voting-meta small {
    color: var(--fc-muted);
}

.fc-voting-status {
    border-radius: 999px;
    background: #eaf3ff;
    color: #0f62fe;
    padding: 0.22rem 0.58rem;
    font-size: 0.72rem;
    font-weight: 950;
}

.fc-voting-status.is-voted {
    background: #ecfdf4;
    color: #148042;
}

.fc-voting-status.is-closed {
    background: #f2f4f7;
    color: #667085;
}

.fc-voting-status.is-pending {
    background: #fff8e8;
    color: #b87300;
}

.fc-voting-detail {
    display: grid;
    gap: 1rem;
    padding: 1.35rem;
    border-radius: 24px;
}

.fc-voting-detail header {
    display: grid;
    gap: 0.55rem;
}

.fc-voting-detail header a {
    color: #0f62fe;
    font-weight: 850;
}

.fc-voting-detail h1 {
    margin: 0;
    color: #071331;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 950;
}

.fc-voting-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 1rem;
}

.fc-voting-panel,
.fc-voting-results {
    border: 1px solid #e6edf7;
    border-radius: 18px;
    background: #f8fbff;
    padding: 1rem;
}

.fc-vote-form {
    display: grid;
    gap: 0.85rem;
}

.fc-vote-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: flex-start;
    border: 1px solid #dbe6f5;
    border-radius: 16px;
    background: #fff;
    padding: 0.9rem;
    cursor: pointer;
}

.fc-vote-option input {
    margin-top: 0.25rem;
}

.fc-vote-option strong,
.fc-voting-results h2 {
    color: #071331;
    font-weight: 950;
}

.fc-vote-option small,
.fc-vote-closed p,
.fc-voting-results p,
.fc-result-row small,
.fc-voting-summary p {
    color: var(--fc-muted);
}

.fc-vote-closed {
    border: 1px solid #f1d3d3;
    border-radius: 16px;
    background: #fff6f6;
    color: #8a1f1f;
    padding: 1rem;
}

.fc-voting-results {
    display: grid;
    align-content: start;
    gap: 0.85rem;
}

.fc-result-row {
    display: grid;
    gap: 0.4rem;
}

.fc-result-row > div {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.fc-result-row > span {
    display: block;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6edf7;
}

.fc-result-row > span i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f62fe, #f4a100);
}

.fc-voting-summary {
    display: grid;
    gap: 0.2rem;
    border-top: 1px solid #e6edf7;
    padding-top: 0.9rem;
}

.fc-voting-summary span {
    color: #0f62fe;
}

.fc-voting-summary p {
    margin: 0;
}

.fc-admin-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.14), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.92));
}

.fc-admin-stats,
.fc-admin-actions,
.fc-admin-grid {
    display: grid;
    gap: 1rem;
}

.fc-admin-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.fc-admin-stats article,
.fc-admin-action,
.fc-admin-panel {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(211, 223, 238, 0.95);
    box-shadow: 0 20px 55px rgba(15, 38, 77, 0.08);
}

.fc-admin-stats article {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 22px;
}

.fc-admin-stats span,
.fc-admin-action > span,
.fc-admin-row-icon,
.fc-admin-empty > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    color: #0f5fe8;
    background: linear-gradient(135deg, #eaf2ff, #ffffff);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.1);
    flex: 0 0 auto;
}

.fc-admin-stats svg,
.fc-admin-action svg,
.fc-admin-row-icon svg,
.fc-admin-empty svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.fc-admin-stats strong {
    display: block;
    color: #07142d;
    font-size: 1.35rem;
    line-height: 1;
}

.fc-admin-stats small,
.fc-admin-action small,
.fc-admin-row small,
.fc-admin-empty p {
    color: #64748b;
    font-weight: 700;
}

.fc-admin-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.fc-admin-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 112px;
    padding: 1.1rem;
    border-radius: 24px;
    color: #0d1b34;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.fc-admin-action::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, #0f5fe8, #d8ad43);
    opacity: 0;
    transition: opacity 180ms ease;
}

.fc-admin-action:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 95, 232, 0.24);
    box-shadow: 0 24px 60px rgba(15, 38, 77, 0.12);
    color: #0d1b34;
}

.fc-admin-action:hover::after,
.fc-admin-action.is-primary::after {
    opacity: 1;
}

.fc-admin-action.is-primary {
    background: linear-gradient(135deg, #0f5fe8, #073c9f);
    border-color: rgba(15, 95, 232, 0.4);
    color: #ffffff;
}

.fc-admin-action.is-primary small {
    color: rgba(255, 255, 255, 0.78);
}

.fc-admin-action.is-primary > span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.fc-admin-action em {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(216, 173, 67, 0.16);
    color: #9a6a0a;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fc-admin-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.fc-admin-panel {
    border-radius: 26px;
    overflow: hidden;
}

.fc-admin-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    border-bottom: 1px solid rgba(211, 223, 238, 0.8);
}

.fc-admin-panel-head h2 {
    margin: 0.2rem 0 0;
    color: #0d1b34;
    font-size: 1.15rem;
    font-weight: 900;
}

.fc-admin-panel-head a,
.fc-admin-row a {
    color: #0f5fe8;
    font-weight: 900;
    text-decoration: none;
}

.fc-admin-list {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
}

.fc-admin-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    background: #ffffff;
}

.fc-admin-row img {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.fc-admin-row strong {
    display: block;
    color: #0d1b34;
    font-weight: 900;
}

.fc-admin-empty {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
}

.fc-admin-empty h3 {
    margin: 0;
    color: #0d1b34;
    font-size: 1rem;
    font-weight: 900;
}

.fc-admin-empty p {
    max-width: 28rem;
    margin: 0;
}

.fc-profile-hero-v2 {
    overflow: hidden;
    border: 1px solid rgba(211, 223, 238, 0.95);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(15, 38, 77, 0.1);
    margin-bottom: 1rem;
}

.fc-profile-cover-v2 {
    min-height: 210px;
    background:
        radial-gradient(circle at 80% 15%, rgba(216, 173, 67, 0.22), transparent 26%),
        linear-gradient(135deg, #0f172a, #0f5fe8 62%, #eaf2ff);
}

.fc-profile-cover-v2 img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.fc-profile-identity-v2 {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: end;
    gap: 1rem;
    padding: 0 1.35rem 1.3rem;
    margin-top: -44px;
}

.fc-profile-identity-v2 .fc-avatar-xl {
    width: 104px;
    height: 104px;
    border: 5px solid #ffffff;
    box-shadow: 0 18px 40px rgba(15, 38, 77, 0.22);
}

.fc-profile-identity-v2 h1 {
    margin: 0.15rem 0 0;
    color: #07142d;
    font-size: clamp(1.75rem, 4vw, 2.9rem);
    font-weight: 950;
}

.fc-profile-identity-v2 p {
    margin: 0.15rem 0 0;
    color: #64748b;
    font-weight: 750;
}

.fc-profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.fc-profile-stat-grid article {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid rgba(211, 223, 238, 0.95);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px rgba(15, 38, 77, 0.08);
    padding: 1rem;
}

.fc-profile-stat-grid span {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 16px;
    color: #0f5fe8;
    background: #eaf2ff;
}

.fc-profile-stat-grid svg {
    width: 21px;
    height: 21px;
}

.fc-profile-stat-grid strong {
    display: block;
    color: #07142d;
    font-size: 1.3rem;
    font-weight: 950;
}

.fc-profile-stat-grid small {
    color: #64748b;
    font-weight: 750;
}

.fc-profile-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.fc-author-link {
    color: inherit;
    text-decoration: none;
}

.fc-author-link:hover strong {
    color: #0f5fe8;
}

.fc-public-profile-hero .fc-profile-cover-v2 {
    background:
        radial-gradient(circle at 20% 10%, rgba(216, 173, 67, 0.24), transparent 25%),
        linear-gradient(135deg, #0b1220, #1d4ed8 58%, #eaf2ff);
}

.fc-public-profile-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.fc-follow-form {
    margin: 0;
}

.fc-follow-form .fc-btn {
    width: 100%;
    justify-content: center;
}

.fc-connections-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(15, 95, 232, 0.16), transparent 30%),
        radial-gradient(circle at 18% 22%, rgba(216, 173, 67, 0.18), transparent 28%),
        linear-gradient(135deg, #ffffff, #f5f9ff);
}

.fc-connections-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.fc-connection-panel {
    padding: 1.1rem;
}

.fc-connection-panel > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.fc-connection-panel > header > div {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.fc-connection-panel > header span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 15px;
    color: #0f5fe8;
    background: #eaf2ff;
}

.fc-connection-panel h2,
.fc-connection-panel strong {
    margin: 0;
    color: #07142d;
    font-weight: 950;
}

.fc-connection-panel > header > strong {
    border-radius: 999px;
    background: #07142d;
    color: #ffffff;
    padding: 0.35rem 0.75rem;
}

.fc-connection-list {
    display: grid;
    gap: 0.65rem;
}

.fc-connection-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(211, 223, 238, 0.95);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    color: inherit;
    padding: 0.75rem;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.fc-connection-row:hover {
    border-color: rgba(15, 95, 232, 0.22);
    box-shadow: 0 18px 46px rgba(15, 38, 77, 0.09);
    transform: translateY(-2px);
}

.fc-connection-row span,
.fc-connection-row small,
.fc-connection-empty p {
    color: #64748b;
    font-weight: 750;
}

.fc-connection-empty {
    display: grid;
    justify-items: center;
    gap: 0.45rem;
    border: 1px dashed rgba(148, 163, 184, 0.6);
    border-radius: 22px;
    background: #f8fbff;
    padding: 1.5rem;
    text-align: center;
}

.fc-connection-empty > span {
    display: inline-grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 18px;
    color: #0f5fe8;
    background: #eaf2ff;
}

.fc-public-subheader {
    margin-top: 1.3rem;
    padding-top: 1rem;
    border-top: 1px solid #eef3f9;
}

.fc-settings-hero-v2,
.fc-id-hero {
    align-items: center;
}

.fc-id-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 1rem;
    align-items: start;
}

.fc-id-preview {
    display: grid;
    justify-items: center;
    overflow-x: auto;
    border: 1px solid rgba(211, 223, 238, 0.95);
    border-radius: 28px;
    background:
        radial-gradient(circle at 20% 10%, rgba(15, 95, 232, 0.12), transparent 28%),
        linear-gradient(135deg, #ffffff, #f6f9ff);
    box-shadow: 0 24px 60px rgba(15, 38, 77, 0.1);
    padding: 1.5rem;
}

.fc-id-panel {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 24px;
}

.fc-id-panel h2 {
    margin: 0;
    color: #07142d;
    font-size: 1.15rem;
    font-weight: 950;
}

.fc-id-actions {
    display: grid;
    gap: 0.65rem;
}

.fc-id-actions .fc-btn {
    width: 100%;
    justify-content: center;
}

.fc-notification-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(216, 173, 67, 0.2), transparent 28%),
        linear-gradient(135deg, #ffffff, #f4f8ff);
}

.fc-notification-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.fc-notification-toolbar > div {
    display: inline-flex;
    gap: 0.45rem;
    border: 1px solid rgba(211, 223, 238, 0.95);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.35rem;
}

.fc-notification-toolbar a {
    border-radius: 999px;
    color: #64748b;
    font-weight: 900;
    padding: 0.55rem 0.9rem;
    text-decoration: none;
}

.fc-notification-toolbar a.is-active {
    background: #0f5fe8;
    color: #ffffff;
}

.fc-notification-list {
    display: grid;
    gap: 0.8rem;
}

.fc-notification-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.9rem;
    border: 1px solid rgba(211, 223, 238, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 52px rgba(15, 38, 77, 0.08);
    padding: 1rem;
}

.fc-notification-item.is-unread {
    border-color: rgba(15, 95, 232, 0.28);
    box-shadow: 0 22px 60px rgba(15, 95, 232, 0.12);
}

.fc-notification-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px;
    color: #0f5fe8;
    background: #eaf2ff;
}

.fc-notification-item.is-success .fc-notification-icon {
    color: #148042;
    background: #ecfdf4;
}

.fc-notification-item.is-warning .fc-notification-icon {
    color: #b87300;
    background: #fff8e8;
}

.fc-notification-item.is-danger .fc-notification-icon {
    color: #b42318;
    background: #fff1f1;
}

.fc-notification-icon svg {
    width: 22px;
    height: 22px;
}

.fc-notification-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.fc-notification-heading h2 {
    margin: 0;
    color: #07142d;
    font-size: 1.05rem;
    font-weight: 950;
}

.fc-notification-heading small,
.fc-notification-item p,
.fc-notification-meta {
    color: #64748b;
    font-weight: 700;
}

.fc-notification-item p {
    margin: 0.35rem 0 0;
}

.fc-notification-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.fc-notification-meta span {
    border-radius: 999px;
    background: #f1f5f9;
    padding: 0.2rem 0.55rem;
    font-size: 0.76rem;
}

.fc-notification-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

@media (max-width: 991.98px) {
    .fc-voting-filter,
    .fc-voting-detail-grid,
    .fc-admin-stats,
    .fc-admin-actions,
    .fc-admin-grid,
    .fc-profile-stat-grid,
    .fc-profile-dashboard-grid,
    .fc-public-profile-layout,
    .fc-connections-grid,
    .fc-id-dashboard {
        grid-template-columns: 1fr;
    }

    .fc-profile-identity-v2 {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .fc-profile-identity-v2 .fc-profile-actions {
        width: 100%;
    }

    .fc-notification-toolbar,
    .fc-notification-item,
    .fc-notification-heading {
        display: grid;
        grid-template-columns: 1fr;
    }

    .fc-notification-actions {
        justify-content: stretch;
    }

.fc-notification-actions .fc-btn {
        width: 100%;
        justify-content: center;
    }
}

.fc-search-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(79, 140, 255, 0.16), transparent 30%),
        linear-gradient(135deg, #ffffff, #f6faff);
}

.fc-search-page-form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(211, 223, 238, 0.95);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 52px rgba(15, 38, 77, 0.08);
    padding: 0.45rem 0.55rem 0.45rem 1rem;
}

.fc-search-page-form > span {
    color: #0f5fe8;
}

.fc-search-page-form input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #07142d;
    font-weight: 750;
}

.fc-search-results {
    display: grid;
    gap: 1rem;
}

.fc-search-section {
    border: 1px solid rgba(211, 223, 238, 0.95);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 52px rgba(15, 38, 77, 0.08);
    overflow: hidden;
}

.fc-search-section header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.fc-search-section h2 {
    margin: 0;
    color: #07142d;
    font-size: 1.08rem;
    font-weight: 950;
}

.fc-search-section header span {
    display: inline-grid;
    min-width: 34px;
    height: 28px;
    place-items: center;
    border-radius: 999px;
    background: #eaf2ff;
    color: #0f5fe8;
    font-size: 0.8rem;
    font-weight: 950;
}

.fc-search-list {
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
}

.fc-search-result-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    background: #ffffff;
    padding: 0.85rem;
    color: #07142d;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.fc-search-result-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 95, 232, 0.24);
    box-shadow: 0 18px 42px rgba(15, 38, 77, 0.1);
    color: #07142d;
}

.fc-search-result-card.is-muted {
    cursor: default;
}

.fc-search-result-icon,
.fc-search-suggestions span {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 16px;
    background: #eaf2ff;
    color: #0f5fe8;
}

.fc-search-result-card strong {
    display: block;
    font-weight: 950;
}

.fc-search-result-card small,
.fc-search-suggestions small {
    display: block;
    color: #64748b;
    font-weight: 700;
}

.fc-search-result-card em {
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 900;
    padding: 0.25rem 0.6rem;
}

.fc-search-suggestions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.fc-search-suggestions article {
    display: grid;
    gap: 0.65rem;
    border: 1px solid rgba(211, 223, 238, 0.95);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 52px rgba(15, 38, 77, 0.08);
    padding: 1rem;
}

.fc-search-suggestions strong {
    color: #07142d;
    font-weight: 950;
}

@media (max-width: 991.98px) {
    .fc-search-suggestions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .fc-search-page-form,
    .fc-search-result-card,
    .fc-search-suggestions {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .fc-search-page-form .fc-btn,
    .fc-search-result-card em {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .fc-voting-card {
        grid-template-columns: 1fr;
    }

    .fc-voting-actions .fc-btn {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════
   DIRECT PRIVATE MESSAGES  —  premium chat UI
   ═══════════════════════════════════════════════════════════════ */

/* Main wrapper — stretch to available viewport height */
.fc-dm-main {
    display: flex;
    flex-direction: column;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: calc(100vh - var(--fc-nav-h));
}

.fc-dm-window {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    border: 1px solid #dfe7f5;
    border-radius: 24px;
    background: #ffffff;
    box-shadow:
        0 4px 6px -1px rgba(15, 23, 42, 0.06),
        0 24px 60px -8px rgba(15, 23, 42, 0.10);
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

/* ── Topbar ── */
.fc-dm-topbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid #edf2f8;
    background:
        linear-gradient(135deg, rgba(217, 180, 95, 0.09), transparent 46%),
        #ffffff;
    backdrop-filter: blur(8px);
    flex-shrink: 0;
    z-index: 2;
}

.fc-dm-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border: 1px solid #e4eaf4;
    border-radius: 12px;
    color: #334155;
    background: #f8faff;
    transition: background 0.16s, border-color 0.16s, transform 0.16s;
}

.fc-dm-back-btn:hover {
    background: #eef3ff;
    border-color: #c5d2ec;
    transform: translateX(-2px);
}

.fc-dm-back-btn svg {
    width: 16px;
    height: 16px;
    display: block;
}

.fc-dm-peer {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    min-width: 0;
    text-decoration: none;
}

.fc-dm-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.fc-dm-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(217, 180, 95, 0.45);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}

.fc-dm-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
    animation: fc-dm-pulse 2.4s ease-in-out infinite;
}

@keyframes fc-dm-pulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35); }
    50%       { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12); }
}

.fc-dm-peer-info {
    display: grid;
    min-width: 0;
}

.fc-dm-peer-info strong {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-dm-peer-info span {
    color: var(--fc-muted);
    font-size: 0.8rem;
}

.fc-dm-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.fc-dm-topbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #e4eaf4;
    border-radius: 12px;
    color: #475569;
    background: #f8faff;
    transition: background 0.16s, border-color 0.16s;
}

.fc-dm-topbar-btn svg {
    width: 16px;
    height: 16px;
    display: block;
}

.fc-dm-topbar-btn:hover {
    background: #eef3ff;
    border-color: #c5d2ec;
    color: #0b5fe8;
}

/* ── Messages body ── */
.fc-dm-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem 1.5rem 1rem;
    scroll-behavior: smooth;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(217, 180, 95, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(79, 140, 255, 0.05) 0%, transparent 55%),
        #f7f9fc;

    /* custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #dbe6f5 transparent;
}

.fc-dm-body::-webkit-scrollbar { width: 5px; }
.fc-dm-body::-webkit-scrollbar-thumb { background: #dbe6f5; border-radius: 99px; }

/* ── Message rows ── */
.fc-dm-row {
    display: flex;
    align-items: flex-end;
    gap: 0.55rem;
    animation: fc-dm-in 0.22s ease both;
}

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

.fc-dm-row--mine {
    flex-direction: row-reverse;
}

.fc-dm-row-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid rgba(217, 180, 95, 0.35);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
    align-self: flex-end;
}

/* ── Bubbles ── */
.fc-dm-bubble {
    display: grid;
    max-width: min(520px, 72%);
    word-break: break-word;
}

/* incoming */
.fc-dm-row--theirs .fc-dm-bubble {
    border-radius: 4px 18px 18px 18px;
    background: #ffffff;
    border: 1px solid #e4eef8;
    padding: 0.65rem 0.95rem 0.55rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
}

/* outgoing */
.fc-dm-row--mine .fc-dm-bubble {
    border-radius: 18px 4px 18px 18px;
    background: linear-gradient(135deg, #1653d0 0%, #2f80ed 100%);
    border: none;
    padding: 0.65rem 0.95rem 0.55rem;
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(22, 83, 208, 0.32);
}

.fc-dm-bubble p {
    margin: 0;
    line-height: 1.58;
    font-size: 0.95rem;
}

.fc-dm-row--theirs .fc-dm-bubble p { color: #1e293b; }

.fc-dm-bubble time {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: right;
}

.fc-dm-row--theirs .fc-dm-bubble time { color: #94a3b8; }
.fc-dm-row--mine   .fc-dm-bubble time { color: rgba(255,255,255,0.62); }

/* ── Empty state ── */
.fc-dm-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 0.75rem;
    padding: 3rem 1.5rem;
    text-align: center;
}

.fc-dm-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(217, 180, 95, 0.18), rgba(79, 140, 255, 0.12));
    border: 1px solid rgba(217, 180, 95, 0.28);
    color: #7c94b8;
    box-shadow: 0 10px 32px rgba(79, 140, 255, 0.12);
}

.fc-dm-empty-icon svg {
    width: 30px;
    height: 30px;
    display: block;
}

.fc-dm-empty-state strong {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 850;
}

.fc-dm-empty-state p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
    max-width: 300px;
    line-height: 1.55;
}

.fc-dm-empty-state p span {
    font-weight: 800;
    color: #0b5fe8;
}

/* ── Compose footer ── */
.fc-dm-compose {
    flex-shrink: 0;
    padding: 0.85rem 1.25rem 0.9rem;
    border-top: 1px solid #edf2f8;
    background: #ffffff;
}

.fc-dm-form {
    display: flex;
    align-items: flex-end;
    gap: 0.65rem;
    background: #f4f7fc;
    border: 1.5px solid #dce6f5;
    border-radius: 20px;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.fc-dm-form:focus-within {
    border-color: rgba(217, 180, 95, 0.75);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(217, 180, 95, 0.14);
}

.fc-dm-textarea {
    flex: 1;
    min-height: 24px;
    max-height: 140px;
    border: none;
    background: transparent;
    color: #1e293b;
    font-family: inherit;
    font-size: 0.96rem;
    line-height: 1.5;
    resize: none;
    outline: none;
    overflow-y: auto;
    padding: 0.3rem 0;
    align-self: center;
}

.fc-dm-textarea::placeholder { color: #94a3b8; }

.fc-dm-send-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #d9b45f, #f6d27b);
    color: #111;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(217, 180, 95, 0.38);
    transition: transform 0.16s, box-shadow 0.16s, filter 0.16s;
}

.fc-dm-send-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 24px rgba(217, 180, 95, 0.52);
}

.fc-dm-send-btn:active {
    transform: translateY(0) scale(0.97);
}

.fc-dm-send-btn svg {
    width: 16px;
    height: 16px;
    display: block;
}

.fc-dm-hint {
    margin: 0.4rem 0 0 0.2rem;
    color: #94a3b8;
    font-size: 0.73rem;
    font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .fc-dm-window {
        border-radius: 16px;
        margin: 0.75rem 0;
    }

    .fc-dm-bubble {
        max-width: 88%;
    }

    .fc-dm-body {
        padding: 1rem;
    }

    .fc-dm-topbar {
        padding: 0.75rem 1rem;
    }

    .fc-dm-hint {
        display: none;
    }
}

/* Friends and conversations module */
.fc-fcm {
    margin: 0 0 1.35rem;
    border: 1px solid var(--fc-border);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 251, 255, 0.98));
    box-shadow: 0 20px 48px rgba(31, 57, 97, 0.1);
    padding: 1.2rem;
}

.fc-fcm-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.fc-fcm-header h2 {
    margin: 0;
    font-size: 1.22rem;
    font-weight: 900;
    color: #0d1b36;
}

.fc-fcm-header p {
    margin: 0.35rem 0 0;
    color: #536d93;
    font-size: 0.9rem;
}

.fc-fcm-header-actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.fc-fcm-header-actions .fc-btn {
    min-height: 40px;
}

.fc-fcm-header-actions .fc-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.fc-fcm-header-actions .fc-btn-primary span {
    width: 16px;
    height: 16px;
    display: inline-flex;
}

.fc-fcm-search-wrap {
    margin-top: 0.95rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid #d4e3f9;
    border-radius: 12px;
    background: #ffffff;
    padding: 0.45rem 0.6rem;
}

.fc-fcm-search-wrap > span:first-child {
    color: #0f62fe;
}

.fc-fcm-search-wrap input {
    border: 0;
    outline: 0;
    min-height: 36px;
    color: #0d1b36;
    background: transparent;
}

.fc-fcm-search-wrap input::placeholder {
    color: #7a90b0;
}

.fc-fcm-unread-total {
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.38rem 0.65rem;
    white-space: nowrap;
}

.fc-fcm-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
    gap: 1rem;
}

.fc-fcm-card {
    border: 1px solid #dce8f7;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.95rem;
}

.fc-fcm-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
}

.fc-fcm-card-head h3 {
    margin: 0;
    color: #0d1b36;
    font-size: 1rem;
    font-weight: 850;
}

.fc-fcm-card-head span {
    min-width: 30px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef5ff;
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 900;
}

.fc-fcm-friends-strip {
    display: grid;
    gap: 0.65rem;
    max-height: 350px;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.fc-fcm-friend-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid #e6eef9;
    border-radius: 12px;
    padding: 0.55rem;
    background: #fff;
}

.fc-fcm-friend-avatar {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

.fc-fcm-friend-avatar img,
.fc-fcm-conversation-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-fcm-dot {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 11px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #9aa8bc;
}

.fc-fcm-dot.is-online {
    background: #16a34a;
}

.fc-fcm-dot.is-active {
    background: #f59e0b;
}

.fc-fcm-friend-meta {
    min-width: 0;
    display: grid;
}

.fc-fcm-friend-meta a {
    color: #0d1b36;
    text-decoration: none;
    font-weight: 800;
}

.fc-fcm-friend-meta a:hover {
    color: #0f62fe;
}

.fc-fcm-friend-meta small,
.fc-fcm-friend-meta span {
    color: #607897;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-fcm-friend-actions {
    display: flex;
    gap: 0.45rem;
}

.fc-fcm-friend-actions .fc-btn {
    min-height: 34px;
    padding: 0.2rem 0.5rem;
    font-size: 0.74rem;
}

.fc-fcm-conversation-list {
    display: grid;
    gap: 0.65rem;
    max-height: 350px;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.fc-fcm-conversation-item {
    border: 1px solid #e6eef9;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    padding: 0.62rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.fc-fcm-conversation-item:hover {
    transform: translateY(-1px);
    border-color: #cfe0f6;
    box-shadow: 0 12px 28px rgba(31, 57, 97, 0.1);
}

.fc-fcm-conversation-item.has-unread {
    border-color: #b9d2f6;
    background: linear-gradient(135deg, #ffffff, #f3f8ff);
}

.fc-fcm-conversation-avatar {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
}

.fc-fcm-conversation-body {
    min-width: 0;
    display: grid;
    gap: 0.12rem;
}

.fc-fcm-conversation-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.fc-fcm-conversation-top strong {
    color: #0d1b36;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-fcm-conversation-top time,
.fc-fcm-conversation-body small {
    color: #6a809f;
    font-size: 0.75rem;
    white-space: nowrap;
}

.fc-fcm-conversation-body p {
    margin: 0;
    color: #28415f;
    font-size: 0.86rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fc-fcm-unread-badge {
    align-self: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 900;
    padding: 0 0.35rem;
}

.fc-fcm-empty {
    margin: 0;
    border: 1px dashed #c8d9f0;
    border-radius: 12px;
    background: #f8fbff;
    color: #5f7595;
    font-size: 0.86rem;
    text-align: center;
    padding: 0.75rem;
}

.fc-fcm-empty.is-hidden,
.fc-fcm-friend-item.is-hidden,
.fc-fcm-conversation-item.is-hidden {
    display: none !important;
}

@media (max-width: 1199.98px) {
    .fc-fcm-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .fc-fcm {
        padding: 0.95rem;
    }

    .fc-fcm-header {
        flex-direction: column;
        gap: 0.7rem;
    }

    .fc-fcm-header-actions {
        width: 100%;
        justify-content: stretch;
    }

    .fc-fcm-header-actions .fc-btn {
        flex: 1;
        justify-content: center;
    }

    .fc-fcm-search-wrap {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .fc-fcm-unread-total {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .fc-fcm-friend-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .fc-fcm-friend-actions {
        grid-column: 1 / -1;
    }

    .fc-fcm-conversation-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .fc-fcm-unread-badge {
        grid-column: 2;
        justify-self: end;
    }
}

