/* ============================================================
   NepConnect — 3-Color Design System
   White (#fff) · Black (#000) · Blue (#1a73e8)
   Font: Inter · No gradients · No patterns · Pure minimal
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #ffffff;
    --bg-card: #ffffff;
    --bg-hover: #f5f5f5;
    --bg-input: #f5f5f5;
    --bg-sidebar: #ffffff;
    --bg-overlay: rgba(0,0,0,.5);
    --text: #000000;
    --text-secondary: #555555;
    --text-muted: #888888;
    --blue: #1a73e8;
    --blue-hover: #1557b0;
    --blue-light: rgba(26,115,232,.08);
    --blue-badge: #1a73e8;
    --border: #e5e5e5;
    --shadow: 0 1px 3px rgba(0,0,0,.08);
    --shadow-lg: 0 4px 16px rgba(0,0,0,.1);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-full: 9999px;
    --header-h: 60px;
    --sidebar-w: 280px;
    --right-w: 320px;
    --mobile-nav-h: 56px;
    --transition: .2s ease;
}

[data-theme="dark"] {
    --bg: #000000;
    --bg-card: #111111;
    --bg-hover: #1a1a1a;
    --bg-input: #1a1a1a;
    --bg-sidebar: #0a0a0a;
    --bg-overlay: rgba(0,0,0,.7);
    --text: #ffffff;
    --text-secondary: #aaaaaa;
    --text-muted: #666666;
    --blue: #4d9ef6;
    --blue-hover: #6db3ff;
    --blue-light: rgba(77,158,246,.12);
    --blue-badge: #4d9ef6;
    --border: #222222;
    --shadow: 0 1px 3px rgba(0,0,0,.3);
    --shadow-lg: 0 4px 16px rgba(0,0,0,.4);
}

html { font-size: 15px; scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: .85; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: var(--text); }
::placeholder { color: var(--text-muted); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============================================================
   HEADER
   ============================================================ */
.nc-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-h);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center;
    padding: 0 20px;
    gap: 16px;
}
.nc-header__logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.25rem; font-weight: 700; color: var(--text);
    white-space: nowrap; min-width: 160px;
}
.nc-header__logo-icon {
    width: 34px; height: 34px; border-radius: var(--radius-sm);
    background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .9rem;
}
.nc-header__search {
    flex: 1; max-width: 460px; margin: 0 auto;
    position: relative;
}
.nc-header__search input {
    width: 100%; height: 40px;
    background: var(--bg-input);
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    padding: 0 16px 0 42px;
    transition: border-color var(--transition), background var(--transition);
}
.nc-header__search input:focus {
    border-color: var(--blue);
    background: var(--bg-card);
}
.nc-header__search-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); pointer-events: none;
}
.nc-header__actions {
    display: flex; align-items: center; gap: 4px;
    min-width: 160px; justify-content: flex-end;
}
.nc-header__btn {
    width: 40px; height: 40px;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    transition: background var(--transition);
    color: var(--text);
}
.nc-header__btn:hover { background: var(--bg-hover); }
.nc-header__btn svg { width: 22px; height: 22px; }
.nc-header__badge {
    position: absolute; top: 4px; right: 4px;
    min-width: 18px; height: 18px;
    background: var(--blue-badge);
    color: #fff; font-size: .65rem; font-weight: 700;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--bg-card);
}
.nc-header__avatar {
    width: 34px; height: 34px; border-radius: var(--radius-full);
    background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: .8rem;
    overflow: hidden; cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition);
}
.nc-header__avatar:hover { border-color: var(--blue); }
.nc-header__avatar img { width: 100%; height: 100%; object-fit: cover; }

/* --- Profile Dropdown --- */
.nc-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 240px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    z-index: 200;
}
.nc-dropdown__item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px;
    color: var(--text);
    font-size: .9rem;
    transition: background var(--transition);
    width: 100%; text-align: left;
}
.nc-dropdown__item:hover { background: var(--bg-hover); }
.nc-dropdown__item svg { width: 18px; height: 18px; color: var(--text-secondary); flex-shrink: 0; }
.nc-dropdown__item--blue { color: var(--blue); }
.nc-dropdown__item--blue svg { color: var(--blue); }
.nc-dropdown__divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ============================================================
   LAYOUT — 3 Column
   ============================================================ */
.nc-layout {
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
    padding-top: var(--header-h);
    min-height: 100vh;
}
.nc-sidebar-left {
    width: var(--sidebar-w);
    flex-shrink: 0;
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 20px 16px 20px 20px;
    -ms-overflow-style: none;
    scrollbar-width: thin;
}
.nc-main {
    flex: 1;
    min-width: 0;
    padding: 20px 16px;
    max-width: 680px;
    margin: 0 auto;
}
.nc-sidebar-right {
    width: var(--right-w);
    flex-shrink: 0;
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 20px 20px 20px 16px;
    -ms-overflow-style: none;
    scrollbar-width: thin;
}

/* ============================================================
   LEFT SIDEBAR
   ============================================================ */
/* Profile Card */
.nc-profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}
.nc-profile-card__cover {
    height: 72px; background: var(--blue);
    position: relative;
}
.nc-profile-card__avatar {
    width: 60px; height: 60px;
    border-radius: var(--radius-full);
    border: 3px solid var(--bg-card);
    background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 700;
    position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
    overflow: hidden;
}
.nc-profile-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nc-profile-card__info {
    padding: 36px 16px 16px;
    text-align: center;
}
.nc-profile-card__name { font-size: 1rem; font-weight: 700; }
.nc-profile-card__handle { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.nc-profile-card__stats {
    display: flex; justify-content: center; gap: 20px;
    margin-top: 12px; padding-top: 12px;
    border-top: 1px solid var(--border);
}
.nc-profile-card__stat { text-align: center; }
.nc-profile-card__stat-num { font-size: 1rem; font-weight: 700; color: var(--blue); }
.nc-profile-card__stat-label { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }

/* Nav */
.nc-nav { margin-bottom: 20px; }
.nc-nav__item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: .9rem; font-weight: 500;
    transition: background var(--transition), color var(--transition);
    position: relative;
}
.nc-nav__item:hover { background: var(--bg-hover); }
.nc-nav__item.active {
    background: var(--blue-light);
    color: var(--blue);
    font-weight: 600;
}
.nc-nav__item svg { width: 20px; height: 20px; flex-shrink: 0; }
.nc-nav__item.active svg { color: var(--blue); }
.nc-nav__item .nc-nav-badge {
    margin-left: auto;
    min-width: 20px; height: 20px;
    background: var(--blue); color: #fff;
    font-size: .65rem; font-weight: 700;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    padding: 0 5px;
}

/* Shortcuts */
.nc-shortcuts { margin-bottom: 20px; }
.nc-shortcuts__title {
    font-size: .75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .05em;
    color: var(--text-muted);
    padding: 0 14px; margin-bottom: 8px;
}
.nc-shortcut {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.nc-shortcut:hover { background: var(--bg-hover); }
.nc-shortcut__icon {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    background: var(--blue-light);
    color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; font-weight: 700;
    overflow: hidden;
}
.nc-shortcut__icon img { width: 100%; height: 100%; object-fit: cover; }
.nc-shortcut__name { font-size: .85rem; font-weight: 500; color: var(--text); }
.nc-shortcut__meta { font-size: .7rem; color: var(--text-muted); }

/* Sidebar Footer */
.nc-sidebar-footer {
    padding: 16px 14px 0;
    border-top: 1px solid var(--border);
}
.nc-sidebar-footer a {
    font-size: .7rem; color: var(--text-muted);
    margin-right: 8px;
}
.nc-sidebar-footer a:hover { color: var(--blue); }
.nc-sidebar-footer__copy {
    font-size: .65rem; color: var(--text-muted);
    margin-top: 8px;
}

/* ============================================================
   STORIES
   ============================================================ */
.nc-stories {
    display: flex; gap: 12px;
    overflow-x: auto;
    padding: 4px 0 16px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.nc-stories::-webkit-scrollbar { display: none; }
.nc-story {
    flex-shrink: 0;
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; cursor: pointer;
}
.nc-story__ring {
    width: 64px; height: 64px;
    border-radius: var(--radius-full);
    padding: 3px;
    border: 2px solid var(--blue);
    transition: transform var(--transition);
}
.nc-story:hover .nc-story__ring { transform: scale(1.06); }
.nc-story__ring img {
    width: 100%; height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
}
.nc-story__ring--add {
    border: 2px dashed var(--border);
    display: flex; align-items: center; justify-content: center;
}
.nc-story__ring--add svg { color: var(--blue); width: 24px; height: 24px; }
.nc-story__name {
    font-size: .7rem; font-weight: 500;
    color: var(--text-secondary);
    max-width: 64px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nc-story__name--you { color: var(--blue); font-weight: 600; }

/* ============================================================
   COMPOSER
   ============================================================ */
.nc-composer {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
}
.nc-composer__top {
    display: flex; gap: 12px;
    align-items: flex-start;
}
.nc-composer__avatar {
    width: 42px; height: 42px;
    border-radius: var(--radius-full);
    background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .9rem;
    flex-shrink: 0; overflow: hidden;
}
.nc-composer__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nc-composer__input {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 10px 14px;
    min-height: 44px;
    resize: none;
    width: 100%;
    transition: border-color var(--transition);
    line-height: 1.5;
}
.nc-composer__input:focus { border-color: var(--blue); background: var(--bg-card); }
.nc-composer__tabs {
    display: flex; gap: 0;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.nc-composer__tab {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 8px 0;
    font-size: .85rem; font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}
.nc-composer__tab:hover {
    background: var(--blue-light);
    color: var(--blue);
}
.nc-composer__tab svg { width: 20px; height: 20px; }
.nc-composer__tab--photo svg { color: var(--blue); }
.nc-composer__tab--video svg { color: var(--blue); }
.nc-composer__tab--feeling svg { color: var(--blue); }

/* ============================================================
   POST CARD
   ============================================================ */
.nc-post {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 20px;
    overflow: hidden;
}
.nc-post__header {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
}
.nc-post__avatar {
    width: 42px; height: 42px;
    border-radius: var(--radius-full);
    background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .9rem;
    flex-shrink: 0; overflow: hidden;
}
.nc-post__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nc-post__meta { flex: 1; min-width: 0; }
.nc-post__author {
    font-size: .9rem; font-weight: 700; color: var(--text);
}
.nc-post__author a { color: var(--text); }
.nc-post__author a:hover { color: var(--blue); }
.nc-post__time { font-size: .75rem; color: var(--text-muted); }
.nc-post__more {
    width: 36px; height: 36px;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.nc-post__more:hover { background: var(--bg-hover); }
.nc-post__more svg { width: 20px; height: 20px; color: var(--text-muted); }

.nc-post__body { padding: 0 16px 12px; }
.nc-post__text { font-size: .95rem; line-height: 1.6; }
.nc-post__text a { color: var(--blue); }
.nc-post__image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    cursor: pointer;
}

/* Reactions Row */
.nc-post__reactions {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 16px;
    font-size: .8rem; color: var(--text-muted);
}
.nc-post__reactions-emojis {
    display: flex; align-items: center; gap: 2px;
}
.nc-post__reactions-emojis span {
    font-size: 1rem; cursor: default;
}
.nc-post__reactions-count { margin-left: 6px; }

/* Actions */
.nc-post__actions {
    display: flex;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.nc-post__action {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 0;
    font-size: .85rem; font-weight: 500;
    color: var(--text-secondary);
    transition: background var(--transition), color var(--transition);
}
.nc-post__action:hover {
    background: var(--blue-light);
    color: var(--blue);
}
.nc-post__action.active { color: var(--blue); }
.nc-post__action svg { width: 20px; height: 20px; }

/* Comments Section */
.nc-comments { padding: 12px 16px; }
.nc-comment {
    display: flex; gap: 10px;
    margin-bottom: 12px;
}
.nc-comment__avatar {
    width: 32px; height: 32px;
    border-radius: var(--radius-full);
    background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .65rem;
    flex-shrink: 0; overflow: hidden;
}
.nc-comment__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nc-comment__bubble {
    background: var(--bg-input);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    padding: 8px 12px;
    max-width: calc(100% - 42px);
}
.nc-comment__name { font-size: .8rem; font-weight: 700; }
.nc-comment__text { font-size: .85rem; line-height: 1.5; margin-top: 2px; }
.nc-comment__meta {
    display: flex; gap: 12px;
    margin-top: 4px; padding-left: 42px;
    font-size: .7rem; color: var(--text-muted);
}
.nc-comment__meta button { font-size: .7rem; color: var(--text-muted); font-weight: 600; }
.nc-comment__meta button:hover { color: var(--blue); }

/* Reply input */
.nc-reply {
    display: flex; gap: 10px; align-items: center;
    margin-top: 4px;
}
.nc-reply__avatar {
    width: 32px; height: 32px;
    border-radius: var(--radius-full);
    background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .65rem;
    flex-shrink: 0;
}
.nc-reply__input {
    flex: 1; height: 36px;
    background: var(--bg-input);
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    padding: 0 14px;
    font-size: .85rem;
    transition: border-color var(--transition);
}
.nc-reply__input:focus { border-color: var(--blue); }
.nc-reply__actions {
    display: flex; gap: 4px;
}
.nc-reply__actions button {
    width: 32px; height: 32px;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: color var(--transition);
}
.nc-reply__actions button:hover { color: var(--blue); }
.nc-reply__actions button svg { width: 18px; height: 18px; }

/* ============================================================
   RIGHT SIDEBAR
   ============================================================ */
.nc-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
}
.nc-widget__title {
    font-size: .85rem; font-weight: 700;
    margin-bottom: 14px;
    display: flex; align-items: center; justify-content: space-between;
}
.nc-widget__title a { font-size: .75rem; font-weight: 500; }

/* Suggested People */
.nc-suggest {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 0;
}
.nc-suggest__avatar {
    width: 42px; height: 42px;
    border-radius: var(--radius-full);
    background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .85rem;
    flex-shrink: 0; overflow: hidden;
}
.nc-suggest__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nc-suggest__info { flex: 1; min-width: 0; }
.nc-suggest__name { font-size: .85rem; font-weight: 600; }
.nc-suggest__mutual { font-size: .7rem; color: var(--text-muted); }
.nc-suggest__btn {
    padding: 6px 14px;
    background: var(--blue);
    color: #fff;
    font-size: .75rem; font-weight: 600;
    border-radius: var(--radius-full);
    transition: background var(--transition);
}
.nc-suggest__btn:hover { background: var(--blue-hover); }

/* Trends */
.nc-trend {
    padding: 8px 0;
}
.nc-trend__tag {
    font-size: .85rem; font-weight: 600;
    color: var(--blue);
}
.nc-trend__count { font-size: .7rem; color: var(--text-muted); }

/* Online Friends */
.nc-online {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0;
}
.nc-online__avatar-wrap { position: relative; }
.nc-online__avatar {
    width: 36px; height: 36px;
    border-radius: var(--radius-full);
    background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .7rem;
    overflow: hidden;
}
.nc-online__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nc-online__dot {
    position: absolute; bottom: 0; right: 0;
    width: 10px; height: 10px;
    background: #22c55e;
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-card);
}
.nc-online__name { font-size: .85rem; font-weight: 500; }

/* Premium CTA */
.nc-premium {
    border: 1px solid var(--blue);
    border-radius: var(--radius);
    padding: 16px; text-align: center;
    margin-bottom: 20px;
}
.nc-premium__icon { font-size: 2rem; margin-bottom: 8px; }
.nc-premium__title { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.nc-premium__text { font-size: .8rem; color: var(--text-muted); margin-bottom: 12px; }
.nc-premium__btn {
    display: inline-block;
    padding: 8px 24px;
    background: var(--blue);
    color: #fff;
    font-size: .85rem; font-weight: 600;
    border-radius: var(--radius-full);
    transition: background var(--transition);
}
.nc-premium__btn:hover { background: var(--blue-hover); color: #fff; }

/* ============================================================
   MOBILE BOTTOM NAV
   ============================================================ */
.nc-mobile-nav {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    height: var(--mobile-nav-h);
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    z-index: 100;
}
.nc-mobile-nav__inner {
    display: flex; align-items: center; justify-content: space-around;
    height: 100%; max-width: 480px; margin: 0 auto;
}
.nc-mobile-nav__item {
    display: flex; flex-direction: column;
    align-items: center; gap: 2px;
    padding: 4px 8px;
    color: var(--text-muted);
    font-size: .6rem; font-weight: 500;
    transition: color var(--transition);
    position: relative;
}
.nc-mobile-nav__item.active { color: var(--blue); }
.nc-mobile-nav__item:hover { color: var(--blue); }
.nc-mobile-nav__item svg { width: 24px; height: 24px; }
.nc-mobile-nav__item .nc-header__badge {
    top: -2px; right: -4px;
}

/* ============================================================
   BUTTONS / UTILITIES
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 8px 20px;
    font-size: .85rem; font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    cursor: pointer;
}
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); color: #fff; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--blue);
    color: var(--blue);
}
.btn-outline:hover { background: var(--blue-light); }

.text-blue { color: var(--blue); }
.text-muted { color: var(--text-muted); }
.fw-700 { font-weight: 700; }
.mt-12 { margin-top: 12px; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); border: 0;
}

/* Dark mode toggle */
.nc-dark-toggle {
    width: 40px; height: 40px;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.nc-dark-toggle:hover { background: var(--bg-hover); }
.nc-dark-toggle svg { width: 20px; height: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .nc-sidebar-right { display: none; }
    .nc-main { max-width: 100%; }
}
@media (max-width: 768px) {
    .nc-sidebar-left { display: none; }
    .nc-header__search { display: none; }
    .nc-header__logo { min-width: auto; }
    .nc-header__actions { min-width: auto; }
    .nc-mobile-nav { display: block; }
    .nc-main { padding: 16px 12px calc(16px + var(--mobile-nav-h)); }
    .nc-layout { padding-top: var(--header-h); }
    .nc-post__header { padding: 12px; }
    .nc-post__body { padding: 0 12px 10px; }
    .nc-post__reactions { padding: 6px 12px; }
    .nc-comments { padding: 10px 12px; }
}
@media (max-width: 480px) {
    .nc-stories { gap: 8px; }
    .nc-story__ring { width: 56px; height: 56px; }
    .nc-composer__tabs { gap: 0; }
    .nc-composer__tab { font-size: .8rem; gap: 4px; }
}

/* --- View All Comments link --- */
.nc-comments__view-all {
    display: block;
    font-size: .8rem; font-weight: 600;
    color: var(--text-muted);
    padding: 4px 0 8px;
    transition: color var(--transition);
}
.nc-comments__view-all:hover { color: var(--blue); }

/* --- Loading animation --- */
@keyframes nc-pulse {
    0%, 100% { opacity: .6; }
    50% { opacity: 1; }
}
.nc-loading {
    text-align: center; padding: 40px 0;
    color: var(--text-muted); font-size: .85rem;
    animation: nc-pulse 1.5s ease-in-out infinite;
}
