/* ============================================================
   Conexão Cosmópolis — NEWS OS Framework
   Main Stylesheet v1.6.0 — Elegant & Colorful Edition
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Brand — mais vibrante e colorido */
  --nos-accent:        #0284c7; /* sky-600 */
  --nos-accent-light:  #e0f2fe; /* sky-50  */
  --nos-accent-hover:  #0369a1; /* sky-700 */
  --nos-accent-2:      #7c3aed; /* violet-600 — acento secundário */
  --nos-accent-2-light:#ede9fe;
  --nos-live:          #dc2626; /* red-600  */
  --nos-live-light:    #fef2f2; /* red-50   */
  --nos-success:       #059669;
  --nos-warning:       #d97706;

  /* Neutrals */
  --nos-white:    #ffffff;
  --nos-bg:       #f1f5f9; /* slate-100 — fundo levemente cinza, mais elegante */
  --nos-surface:  #f8fafc; /* slate-50  */
  --nos-surface-2:#f0f4f8;
  --nos-border:   #e2e8f0; /* slate-200 */
  --nos-border-2: #cbd5e1; /* slate-300 */

  /* Text */
  --nos-text:        #0f172a; /* slate-900 */
  --nos-text-2:      #334155; /* slate-700 */
  --nos-text-muted:  #64748b; /* slate-500 */
  --nos-text-faint:  #94a3b8; /* slate-400 */

  /* Layout */
  --nos-navbar-h:        3.75rem;
  --nos-sidebar-left-w:  5.5rem;
  --nos-sidebar-right-w: 21rem;
  --nos-max-feed:        44rem;
  --nos-content-max:     90rem;
  --nos-mobile-nav-h:    3.5rem;

  /* Typography */
  --nos-font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --nos-font-serif: 'Playfair Display', Georgia, serif;

  /* Radius */
  --nos-radius-sm:   0.25rem;
  --nos-radius:      0.625rem;
  --nos-radius-lg:   1rem;
  --nos-radius-xl:   1.25rem;
  --nos-radius-full: 9999px;

  /* Shadow */
  --nos-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.06);
  --nos-shadow:    0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --nos-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);

  /* Transition */
  --nos-transition: 150ms ease;

  /* Ads */
  --nos-ad-bg: #fffbeb;
  --nos-ad-border: #fde68a;

  /* Gradients */
  --nos-gradient-brand: linear-gradient(135deg, #0284c7 0%, #7c3aed 100%);
  --nos-gradient-warm:  linear-gradient(135deg, #f97316 0%, #dc2626 100%);
}

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

html, body {
  height: 100%;
  overflow: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--nos-font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--nos-text);
  background-color: var(--nos-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--nos-accent); }
img, video { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ── Layout — Fixed Chrome ───────────────────────────────────── */
.nos-layout {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* ── Navbar — Fixo no topo ──────────────────────────────────── */
.nos-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nos-navbar-h);
  background: var(--nos-white);
  border-bottom: 1px solid var(--nos-border);
  box-shadow: var(--nos-shadow-sm);
}

.nos-navbar__inner {
  max-width: var(--nos-content-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.25rem 0 calc(var(--nos-sidebar-left-w) + 0.75rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nos-navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nos-navbar__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  background: var(--nos-gradient-brand);
  color: var(--nos-white);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  border-radius: var(--nos-radius);
  box-shadow: 0 2px 8px rgb(2 132 199 / 0.35);
}

.nos-navbar__logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nos-text);
  letter-spacing: -0.02em;
}

.nos-navbar__logo-text strong { color: var(--nos-accent); }

.nos-navbar__search { flex: 1; max-width: 28rem; }

.nos-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.nos-search-form__icon {
  position: absolute;
  left: 0.875rem;
  color: var(--nos-text-faint);
  pointer-events: none;
}

.nos-search-form__input {
  width: 100%;
  height: 2.375rem;
  padding: 0 1rem 0 2.625rem;
  border: 1.5px solid var(--nos-border);
  border-radius: var(--nos-radius-full);
  background: var(--nos-surface);
  font-size: 0.875rem;
  color: var(--nos-text);
  outline: none;
  transition: border-color var(--nos-transition), box-shadow var(--nos-transition), background var(--nos-transition);
}

.nos-search-form__input::placeholder { color: var(--nos-text-faint); }

.nos-search-form__input:focus {
  border-color: var(--nos-accent);
  background: var(--nos-white);
  box-shadow: 0 0 0 3px rgb(2 132 199 / 0.12);
}

.nos-navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.nos-navbar__icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  height: 2.375rem;
  border-radius: var(--nos-radius-full);
  color: var(--nos-text-muted);
  transition: background var(--nos-transition), color var(--nos-transition);
}

.nos-navbar__icon-btn:hover { background: var(--nos-surface); color: var(--nos-accent); }

.nos-navbar__badge {
  position: absolute;
  top: 0.125rem;
  right: 0.125rem;
  min-width: 0.875rem;
  height: 0.875rem;
  background: var(--nos-live);
  border: 2px solid var(--nos-white);
  border-radius: var(--nos-radius-full);
  font-size: 0.5rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nos-navbar__avatar-btn { display: flex; align-items: center; }
.nos-navbar__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--nos-radius-full);
  object-fit: cover;
  border: 2px solid var(--nos-border);
  transition: border-color var(--nos-transition);
}
.nos-navbar__avatar-btn:hover .nos-navbar__avatar { border-color: var(--nos-accent); }

/* ── Sidebar Esquerda — Fixa ────────────────────────────────── */
.nos-sidebar-left {
  position: fixed;
  left: 0;
  top: var(--nos-navbar-h);
  width: var(--nos-sidebar-left-w);
  height: calc(100vh - var(--nos-navbar-h));
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--nos-white);
  border-right: 1px solid var(--nos-border);
  padding: 1.25rem 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.nos-sidebar-left::-webkit-scrollbar { display: none; }

.nos-sidebar-left__nav {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  align-items: center;
  width: 100%;
  padding: 0 0.75rem;
}

.nos-sidebar-left__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.625rem 0;
  border-radius: var(--nos-radius-lg);
  color: var(--nos-text-muted);
  transition: background var(--nos-transition), color var(--nos-transition), transform var(--nos-transition);
  gap: 0.25rem;
  position: relative;
}

.nos-sidebar-left__item:hover {
  background: var(--nos-surface);
  color: var(--nos-accent);
  transform: translateY(-1px);
}

.nos-sidebar-left__item--active {
  background: var(--nos-accent-light);
  color: var(--nos-accent);
}

.nos-sidebar-left__item--active::before {
  content: '';
  position: absolute;
  left: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1.5rem;
  background: var(--nos-accent);
  border-radius: 0 2px 2px 0;
}

.nos-sidebar-left__label {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: inherit;
}

.nos-sidebar-left__divider {
  width: 2rem;
  height: 1px;
  background: var(--nos-border);
  margin: 0.625rem 0;
}

/* ── Sidebar Direita — Fixa ─────────────────────────────────── */
.nos-sidebar-right {
  position: fixed;
  right: 0;
  top: var(--nos-navbar-h);
  width: var(--nos-sidebar-right-w);
  height: calc(100vh - var(--nos-navbar-h));
  z-index: 150;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--nos-border) transparent;
  padding: 1.5rem 1.25rem 0;
  background: var(--nos-white);
  border-left: 1px solid var(--nos-border);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nos-sidebar-right::-webkit-scrollbar { width: 4px; }
.nos-sidebar-right::-webkit-scrollbar-track { background: transparent; }
.nos-sidebar-right::-webkit-scrollbar-thumb { background: var(--nos-border); border-radius: 4px; }

/* ── Área de Conteúdo — Fixo no meio ───────────────────────── */
#nos-content,
.nos-content {
  position: fixed;
  left: var(--nos-sidebar-left-w);
  right: var(--nos-sidebar-right-w);
  top: var(--nos-navbar-h);
  height: calc(100vh - var(--nos-navbar-h));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--nos-border);
  border-right: 1px solid var(--nos-border);
  background: var(--nos-bg);
  min-width: 0;
}

#nos-content > *:not(.nos-breaking):not(.nos-feed-filters),
#nos-content .nos-feed {
  width: 100%;
  align-self: center;
}

/* ── Widgets ────────────────────────────────────────────────── */
.nos-widget {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--nos-white);
  border: 1px solid var(--nos-border);
  border-radius: var(--nos-radius-xl);
  margin-bottom: 1rem;
  box-shadow: var(--nos-shadow-sm);
  transition: box-shadow var(--nos-transition);
}

.nos-widget:hover { box-shadow: var(--nos-shadow); }

.nos-widget__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--nos-text);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--nos-surface);
}

.nos-widget__title svg { color: var(--nos-accent); }

/* Widget: Live */
.nos-widget--live {
  border-color: rgb(220 38 38 / 0.2);
  background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
}

.nos-widget--live .nos-widget__title { color: var(--nos-live); border-bottom-color: rgb(220 38 38 / 0.1); }

/* Trending */
.nos-trending__list { list-style: none; display: flex; flex-direction: column; gap: 0; }

.nos-trending__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--nos-surface);
  transition: all var(--nos-transition);
  border-radius: var(--nos-radius);
  padding: 0.5rem 0.625rem;
  margin: 0 -0.625rem;
}

.nos-trending__item:last-child { border-bottom: none; }
.nos-trending__item:hover { background: var(--nos-surface); }
.nos-trending__item:hover .nos-trending__topic { color: var(--nos-accent); }

.nos-trending__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--nos-radius-sm);
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--nos-white);
  background: var(--nos-gradient-brand);
  flex-shrink: 0;
}

.nos-trending__item:nth-child(1) .nos-trending__rank { background: linear-gradient(135deg, #f97316, #dc2626); }
.nos-trending__item:nth-child(2) .nos-trending__rank { background: linear-gradient(135deg, #0284c7, #7c3aed); }
.nos-trending__item:nth-child(3) .nos-trending__rank { background: linear-gradient(135deg, #059669, #0284c7); }

.nos-trending__data { display: flex; flex-direction: column; gap: 0.125rem; }
.nos-trending__topic {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nos-text);
  line-height: 1.35;
  transition: color var(--nos-transition);
}
.nos-trending__count {
  font-size: 0.6875rem;
  color: var(--nos-text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Live items */
.nos-live-list { display: flex; flex-direction: column; gap: 0.5rem; }

.nos-live-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  border: 1px solid rgb(220 38 38 / 0.15);
  border-radius: var(--nos-radius-lg);
  background: var(--nos-white);
  transition: border-color var(--nos-transition), background var(--nos-transition), transform var(--nos-transition);
  box-shadow: 0 1px 3px rgb(220 38 38 / 0.06);
}

.nos-live-item:hover {
  border-color: rgb(220 38 38 / 0.4);
  background: var(--nos-live-light);
  transform: translateX(2px);
}

.nos-live-item__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nos-text);
  line-height: 1.4;
}
.nos-live-item__updates {
  font-size: 0.6875rem;
  color: var(--nos-live);
  font-weight: 500;
}

/* Tags */
.nos-tag-cloud { display: flex; flex-wrap: wrap; gap: 0.375rem; }

.nos-tag {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border: 1.5px solid var(--nos-border);
  border-radius: var(--nos-radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--nos-text-muted);
  background: var(--nos-white);
  transition: all var(--nos-transition);
}

.nos-tag:hover {
  border-color: var(--nos-accent);
  color: var(--nos-accent);
  background: var(--nos-accent-light);
}

/* Widget: Mais Lidas */
.nos-widget__most-read-list { list-style: none; display: flex; flex-direction: column; gap: 0; }

.nos-widget__most-read-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
  padding: 0.625rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: var(--nos-radius);
  transition: background var(--nos-transition);
}

.nos-widget__most-read-item:hover { background: var(--nos-surface); }
.nos-widget__most-read-item:hover .nos-widget__most-read-title { color: var(--nos-accent); }

.nos-widget__most-read-rank {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--nos-text-faint);
  width: 1.25rem;
  flex-shrink: 0;
  padding-top: 0.0625rem;
}

.nos-widget__most-read-thumb {
  width: 3.75rem;
  height: 3.25rem;
  flex-shrink: 0;
  border-radius: var(--nos-radius);
  overflow: hidden;
  background: var(--nos-surface);
}

.nos-widget__most-read-thumb img { width: 100%; height: 100%; object-fit: cover; }

.nos-widget__most-read-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--nos-text);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color var(--nos-transition);
}

.nos-widget__most-read-meta {
  display: block;
  font-size: 0.6875rem;
  color: var(--nos-text-faint);
  margin-top: 0.125rem;
}

/* ── Ad Widget (Sidebar) ────────────────────────────────────── */
.nos-widget--ad {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid var(--nos-ad-border);
  padding: 1.25rem;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nos-widget--ad .nos-widget__title {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--nos-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom-color: var(--nos-ad-border);
}

.nos-ad-banner {
  display: block;
  width: 100%;
  border-radius: var(--nos-radius-lg);
  overflow: hidden;
  background: var(--nos-gradient-brand);
  color: #fff;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: opacity var(--nos-transition), transform var(--nos-transition);
  box-shadow: 0 4px 12px rgb(2 132 199 / 0.25);
}

.nos-ad-banner:hover { opacity: 0.92; color: #fff; transform: translateY(-1px); }
.nos-ad-banner__label { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; margin-bottom: 0.5rem; }
.nos-ad-banner__title { font-size: 1rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.375rem; }
.nos-ad-banner__sub { font-size: 0.75rem; opacity: 0.85; }
.nos-ad-banner__cta {
  display: inline-block;
  margin-top: 0.875rem;
  padding: 0.4375rem 1.25rem;
  background: #fff;
  color: var(--nos-accent);
  border-radius: var(--nos-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.15);
}

/* ── Feed ───────────────────────────────────────────────────── */
.nos-feed {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--nos-border) transparent;
  width: 100%;
  max-width: var(--nos-max-feed);
  align-self: center;
}

.nos-feed::-webkit-scrollbar { width: 4px; }
.nos-feed::-webkit-scrollbar-track { background: transparent; }
.nos-feed::-webkit-scrollbar-thumb { background: var(--nos-border); border-radius: 4px; }

.nos-feed__stream { display: flex; flex-direction: column; gap: 0.75rem; padding: 0.75rem; }

/* ── Ad Card (Feed) ─────────────────────────────────────────── */
.nos-card--ad {
  background: var(--nos-ad-bg);
  border: 1px dashed var(--nos-ad-border);
  border-radius: var(--nos-radius-xl);
  padding: 1.25rem;
  cursor: default;
  box-shadow: none;
}

.nos-card--ad:hover { background: var(--nos-ad-bg); transform: none; }

.nos-card--ad .nos-ad-label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nos-text-faint);
  margin-bottom: 0.75rem;
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--nos-ad-border);
  border-radius: var(--nos-radius-sm);
  background: rgb(255 255 255 / 0.8);
}

.nos-card--ad .nos-ad-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--nos-gradient-brand);
  border-radius: var(--nos-radius-lg);
  padding: 1.25rem;
  color: #fff;
}

.nos-card--ad .nos-ad-copy { flex: 1; }
.nos-card--ad .nos-ad-title { font-size: 1rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.25rem; }
.nos-card--ad .nos-ad-sub { font-size: 0.8125rem; opacity: 0.85; margin-bottom: 0.75rem; }
.nos-card--ad .nos-ad-cta {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: #fff;
  color: var(--nos-accent);
  border-radius: var(--nos-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.nos-card--ad .nos-ad-img {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  border-radius: var(--nos-radius);
  object-fit: cover;
  opacity: 0.9;
}

/* ── Cards — Base ───────────────────────────────────────────── */
.nos-card {
  background: var(--nos-white);
  border: 1px solid var(--nos-border);
  border-radius: var(--nos-radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--nos-transition), box-shadow var(--nos-transition), border-color var(--nos-transition);
  box-shadow: var(--nos-shadow-sm);
}

.nos-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--nos-shadow-lg);
  border-color: rgb(2 132 199 / 0.2);
}

.nos-card__title { font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--nos-text); }
.nos-card__title a { transition: color var(--nos-transition); }
.nos-card__title a:hover { color: var(--nos-accent); }

.nos-card__meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.nos-card__category {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--nos-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.125rem 0.5rem;
  background: var(--nos-accent-light);
  border-radius: var(--nos-radius-full);
}
.nos-card__category:hover { background: var(--nos-accent); color: #fff; }
.nos-card__time { font-size: 0.75rem; color: var(--nos-text-faint); }

.nos-card__excerpt {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--nos-text-2);
  line-height: 1.55;
}

/* Card Feature */
.nos-card--feature .nos-card__section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.nos-card--feature .nos-card__section-label a {
  display: inline-flex;
  padding: 0.1875rem 0.625rem;
  background: var(--nos-accent-light);
  border: 1px solid rgb(2 132 199 / 0.2);
  border-radius: var(--nos-radius-sm);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--nos-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nos-card__thumbnail--feature {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--nos-surface);
  position: relative;
}

.nos-card__thumbnail--feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.nos-card--feature:hover .nos-card__thumbnail--feature img { transform: scale(1.04); }

.nos-card__title--feature { font-size: 1.375rem; font-family: var(--nos-font-serif); }
.nos-card__title--event { font-size: 1.125rem; }

/* Card Standard */
.nos-card__row { display: flex; gap: 1rem; align-items: flex-start; }
.nos-card__body { flex: 1; min-width: 0; }

.nos-card__thumb-col {
  width: 6rem;
  height: 5rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--nos-radius);
  background: var(--nos-surface);
}

.nos-card__thumb-col img { width: 100%; height: 100%; object-fit: cover; }

/* Card Event */
.nos-card--event { border-left: 4px solid transparent; }
.nos-card--live  { border-left-color: var(--nos-live); }

.nos-card__event-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.625rem; }

.nos-event-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1875rem 0.625rem;
  border-radius: var(--nos-radius-full);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nos-event-badge--live    { background: var(--nos-live); color: #fff; }
.nos-event-badge--ongoing { background: #fef9c3; color: #92400e; }
.nos-event-badge--closed  { background: var(--nos-surface); color: var(--nos-text-muted); }

.nos-card__update-list { display: flex; flex-direction: column; gap: 0.75rem; }

.nos-card__update {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
}

.nos-card__update-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--nos-radius-full);
  background: var(--nos-accent);
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.nos-card__update-text { font-size: 0.875rem; font-weight: 500; color: var(--nos-text-2); }
.nos-card__update-meta { font-size: 0.75rem; color: var(--nos-text-faint); margin-top: 0.125rem; }

/* Card Video */
.nos-card__video-thumb {
  position: relative;
  display: block;
  margin-top: 0.75rem;
  border-radius: var(--nos-radius-lg);
  overflow: hidden;
  background: var(--nos-text);
  aspect-ratio: 16/9;
}

.nos-card__video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }

.nos-card__play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nos-card__play-btn svg {
  width: 3.25rem;
  height: 3.25rem;
  background: rgb(255 255 255 / 0.92);
  color: var(--nos-text);
  border-radius: var(--nos-radius-full);
  padding: 0.75rem;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.25);
  transition: transform var(--nos-transition);
}

.nos-card--video:hover .nos-card__play-btn svg { transform: scale(1.12); }

.nos-card__video-duration {
  position: absolute;
  bottom: 0.625rem;
  right: 0.625rem;
  padding: 0.1875rem 0.5rem;
  background: rgb(0 0 0 / 0.75);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--nos-radius-sm);
}

/* Card Poll */
.nos-poll { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }

.nos-poll__option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--nos-border);
  border-radius: var(--nos-radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--nos-transition);
}

.nos-poll__option:hover { border-color: var(--nos-accent); }
.nos-poll__option-bar {
  position: absolute;
  inset: 0;
  background: var(--nos-accent-light);
  transform-origin: left;
  transition: transform 600ms ease;
}

.nos-poll__option-label,
.nos-poll__option-pct { position: relative; z-index: 1; font-size: 0.875rem; }
.nos-poll__option-label { font-weight: 600; }
.nos-poll__option-pct { font-size: 0.75rem; color: var(--nos-text-muted); }

.nos-poll__votes { font-size: 0.75rem; color: var(--nos-text-faint); margin-top: 0.25rem; text-align: right; }

/* ── Reactions ──────────────────────────────────────────────── */
.nos-reactions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nos-reactions__btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--nos-text-faint);
  padding: 0.375rem 0.625rem;
  border-radius: var(--nos-radius);
  transition: color var(--nos-transition), background var(--nos-transition), transform 100ms;
}

.nos-reactions__btn:hover                 { color: var(--nos-text-muted); background: var(--nos-surface); }
.nos-reactions__btn:active                { transform: scale(0.92); }
.nos-reactions__btn--like:hover           { color: #e11d48; background: #fff1f2; }
.nos-reactions__btn--like.is-active       { color: #e11d48; }
.nos-reactions__btn--dislike:hover        { color: #6366f1; background: #eef2ff; }
.nos-reactions__btn--dislike.is-active    { color: #6366f1; }
.nos-reactions__btn--comment:hover        { color: var(--nos-accent); background: var(--nos-accent-light); }
.nos-reactions__btn--share:hover          { color: #16a34a; background: #f0fdf4; }
.nos-reactions__btn--bookmark             { margin-left: auto; }
.nos-reactions__btn--bookmark:hover       { color: #d97706; background: #fffbeb; }
.nos-reactions__btn--bookmark.is-saved    { color: #d97706; }

/* ── Status dot ─────────────────────────────────────────────── */
.nos-status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--nos-radius-full);
  background: var(--nos-live);
}

.nos-status-dot--pulse { animation: nos-pulse 1.5s ease-in-out infinite; }

@keyframes nos-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

/* ── Article (single post) ──────────────────────────────────── */
.nos-article { padding: 1.5rem; }
.nos-article__header { margin-bottom: 1.5rem; }

.nos-article__section { margin-bottom: 0.625rem; }
.nos-article__section a {
  display: inline-flex;
  padding: 0.1875rem 0.625rem;
  background: var(--nos-accent-light);
  border-radius: var(--nos-radius-sm);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nos-accent);
}

.nos-article__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.nos-article__excerpt {
  font-size: 1.125rem;
  color: var(--nos-text-2);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.nos-article__meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.nos-article__author { display: flex; align-items: center; gap: 0.625rem; }
.nos-article__avatar { width: 2.5rem; height: 2.5rem; border-radius: var(--nos-radius-full); }
.nos-article__author-name { display: block; font-size: 0.875rem; font-weight: 600; }
.nos-article__date { display: block; font-size: 0.75rem; color: var(--nos-text-muted); }

.nos-article__thumbnail { margin: 1.5rem 0; }
.nos-article__thumbnail img { width: 100%; border-radius: var(--nos-radius-lg); }
.nos-article__caption { font-size: 0.75rem; color: var(--nos-text-muted); margin-top: 0.5rem; text-align: center; }

/* Prose */
.nos-prose { font-size: 1rem; line-height: 1.75; color: var(--nos-text-2); }
.nos-prose h2, .nos-prose h3 { color: var(--nos-text); font-weight: 700; margin: 1.5rem 0 0.75rem; }
.nos-prose p { margin-bottom: 1.25rem; }
.nos-prose a { color: var(--nos-accent); text-decoration: underline; }
.nos-prose blockquote {
  border-left: 3px solid var(--nos-accent);
  padding-left: 1rem;
  color: var(--nos-text-muted);
  font-style: italic;
  margin: 1.5rem 0;
}

/* ── Event Page ─────────────────────────────────────────────── */
.nos-event { padding: 1.5rem; position: relative; }
.nos-event__header { margin-bottom: 1.5rem; }

.nos-event__status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--nos-radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.nos-event__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.nos-event__meta { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.75rem; color: var(--nos-text-muted); }

.nos-event__timeline { display: flex; flex-direction: column; gap: 0; }

.nos-event__update {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--nos-border);
}

.nos-event__update-time {
  font-size: 0.75rem;
  color: var(--nos-text-faint);
  white-space: nowrap;
  padding-top: 0.2rem;
}

.nos-event__update-content { display: flex; flex-direction: column; gap: 0.375rem; }
.nos-event__update-text { font-size: 0.9375rem; font-weight: 500; color: var(--nos-text); line-height: 1.5; }

.nos-event__load-more {
  padding: 0.75rem 1.5rem;
  background: var(--nos-white);
  border-top: 1px solid var(--nos-border);
  box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.05);
  margin-top: 2rem;
}

/* ── Buttons ────────────────────────────────────────────────── */
.nos-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5625rem 1.125rem;
  border-radius: var(--nos-radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--nos-transition);
}

.nos-btn--primary {
  background: var(--nos-accent);
  color: var(--nos-white);
  box-shadow: 0 2px 8px rgb(2 132 199 / 0.3);
}
.nos-btn--primary:hover {
  background: var(--nos-accent-hover);
  color: var(--nos-white);
  box-shadow: 0 4px 12px rgb(2 132 199 / 0.4);
  transform: translateY(-1px);
}
.nos-btn--ghost {
  background: transparent;
  border: 1.5px solid var(--nos-border);
  color: var(--nos-text-2);
}
.nos-btn--ghost:hover {
  background: var(--nos-surface);
  border-color: var(--nos-border-2);
}
.nos-btn--sm { padding: 0.3125rem 0.875rem; font-size: 0.8125rem; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.nos-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--nos-text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.nos-breadcrumb a:hover { color: var(--nos-accent); }

/* ── Skeleton loader ────────────────────────────────────────── */
.nos-skeleton {
  background: linear-gradient(90deg, var(--nos-surface) 25%, var(--nos-border) 50%, var(--nos-surface) 75%);
  background-size: 200% 100%;
  animation: nos-shimmer 1.5s infinite;
  border-radius: var(--nos-radius);
}

.nos-skeleton--card { height: 12rem; margin-bottom: 0.75rem; border-radius: var(--nos-radius-xl); }

@keyframes nos-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* ── Footer — Dentro do Sidebar Direito ─────────────────────── */
.nos-sidebar-footer {
  margin-top: auto;
  padding: 1.25rem 0;
  border-top: 1px solid var(--nos-border);
  flex-shrink: 0;
}

.nos-sidebar-footer__brand {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nos-text);
  margin-bottom: 0.25rem;
}

.nos-sidebar-footer__brand strong { color: var(--nos-accent); }

.nos-sidebar-footer__tagline {
  font-size: 0.6875rem;
  color: var(--nos-text-muted);
  margin-bottom: 0.75rem;
}

.nos-sidebar-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.nos-sidebar-footer__nav a,
.nos-sidebar-footer__menu a {
  font-size: 0.6875rem;
  color: var(--nos-text-faint);
  transition: color var(--nos-transition);
}

.nos-sidebar-footer__nav a:hover,
.nos-sidebar-footer__menu a:hover { color: var(--nos-accent); }

.nos-sidebar-footer__menu { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nos-sidebar-footer__menu li { display: inline; }
.nos-sidebar-footer__menu li::after { content: '·'; margin-left: 0.5rem; color: var(--nos-border-2); }
.nos-sidebar-footer__menu li:last-child::after { display: none; }

.nos-sidebar-footer__copy {
  font-size: 0.625rem;
  color: var(--nos-text-faint);
}

/* ── 404 ────────────────────────────────────────────────────── */
.nos-404 { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.nos-404__inner { text-align: center; }
.nos-404__code { font-size: 6rem; font-weight: 900; color: var(--nos-border); display: block; }
.nos-404__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.nos-404__message { color: var(--nos-text-muted); margin-bottom: 1.5rem; }

/* ── Autocomplete ───────────────────────────────────────────── */
.nos-autocomplete {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  background: var(--nos-white);
  border: 1px solid var(--nos-border);
  border-radius: var(--nos-radius-lg);
  box-shadow: var(--nos-shadow-lg);
  z-index: 200;
  overflow: hidden;
}

/* ── Barra de navegação mobile (bottom) ─────────────────────── */
.nos-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nos-mobile-nav-h);
  background: var(--nos-white);
  border-top: 1px solid var(--nos-border);
  box-shadow: 0 -4px 16px rgb(0 0 0 / 0.08);
  z-index: 200;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
}

.nos-mobile-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  padding: 0.25rem 0.75rem;
  color: var(--nos-text-faint);
  font-size: 0.625rem;
  font-weight: 600;
  border-radius: var(--nos-radius);
  transition: color var(--nos-transition);
}

.nos-mobile-nav__item:hover,
.nos-mobile-nav__item.active { color: var(--nos-accent); }

/* ── Página de Usuários ──────────────────────────────────────── */
.nos-usuarios {
  padding: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nos-usuarios__hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0c1a2e 100%);
  padding: 2rem 1.5rem 1.5rem;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.nos-usuarios__hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgb(2 132 199 / 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.nos-usuarios__hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 5%;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgb(124 58 237 / 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.nos-usuarios__hero-text { margin-bottom: 1.25rem; position: relative; z-index: 1; }

.nos-usuarios__title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.375rem;
  background: linear-gradient(90deg, #fff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nos-usuarios__count {
  font-size: 0.9375rem;
  color: rgb(255 255 255 / 0.7);
}

.nos-usuarios__count strong {
  color: #93c5fd;
  font-weight: 700;
}

.nos-usuarios__search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.nos-usuarios__search-wrap {
  position: relative;
  flex: 1;
  min-width: 12rem;
}

.nos-usuarios__search-wrap svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(255 255 255 / 0.5);
  pointer-events: none;
}

.nos-usuarios__search-wrap input {
  width: 100%;
  height: 2.75rem;
  padding: 0 1rem 0 2.75rem;
  border: 1.5px solid rgb(255 255 255 / 0.2);
  border-radius: var(--nos-radius-full);
  background: rgb(255 255 255 / 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.9375rem;
  outline: none;
  transition: all var(--nos-transition);
}

.nos-usuarios__search-wrap input::placeholder { color: rgb(255 255 255 / 0.45); }

.nos-usuarios__search-wrap input:focus {
  border-color: rgb(2 132 199 / 0.6);
  background: rgb(255 255 255 / 0.15);
  box-shadow: 0 0 0 3px rgb(2 132 199 / 0.25);
}

.nos-usuarios__search .nos-btn--primary {
  background: var(--nos-accent);
  color: #fff;
  border: none;
  height: 2.75rem;
  padding: 0 1.5rem;
  border-radius: var(--nos-radius-full);
  white-space: nowrap;
}

.nos-usuarios__search .nos-btn--ghost {
  border-color: rgb(255 255 255 / 0.25);
  color: rgb(255 255 255 / 0.8);
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: var(--nos-radius-full);
}

.nos-usuarios__search .nos-btn--ghost:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.4);
}

/* Grid de usuários */
.nos-usuarios__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  scrollbar-width: thin;
}

.nos-usuarios__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
}

.nos-usuario-card {
  background: var(--nos-white);
  border: 1px solid var(--nos-border);
  border-radius: var(--nos-radius-xl);
  overflow: hidden;
  transition: all var(--nos-transition);
  box-shadow: var(--nos-shadow-sm);
  display: flex;
  flex-direction: column;
}

.nos-usuario-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nos-shadow-lg);
  border-color: rgb(2 132 199 / 0.25);
}

.nos-usuario-card__cover {
  height: 4rem;
  background: var(--nos-gradient-brand);
  position: relative;
}

.nos-usuario-card__avatar-wrap {
  position: absolute;
  bottom: -1.5rem;
  left: 1rem;
}

.nos-usuario-card__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--nos-radius-full);
  border: 3px solid var(--nos-white);
  object-fit: cover;
  box-shadow: var(--nos-shadow);
}

.nos-usuario-card__body {
  padding: 2rem 1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nos-usuario-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--nos-text);
  text-decoration: none;
  display: block;
  margin-bottom: 0.125rem;
  transition: color var(--nos-transition);
}

.nos-usuario-card__name:hover { color: var(--nos-accent); }

.nos-usuario-card__username {
  font-size: 0.75rem;
  color: var(--nos-text-muted);
  margin-bottom: 0.625rem;
  display: block;
}

.nos-usuario-card__bio {
  font-size: 0.8125rem;
  color: var(--nos-text-2);
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 0.75rem;
  flex: 1;
}

.nos-usuario-card__stats {
  display: flex;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.nos-usuario-card__stat {
  display: flex;
  flex-direction: column;
}

.nos-usuario-card__stat strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--nos-text);
  line-height: 1;
}

.nos-usuario-card__stat span {
  font-size: 0.625rem;
  color: var(--nos-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.125rem;
}

.nos-usuario-card__joined {
  font-size: 0.6875rem;
  color: var(--nos-text-faint);
  margin-bottom: 0.875rem;
}

.nos-usuario-card__footer {
  display: flex;
  gap: 0.5rem;
}

.nos-usuario-card__footer .nos-btn {
  flex: 1;
  justify-content: center;
  border-radius: var(--nos-radius);
}

.nos-usuario-card__footer .nos-btn--primary {
  box-shadow: none;
  font-size: 0.8125rem;
}

.nos-usuario-card__footer .nos-btn--ghost {
  font-size: 0.8125rem;
}

/* Empty state */
.nos-usuarios__empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--nos-text-muted);
  font-size: 0.9375rem;
}

/* Legacy: linha de usuário (fallback) */
.nos-usuario-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: var(--nos-white);
  border: 1px solid var(--nos-border);
  border-radius: var(--nos-radius-lg);
  transition: all var(--nos-transition);
}

.nos-usuario-row:hover { border-color: rgb(2 132 199 / 0.25); box-shadow: var(--nos-shadow); }

.nos-usuario-row__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--nos-radius-full);
  object-fit: cover;
  border: 2px solid var(--nos-border);
}

.nos-usuario-row__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--nos-text);
  text-decoration: none;
}
.nos-usuario-row__name:hover { color: var(--nos-accent); }
.nos-usuario-row__username { font-size: 0.8125rem; color: var(--nos-text-muted); margin-left: 0.25rem; }
.nos-usuario-row__bio { font-size: 0.8125rem; color: var(--nos-text-2); margin-top: 0.25rem; }
.nos-usuario-row__meta { display: flex; gap: 0.75rem; margin-top: 0.375rem; flex-wrap: wrap; }
.nos-usuario-row__stat { font-size: 0.75rem; color: var(--nos-text-muted); }
.nos-usuario-row__stat strong { color: var(--nos-text); }
.nos-usuario-row__joined { font-size: 0.75rem; color: var(--nos-text-faint); }
.nos-usuario-row__actions { margin-left: auto; flex-shrink: 0; }

/* Paginação */
.nos-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  flex-wrap: wrap;
}

.nos-pagination__info {
  font-size: 0.875rem;
  color: var(--nos-text-muted);
}

/* ── Responsive — 1200px: esconde sidebar-right ─────────────── */
@media (max-width: 1200px) {
  .nos-sidebar-right { display: none; }

  #nos-content,
  .nos-content {
    right: 0;
    border-right: none;
  }

  .nos-navbar__inner {
    padding-right: 1.25rem;
  }
}

/* ── Responsive — 768px: esconde sidebar-left, ativa bottom nav */
@media (max-width: 768px) {
  :root {
    --nos-sidebar-left-w: 0px;
  }

  .nos-sidebar-left { display: none; }

  .nos-mobile-nav { display: flex; }

  #nos-content,
  .nos-content {
    left: 0;
    right: 0;
    border: none;
    height: calc(100vh - var(--nos-navbar-h) - var(--nos-mobile-nav-h));
  }

  .nos-navbar__inner {
    padding-left: 1rem;
  }

  .nos-navbar__logo-text { display: none; }

  .nos-navbar__search { max-width: none; }

  .nos-feed-filters {
    top: 0 !important;
    padding: 0.625rem 1rem;
  }

  .nos-feed {
    padding-bottom: 0.5rem;
  }

  .nos-card--ad .nos-ad-inner { flex-direction: column; text-align: center; }
  .nos-card--ad .nos-ad-img { display: none; }

  .nos-usuarios__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .nos-usuarios__list {
    grid-template-columns: 1fr;
  }
}

/* ── Screen reader only ─────────────────────────────────────── */
.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

/* ── Skip link ──────────────────────────────────────────────── */
.nos-skip-link {
  background: #111827;
  color: #fff;
  font-weight: 600;
  left: 0.5rem;
  padding: 0.75rem 1.25rem;
  position: fixed;
  top: -100px;
  transition: top 0.15s ease-in-out;
  z-index: 100000;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
}
.nos-skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  margin: 0;
  overflow: visible;
  top: 0;
  width: auto;
}

/* ── Footer Fallback ────────────────────────────────────────── */
.nos-footer--fallback {
  display: none;
  border-top: 1px solid var(--nos-border);
  padding: 1.5rem 1rem;
  background: var(--nos-surface);
  clear: both;
}

.nos-footer__inner {
  max-width: var(--nos-content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.nos-footer__logo { font-weight: 600; font-size: 0.9375rem; }
.nos-footer__logo strong { color: var(--nos-accent); }
.nos-footer__tagline { font-size: 0.75rem; color: var(--nos-text-muted); margin-top: 0.25rem; }
.nos-footer__copy { font-size: 0.75rem; color: var(--nos-text-faint); margin-left: auto; }
.nos-footer__menu { list-style: none; display: flex; gap: 1rem; flex-wrap: wrap; }
.nos-footer__menu a { font-size: 0.8125rem; color: var(--nos-text-muted); }
.nos-footer__menu a:hover { color: var(--nos-accent); }

@media (max-width: 1200px) {
  .nos-footer--fallback { display: block; }
}

@media (max-width: 768px) {
  .nos-footer--fallback {
    padding-bottom: calc(var(--nos-mobile-nav-h) + 1.5rem);
  }
}
