/*
===============================================================================
TownConnect Suite V1.0
TownCircle Module
File: /TownCircle/assets/css/towncircle.css
Version: 1.0.1

Full production design system for TownCircle:
- Scoped, mobile-first community feed UI
- Three-column desktop layout and single-column mobile layout
- Page-level sidebar scrolling without nested navigation scrollbars
- Composer, post cards, reactions, comments, media, groups and profiles
- Accessible focus states, minimum touch targets and screen-reader utilities
- Light, dark, high-contrast, reduced-motion and print support
- No external icon or font dependency
===============================================================================
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
    --tc-font-sans:
        Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji",
        "Segoe UI Emoji", sans-serif;
    --tc-font-mono:
        ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;

    --tc-primary-50: #ecfdfb;
    --tc-primary-100: #d0faf5;
    --tc-primary-200: #a5f3e9;
    --tc-primary-300: #6ee7db;
    --tc-primary-400: #36cfc1;
    --tc-primary-500: #14a89d;
    --tc-primary-600: #0f857d;
    --tc-primary-700: #0f6b66;
    --tc-primary-800: #115652;
    --tc-primary-900: #134845;
    --tc-primary-950: #052f2e;

    --tc-accent-50: #fff7ed;
    --tc-accent-100: #ffedd5;
    --tc-accent-200: #fed7aa;
    --tc-accent-300: #fdba74;
    --tc-accent-400: #fb923c;
    --tc-accent-500: #f97316;
    --tc-accent-600: #ea580c;
    --tc-accent-700: #c2410c;
    --tc-accent-800: #9a3412;
    --tc-accent-900: #7c2d12;

    --tc-blue-50: #eff6ff;
    --tc-blue-100: #dbeafe;
    --tc-blue-500: #3b82f6;
    --tc-blue-600: #2563eb;
    --tc-blue-700: #1d4ed8;

    --tc-green-50: #ecfdf5;
    --tc-green-100: #d1fae5;
    --tc-green-500: #10b981;
    --tc-green-600: #059669;
    --tc-green-700: #047857;

    --tc-yellow-50: #fffbeb;
    --tc-yellow-100: #fef3c7;
    --tc-yellow-500: #f59e0b;
    --tc-yellow-700: #b45309;

    --tc-red-50: #fef2f2;
    --tc-red-100: #fee2e2;
    --tc-red-500: #ef4444;
    --tc-red-600: #dc2626;
    --tc-red-700: #b91c1c;

    --tc-purple-50: #faf5ff;
    --tc-purple-100: #f3e8ff;
    --tc-purple-500: #a855f7;
    --tc-purple-700: #7e22ce;

    --tc-slate-0: #ffffff;
    --tc-slate-25: #fbfcfd;
    --tc-slate-50: #f8fafc;
    --tc-slate-100: #f1f5f9;
    --tc-slate-150: #eaf0f4;
    --tc-slate-200: #e2e8f0;
    --tc-slate-300: #cbd5e1;
    --tc-slate-400: #94a3b8;
    --tc-slate-500: #64748b;
    --tc-slate-600: #475569;
    --tc-slate-700: #334155;
    --tc-slate-800: #1e293b;
    --tc-slate-900: #0f172a;
    --tc-slate-950: #020617;

    --tc-page-bg: #edf3f6;
    --tc-page-bg-deep: #e5edf1;
    --tc-surface: #ffffff;
    --tc-surface-raised: #ffffff;
    --tc-surface-muted: #f7fafb;
    --tc-surface-soft: #f1f6f7;
    --tc-surface-hover: #eef7f6;
    --tc-text: #142634;
    --tc-text-strong: #0c1e2b;
    --tc-text-muted: #607383;
    --tc-text-subtle: #8393a1;
    --tc-border: #dce6eb;
    --tc-border-strong: #c7d5dd;
    --tc-divider: #e8eef2;
    --tc-link: #0f766e;
    --tc-link-hover: #0b5f59;
    --tc-focus: #0f857d;
    --tc-overlay: rgba(9, 20, 29, 0.68);

    --tc-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --tc-shadow-sm:
        0 1px 3px rgba(15, 23, 42, 0.06),
        0 1px 2px rgba(15, 23, 42, 0.04);
    --tc-shadow-md:
        0 8px 24px rgba(23, 43, 58, 0.08),
        0 2px 7px rgba(23, 43, 58, 0.04);
    --tc-shadow-lg:
        0 18px 48px rgba(23, 43, 58, 0.13),
        0 4px 12px rgba(23, 43, 58, 0.06);
    --tc-shadow-xl:
        0 28px 80px rgba(9, 20, 29, 0.2),
        0 8px 24px rgba(9, 20, 29, 0.08);

    --tc-radius-xs: 6px;
    --tc-radius-sm: 10px;
    --tc-radius-md: 14px;
    --tc-radius-lg: 18px;
    --tc-radius-xl: 24px;
    --tc-radius-2xl: 32px;
    --tc-radius-pill: 999px;

    --tc-space-1: 0.25rem;
    --tc-space-2: 0.5rem;
    --tc-space-3: 0.75rem;
    --tc-space-4: 1rem;
    --tc-space-5: 1.25rem;
    --tc-space-6: 1.5rem;
    --tc-space-7: 1.75rem;
    --tc-space-8: 2rem;
    --tc-space-10: 2.5rem;
    --tc-space-12: 3rem;
    --tc-space-14: 3.5rem;
    --tc-space-16: 4rem;

    --tc-header-height: 68px;
    --tc-mobile-nav-height: 68px;
    --tc-shell-max: 1480px;
    --tc-feed-max: 720px;
    --tc-left-width: 272px;
    --tc-right-width: 328px;
    --tc-column-gap: 22px;
    --tc-content-padding: clamp(14px, 2.3vw, 30px);

    --tc-transition-fast: 120ms ease;
    --tc-transition: 190ms ease;
    --tc-transition-slow: 320ms cubic-bezier(0.22, 1, 0.36, 1);
    --tc-ring: 0 0 0 3px rgba(20, 168, 157, 0.24);
    --tc-ring-strong: 0 0 0 4px rgba(20, 168, 157, 0.3);
}

/* Explicit theme classes can override the operating-system preference. */
html[data-theme="dark"],
body[data-theme="dark"],
.towncircle-app[data-theme="dark"] {
    --tc-page-bg: #09141d;
    --tc-page-bg-deep: #071018;
    --tc-surface: #11212d;
    --tc-surface-raised: #142632;
    --tc-surface-muted: #0e1c26;
    --tc-surface-soft: #162a36;
    --tc-surface-hover: #19333f;
    --tc-text: #e5eef3;
    --tc-text-strong: #f8fbfd;
    --tc-text-muted: #a8bac5;
    --tc-text-subtle: #80939f;
    --tc-border: #29404c;
    --tc-border-strong: #36515f;
    --tc-divider: #213642;
    --tc-link: #71e2d7;
    --tc-link-hover: #a4f4ec;
    --tc-focus: #4ad6ca;
    --tc-overlay: rgba(0, 0, 0, 0.78);
    --tc-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.22);
    --tc-shadow-sm: 0 3px 10px rgba(0, 0, 0, 0.22);
    --tc-shadow-md: 0 12px 30px rgba(0, 0, 0, 0.28);
    --tc-shadow-lg: 0 22px 56px rgba(0, 0, 0, 0.34);
    --tc-shadow-xl: 0 32px 90px rgba(0, 0, 0, 0.46);
}

@media (prefers-color-scheme: dark) {
    .towncircle-app:not([data-theme="light"]) {
        --tc-page-bg: #09141d;
        --tc-page-bg-deep: #071018;
        --tc-surface: #11212d;
        --tc-surface-raised: #142632;
        --tc-surface-muted: #0e1c26;
        --tc-surface-soft: #162a36;
        --tc-surface-hover: #19333f;
        --tc-text: #e5eef3;
        --tc-text-strong: #f8fbfd;
        --tc-text-muted: #a8bac5;
        --tc-text-subtle: #80939f;
        --tc-border: #29404c;
        --tc-border-strong: #36515f;
        --tc-divider: #213642;
        --tc-link: #71e2d7;
        --tc-link-hover: #a4f4ec;
        --tc-focus: #4ad6ca;
        --tc-overlay: rgba(0, 0, 0, 0.78);
        --tc-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.22);
        --tc-shadow-sm: 0 3px 10px rgba(0, 0, 0, 0.22);
        --tc-shadow-md: 0 12px 30px rgba(0, 0, 0, 0.28);
        --tc-shadow-lg: 0 22px 56px rgba(0, 0, 0, 0.34);
        --tc-shadow-xl: 0 32px 90px rgba(0, 0, 0, 0.46);
    }
}

/* ==========================================================================
   2. Module reset, base and accessibility
   ========================================================================== */

.towncircle-app,
.towncircle-app *,
.towncircle-app *::before,
.towncircle-app *::after {
    box-sizing: border-box;
}

.towncircle-app {
    min-height: 100vh;
    color: var(--tc-text);
    background:
        radial-gradient(circle at 14% -10%, rgba(20, 168, 157, 0.10), transparent 29rem),
        radial-gradient(circle at 88% 8%, rgba(249, 115, 22, 0.07), transparent 24rem),
        linear-gradient(180deg, var(--tc-page-bg) 0%, var(--tc-page-bg-deep) 100%);
    font-family: var(--tc-font-sans);
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: anywhere;
}

.towncircle-app img,
.towncircle-app video,
.towncircle-app canvas,
.towncircle-app svg {
    max-width: 100%;
}

.towncircle-app img,
.towncircle-app video {
    display: block;
}

.towncircle-app button,
.towncircle-app input,
.towncircle-app textarea,
.towncircle-app select {
    color: inherit;
    font: inherit;
}

.towncircle-app button,
.towncircle-app [role="button"] {
    -webkit-tap-highlight-color: transparent;
}

.towncircle-app button:not(:disabled),
.towncircle-app [role="button"]:not([aria-disabled="true"]),
.towncircle-app input[type="button"]:not(:disabled),
.towncircle-app input[type="submit"]:not(:disabled) {
    cursor: pointer;
}

.towncircle-app a {
    color: var(--tc-link);
    text-decoration: none;
    text-underline-offset: 0.18em;
}

.towncircle-app a:hover {
    color: var(--tc-link-hover);
    text-decoration: underline;
}

.towncircle-app :where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, figure, blockquote) {
    margin-top: 0;
}

.towncircle-app :where(h1, h2, h3, h4, h5, h6) {
    color: var(--tc-text-strong);
    font-weight: 760;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.towncircle-app :where(button, a, input, textarea, select, summary):focus-visible {
    outline: none;
    box-shadow: var(--tc-ring-strong);
}

.towncircle-app :where(input, textarea, select):focus-visible {
    border-color: var(--tc-focus);
}

.towncircle-app ::selection {
    color: var(--tc-primary-950);
    background: var(--tc-primary-200);
}

.towncircle-app [hidden],
.tc-hidden {
    display: none !important;
}

.sr-only,
.tc-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.tc-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
    transform: translateY(-180%);
    padding: 10px 15px;
    border-radius: var(--tc-radius-sm);
    color: #ffffff !important;
    background: var(--tc-primary-700);
    font-weight: 700;
    box-shadow: var(--tc-shadow-lg);
    transition: transform var(--tc-transition);
}

.tc-skip-link:focus {
    transform: translateY(0);
}

/* ==========================================================================
   3. Page shell and responsive columns
   ========================================================================== */

.tc-shell {
    width: min(100%, var(--tc-shell-max));
    margin-inline: auto;
    padding:
        clamp(14px, 2vw, 28px)
        var(--tc-content-padding)
        calc(var(--tc-mobile-nav-height) + 28px);
}

.tc-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--tc-space-5);
    margin-bottom: var(--tc-space-5);
}

.tc-page-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: var(--tc-primary-700);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.tc-page-header__title {
    margin-bottom: 6px;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.tc-page-header__description {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--tc-text-muted);
    font-size: 0.98rem;
}

.tc-page-header__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--tc-space-2);
}

.tc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--tc-column-gap);
    align-items: start;
}

.tc-layout__left,
.tc-layout__right {
    display: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.tc-layout__feed {
    min-width: 0;
    width: 100%;
    max-width: var(--tc-feed-max);
    margin-inline: auto;
}

/*
 * Desktop sidebars use the page's normal document scroll. They remain sticky
 * while their available height permits, but never create a nested scrolling
 * window. This keeps lower navigation cards reachable and removes both the
 * vertical and horizontal sidebar scrollbars.
 */
.tc-sticky-column {
    position: sticky;
    top: calc(var(--tc-header-height) + 16px);
    display: grid;
    align-self: start;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: max-content;
    max-height: none;
    gap: var(--tc-space-4);
    overflow: visible;
    overscroll-behavior: auto;
}

.tc-sticky-column > *,
.tc-layout__left > *,
.tc-layout__right > * {
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 980px) {
    .tc-shell {
        padding-bottom: 34px;
    }

    .tc-layout {
        grid-template-columns:
            minmax(210px, var(--tc-left-width))
            minmax(480px, var(--tc-feed-max));
        justify-content: center;
    }

    .tc-layout__left {
        display: block;
    }
}

@media (min-width: 1260px) {
    .tc-layout {
        grid-template-columns:
            minmax(220px, var(--tc-left-width))
            minmax(540px, var(--tc-feed-max))
            minmax(280px, var(--tc-right-width));
    }

    .tc-layout__right {
        display: block;
    }
}

/* ==========================================================================
   4. Cards and panels
   ========================================================================== */

.tc-card {
    position: relative;
    min-width: 0;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-lg);
    background: var(--tc-surface);
    box-shadow: var(--tc-shadow-sm);
}

.tc-card--raised {
    box-shadow: var(--tc-shadow-md);
}

.tc-card--interactive {
    transition:
        border-color var(--tc-transition),
        box-shadow var(--tc-transition),
        transform var(--tc-transition);
}

.tc-card--interactive:hover {
    border-color: var(--tc-border-strong);
    box-shadow: var(--tc-shadow-md);
    transform: translateY(-1px);
}

.tc-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tc-space-3);
    padding: var(--tc-space-4) var(--tc-space-4) var(--tc-space-3);
}

.tc-card__title {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: -0.012em;
}

.tc-card__subtitle {
    margin: 3px 0 0;
    color: var(--tc-text-muted);
    font-size: 0.79rem;
}

.tc-card__body {
    padding: 0 var(--tc-space-4) var(--tc-space-4);
}

.tc-card__footer {
    padding: var(--tc-space-3) var(--tc-space-4);
    border-top: 1px solid var(--tc-divider);
}

.tc-panel {
    padding: var(--tc-space-4);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-lg);
    background: var(--tc-surface);
    box-shadow: var(--tc-shadow-sm);
}

.tc-panel + .tc-panel,
.tc-card + .tc-card {
    margin-top: var(--tc-space-4);
}

.tc-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tc-space-3);
    margin-bottom: var(--tc-space-3);
}

.tc-section-heading__title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 0.94rem;
}

.tc-section-heading__link {
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 700;
}

/* ==========================================================================
   5. Header, brand and primary navigation
   ========================================================================== */

.tc-header {
    position: sticky;
    top: 0;
    z-index: 800;
    border-bottom: 1px solid color-mix(in srgb, var(--tc-border) 78%, transparent);
    background: color-mix(in srgb, var(--tc-surface) 88%, transparent);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.025);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

@supports not (background: color-mix(in srgb, white 50%, black)) {
    .tc-header {
        background: var(--tc-surface);
    }
}

.tc-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(10px, 2vw, 22px);
    width: min(100%, var(--tc-shell-max));
    min-height: var(--tc-header-height);
    margin-inline: auto;
    padding-inline: var(--tc-content-padding);
}

.tc-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--tc-text-strong) !important;
    text-decoration: none !important;
}

.tc-brand__mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 13px;
    color: #ffffff;
    background:
        linear-gradient(145deg, var(--tc-primary-500), var(--tc-primary-800));
    box-shadow:
        0 8px 20px rgba(15, 133, 125, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.tc-brand__text {
    display: none;
    min-width: 0;
}

.tc-brand__name {
    display: block;
    overflow: hidden;
    color: var(--tc-text-strong);
    font-size: 1rem;
    font-weight: 820;
    letter-spacing: -0.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-brand__community {
    display: block;
    margin-top: -1px;
    overflow: hidden;
    color: var(--tc-text-muted);
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-header-search {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin-inline: auto;
}

.tc-header-search__icon {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    color: var(--tc-text-subtle);
    pointer-events: none;
    transform: translateY(-50%);
}

.tc-header-search input {
    width: 100%;
    min-height: 42px;
    padding: 9px 42px 9px 43px;
    border: 1px solid transparent;
    border-radius: var(--tc-radius-pill);
    color: var(--tc-text);
    background: var(--tc-surface-muted);
    outline: none;
    transition:
        background var(--tc-transition),
        border-color var(--tc-transition),
        box-shadow var(--tc-transition);
}

.tc-header-search input::placeholder {
    color: var(--tc-text-subtle);
}

.tc-header-search input:hover {
    background: var(--tc-surface-soft);
}

.tc-header-search input:focus {
    border-color: var(--tc-primary-400);
    background: var(--tc-surface);
    box-shadow: var(--tc-ring);
}

.tc-header-search__clear {
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translateY(-50%);
}

.tc-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.tc-desktop-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.tc-desktop-nav__item {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 48px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: var(--tc-radius-md);
    color: var(--tc-text-muted) !important;
    text-decoration: none !important;
    transition:
        color var(--tc-transition),
        background var(--tc-transition);
}

.tc-desktop-nav__item:hover {
    color: var(--tc-primary-700) !important;
    background: var(--tc-surface-hover);
}

.tc-desktop-nav__item[aria-current="page"],
.tc-desktop-nav__item.is-active {
    color: var(--tc-primary-700) !important;
    background: var(--tc-primary-50);
}

.tc-desktop-nav__item[aria-current="page"]::after,
.tc-desktop-nav__item.is-active::after {
    position: absolute;
    right: 11px;
    bottom: -13px;
    left: 11px;
    height: 3px;
    border-radius: var(--tc-radius-pill) var(--tc-radius-pill) 0 0;
    background: var(--tc-primary-600);
    content: "";
}

.tc-nav-badge,
.tc-notification-badge {
    position: absolute;
    top: 1px;
    right: 1px;
    display: grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding-inline: 4px;
    border: 2px solid var(--tc-surface);
    border-radius: var(--tc-radius-pill);
    color: #ffffff;
    background: var(--tc-red-600);
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
}

@media (min-width: 580px) {
    .tc-brand__text {
        display: block;
    }
}

@media (min-width: 900px) {
    .tc-header__inner {
        grid-template-columns: auto minmax(360px, 580px) auto;
    }

    .tc-desktop-nav {
        display: flex;
    }
}

/* ==========================================================================
   6. Buttons, icon buttons and badges
   ========================================================================== */

.tc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 17px;
    border: 1px solid transparent;
    border-radius: var(--tc-radius-md);
    font-weight: 760;
    line-height: 1.1;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    transition:
        color var(--tc-transition),
        background var(--tc-transition),
        border-color var(--tc-transition),
        box-shadow var(--tc-transition),
        transform var(--tc-transition-fast);
}

.tc-button:active:not(:disabled) {
    transform: translateY(1px);
}

.tc-button:disabled,
.tc-button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.55;
}

.tc-button--primary {
    color: #ffffff !important;
    background: var(--tc-primary-700);
    box-shadow: 0 7px 17px rgba(15, 107, 102, 0.19);
}

.tc-button--primary:hover:not(:disabled) {
    color: #ffffff !important;
    background: var(--tc-primary-800);
    box-shadow: 0 9px 22px rgba(15, 107, 102, 0.25);
}

.tc-button--accent {
    color: #ffffff !important;
    background: var(--tc-accent-600);
}

.tc-button--accent:hover:not(:disabled) {
    color: #ffffff !important;
    background: var(--tc-accent-700);
}

.tc-button--secondary {
    color: var(--tc-primary-800) !important;
    border-color: var(--tc-primary-200);
    background: var(--tc-primary-50);
}

.tc-button--secondary:hover:not(:disabled) {
    border-color: var(--tc-primary-300);
    background: var(--tc-primary-100);
}

.tc-button--neutral {
    color: var(--tc-text) !important;
    border-color: var(--tc-border);
    background: var(--tc-surface);
}

.tc-button--neutral:hover:not(:disabled) {
    border-color: var(--tc-border-strong);
    background: var(--tc-surface-muted);
}

.tc-button--ghost {
    color: var(--tc-text-muted) !important;
    background: transparent;
}

.tc-button--ghost:hover:not(:disabled) {
    color: var(--tc-text-strong) !important;
    background: var(--tc-surface-muted);
}

.tc-button--danger {
    color: #ffffff !important;
    background: var(--tc-red-600);
}

.tc-button--danger:hover:not(:disabled) {
    background: var(--tc-red-700);
}

.tc-button--small {
    min-height: 36px;
    padding: 7px 12px;
    border-radius: var(--tc-radius-sm);
    font-size: 0.82rem;
}

.tc-button--large {
    min-height: 50px;
    padding: 12px 21px;
    border-radius: var(--tc-radius-lg);
    font-size: 1rem;
}

.tc-button--block {
    width: 100%;
}

.tc-icon-button {
    position: relative;
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 9px;
    border: 0;
    border-radius: var(--tc-radius-pill);
    color: var(--tc-text-muted);
    background: transparent;
    line-height: 1;
    transition:
        color var(--tc-transition),
        background var(--tc-transition),
        transform var(--tc-transition-fast);
}

.tc-icon-button:hover {
    color: var(--tc-text-strong);
    background: var(--tc-surface-muted);
}

.tc-icon-button:active {
    transform: scale(0.96);
}

.tc-icon-button__text {
    margin-left: 3px;
    font-size: 0.84rem;
    font-weight: 700;
}

.tc-icon {
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: -0.15em;
}

.tc-icon--spin {
    animation: tc-spin 0.9s linear infinite;
}

.tc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 3px 8px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-pill);
    color: var(--tc-text-muted);
    background: var(--tc-surface-muted);
    font-size: 0.68rem;
    font-weight: 780;
    line-height: 1;
    white-space: nowrap;
}

.tc-badge--primary {
    color: var(--tc-primary-800);
    border-color: var(--tc-primary-200);
    background: var(--tc-primary-50);
}

.tc-badge--success {
    color: var(--tc-green-700);
    border-color: var(--tc-green-100);
    background: var(--tc-green-50);
}

.tc-badge--warning {
    color: var(--tc-yellow-700);
    border-color: var(--tc-yellow-100);
    background: var(--tc-yellow-50);
}

.tc-badge--danger {
    color: var(--tc-red-700);
    border-color: var(--tc-red-100);
    background: var(--tc-red-50);
}

.tc-badge--accent {
    color: var(--tc-accent-800);
    border-color: var(--tc-accent-200);
    background: var(--tc-accent-50);
}

.tc-badge--purple {
    color: var(--tc-purple-700);
    border-color: var(--tc-purple-100);
    background: var(--tc-purple-50);
}

/* ==========================================================================
   7. Avatars and identity
   ========================================================================== */

.tc-avatar {
    position: relative;
    display: inline-grid;
    width: var(--tc-avatar-size, 48px);
    height: var(--tc-avatar-size, 48px);
    flex: 0 0 var(--tc-avatar-size, 48px);
    place-items: center;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--tc-border) 84%, transparent);
    border-radius: 50%;
    color: #ffffff;
    background:
        linear-gradient(145deg, var(--tc-primary-500), var(--tc-primary-800));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    font-size: calc(var(--tc-avatar-size, 48px) * 0.34);
    font-weight: 820;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.tc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tc-avatar__fallback {
    line-height: 1;
}

.tc-avatar-link {
    display: inline-flex;
    border-radius: 50%;
    text-decoration: none !important;
}

.tc-avatar-link:hover .tc-avatar {
    box-shadow:
        0 0 0 3px var(--tc-surface),
        0 0 0 5px var(--tc-primary-300);
}

.tc-avatar--online::after,
.tc-identity--online .tc-avatar::after {
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 23%;
    height: 23%;
    min-width: 9px;
    min-height: 9px;
    border: 2px solid var(--tc-surface);
    border-radius: 50%;
    background: var(--tc-green-500);
    content: "";
}

.tc-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.tc-identity__body {
    min-width: 0;
    flex: 1 1 auto;
}

.tc-identity__name-row {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
}

.tc-identity__name {
    overflow: hidden;
    color: var(--tc-text-strong) !important;
    font-weight: 780;
    line-height: 1.25;
    text-decoration: none !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-identity__name:hover {
    text-decoration: underline !important;
}

.tc-identity__meta {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    color: var(--tc-text-muted);
    font-size: 0.76rem;
}

.tc-identity__meta > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-verified-mark {
    display: inline-grid;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--tc-blue-600);
}

/* ==========================================================================
   8. Side navigation and sidebar lists
   ========================================================================== */

.tc-side-nav {
    display: grid;
    gap: 3px;
}

.tc-side-nav__item {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    border-radius: var(--tc-radius-md);
    color: var(--tc-text) !important;
    font-size: 0.88rem;
    font-weight: 690;
    text-decoration: none !important;
    transition:
        color var(--tc-transition),
        background var(--tc-transition);
}

.tc-side-nav__item:hover {
    background: var(--tc-surface-hover);
}

.tc-side-nav__item[aria-current="page"],
.tc-side-nav__item.is-active {
    color: var(--tc-primary-800) !important;
    background: var(--tc-primary-50);
}

.tc-side-nav__icon {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    place-items: center;
    border-radius: 10px;
    color: var(--tc-primary-700);
    background: var(--tc-primary-50);
}

.tc-side-nav__label {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-side-nav__count {
    min-width: 22px;
    padding: 2px 6px;
    border-radius: var(--tc-radius-pill);
    color: var(--tc-text-muted);
    background: var(--tc-surface-muted);
    font-size: 0.68rem;
    font-weight: 800;
    text-align: center;
}

.tc-list {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tc-list__item {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 9px 8px;
    border-radius: var(--tc-radius-md);
}

.tc-list__item:hover {
    background: var(--tc-surface-muted);
}

.tc-list__body {
    min-width: 0;
    flex: 1 1 auto;
}

.tc-list__title {
    display: block;
    overflow: hidden;
    color: var(--tc-text-strong);
    font-size: 0.82rem;
    font-weight: 720;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-list__meta {
    display: block;
    margin-top: 1px;
    overflow: hidden;
    color: var(--tc-text-muted);
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   9. Feed tabs and filter controls
   ========================================================================== */

.tc-feed-tabs-wrap {
    position: sticky;
    top: calc(var(--tc-header-height) + 8px);
    z-index: 40;
    margin-bottom: var(--tc-space-4);
}

.tc-feed-tabs {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding: 6px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-lg);
    background: color-mix(in srgb, var(--tc-surface) 92%, transparent);
    box-shadow: var(--tc-shadow-sm);
    scrollbar-width: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.tc-feed-tabs::-webkit-scrollbar {
    display: none;
}

.tc-feed-tab {
    display: inline-flex;
    min-width: max-content;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--tc-radius-md);
    color: var(--tc-text-muted);
    background: transparent;
    font-size: 0.79rem;
    font-weight: 760;
    text-decoration: none !important;
    transition:
        color var(--tc-transition),
        background var(--tc-transition),
        box-shadow var(--tc-transition);
}

.tc-feed-tab:hover {
    color: var(--tc-text-strong);
    background: var(--tc-surface-muted);
}

.tc-feed-tab[aria-current="page"],
.tc-feed-tab.is-active {
    color: var(--tc-primary-800);
    background: var(--tc-primary-50);
    box-shadow: inset 0 0 0 1px var(--tc-primary-100);
}

.tc-feed-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tc-space-3);
    margin-bottom: var(--tc-space-3);
}

.tc-feed-toolbar__summary {
    color: var(--tc-text-muted);
    font-size: 0.77rem;
}

.tc-feed-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tc-filter-chip {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-pill);
    color: var(--tc-text-muted);
    background: var(--tc-surface);
    font-size: 0.73rem;
    font-weight: 700;
    transition:
        color var(--tc-transition),
        border-color var(--tc-transition),
        background var(--tc-transition);
}

.tc-filter-chip:hover,
.tc-filter-chip.is-active {
    color: var(--tc-primary-800);
    border-color: var(--tc-primary-200);
    background: var(--tc-primary-50);
}

/* ==========================================================================
   10. Composer
   ========================================================================== */

.tc-composer {
    margin-bottom: var(--tc-space-4);
    overflow: visible;
}

.tc-composer__primary {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: var(--tc-space-4);
}

.tc-composer__body {
    min-width: 0;
    flex: 1 1 auto;
}

.tc-composer__prompt {
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;
    border: 1px solid var(--tc-border);
    border-radius: 19px;
    color: var(--tc-text-muted);
    background: var(--tc-surface-muted);
    text-align: left;
    transition:
        color var(--tc-transition),
        background var(--tc-transition),
        border-color var(--tc-transition);
}

.tc-composer__prompt:hover {
    color: var(--tc-text);
    border-color: var(--tc-border-strong);
    background: var(--tc-surface-soft);
}

.tc-composer__editor {
    width: 100%;
    min-height: 108px;
    max-height: 42vh;
    resize: vertical;
    padding: 11px 2px;
    border: 0;
    color: var(--tc-text);
    background: transparent;
    font-size: 1rem;
    line-height: 1.55;
    outline: 0;
}

.tc-composer__editor::placeholder {
    color: var(--tc-text-subtle);
}

.tc-composer__identity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--tc-space-3);
}

.tc-composer__identity-select,
.tc-composer__audience-select {
    min-height: 34px;
    max-width: 100%;
    padding: 6px 28px 6px 10px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-pill);
    color: var(--tc-text);
    background-color: var(--tc-surface);
    font-size: 0.74rem;
    font-weight: 730;
}

.tc-composer__divider {
    height: 1px;
    margin-inline: var(--tc-space-4);
    background: var(--tc-divider);
}

.tc-composer__tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 8px;
}

.tc-composer-tool {
    display: flex;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px;
    border: 0;
    border-radius: var(--tc-radius-md);
    color: var(--tc-text-muted);
    background: transparent;
    font-size: 0.74rem;
    font-weight: 720;
    transition:
        color var(--tc-transition),
        background var(--tc-transition);
}

.tc-composer-tool:hover {
    color: var(--tc-text-strong);
    background: var(--tc-surface-muted);
}

.tc-composer-tool--photo .tc-icon {
    color: var(--tc-green-600);
}

.tc-composer-tool--video .tc-icon {
    color: var(--tc-red-600);
}

.tc-composer-tool--poll .tc-icon {
    color: var(--tc-purple-500);
}

.tc-composer-tool--help .tc-icon {
    color: var(--tc-accent-600);
}

.tc-composer__expanded-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: var(--tc-space-3) var(--tc-space-4);
    border-top: 1px solid var(--tc-divider);
}

.tc-composer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tc-space-3);
    padding: var(--tc-space-3) var(--tc-space-4) var(--tc-space-4);
}

.tc-composer__footer-left,
.tc-composer__footer-right {
    display: flex;
    align-items: center;
    gap: 7px;
}

.tc-composer__counter {
    color: var(--tc-text-muted);
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
}

.tc-composer__counter.is-near-limit {
    color: var(--tc-yellow-700);
    font-weight: 700;
}

.tc-composer__counter.is-over-limit {
    color: var(--tc-red-600);
    font-weight: 800;
}

.tc-composer-attachments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 var(--tc-space-4) var(--tc-space-3);
}

.tc-composer-attachment {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-md);
    background: var(--tc-surface-muted);
    aspect-ratio: 1 / 0.72;
}

.tc-composer-attachment img,
.tc-composer-attachment video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tc-composer-attachment__remove {
    position: absolute;
    top: 7px;
    right: 7px;
    color: #ffffff;
    background: rgba(10, 20, 28, 0.72);
}

.tc-composer-dropzone {
    display: grid;
    min-height: 136px;
    place-items: center;
    margin: 0 var(--tc-space-4) var(--tc-space-3);
    padding: var(--tc-space-4);
    border: 2px dashed var(--tc-border-strong);
    border-radius: var(--tc-radius-lg);
    color: var(--tc-text-muted);
    background: var(--tc-surface-muted);
    text-align: center;
    transition:
        color var(--tc-transition),
        border-color var(--tc-transition),
        background var(--tc-transition);
}

.tc-composer-dropzone.is-dragover {
    color: var(--tc-primary-800);
    border-color: var(--tc-primary-400);
    background: var(--tc-primary-50);
}

.tc-composer-dropzone__title {
    margin: 7px 0 3px;
    color: var(--tc-text-strong);
    font-weight: 760;
}

.tc-composer-dropzone__help {
    margin: 0;
    font-size: 0.76rem;
}

@media (min-width: 560px) {
    .tc-composer__tools {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .tc-composer__expanded-tools {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tc-composer-attachments {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ==========================================================================
   11. Post cards
   ========================================================================== */

.tc-feed {
    display: grid;
    gap: var(--tc-space-4);
}

.tc-post {
    overflow: visible;
}

.tc-post.is-highlighted {
    border-color: var(--tc-primary-300);
    box-shadow:
        0 0 0 3px rgba(20, 168, 157, 0.10),
        var(--tc-shadow-md);
}

.tc-post__header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: var(--tc-space-4) var(--tc-space-4) var(--tc-space-3);
}

.tc-post__identity {
    min-width: 0;
    flex: 1 1 auto;
}

.tc-post__author-row {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.tc-post__author {
    overflow: hidden;
    color: var(--tc-text-strong) !important;
    font-size: 0.91rem;
    font-weight: 800;
    text-decoration: none !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-post__author:hover {
    text-decoration: underline !important;
}

.tc-post__context {
    color: var(--tc-text-muted);
    font-size: 0.77rem;
}

.tc-post__meta {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    color: var(--tc-text-muted);
    font-size: 0.73rem;
}

.tc-post__meta-link {
    color: inherit !important;
    text-decoration: none !important;
}

.tc-post__meta-link:hover {
    text-decoration: underline !important;
}

.tc-post__menu {
    flex: 0 0 auto;
    margin: -6px -7px 0 0;
}

.tc-post__type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 var(--tc-space-4) var(--tc-space-2);
    color: var(--tc-primary-700);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tc-post__content {
    padding: 0 var(--tc-space-4) var(--tc-space-3);
    color: var(--tc-text);
    font-size: 0.96rem;
    line-height: 1.58;
}

.tc-post__content > :last-child {
    margin-bottom: 0;
}

.tc-post__content a {
    font-weight: 650;
}

.tc-post__content--large {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    line-height: 1.48;
}

.tc-post__title {
    margin-bottom: 7px;
    font-size: 1.08rem;
}

.tc-post__read-more {
    display: inline;
    padding: 0;
    border: 0;
    color: var(--tc-link);
    background: none;
    font-weight: 740;
}

.tc-post__read-more:hover {
    color: var(--tc-link-hover);
    text-decoration: underline;
}

.tc-post__shared {
    margin: 0 var(--tc-space-4) var(--tc-space-3);
    overflow: hidden;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-md);
    background: var(--tc-surface-muted);
}

.tc-post__shared-header {
    padding: var(--tc-space-3);
}

.tc-post__shared-content {
    padding: 0 var(--tc-space-3) var(--tc-space-3);
    color: var(--tc-text-muted);
    font-size: 0.84rem;
}

.tc-post__location,
.tc-post__feeling {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: var(--tc-space-2);
    color: var(--tc-text-muted);
    font-size: 0.78rem;
}

.tc-post__link-preview {
    display: grid;
    overflow: hidden;
    margin: 0 var(--tc-space-4) var(--tc-space-3);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-md);
    color: inherit !important;
    background: var(--tc-surface-muted);
    text-decoration: none !important;
}

.tc-post__link-preview:hover {
    border-color: var(--tc-border-strong);
    box-shadow: var(--tc-shadow-sm);
}

.tc-post__link-image {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    background: var(--tc-slate-100);
}

.tc-post__link-body {
    padding: var(--tc-space-3);
}

.tc-post__link-domain {
    color: var(--tc-text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tc-post__link-title {
    margin: 3px 0 2px;
    font-size: 0.91rem;
}

.tc-post__link-description {
    margin: 0;
    color: var(--tc-text-muted);
    font-size: 0.78rem;
}

.tc-post__moderation-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 var(--tc-space-4) var(--tc-space-3);
    padding: 10px 12px;
    border: 1px solid var(--tc-yellow-100);
    border-radius: var(--tc-radius-md);
    color: var(--tc-yellow-700);
    background: var(--tc-yellow-50);
    font-size: 0.78rem;
}

.tc-post__deleted {
    padding: var(--tc-space-7) var(--tc-space-4);
    color: var(--tc-text-muted);
    text-align: center;
}

/* ==========================================================================
   12. Post media and galleries
   ========================================================================== */

.tc-media-grid {
    display: grid;
    gap: 3px;
    overflow: hidden;
    margin: 0 0 var(--tc-space-2);
    background: var(--tc-slate-100);
}

.tc-media-grid[data-count="1"] {
    grid-template-columns: 1fr;
}

.tc-media-grid[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tc-media-grid[data-count="3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(150px, 1fr));
}

.tc-media-grid[data-count="3"] .tc-media-item:first-child {
    grid-row: 1 / 3;
}

.tc-media-grid[data-count="4"],
.tc-media-grid[data-count="5"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(150px, 1fr));
}

.tc-media-item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--tc-slate-150);
    aspect-ratio: 4 / 3;
}

.tc-media-grid[data-count="1"] .tc-media-item {
    aspect-ratio: auto;
    max-height: 680px;
}

.tc-media-grid[data-count="1"] .tc-media-item img {
    max-height: 680px;
    object-fit: contain;
    background: #08131b;
}

.tc-media-item img,
.tc-media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tc-media-item__button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
}

.tc-media-item__button:hover img {
    transform: scale(1.012);
}

.tc-media-item img {
    transition: transform var(--tc-transition-slow);
}

.tc-media-item__more {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(7, 16, 24, 0.57);
    font-size: clamp(1.5rem, 8vw, 2.7rem);
    font-weight: 800;
    pointer-events: none;
}

.tc-media-item__alt-indicator,
.tc-media-item__type-indicator {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 7px;
    border-radius: var(--tc-radius-pill);
    color: #ffffff;
    background: rgba(7, 16, 24, 0.7);
    font-size: 0.65rem;
    font-weight: 760;
    pointer-events: none;
    backdrop-filter: blur(7px);
}

.tc-media-item__alt-indicator {
    right: 7px;
    bottom: 7px;
}

.tc-media-item__type-indicator {
    top: 7px;
    left: 7px;
}

.tc-video {
    position: relative;
    overflow: hidden;
    background: #050a0e;
}

.tc-video video {
    width: 100%;
    max-height: 720px;
    object-fit: contain;
}

.tc-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(9, 20, 29, 0.76);
    box-shadow: var(--tc-shadow-lg);
    transform: translate(-50%, -50%);
    backdrop-filter: blur(8px);
}

.tc-video__duration {
    position: absolute;
    right: 9px;
    bottom: 9px;
    padding: 4px 7px;
    border-radius: 6px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.76);
    font-size: 0.68rem;
    font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   13. Polls, help requests and action posts
   ========================================================================== */

.tc-poll {
    display: grid;
    gap: 8px;
    padding: 0 var(--tc-space-4) var(--tc-space-3);
}

.tc-poll__question {
    margin: 0 0 3px;
    font-size: 0.94rem;
}

.tc-poll-option {
    position: relative;
    display: flex;
    min-height: 46px;
    align-items: center;
    overflow: hidden;
    padding: 10px 12px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-md);
    color: var(--tc-text);
    background: var(--tc-surface);
    text-align: left;
    isolation: isolate;
}

.tc-poll-option:hover:not(:disabled) {
    border-color: var(--tc-primary-300);
}

.tc-poll-option__progress {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: -1;
    width: var(--tc-poll-percent, 0%);
    background: var(--tc-primary-50);
    transition: width var(--tc-transition-slow);
}

.tc-poll-option.is-selected {
    border-color: var(--tc-primary-400);
}

.tc-poll-option.is-selected .tc-poll-option__progress {
    background: var(--tc-primary-100);
}

.tc-poll-option__label {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 0.84rem;
    font-weight: 700;
}

.tc-poll-option__count {
    margin-left: 9px;
    color: var(--tc-text-muted);
    font-size: 0.73rem;
    font-weight: 760;
}

.tc-poll__meta {
    display: flex;
    justify-content: space-between;
    gap: var(--tc-space-3);
    color: var(--tc-text-muted);
    font-size: 0.72rem;
}

.tc-action-post {
    margin: 0 var(--tc-space-4) var(--tc-space-3);
    padding: var(--tc-space-4);
    border: 1px solid var(--tc-primary-100);
    border-radius: var(--tc-radius-lg);
    background:
        linear-gradient(135deg, var(--tc-primary-50), var(--tc-surface));
}

.tc-action-post--help {
    border-color: var(--tc-accent-200);
    background:
        linear-gradient(135deg, var(--tc-accent-50), var(--tc-surface));
}

.tc-action-post__header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tc-action-post__icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 13px;
    color: var(--tc-primary-800);
    background: var(--tc-primary-100);
}

.tc-action-post--help .tc-action-post__icon {
    color: var(--tc-accent-800);
    background: var(--tc-accent-100);
}

.tc-action-post__title {
    margin: 0 0 3px;
    font-size: 0.95rem;
}

.tc-action-post__description {
    margin: 0;
    color: var(--tc-text-muted);
    font-size: 0.8rem;
}

.tc-action-post__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: var(--tc-space-3);
}

/* ==========================================================================
   14. Reaction summary, picker and engagement actions
   ========================================================================== */

.tc-post__engagement-summary {
    display: flex;
    min-height: 39px;
    align-items: center;
    justify-content: space-between;
    gap: var(--tc-space-3);
    padding: 8px var(--tc-space-4);
    color: var(--tc-text-muted);
    font-size: 0.75rem;
}

.tc-reaction-summary {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
    color: var(--tc-text-muted) !important;
    text-decoration: none !important;
}

.tc-reaction-summary__icons {
    display: inline-flex;
    padding-left: 4px;
}

.tc-reaction-summary__emoji {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    margin-left: -4px;
    border: 2px solid var(--tc-surface);
    border-radius: 50%;
    background: var(--tc-surface);
    font-size: 0.71rem;
    line-height: 1;
}

.tc-engagement-counts {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tc-engagement-count {
    color: var(--tc-text-muted) !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.tc-engagement-count:hover {
    color: var(--tc-text) !important;
    text-decoration: underline !important;
}

.tc-post__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    margin-inline: var(--tc-space-4);
    padding-block: 4px;
    border-top: 1px solid var(--tc-divider);
    border-bottom: 1px solid var(--tc-divider);
}

.tc-post-action {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px;
    border: 0;
    border-radius: var(--tc-radius-sm);
    color: var(--tc-text-muted);
    background: transparent;
    font-size: 0.78rem;
    font-weight: 750;
    transition:
        color var(--tc-transition),
        background var(--tc-transition),
        transform var(--tc-transition-fast);
}

.tc-post-action:hover {
    color: var(--tc-text-strong);
    background: var(--tc-surface-muted);
}

.tc-post-action:active {
    transform: scale(0.98);
}

.tc-post-action.is-active {
    color: var(--tc-primary-700);
}

.tc-reaction-anchor {
    position: relative;
}

.tc-reaction-picker {
    position: absolute;
    left: 0;
    bottom: calc(100% + 9px);
    z-index: 120;
    display: flex;
    width: max-content;
    max-width: min(94vw, 520px);
    gap: 3px;
    padding: 7px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-pill);
    background: var(--tc-surface-raised);
    box-shadow: var(--tc-shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.96);
    transform-origin: left bottom;
    transition:
        opacity var(--tc-transition),
        visibility var(--tc-transition),
        transform var(--tc-transition-slow);
}

.tc-reaction-anchor:hover .tc-reaction-picker,
.tc-reaction-anchor:focus-within .tc-reaction-picker,
.tc-reaction-picker.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.tc-reaction-button {
    position: relative;
    display: grid;
    min-width: 42px;
    min-height: 42px;
    place-items: center;
    padding: 4px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    transition:
        background var(--tc-transition),
        transform var(--tc-transition-slow);
}

.tc-reaction-button:hover,
.tc-reaction-button:focus-visible {
    z-index: 2;
    background: var(--tc-surface-muted);
    transform: translateY(-7px) scale(1.23);
}

.tc-reaction-button__emoji {
    font-size: 1.55rem;
    line-height: 1;
    filter: drop-shadow(0 3px 4px rgba(15, 23, 42, 0.15));
}

.tc-reaction-button__label {
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    width: max-content;
    max-width: 120px;
    padding: 4px 7px;
    border-radius: 7px;
    color: #ffffff;
    background: var(--tc-slate-900);
    font-size: 0.65rem;
    font-weight: 760;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 5px);
    transition:
        opacity var(--tc-transition),
        transform var(--tc-transition);
}

.tc-reaction-button:hover .tc-reaction-button__label,
.tc-reaction-button:focus-visible .tc-reaction-button__label {
    opacity: 1;
    transform: translate(-50%, 0);
}

.tc-reaction-button__count {
    position: absolute;
    top: -4px;
    right: -4px;
    display: grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    padding-inline: 4px;
    border: 2px solid var(--tc-surface);
    border-radius: var(--tc-radius-pill);
    color: #ffffff;
    background: var(--tc-primary-700);
    font-size: 0.59rem;
    font-weight: 800;
}

.tc-reaction-button.is-active {
    background: var(--tc-primary-50);
}

.tc-reaction-button.is-bursting {
    animation: tc-reaction-pop 480ms cubic-bezier(0.17, 0.89, 0.32, 1.49);
}

/* ==========================================================================
   15. Comments and replies
   ========================================================================== */

.tc-comments {
    padding: var(--tc-space-3) var(--tc-space-4) var(--tc-space-4);
}

.tc-comments__sort {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--tc-space-2);
}

.tc-comments__sort select {
    min-height: 32px;
    padding: 5px 26px 5px 8px;
    border: 0;
    border-radius: var(--tc-radius-sm);
    color: var(--tc-text-muted);
    background: var(--tc-surface-muted);
    font-size: 0.7rem;
    font-weight: 730;
}

.tc-comment-form {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.tc-comment-form__body {
    position: relative;
    min-width: 0;
    flex: 1 1 auto;
}

.tc-comment-form textarea {
    width: 100%;
    min-height: 42px;
    max-height: 180px;
    resize: none;
    padding: 10px 42px 10px 13px;
    border: 1px solid var(--tc-border);
    border-radius: 18px;
    color: var(--tc-text);
    background: var(--tc-surface-muted);
    line-height: 1.42;
    outline: none;
}

.tc-comment-form textarea:focus {
    border-color: var(--tc-primary-300);
    background: var(--tc-surface);
}

.tc-comment-form__submit {
    position: absolute;
    right: 4px;
    bottom: 3px;
    min-width: 35px;
    min-height: 35px;
}

.tc-comment-list {
    display: grid;
    gap: var(--tc-space-3);
    margin: var(--tc-space-3) 0 0;
    padding: 0;
    list-style: none;
}

.tc-comment {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 8px;
}

.tc-comment__main {
    min-width: 0;
    flex: 1 1 auto;
}

.tc-comment__bubble {
    display: inline-block;
    max-width: 100%;
    padding: 9px 12px;
    border-radius: 5px 17px 17px 17px;
    background: var(--tc-surface-muted);
}

.tc-comment__author {
    color: var(--tc-text-strong) !important;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none !important;
}

.tc-comment__text {
    margin: 2px 0 0;
    color: var(--tc-text);
    font-size: 0.83rem;
    line-height: 1.46;
}

.tc-comment__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 4px 0 0 10px;
    color: var(--tc-text-muted);
    font-size: 0.68rem;
}

.tc-comment__action {
    padding: 0;
    border: 0;
    color: var(--tc-text-muted);
    background: transparent;
    font-weight: 740;
}

.tc-comment__action:hover {
    color: var(--tc-link);
    text-decoration: underline;
}

.tc-comment__reactions {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-pill);
    background: var(--tc-surface);
    box-shadow: var(--tc-shadow-xs);
}

.tc-comment__replies {
    display: grid;
    gap: var(--tc-space-3);
    margin: var(--tc-space-3) 0 0 14px;
    padding-left: 12px;
    border-left: 2px solid var(--tc-divider);
}

.tc-comment.is-highlighted .tc-comment__bubble {
    box-shadow: 0 0 0 3px rgba(20, 168, 157, 0.13);
}

.tc-comments__load-more {
    display: flex;
    justify-content: center;
    margin-top: var(--tc-space-3);
}

/* ==========================================================================
   16. Profile, page and group headers
   ========================================================================== */

.tc-profile-header {
    overflow: hidden;
    margin-bottom: var(--tc-space-4);
}

.tc-profile-cover {
    position: relative;
    min-height: clamp(180px, 31vw, 360px);
    overflow: hidden;
    background:
        linear-gradient(135deg, var(--tc-primary-700), var(--tc-primary-400));
}

.tc-profile-cover img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.tc-profile-cover::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(to bottom, transparent, rgba(8, 18, 26, 0.42));
    content: "";
    pointer-events: none;
}

.tc-profile-cover__action {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
}

.tc-profile-summary {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-3);
    padding: 0 var(--tc-space-4) var(--tc-space-4);
}

.tc-profile-summary__avatar {
    margin-top: -54px;
    z-index: 2;
}

.tc-profile-summary__avatar .tc-avatar {
    border: 5px solid var(--tc-surface);
    box-shadow: var(--tc-shadow-md);
}

.tc-profile-summary__main {
    min-width: 0;
}

.tc-profile-summary__name {
    margin: 0 0 2px;
    font-size: clamp(1.45rem, 4vw, 2rem);
}

.tc-profile-summary__handle {
    color: var(--tc-text-muted);
    font-size: 0.87rem;
}

.tc-profile-summary__bio {
    max-width: 700px;
    margin: var(--tc-space-2) 0 0;
    color: var(--tc-text-muted);
    font-size: 0.9rem;
}

.tc-profile-summary__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tc-profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-top: var(--tc-space-3);
    border-top: 1px solid var(--tc-divider);
}

.tc-profile-stat {
    color: var(--tc-text-muted) !important;
    font-size: 0.78rem;
    text-decoration: none !important;
}

.tc-profile-stat strong {
    color: var(--tc-text-strong);
    font-weight: 820;
}

.tc-profile-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 6px var(--tc-space-4);
    border-top: 1px solid var(--tc-divider);
    scrollbar-width: none;
}

.tc-profile-tabs::-webkit-scrollbar {
    display: none;
}

.tc-profile-tab {
    min-width: max-content;
    padding: 9px 13px;
    border-radius: var(--tc-radius-sm);
    color: var(--tc-text-muted) !important;
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none !important;
}

.tc-profile-tab:hover {
    background: var(--tc-surface-muted);
}

.tc-profile-tab[aria-current="page"],
.tc-profile-tab.is-active {
    color: var(--tc-primary-800) !important;
    background: var(--tc-primary-50);
}

.tc-group-cover {
    position: relative;
}

.tc-group-privacy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--tc-text-muted);
    font-size: 0.76rem;
}

.tc-group-member-stack {
    display: inline-flex;
    padding-left: 8px;
}

.tc-group-member-stack .tc-avatar {
    margin-left: -8px;
    border: 2px solid var(--tc-surface);
}

@media (min-width: 700px) {
    .tc-profile-summary {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: end;
    }

    .tc-profile-summary__avatar {
        margin-top: -66px;
    }

    .tc-profile-summary__actions {
        justify-content: flex-end;
        align-self: center;
    }

    .tc-profile-stats {
        grid-column: 2 / 4;
    }
}

/* ==========================================================================
   17. Forms and settings
   ========================================================================== */

.tc-form {
    display: grid;
    gap: var(--tc-space-4);
}

.tc-form-row {
    display: grid;
    gap: var(--tc-space-4);
}

.tc-field {
    display: grid;
    gap: 6px;
}

.tc-field__label {
    color: var(--tc-text-strong);
    font-size: 0.8rem;
    font-weight: 760;
}

.tc-field__hint {
    color: var(--tc-text-muted);
    font-size: 0.71rem;
}

.tc-field__error {
    color: var(--tc-red-600);
    font-size: 0.72rem;
    font-weight: 700;
}

.tc-input,
.tc-select,
.tc-textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-md);
    color: var(--tc-text);
    background: var(--tc-surface);
    outline: none;
    transition:
        border-color var(--tc-transition),
        box-shadow var(--tc-transition),
        background var(--tc-transition);
}

.tc-textarea {
    min-height: 116px;
    resize: vertical;
}

.tc-input::placeholder,
.tc-textarea::placeholder {
    color: var(--tc-text-subtle);
}

.tc-input:hover,
.tc-select:hover,
.tc-textarea:hover {
    border-color: var(--tc-border-strong);
}

.tc-input:focus,
.tc-select:focus,
.tc-textarea:focus {
    border-color: var(--tc-primary-400);
    box-shadow: var(--tc-ring);
}

.tc-field.is-invalid .tc-input,
.tc-field.is-invalid .tc-select,
.tc-field.is-invalid .tc-textarea {
    border-color: var(--tc-red-500);
}

.tc-input-group {
    position: relative;
}

.tc-input-group .tc-input {
    padding-left: 42px;
}

.tc-input-group__icon {
    position: absolute;
    top: 50%;
    left: 13px;
    color: var(--tc-text-subtle);
    pointer-events: none;
    transform: translateY(-50%);
}

.tc-checkbox,
.tc-radio {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--tc-text);
    font-size: 0.82rem;
}

.tc-checkbox input,
.tc-radio input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 1px;
    accent-color: var(--tc-primary-700);
}

.tc-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.tc-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tc-switch__track {
    position: relative;
    width: 44px;
    height: 25px;
    flex: 0 0 44px;
    border: 1px solid var(--tc-border-strong);
    border-radius: var(--tc-radius-pill);
    background: var(--tc-slate-300);
    transition:
        background var(--tc-transition),
        border-color var(--tc-transition);
}

.tc-switch__track::after {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: var(--tc-shadow-sm);
    content: "";
    transition: transform var(--tc-transition);
}

.tc-switch input:checked + .tc-switch__track {
    border-color: var(--tc-primary-700);
    background: var(--tc-primary-700);
}

.tc-switch input:checked + .tc-switch__track::after {
    transform: translateX(19px);
}

.tc-switch input:focus-visible + .tc-switch__track {
    box-shadow: var(--tc-ring-strong);
}

.tc-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    padding-top: var(--tc-space-3);
    border-top: 1px solid var(--tc-divider);
}

@media (min-width: 680px) {
    .tc-form-row--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tc-form-row--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ==========================================================================
   18. Notices, flash messages, empty states and loading
   ========================================================================== */

.tc-flash-stack {
    position: fixed;
    top: calc(var(--tc-header-height) + 14px);
    right: clamp(10px, 2vw, 24px);
    z-index: 1500;
    display: grid;
    width: min(92vw, 430px);
    gap: 9px;
}

.tc-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 13px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-md);
    color: var(--tc-text);
    background: var(--tc-surface-raised);
    box-shadow: var(--tc-shadow-lg);
}

.tc-notice--success {
    border-color: var(--tc-green-100);
    background: var(--tc-green-50);
}

.tc-notice--warning {
    border-color: var(--tc-yellow-100);
    background: var(--tc-yellow-50);
}

.tc-notice--error {
    border-color: var(--tc-red-100);
    background: var(--tc-red-50);
}

.tc-notice--info {
    border-color: var(--tc-blue-100);
    background: var(--tc-blue-50);
}

.tc-notice__icon {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 10px;
    color: var(--tc-primary-700);
    background: rgba(255, 255, 255, 0.62);
}

.tc-notice--success .tc-notice__icon {
    color: var(--tc-green-700);
}

.tc-notice--warning .tc-notice__icon {
    color: var(--tc-yellow-700);
}

.tc-notice--error .tc-notice__icon {
    color: var(--tc-red-700);
}

.tc-notice--info .tc-notice__icon {
    color: var(--tc-blue-700);
}

.tc-notice__content {
    min-width: 0;
    flex: 1 1 auto;
}

.tc-notice__title {
    display: block;
    margin-bottom: 2px;
    color: var(--tc-text-strong);
    font-size: 0.82rem;
}

.tc-notice__message {
    color: var(--tc-text);
    font-size: 0.77rem;
}

.tc-notice__dismiss {
    flex: 0 0 auto;
    min-width: 34px;
    min-height: 34px;
    margin: -4px -5px 0 0;
}

.tc-empty-state {
    display: grid;
    min-height: 260px;
    place-items: center;
    align-content: center;
    padding: var(--tc-space-10) var(--tc-space-5);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-lg);
    background: var(--tc-surface);
    text-align: center;
    box-shadow: var(--tc-shadow-sm);
}

.tc-empty-state__icon {
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    margin-bottom: var(--tc-space-3);
    border-radius: 22px;
    color: var(--tc-primary-700);
    background: var(--tc-primary-50);
}

.tc-empty-state__title {
    margin: 0 0 7px;
    font-size: 1.18rem;
}

.tc-empty-state__message {
    max-width: 480px;
    margin: 0;
    color: var(--tc-text-muted);
    font-size: 0.87rem;
}

.tc-empty-state__actions {
    margin-top: var(--tc-space-4);
}

.tc-loading {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--tc-text-muted);
    font-size: 0.8rem;
}

.tc-load-sentinel {
    display: grid;
    min-height: 80px;
    place-items: center;
}

.tc-skeleton {
    position: relative;
    overflow: hidden;
    border-radius: var(--tc-radius-sm);
    background: var(--tc-slate-150);
}

.tc-skeleton::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.56),
            transparent
        );
    content: "";
    transform: translateX(-100%);
    animation: tc-shimmer 1.35s infinite;
}

.tc-skeleton--avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.tc-skeleton--line {
    width: 100%;
    height: 12px;
}

.tc-skeleton--line-short {
    width: 45%;
    height: 12px;
}

.tc-skeleton--media {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 0;
}

/* ==========================================================================
   19. Menus, popovers, drawers and modals
   ========================================================================== */

.tc-menu {
    position: absolute;
    z-index: 300;
    min-width: 220px;
    max-width: min(92vw, 330px);
    padding: 6px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-md);
    background: var(--tc-surface-raised);
    box-shadow: var(--tc-shadow-xl);
}

.tc-menu[hidden] {
    display: none;
}

.tc-menu__item {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 0;
    border-radius: var(--tc-radius-sm);
    color: var(--tc-text);
    background: transparent;
    font-size: 0.79rem;
    font-weight: 670;
    text-align: left;
    text-decoration: none !important;
}

.tc-menu__item:hover {
    color: var(--tc-text-strong);
    background: var(--tc-surface-muted);
}

.tc-menu__item--danger {
    color: var(--tc-red-600);
}

.tc-menu__item--danger:hover {
    color: var(--tc-red-700);
    background: var(--tc-red-50);
}

.tc-menu__divider {
    height: 1px;
    margin: 5px 3px;
    background: var(--tc-divider);
}

.tc-menu__description {
    display: block;
    margin-top: 1px;
    color: var(--tc-text-muted);
    font-size: 0.67rem;
    font-weight: 500;
}

.tc-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1800;
    display: grid;
    place-items: center;
    padding: clamp(10px, 3vw, 28px);
    background: var(--tc-overlay);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--tc-transition),
        visibility var(--tc-transition);
}

.tc-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.tc-modal {
    width: min(100%, 680px);
    max-height: min(88vh, 820px);
    overflow: hidden;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-xl);
    background: var(--tc-surface-raised);
    box-shadow: var(--tc-shadow-xl);
    transform: translateY(18px) scale(0.98);
    transition: transform var(--tc-transition-slow);
}

.tc-modal-backdrop.is-open .tc-modal {
    transform: translateY(0) scale(1);
}

.tc-modal--wide {
    width: min(100%, 980px);
}

.tc-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tc-space-3);
    padding: var(--tc-space-4) var(--tc-space-5);
    border-bottom: 1px solid var(--tc-divider);
}

.tc-modal__title {
    margin: 0;
    font-size: 1.05rem;
}

.tc-modal__body {
    max-height: calc(88vh - 138px);
    overflow-y: auto;
    padding: var(--tc-space-5);
    overscroll-behavior: contain;
}

.tc-modal__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    padding: var(--tc-space-3) var(--tc-space-5);
    border-top: 1px solid var(--tc-divider);
}

.tc-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1600;
    background: var(--tc-overlay);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--tc-transition),
        visibility var(--tc-transition);
}

.tc-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.tc-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1700;
    width: min(92vw, 420px);
    overflow-y: auto;
    border-left: 1px solid var(--tc-border);
    background: var(--tc-surface-raised);
    box-shadow: var(--tc-shadow-xl);
    transform: translateX(104%);
    transition: transform var(--tc-transition-slow);
}

.tc-drawer.is-open {
    transform: translateX(0);
}

.tc-drawer__header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tc-space-3);
    min-height: var(--tc-header-height);
    padding: 12px var(--tc-space-4);
    border-bottom: 1px solid var(--tc-divider);
    background: var(--tc-surface-raised);
}

.tc-drawer__body {
    padding: var(--tc-space-4);
}

/* ==========================================================================
   20. Media viewer
   ========================================================================== */

.tc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    color: #ffffff;
    background: rgba(2, 7, 11, 0.96);
}

.tc-lightbox__header {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: var(--tc-space-3);
    padding: 9px 12px;
}

.tc-lightbox__stage {
    display: grid;
    min-height: 0;
    place-items: center;
    overflow: hidden;
    padding: 8px;
}

.tc-lightbox__stage img,
.tc-lightbox__stage video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tc-lightbox__footer {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
}

.tc-lightbox .tc-icon-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

.tc-lightbox__previous,
.tc-lightbox__next {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
}

.tc-lightbox__previous {
    left: 12px;
}

.tc-lightbox__next {
    right: 12px;
}

/* ==========================================================================
   21. Notifications, messages and activity
   ========================================================================== */

.tc-notification-list {
    display: grid;
    gap: 4px;
}

.tc-notification {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 10px;
    padding: 11px;
    border-radius: var(--tc-radius-md);
    color: var(--tc-text) !important;
    text-decoration: none !important;
}

.tc-notification:hover {
    background: var(--tc-surface-muted);
}

.tc-notification.is-unread {
    background: var(--tc-primary-50);
}

.tc-notification__body {
    min-width: 0;
    flex: 1 1 auto;
}

.tc-notification__text {
    margin: 0;
    font-size: 0.79rem;
    line-height: 1.42;
}

.tc-notification__time {
    margin-top: 3px;
    color: var(--tc-text-muted);
    font-size: 0.68rem;
}

.tc-notification__dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-top: 12px;
    border-radius: 50%;
    background: var(--tc-primary-600);
}

.tc-message-thread {
    display: grid;
    min-height: calc(100vh - var(--tc-header-height) - 40px);
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
}

.tc-message-list {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    padding: var(--tc-space-4);
}

.tc-message {
    display: flex;
    max-width: min(78%, 540px);
    align-items: flex-end;
    gap: 7px;
}

.tc-message.is-mine {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.tc-message__bubble {
    padding: 9px 12px;
    border-radius: 17px 17px 17px 5px;
    background: var(--tc-surface-muted);
    font-size: 0.83rem;
}

.tc-message.is-mine .tc-message__bubble {
    color: #ffffff;
    background: var(--tc-primary-700);
    border-radius: 17px 17px 5px 17px;
}

.tc-message__time {
    margin-top: 3px;
    color: var(--tc-text-muted);
    font-size: 0.62rem;
}

.tc-message.is-mine .tc-message__time {
    color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   22. Tables and administration-compatible data views
   ========================================================================== */

.tc-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-lg);
    background: var(--tc-surface);
    box-shadow: var(--tc-shadow-sm);
}

.tc-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.tc-table th,
.tc-table td {
    padding: 11px 13px;
    border-bottom: 1px solid var(--tc-divider);
    text-align: left;
    vertical-align: top;
}

.tc-table th {
    color: var(--tc-text-muted);
    background: var(--tc-surface-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tc-table td {
    color: var(--tc-text);
    font-size: 0.78rem;
}

.tc-table tbody tr:hover {
    background: var(--tc-surface-muted);
}

.tc-table tbody tr:last-child td {
    border-bottom: 0;
}

/* ==========================================================================
   23. Pagination
   ========================================================================== */

.tc-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tc-space-3);
    margin-top: var(--tc-space-5);
    padding: 8px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-lg);
    background: var(--tc-surface);
    box-shadow: var(--tc-shadow-sm);
}

.tc-pagination__button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--tc-radius-md);
    color: var(--tc-text) !important;
    background: var(--tc-surface-muted);
    font-size: 0.76rem;
    font-weight: 740;
    text-decoration: none !important;
}

.tc-pagination__button:hover:not(.is-disabled) {
    color: var(--tc-primary-800) !important;
    background: var(--tc-primary-50);
}

.tc-pagination__button.is-disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.tc-pagination__status {
    color: var(--tc-text-muted);
    font-size: 0.72rem;
    text-align: center;
}

/* ==========================================================================
   24. Mobile bottom navigation and floating create action
   ========================================================================== */

.tc-mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: var(--tc-mobile-nav-height);
    padding:
        5px
        max(7px, env(safe-area-inset-right))
        calc(5px + env(safe-area-inset-bottom))
        max(7px, env(safe-area-inset-left));
    border-top: 1px solid var(--tc-border);
    background: color-mix(in srgb, var(--tc-surface) 94%, transparent);
    box-shadow: 0 -9px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.tc-mobile-nav__item {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 54px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 5px 3px;
    border-radius: var(--tc-radius-md);
    color: var(--tc-text-muted) !important;
    text-decoration: none !important;
}

.tc-mobile-nav__item[aria-current="page"],
.tc-mobile-nav__item.is-active {
    color: var(--tc-primary-700) !important;
    background: var(--tc-primary-50);
}

.tc-mobile-nav__label {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.61rem;
    font-weight: 740;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-mobile-nav__create {
    position: relative;
    top: -17px;
}

.tc-mobile-nav__create-button {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 4px solid var(--tc-surface);
    border-radius: 50%;
    color: #ffffff;
    background:
        linear-gradient(145deg, var(--tc-accent-500), var(--tc-accent-700));
    box-shadow:
        0 9px 22px rgba(234, 88, 12, 0.33),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.tc-floating-create {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: calc(var(--tc-mobile-nav-height) + 18px + env(safe-area-inset-bottom));
    z-index: 850;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: var(--tc-accent-600);
    box-shadow: 0 13px 30px rgba(234, 88, 12, 0.33);
}

@media (min-width: 900px) {
    .tc-mobile-nav,
    .tc-floating-create {
        display: none;
    }
}

/* ==========================================================================
   25. Responsive adjustments
   ========================================================================== */

@media (max-width: 679px) {
    .tc-shell {
        padding-inline: 10px;
    }

    .tc-page-header {
        flex-direction: column;
    }

    .tc-page-header__actions {
        width: 100%;
        justify-content: stretch;
    }

    .tc-page-header__actions .tc-button {
        flex: 1 1 auto;
    }

    .tc-header__inner {
        padding-inline: 10px;
    }

    .tc-brand__mark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .tc-header-search input {
        padding-right: 12px;
    }

    .tc-header-search__clear {
        display: none;
    }

    .tc-card,
    .tc-panel {
        border-radius: 16px;
    }

    .tc-post__header,
    .tc-composer__primary {
        padding-inline: 13px;
    }

    .tc-post__content,
    .tc-comments {
        padding-inline: 13px;
    }

    .tc-post__type,
    .tc-post__engagement-summary {
        margin-inline: 13px;
        padding-inline: 0;
    }

    .tc-post__actions {
        margin-inline: 13px;
    }

    .tc-post-action {
        gap: 5px;
        font-size: 0.73rem;
    }

    .tc-reaction-picker {
        position: fixed;
        right: 8px;
        bottom: calc(var(--tc-mobile-nav-height) + 12px);
        left: 8px;
        justify-content: space-around;
        max-width: none;
        overflow-x: auto;
        border-radius: var(--tc-radius-lg);
        transform-origin: center bottom;
    }

    .tc-reaction-button:hover,
    .tc-reaction-button:focus-visible {
        transform: translateY(-3px) scale(1.1);
    }

    .tc-reaction-button__label {
        display: none;
    }

    .tc-engagement-counts {
        gap: 8px;
    }

    .tc-composer__footer {
        align-items: flex-end;
    }

    .tc-composer__footer-left {
        flex-wrap: wrap;
    }

    .tc-form-actions {
        flex-direction: column-reverse;
    }

    .tc-form-actions .tc-button {
        width: 100%;
    }

    .tc-modal-backdrop {
        align-items: end;
        padding: 0;
    }

    .tc-modal {
        width: 100%;
        max-height: 94vh;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: var(--tc-radius-xl) var(--tc-radius-xl) 0 0;
        transform: translateY(104%);
    }

    .tc-modal-backdrop.is-open .tc-modal {
        transform: translateY(0);
    }

    .tc-lightbox__previous,
    .tc-lightbox__next {
        top: auto;
        bottom: 12px;
    }

    .tc-pagination__status {
        font-size: 0.67rem;
    }
}

@media (max-width: 430px) {
    .tc-header-search input::placeholder {
        color: transparent;
    }

    .tc-header-search {
        max-width: none;
    }

    .tc-post__actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tc-post-action span:not(.tc-post-action__count) {
        max-width: 72px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tc-post__engagement-summary {
        align-items: flex-start;
    }

    .tc-engagement-counts {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .tc-media-grid[data-count="3"],
    .tc-media-grid[data-count="4"],
    .tc-media-grid[data-count="5"] {
        grid-template-rows: repeat(2, minmax(120px, 1fr));
    }

    .tc-composer-tool span {
        display: none;
    }

    .tc-composer-tool {
        min-height: 46px;
    }

    .tc-composer__expanded-tools {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tc-pagination__button span {
        display: none;
    }
}

/* ==========================================================================
   26. Utility classes
   ========================================================================== */

.tc-flex {
    display: flex;
}

.tc-inline-flex {
    display: inline-flex;
}

.tc-grid {
    display: grid;
}

.tc-items-center {
    align-items: center;
}

.tc-items-start {
    align-items: flex-start;
}

.tc-justify-between {
    justify-content: space-between;
}

.tc-justify-center {
    justify-content: center;
}

.tc-flex-wrap {
    flex-wrap: wrap;
}

.tc-gap-1 {
    gap: var(--tc-space-1);
}

.tc-gap-2 {
    gap: var(--tc-space-2);
}

.tc-gap-3 {
    gap: var(--tc-space-3);
}

.tc-gap-4 {
    gap: var(--tc-space-4);
}

.tc-mt-0 {
    margin-top: 0 !important;
}

.tc-mt-2 {
    margin-top: var(--tc-space-2) !important;
}

.tc-mt-3 {
    margin-top: var(--tc-space-3) !important;
}

.tc-mt-4 {
    margin-top: var(--tc-space-4) !important;
}

.tc-mb-0 {
    margin-bottom: 0 !important;
}

.tc-mb-2 {
    margin-bottom: var(--tc-space-2) !important;
}

.tc-mb-3 {
    margin-bottom: var(--tc-space-3) !important;
}

.tc-mb-4 {
    margin-bottom: var(--tc-space-4) !important;
}

.tc-text-muted {
    color: var(--tc-text-muted) !important;
}

.tc-text-subtle {
    color: var(--tc-text-subtle) !important;
}

.tc-text-strong {
    color: var(--tc-text-strong) !important;
}

.tc-text-small {
    font-size: 0.78rem !important;
}

.tc-text-xs {
    font-size: 0.7rem !important;
}

.tc-text-center {
    text-align: center !important;
}

.tc-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-divider {
    height: 1px;
    border: 0;
    background: var(--tc-divider);
}

.tc-no-scroll {
    overflow: hidden !important;
}

.tc-clickable {
    cursor: pointer;
}

.tc-full-width {
    width: 100%;
}

/* ==========================================================================
   27. Animations and live update states
   ========================================================================== */

@keyframes tc-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes tc-shimmer {
    to {
        transform: translateX(100%);
    }
}

@keyframes tc-reaction-pop {
    0% {
        transform: scale(1);
    }
    38% {
        transform: scale(1.38) rotate(-7deg);
    }
    68% {
        transform: scale(0.93) rotate(3deg);
    }
    100% {
        transform: scale(1) rotate(0);
    }
}

@keyframes tc-fade-in {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tc-pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(20, 168, 157, 0.35);
    }
    70% {
        box-shadow: 0 0 0 9px rgba(20, 168, 157, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(20, 168, 157, 0);
    }
}

.tc-animate-in {
    animation: tc-fade-in 280ms ease both;
}

.tc-new-content-indicator {
    animation: tc-pulse-ring 1.8s ease-out 2;
}

/* ==========================================================================
   28. Dark-mode refinements
   ========================================================================== */

html[data-theme="dark"] .tc-badge--primary,
body[data-theme="dark"] .tc-badge--primary,
.towncircle-app[data-theme="dark"] .tc-badge--primary,
html[data-theme="dark"] .tc-feed-tab.is-active,
body[data-theme="dark"] .tc-feed-tab.is-active,
.towncircle-app[data-theme="dark"] .tc-feed-tab.is-active,
html[data-theme="dark"] .tc-side-nav__item.is-active,
body[data-theme="dark"] .tc-side-nav__item.is-active,
.towncircle-app[data-theme="dark"] .tc-side-nav__item.is-active {
    color: var(--tc-primary-100);
    border-color: rgba(54, 207, 193, 0.25);
    background: rgba(20, 168, 157, 0.16);
}

html[data-theme="dark"] .tc-notice--success,
body[data-theme="dark"] .tc-notice--success,
.towncircle-app[data-theme="dark"] .tc-notice--success {
    border-color: rgba(16, 185, 129, 0.28);
    background: rgba(16, 185, 129, 0.12);
}

html[data-theme="dark"] .tc-notice--warning,
body[data-theme="dark"] .tc-notice--warning,
.towncircle-app[data-theme="dark"] .tc-notice--warning {
    border-color: rgba(245, 158, 11, 0.28);
    background: rgba(245, 158, 11, 0.12);
}

html[data-theme="dark"] .tc-notice--error,
body[data-theme="dark"] .tc-notice--error,
.towncircle-app[data-theme="dark"] .tc-notice--error {
    border-color: rgba(239, 68, 68, 0.28);
    background: rgba(239, 68, 68, 0.12);
}

html[data-theme="dark"] .tc-notice--info,
body[data-theme="dark"] .tc-notice--info,
.towncircle-app[data-theme="dark"] .tc-notice--info {
    border-color: rgba(59, 130, 246, 0.28);
    background: rgba(59, 130, 246, 0.12);
}

@media (prefers-color-scheme: dark) {
    .towncircle-app:not([data-theme="light"]) .tc-badge--primary,
    .towncircle-app:not([data-theme="light"]) .tc-feed-tab.is-active,
    .towncircle-app:not([data-theme="light"]) .tc-side-nav__item.is-active {
        color: var(--tc-primary-100);
        border-color: rgba(54, 207, 193, 0.25);
        background: rgba(20, 168, 157, 0.16);
    }

    .towncircle-app:not([data-theme="light"]) .tc-skeleton::after {
        background:
            linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.08),
                transparent
            );
    }

    .towncircle-app:not([data-theme="light"]) .tc-media-grid {
        background: #071018;
    }
}

/* ==========================================================================
   29. High contrast and forced colors
   ========================================================================== */

@media (prefers-contrast: more) {
    .towncircle-app {
        --tc-border: #8aa0ad;
        --tc-border-strong: #637b89;
        --tc-text-muted: #3e5665;
        --tc-shadow-sm: none;
        --tc-shadow-md: none;
    }

    .tc-card,
    .tc-panel,
    .tc-input,
    .tc-select,
    .tc-textarea,
    .tc-button--neutral {
        border-width: 2px;
    }
}

@media (forced-colors: active) {
    .tc-button,
    .tc-icon-button,
    .tc-feed-tab,
    .tc-side-nav__item,
    .tc-mobile-nav__item,
    .tc-card,
    .tc-panel,
    .tc-input,
    .tc-select,
    .tc-textarea {
        border: 1px solid CanvasText;
        forced-color-adjust: auto;
    }

    .tc-avatar,
    .tc-brand__mark,
    .tc-mobile-nav__create-button {
        border: 2px solid CanvasText;
    }
}

/* ==========================================================================
   30. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .towncircle-app *,
    .towncircle-app *::before,
    .towncircle-app *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .tc-reaction-button:hover,
    .tc-reaction-button:focus-visible,
    .tc-card--interactive:hover {
        transform: none;
    }
}

/* ==========================================================================
   31. Print
   ========================================================================== */

@media print {
    .towncircle-app {
        color: #000000;
        background: #ffffff;
    }

    .tc-header,
    .tc-mobile-nav,
    .tc-floating-create,
    .tc-composer,
    .tc-feed-tabs-wrap,
    .tc-post__actions,
    .tc-comments,
    .tc-page-header__actions,
    .tc-layout__left,
    .tc-layout__right,
    .tc-icon-button,
    .tc-button,
    .tc-no-print {
        display: none !important;
    }

    .tc-shell {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .tc-layout,
    .tc-layout__feed {
        display: block;
        width: 100%;
        max-width: none;
    }

    .tc-card,
    .tc-panel,
    .tc-post {
        break-inside: avoid;
        border: 1px solid #b8b8b8;
        box-shadow: none;
    }

    .tc-post + .tc-post {
        margin-top: 14px;
    }

    .tc-post__content a::after {
        color: #555555;
        font-size: 0.72em;
        content: " (" attr(href) ")";
    }
}
