/* ============================================
   Mockup Chrome — styles that extend style.css
   Scoped to prototype screens only.
============================================ */

/* ---- Prototype banner (dev indicator) ---- */
.proto-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  font-family: 'Inter', sans-serif;
}
.proto-toggle {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  color: #0f1419;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  padding: 0.6rem 1rem;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.proto-toggle:hover { filter: brightness(1.05); }
.proto-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: rgba(20, 20, 30, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 0.5rem;
  min-width: 260px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.proto-bar.open .proto-menu { display: block; }
.proto-menu-heading {
  padding: 0.6rem 0.8rem;
  color: var(--text-dim);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.proto-menu a {
  display: block;
  padding: 0.55rem 0.8rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.15s;
}
.proto-menu a:hover { background: rgba(255, 255, 255, 0.08); }
.proto-menu a.active { color: var(--primary); background: rgba(255, 107, 0, 0.08); }
.proto-menu a .proto-muted { color: var(--text-dim); font-weight: 400; font-size: 0.75rem; }
.proto-menu hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); margin: 0.4rem 0; }

/* ---- Live ticker (home) ---- */
.ticker {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 2rem;
  padding: 0.65rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 980px;
  overflow: hidden;
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.ticker::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}
.ticker-track {
  white-space: nowrap;
  animation: ticker-scroll 45s linear infinite;
  flex: 1;
  overflow: hidden;
}
.ticker-track span { margin-right: 3rem; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Live counter block ---- */
.live-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 auto 2.5rem;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.12) 0%, rgba(37, 99, 235, 0.12) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 980px;
  backdrop-filter: blur(12px);
}
.live-counter-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b00 0%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.live-counter-label { color: var(--text-dim); font-size: 0.9rem; font-weight: 500; }

/* Founding builder scarcity bar */
.scarcity-bar {
  max-width: 600px;
  margin: 2rem auto 0;
  padding: 1rem 1.4rem;
  background: rgba(255, 107, 0, 0.06);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: 16px;
}
.scarcity-bar p {
  color: var(--text-main) !important;
  font-size: 0.9rem !important;
  margin-bottom: 0.6rem !important;
}
.scarcity-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 980px;
  overflow: hidden;
}
.scarcity-fill {
  height: 100%;
  width: 73%;
  background: linear-gradient(90deg, #ff6b00, #f59e0b);
  border-radius: 980px;
}
.scarcity-caption { color: var(--text-dim); font-size: 0.75rem; margin-top: 0.5rem !important; }

/* ---- Three home CTA cards (smaller than role-card) ---- */
.cta-tri {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.cta-mini {
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border-radius: 20px;
  border: 1px solid var(--glass-border-subtle);
  padding: 1.8rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.cta-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.cta-mini .emoji { font-size: 2rem; display: block; margin-bottom: 0.6rem; }
.cta-mini h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.cta-mini p { color: var(--text-dim); font-size: 0.85rem; }

/* ---- Section (shared) ---- */
.section {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-head h2 { font-size: 1.6rem; font-weight: 700; }
.section-head .see-all {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.section-head .see-all:hover { text-decoration: underline; }

/* ---- Profile card (used in directory + featured) ---- */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.profile-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}
.profile-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 0, 0.35);
  background: rgba(255, 255, 255, 0.07);
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff6b00, #2563eb);
  border: 3px solid rgba(255, 255, 255, 0.15);
}
.profile-avatar.lg { width: 120px; height: 120px; font-size: 2.6rem; border-width: 4px; }
.profile-card .name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.profile-card .role-loc {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
}
.profile-card .profile-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.profile-card .profile-stats strong { color: var(--text-main); }

/* ---- Badges ---- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 980px;
  white-space: nowrap;
  line-height: 1.4;
}
.badge-founding {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #0f1419;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
}
.badge-elite {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}
.badge-rising {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.badge-verified {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.22), rgba(37, 99, 235, 0.22));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ---- Profile hero (profile page) ---- */
.profile-hero {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 2.5rem 2rem;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top left, rgba(255, 107, 0, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(37, 99, 235, 0.25) 0%, transparent 60%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}
.profile-hero .identity .name {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.profile-hero .role-loc {
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
.profile-hero .bio { font-size: 0.95rem; color: var(--text-main); line-height: 1.5; max-width: 55ch; }
.profile-hero .actions { display: flex; flex-direction: column; gap: 0.6rem; }
.profile-hero .actions .btn { margin: 0; padding: 0.7rem 1.4rem; font-size: 0.85rem; }
.profile-hero .stats-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.5rem;
}
.profile-hero .stat .num { font-size: 1.6rem; font-weight: 800; }
.profile-hero .stat .label { color: var(--text-dim); font-size: 0.8rem; }
@media (max-width: 768px) {
  .profile-hero { grid-template-columns: 1fr; text-align: center; }
  .profile-hero .identity .name { justify-content: center; }
  .profile-hero .stats-row { justify-content: center; flex-wrap: wrap; gap: 1.2rem; }
}

/* ---- Skill tag cloud ---- */
.skill-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 0.4rem 0.9rem;
  border-radius: 980px;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.skill-tag:hover { background: rgba(255, 107, 0, 0.15); border-color: rgba(255, 107, 0, 0.35); }
.skill-tag.lg { font-size: 1rem; padding: 0.5rem 1.1rem; font-weight: 600; }
.skill-tag.xl { font-size: 1.15rem; padding: 0.6rem 1.3rem; font-weight: 700; background: rgba(255, 107, 0, 0.12); border-color: rgba(255, 107, 0, 0.35); color: #ffb370; }
.skill-tag .count { color: var(--text-dim); font-size: 0.75rem; margin-left: 0.3rem; }

/* ---- Project card ---- */
.project-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 1.2rem;
}
.project-card:hover {
  border-color: rgba(255, 107, 0, 0.35);
  transform: translateY(-2px);
}
.project-card .p-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.project-card h3 { font-size: 1.2rem; font-weight: 700; }
.project-card .problem { color: var(--text-dim); font-size: 0.9rem; line-height: 1.5; margin-bottom: 0.8rem; }
.project-card .stack { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.project-card .stack span {
  background: rgba(37, 99, 235, 0.1);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.25);
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
}
.project-card .footer {
  display: flex;
  gap: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.project-card .footer .up {
  color: var(--primary);
  font-weight: 700;
}

/* ---- Endorsement quote ---- */
.endorsement {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
}
.endorsement p { font-size: 0.95rem; line-height: 1.55; margin-bottom: 0.6rem; font-style: italic; }
.endorsement cite {
  color: var(--text-dim);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 500;
}

/* ---- Filter bar (directory) ---- */
.filter-bar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 2rem;
}
.filter-bar .filter {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: 980px;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
}
.filter-bar .filter:hover { background: rgba(255, 255, 255, 0.1); }
.filter-bar .filter.active {
  background: rgba(255, 107, 0, 0.15);
  border-color: rgba(255, 107, 0, 0.35);
  color: var(--primary);
}
.filter-bar input[type="search"] {
  flex: 1;
  min-width: 200px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  padding: 0.55rem 1rem;
  border-radius: 980px;
  font-size: 0.9rem;
  font-family: inherit;
}

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.results-meta select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
}
.pagination a, .pagination span {
  padding: 0.5rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}
.pagination a:hover { background: rgba(255, 255, 255, 0.1); }
.pagination .current {
  background: rgba(255, 107, 0, 0.15);
  border-color: rgba(255, 107, 0, 0.35);
  color: var(--primary);
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 0.4rem; opacity: 0.5; }

/* ---- Prose (project readme, landing page definition) ---- */
.prose {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1rem;
  color: var(--text-main);
}
.prose h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  line-height: 1.15;
}
.prose h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2.5rem 0 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.prose h3 { font-size: 1.2rem; font-weight: 700; margin: 1.8rem 0 0.6rem; }
.prose p { margin-bottom: 1rem; color: var(--text-dim); }
.prose p.lead { font-size: 1.15rem; color: var(--text-main); }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--text-dim); }
.prose li { margin-bottom: 0.4rem; }
.prose code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 5px;
  font-size: 0.88em;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  color: #ffb370;
}
.prose a { color: var(--primary); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose .byline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ---- Article card (news) ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s, border-color 0.3s;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(255, 107, 0, 0.35); }
.news-thumb {
  height: 150px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.3);
}
.news-thumb.ai { background: linear-gradient(135deg, #7c3aed, #2563eb); }
.news-thumb.reg { background: linear-gradient(135deg, #dc2626, #7c2d12); }
.news-thumb.fund { background: linear-gradient(135deg, #059669, #065f46); }
.news-body { padding: 1.2rem; }
.news-category {
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.news-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.35; }
.news-card .meta { color: var(--text-dim); font-size: 0.78rem; }

/* ---- Shared block wrappers ---- */
.block-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
}

/* ---- Avatar stack ---- */
.avatar-stack { display: flex; }
.avatar-stack .profile-avatar {
  width: 40px;
  height: 40px;
  font-size: 0.95rem;
  margin: 0 -0.5rem 0 0;
  border-width: 2px;
}

/* ---- Role landing hero ---- */
.role-landing-hero {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at center, rgba(168, 85, 247, 0.15) 0%, transparent 70%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.role-landing-hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; }
.role-landing-hero h1 .gradient {
  background: linear-gradient(135deg, #a855f7, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.role-landing-hero .sub { font-size: 1.15rem; color: var(--text-dim); max-width: 650px; margin: 0 auto 2rem; line-height: 1.6; }
.role-landing-hero .meta-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.role-landing-hero .meta-row strong { color: var(--text-main); font-size: 1.3rem; display: block; font-weight: 800; }

/* ---- Back-to-hub sticky (mockup only) ---- */
.proto-note {
  max-width: 1100px;
  margin: 1.5rem auto;
  padding: 0.8rem 1.2rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  color: #fcd34d;
  font-size: 0.8rem;
}
.proto-note code { background: rgba(0, 0, 0, 0.3); padding: 0.1rem 0.4rem; border-radius: 4px; }

/* ============================================
   v2 — Anonymous browse + shortlist
============================================ */

/* Anonymous profile card — selectable */
.anon-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.4rem 1.4rem 1.2rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  overflow: hidden;
}
.anon-card:hover {
  border-color: rgba(255, 107, 0, 0.35);
  transform: translateY(-3px);
}
.anon-card.selected {
  border-color: rgba(255, 107, 0, 0.6);
  background: rgba(255, 107, 0, 0.06);
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.25);
}
.anon-card .anon-check {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  z-index: 2;
}
.anon-card .anon-check:hover { border-color: var(--primary); }
.anon-card.selected .anon-check {
  background: var(--primary);
  border-color: var(--primary);
}
.anon-card.selected .anon-check::after {
  content: '✓';
  color: #0f1419;
  font-weight: 800;
  font-size: 0.95rem;
}
.anon-card .anon-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.anon-card .anon-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #334155, #1e293b);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}
.anon-card .anon-meta { flex: 1; }
.anon-card .anon-role {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.anon-card .anon-loc { font-size: 0.78rem; color: var(--text-dim); }
.anon-card .anon-preview {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin-bottom: 0.7rem;
}
.anon-card .anon-preview strong { color: var(--text-main); font-weight: 600; }
.anon-card .anon-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.7rem; }
.anon-card .anon-tags span {
  background: rgba(37, 99, 235, 0.1);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 0.1rem 0.45rem;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 500;
}
.anon-card .anon-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-dim);
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Sticky shortlist bar */
.shortlist-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: linear-gradient(180deg, rgba(15,20,25,0.6) 0%, rgba(15,20,25,0.95) 40%, rgba(15,20,25,1) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.shortlist-bar.visible { transform: translateY(0); }
.shortlist-bar .count {
  font-weight: 700;
  font-size: 1rem;
}
.shortlist-bar .count strong {
  color: var(--primary);
  font-size: 1.4rem;
  margin-right: 0.2rem;
}
.shortlist-bar .count .max { color: var(--text-dim); font-size: 0.85rem; font-weight: 400; margin-left: 0.3rem; }
.shortlist-bar .btn { margin-top: 0; padding: 0.7rem 1.4rem; font-size: 0.9rem; }
.shortlist-bar .clear {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-dim);
  padding: 0.55rem 1rem;
  border-radius: 980px;
  font-size: 0.82rem;
  cursor: pointer;
}
.shortlist-bar .clear:hover { color: var(--text-main); }
.shortlist-spacer { height: 80px; }

/* Shortlist mini-chips (on home as teaser) */
.shortlist-teaser {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.2rem 1.4rem;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 16px;
}
.shortlist-teaser h4 { color: #4ade80; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.shortlist-teaser p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.55; margin: 0; }

/* Anonymous profile hero (individual profile page) */
.anon-hero {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 2.5rem 2rem;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top left, rgba(255, 107, 0, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(37, 99, 235, 0.18) 0%, transparent 60%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.anon-hero .anon-tag {
  display: inline-block;
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 980px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.anon-hero .anon-id {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}
.anon-hero .anon-avatar-lg {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #334155, #1e293b);
  border: 3px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 2.5rem;
  flex-shrink: 0;
}
.anon-hero .anon-id .identity h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.anon-hero .anon-id .identity p { color: var(--text-dim); font-size: 0.95rem; }
.anon-hero .bio {
  color: var(--text-main);
  line-height: 1.55;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 65ch;
}
.anon-hero .anon-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.anon-hero .anon-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.4rem;
  margin-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.anon-hero .anon-stat .num { font-size: 1.3rem; font-weight: 800; }
.anon-hero .anon-stat .label { font-size: 0.75rem; color: var(--text-dim); }

/* Project row (inline on profile) */
.project-row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  margin-bottom: 0.9rem;
  transition: border-color 0.2s;
}
.project-row:hover { border-color: rgba(255, 107, 0, 0.25); }
.project-row .pr-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.project-row h3 { font-size: 1.05rem; font-weight: 700; }
.project-row .num {
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 500;
}
.project-row .blurb {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 0.8rem;
}
.project-row .pr-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.project-row .pr-foot .tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  flex: 1;
}
.project-row .pr-foot .tech span {
  background: rgba(37, 99, 235, 0.1);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 0.12rem 0.5rem;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 500;
}
.project-row .pr-foot a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.project-row .pr-foot a:hover { text-decoration: underline; }

/* Work experience timeline */
.work-timeline { list-style: none; padding: 0; margin: 0; }
.work-timeline li {
  position: relative;
  padding: 0 0 1.5rem 1.8rem;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
}
.work-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.work-timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}
.work-timeline .company {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}
.work-timeline .title-years {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.work-timeline .title-years .years {
  color: var(--primary);
  font-weight: 600;
}
.work-timeline .desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* "How shortlisting works" mini explainer */
.how-it-works {
  max-width: 950px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
@media (max-width: 640px) {
  .how-grid { grid-template-columns: 1fr; }
}
.how-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
}
.how-step .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b00, #f59e0b);
  color: #0f1419;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.how-step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.how-step p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.5; }

/* ============================================
   Batch 2 — forms, dashboard, editor
============================================ */

/* Auth card (sign in / sign up) */
.auth-wrap {
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}
.auth-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border-subtle);
  border-radius: 24px;
  padding: 2.5rem 2.2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.auth-card h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.4rem; text-align: center; }
.auth-card .auth-sub { color: var(--text-dim); font-size: 0.9rem; text-align: center; margin-bottom: 1.8rem; }

/* Form primitives */
.form-group { margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) {
  .form-row, .form-row.cols-3 { grid-template-columns: 1fr; }
}
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}
.form-label .required { color: var(--primary); }
.form-label .muted { color: var(--text-dim); font-weight: 400; font-size: 0.78rem; margin-left: 0.3rem; }
.form-help {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  line-height: 1.45;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: rgba(255, 107, 0, 0.5);
  background: rgba(0, 0, 0, 0.35);
}
.form-textarea { resize: vertical; line-height: 1.5; min-height: 88px; }
.form-select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2394a3b8' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-input[type="file"] { padding: 0.5rem; }

.char-counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--text-dim);
}
.char-counter.over { color: #f87171; }
.char-counter.near { color: #fbbf24; }

/* Photo upload block */
.photo-upload {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.photo-preview {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b00, #2563eb);
  border: 3px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  flex-shrink: 0;
}
.photo-upload .btn-upload {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 0.55rem 1.1rem;
  border-radius: 980px;
  font-size: 0.82rem;
  cursor: pointer;
  font-weight: 500;
}
.photo-upload .btn-upload:hover { background: rgba(255, 255, 255, 0.1); }

/* Editor layout (submit.html) */
.editor-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
  padding-bottom: 8rem;
}
@media (max-width: 900px) {
  .editor-wrap { grid-template-columns: 1fr; }
  .editor-side { order: -1; }
}
.editor-header {
  max-width: 1100px;
  margin: 2.5rem auto 1.5rem;
  padding: 0 1.5rem;
}
.editor-header h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.3rem; }
.editor-header p { color: var(--text-dim); font-size: 0.95rem; }

.editor-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.editor-section .sec-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.4rem;
}
.editor-section .sec-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b00, #f59e0b);
  color: #0f1419;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
}
.editor-section h2 { font-size: 1.25rem; font-weight: 700; }
.editor-section .sec-sub {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  padding-left: 2.4rem;
}

/* Saved row inside editor (project or job) */
.editor-row {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 0.8rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.editor-row .row-main { flex: 1; }
.editor-row h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.editor-row .row-meta { color: var(--text-dim); font-size: 0.78rem; margin-bottom: 0.5rem; }
.editor-row .row-desc { color: var(--text-dim); font-size: 0.85rem; line-height: 1.5; }
.editor-row .row-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.5rem; }
.editor-row .row-tags span {
  background: rgba(37, 99, 235, 0.1);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 0.1rem 0.45rem;
  border-radius: 5px;
  font-size: 0.68rem;
}
.editor-row .row-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }
.editor-row .row-actions button, .editor-row .row-actions a {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  font-size: 0.72rem;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.editor-row .row-actions button:hover, .editor-row .row-actions a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}
.editor-row .row-actions .danger { color: #f87171; border-color: rgba(248, 113, 113, 0.3); }
.editor-row .row-actions .danger:hover { background: rgba(248, 113, 113, 0.1); }

/* Inline "add" form (project being added) */
.editor-form-card {
  background: rgba(255, 107, 0, 0.04);
  border: 1px dashed rgba(255, 107, 0, 0.35);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 0.8rem;
}
.editor-form-card .form-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.editor-form-card .form-card-head h4 { font-size: 0.95rem; font-weight: 700; }
.editor-form-card .form-card-foot {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.8rem;
}

/* Add-row button */
.add-row-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--text-dim);
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.add-row-btn:hover:not(:disabled) {
  border-color: rgba(255, 107, 0, 0.5);
  color: var(--primary);
  background: rgba(255, 107, 0, 0.05);
}
.add-row-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.add-row-btn .count { color: var(--text-dim); font-weight: 400; font-size: 0.78rem; margin-left: 0.3rem; }

/* Editor sidebar (checklist) */
.editor-side {
  position: sticky;
  top: 82px;
  align-self: start;
}
.side-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.4rem;
  margin-bottom: 1rem;
}
.side-card h4 { font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 0.9rem; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li.done { color: var(--text-main); }
.checklist li .ck {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.checklist li.done .ck {
  background: #22c55e;
  border-color: #22c55e;
  color: #0f1419;
}
.checklist li.done .ck::after { content: '✓'; font-weight: 800; }

.progress-ring {
  text-align: center;
  padding: 0.4rem 0 0.8rem;
}
.progress-ring .pct {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b00, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.progress-ring .sub { color: var(--text-dim); font-size: 0.8rem; }

/* Sticky save bar */
.save-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 400;
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.save-bar .status {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-right: auto;
  max-width: 1100px;
  width: 100%;
  padding: 0 0 0.5rem;
}
@media (min-width: 900px) {
  .save-bar .status { width: auto; padding: 0; }
  .save-bar { justify-content: center; }
  .save-bar .inner { max-width: 1100px; width: 100%; margin: 0 auto; display: flex; align-items: center; gap: 0.6rem; }
}

/* Dashboard stats */
.dash-wrap {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
}
.dash-greet {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.dash-sub { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 2rem; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
}
.stat-card .label {
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.stat-card .num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-card .delta { font-size: 0.78rem; font-weight: 600; }
.stat-card .delta.up { color: #4ade80; }
.stat-card .delta.down { color: #f87171; }

.dash-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 820px) { .dash-grid { grid-template-columns: 1fr; } }

.dash-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
}
.dash-block h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.8rem; }
.dash-block .empty-hint { color: var(--text-dim); font-size: 0.85rem; }

.request-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}
.request-item:last-child { border-bottom: 0; }
.request-item .who {
  font-size: 0.88rem;
}
.request-item .who strong { color: var(--text-main); }
.request-item .when { color: var(--text-dim); font-size: 0.75rem; }

.quick-action {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  transition: border-color 0.2s, background 0.2s;
}
.quick-action:hover { border-color: rgba(255, 107, 0, 0.35); background: rgba(255, 107, 0, 0.04); }
.quick-action .qa-icon { font-size: 1.3rem; }
.quick-action .qa-title { font-weight: 600; font-size: 0.88rem; }
.quick-action .qa-sub { color: var(--text-dim); font-size: 0.75rem; }

/* Simple tag input (mockup — not functional) */
.tag-input-wrap {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.tag-input-wrap .tag-chip {
  background: rgba(37, 99, 235, 0.18);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.35);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.tag-input-wrap .tag-chip .x { cursor: pointer; opacity: 0.7; }
.tag-input-wrap input {
  background: transparent;
  border: 0;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.85rem;
  flex: 1;
  min-width: 100px;
  outline: none;
  padding: 0.2rem 0;
}

/* ============================================
   Line-art SVG card icons (orange stroke)
============================================ */
svg.card-icon {
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  margin: 0 auto 0.7rem;
}
.cta-mini svg.card-icon { width: 40px; height: 40px; }
.cta-quad .cta-mini svg.card-icon { width: 38px; height: 38px; margin-bottom: 0.6rem; }
.feature-card svg.card-icon { width: 52px; height: 52px; margin-bottom: 1rem; }
.quick-action svg.card-icon { width: 22px; height: 22px; stroke-width: 2.2; margin: 0; }

/* Hero subtitle forced to one line on desktop */
.hero-text p.one-line {
  max-width: none;
  font-size: 0.95rem;
  white-space: nowrap;
  padding: 0 1rem;
}
@media (max-width: 1150px) {
  .hero-text p.one-line {
    white-space: normal;
    font-size: 1.05rem;
    max-width: 700px;
  }
}

/* ============================================
   Home hero grid — news panel + 2x2 CTA quad
============================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 0.63fr;
  gap: 1.2rem;
  max-width: 1100px;
  margin: 2.5rem auto 1.5rem;
  padding: 0 1.5rem;
  width: 100%;
  align-items: stretch;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* News panel — tall glass card with 10 latest */
.news-panel {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 50%, rgba(255,255,255,0.1) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid;
  border-color: var(--glass-border-light) var(--glass-border-subtle) var(--glass-border-subtle) var(--glass-border-light);
  border-radius: 24px;
  padding: 1.4rem 1.4rem 0.8rem;
  display: flex;
  flex-direction: column;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.4),
    inset 0 0 20px var(--glass-inner-glow),
    0 8px 28px rgba(0,0,0,0.25);
  height: 580px;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.news-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 100%);
  border-radius: 24px 24px 0 0;
  pointer-events: none;
}
@media (max-width: 900px) {
  .news-panel { height: 440px; }
}

.news-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.9rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.news-panel-head h3 {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: 0.3px;
}
.news-panel-head .live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
  flex-shrink: 0;
}
.news-panel-head .all-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}
.news-panel-head .all-link:hover { text-decoration: underline; }

.news-panel-list {
  overflow-y: auto;
  flex: 1;
  padding-right: 0.5rem;
  margin-right: -0.5rem;
}
.news-panel-list::-webkit-scrollbar { width: 5px; }
.news-panel-list::-webkit-scrollbar-track { background: transparent; }
.news-panel-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}
.news-panel-list::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

.news-row {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0.8rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  transition: background 0.15s, transform 0.15s;
}
.news-row:hover {
  background: rgba(255, 107, 0, 0.06);
  transform: translateX(2px);
}
.news-row:last-child { border-bottom: 0; }
.news-row .meta {
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.25rem;
}
.news-row .meta .cat { color: var(--primary); }
.news-row h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  line-height: 1.35;
}
.news-row p {
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0;
}

/* CTA column — three cards stretching to match news-panel height, narrow width */
.cta-quad {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 0.9rem;
}
.cta-quad .cta-mini {
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 0;
}
.cta-quad .cta-mini svg.card-icon { width: 30px; height: 30px; margin-bottom: 0.4rem; }
.cta-quad .cta-mini h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.cta-quad .cta-mini p { font-size: 0.76rem; line-height: 1.4; }

/* Counter card (was a pill, now a square card matching CTA cards) */
.counter-card {
  background:
    linear-gradient(135deg, rgba(255,107,0,0.14) 0%, rgba(37,99,235,0.14) 100%),
    linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border-radius: 20px;
  border: 1px solid var(--glass-border-subtle);
  padding: 1.1rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 4px 16px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}
.counter-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.counter-card .num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b00 0%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -1px;
}
.counter-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.counter-card p {
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.4;
}
.counter-card p .founding {
  display: inline-block;
  margin-top: 0.3rem;
  color: #fcd34d;
  font-weight: 600;
}
.counter-card p .founding {
  display: inline-block;
  margin-top: 0.3rem;
  color: #fcd34d;
  font-weight: 600;
}

/* Upvote button — secondary to Shortlist */
.btn-vote {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  padding: 0.8rem 1.4rem;
  border-radius: 980px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-vote:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.55);
  color: #86efac;
  transform: translateY(-1px);
}
.btn-vote.voted {
  background: rgba(34, 197, 94, 0.22);
  border-color: rgba(34, 197, 94, 0.6);
  color: #86efac;
}
.btn-vote.voted::before { content: '✓ '; font-weight: 800; }

/* Signed-in indicator pill in header */
.signed-in-pill {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 980px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.signed-in-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

/* ---- Responsive tweaks ---- */
@media (max-width: 768px) {
  .profile-hero { padding: 1.8rem 1.2rem; }
  .profile-hero .identity .name { font-size: 1.6rem; }
  .prose h1 { font-size: 2rem; }
  .role-landing-hero { padding: 2rem 1.2rem; }
  .role-landing-hero h1 { font-size: 2.2rem; }
  .editor-section { padding: 1.3rem 1.2rem; }
  .dash-greet { font-size: 1.4rem; }
}

/* ---- News archive section label + live ticker board ---- */
.section-label {
  width: 100%; max-width: 1180px;
  margin: 0 auto 0.9rem;
  padding: 0 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  text-align: left; box-sizing: border-box;
}
.section-label .lbl {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; letter-spacing: 0.12em;
  font-weight: 700; text-transform: uppercase; color: var(--text-dim);
}
.section-label .lbl.live::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #ef4444; box-shadow: 0 0 8px #ef4444;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.section-label .meta { color: var(--text-dim); font-size: 0.78rem; }

.ticker-board {
  width: 100%; max-width: 1180px;
  margin: 0 auto 3rem; padding: 0 1.2rem;
  text-align: left; box-sizing: border-box;
}
.ticker-list {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; text-align: left;
  max-height: 640px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.ticker-list::-webkit-scrollbar { width: 6px; }
.ticker-list::-webkit-scrollbar-track { background: transparent; }
.ticker-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }
.ticker-list::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }
.ticker-row {
  display: grid; grid-template-columns: 140px 1fr 120px 30px;
  align-items: center; gap: 1rem; padding: 0.85rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none; color: inherit;
  transition: background 0.15s ease; text-align: left;
}
.ticker-row:last-child { border-bottom: 0; }
.ticker-row:hover { background: rgba(255,255,255,0.035); }
.ticker-row .source {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--text-dim); font-size: 0.78rem; font-weight: 600;
}
.ticker-row .source-dot {
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.s-openai    { background: #10a37f; }
.s-anthropic { background: #d97757; }
.s-deepmind  { background: #4285f4; }
.s-meta      { background: #1877f2; }
.s-arxiv     { background: #b31b1b; }
.s-hf        { background: #ffcc00; color: #222; }
.s-aim       { background: #7c3aed; }
.s-inc42     { background: #ff4d4f; }
.s-tc        { background: #00d084; }
.s-mtp       { background: #f59e0b; }
.s-mit       { background: #a41f35; }
.s-llmstats  { background: #64748b; }
.ticker-row .headline { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.ticker-row .headline h3 {
  font-size: 0.9rem; font-weight: 400; line-height: 1.45;
  color: rgba(255,255,255,0.82); margin: 0;
}
.ticker-row .headline .tag-row { display: none; }
.ticker-row .mini-tag {
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.1rem 0.4rem; border-radius: 3px;
  background: rgba(255,255,255,0.04); color: var(--text-dim); border: 1px solid rgba(255,255,255,0.06);
}
.mt-model-release { background: rgba(255,107,0,0.1);    color: #ffb380; border-color: rgba(255,107,0,0.25); }
.mt-research      { background: rgba(59,130,246,0.1);   color: #93c5fd; border-color: rgba(59,130,246,0.25); }
.mt-funding       { background: rgba(74,222,128,0.1);   color: #86efac; border-color: rgba(74,222,128,0.25); }
.mt-india         { background: rgba(236,72,153,0.1);   color: #f9a8d4; border-color: rgba(236,72,153,0.25); }
.mt-open-source   { background: rgba(124,58,237,0.12);  color: #c4b5fd; border-color: rgba(124,58,237,0.25); }
.mt-product       { background: rgba(250,204,21,0.1);   color: #fde68a; border-color: rgba(250,204,21,0.25); }
.mt-policy        { background: rgba(244,114,182,0.1);  color: #fbcfe8; border-color: rgba(244,114,182,0.25); }
.mt-infra         { background: rgba(148,163,184,0.12); color: #cbd5e1; border-color: rgba(148,163,184,0.2); }
.ticker-row .time { color: var(--text-dim); font-size: 0.75rem; text-align: right; }
.ticker-row .arrow { color: var(--text-dim); opacity: 0.4; font-size: 0.9rem; text-align: right; }
.ticker-row:hover .arrow { opacity: 1; color: var(--primary); }
@media (max-width: 760px) {
  .ticker-row { grid-template-columns: 1fr; gap: 0.4rem; padding: 0.9rem 1rem; }
  .ticker-row .source  { order: 1; }
  .ticker-row .headline { order: 2; }
  .ticker-row .headline h3 { white-space: normal; }
  .ticker-row .time   { order: 3; text-align: left; }
  .ticker-row .arrow  { display: none; }
}
.ticker-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255,255,255,0.05);
}
.ticker-footer .status {
  font-size: 0.78rem; color: var(--text-dim);
  display: flex; align-items: center; gap: 0.5rem;
}

/* ==========================================================================
   Skeleton placeholders for .pick-card while editorial/news lists hydrate.
   Used by /news/index.html and / (homepage). Replaced by real cards once
   the API response arrives; stays put if the request fails.
   ========================================================================== */
.pick-card.skeleton, .ticker-row.skeleton {
  pointer-events: none;
}
.pick-card.skeleton .skel-line,
.ticker-row.skeleton .skel-line {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.10) 50%,
    rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s ease-in-out infinite;
  border-radius: 4px;
  height: 0.7rem;
  margin: 0.35rem 0;
}
.pick-card.skeleton .skel-line.long  { width: 90%; height: 1rem; }
.pick-card.skeleton .skel-line.short { width: 60%; }
.pick-card.skeleton .skel-line.mid   { width: 75%; }
@keyframes skel-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
