@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;1,14..32,400&display=swap');

:root {
  /* Colors */
  --color-bg: #0b0f1a;
  --color-surface: rgba(22, 32, 51, 0.9);
  --color-surface-deep: rgba(9, 14, 26, 0.9);
  --color-section-dark: #111827;
  --color-accent: #00d1ff;

  /* Text */
  --color-text-primary: #ffffff;
  --color-text-secondary: #aab4c5;
  --color-text-muted: #8fa0b8;
  --color-text-label: #7f8da4;

  /* Borders */
  --color-border-subtle: rgba(0, 209, 255, 0.12);
  --color-border-featured: rgba(0, 209, 255, 0.35);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-inset: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  --shadow-glow: 0 0 28px rgba(0, 209, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: var(--color-bg);
  color: var(--color-text-primary);
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #ccc;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 40px;
}

.hero-content {
  max-width: 500px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero p {
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* BUTTONS */
.btn {
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  opacity: 1;
}

.primary {
  background: var(--color-accent);
  color: #0b0f1a;
}

.primary:hover {
  box-shadow: 0 4px 16px rgba(0, 209, 255, 0.25);
}

.secondary {
  border: 1px solid #444;
  color: white;
}

.secondary:hover {
  border-color: #666;
}

/* SECTIONS */
.section {
  padding: 80px 40px;
  text-align: center;
}

.section.dark {
  background: var(--color-section-dark);
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 40px auto 0;
}

.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-inset);
  padding: 28px;
  text-align: left;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(0, 209, 255, 0.14);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  color: var(--color-text-secondary);
  line-height: 1.65;
  font-size: 15px;
}

/* EVENTS */
.event-card {
  background: #1f2937;
  padding: 30px;
  border-radius: 12px;
  margin-top: 30px;
  display: inline-block;
}

/* CTA */
.cta {
  text-align: center;
  padding: 100px 40px;
}

.cta h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-description {
  color: var(--color-text-secondary);
  font-size: 18px;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 40px;
  color: #666;
}

/* NETWORK VISUAL */
.hero-visual {
  width: 400px;
  height: 300px;
  background: radial-gradient(circle, #00d1ff33, transparent);
  border-radius: 12px;
}
html {
  scroll-behavior: smooth;
}

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

.event-page {
  padding-bottom: 40px;
}

.event-hero {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 40px;
  padding: 72px 40px 48px;
  align-items: start;
}

.event-kicker {
  color: #00d1ff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.event-hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 900px;
}

.event-subhead {
  color: #aab4c5;
  font-size: 22px;
  line-height: 1.45;
  max-width: 760px;
  margin-bottom: 30px;
}

.event-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
  max-width: 820px;
}

.event-meta-card,
.event-panel,
.feature-card,
.timeline-card,
.comparison-card {
  background: rgba(22, 32, 51, 0.9);
  border: 1px solid rgba(0, 209, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02) inset;
}

.event-meta-card {
  padding: 18px 18px 16px;
}

.meta-label {
  color: #7f8da4;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.meta-value {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.event-panel {
  padding: 28px;
  position: sticky;
  top: 24px;
}

.event-panel h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.event-steps-list {
  padding-left: 18px;
  color: #c5cfdd;
  line-height: 1.7;
}

.event-steps-list li + li {
  margin-top: 10px;
}

.event-section {
  text-align: left;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-heading p {
  color: #aab4c5;
  font-size: 18px;
  line-height: 1.65;
}

.feature-grid,
.timeline-grid,
.comparison-grid {
  display: grid;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.timeline-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comparison-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.timeline-card,
.comparison-card {
  padding: 28px;
}

.feature-card h3,
.timeline-card h3,
.comparison-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.feature-card p,
.timeline-card p,
.comparison-card li {
  color: #c5cfdd;
  line-height: 1.7;
}

.timeline-number {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0, 209, 255, 0.14);
  color: #00d1ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.comparison-card ul {
  padding-left: 18px;
}

.comparison-card li + li {
  margin-top: 10px;
}

.comparison-card.active {
  border-color: rgba(0, 209, 255, 0.35);
  box-shadow: 0 0 24px rgba(0, 209, 255, 0.08);
}

.event-cta {
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .event-hero {
    grid-template-columns: 1fr;
  }

  .event-panel {
    position: static;
  }

  .event-meta-grid,
  .feature-grid,
  .timeline-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero,
  .section,
  .cta,
  .event-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }

  .hero h1,
  .event-hero h1 {
    font-size: 40px;
  }

  .event-subhead {
    font-size: 18px;
  }

  .nav-links a {
    margin-left: 0;
    margin-right: 16px;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    width: 100%;
    height: 220px;
  }
}
.events-page {
  padding-bottom: 40px;
}

.events-hero {
  padding: 72px 40px 36px;
}

.events-list-grid {
  display: grid;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.event-list-card {
  background: rgba(22, 32, 51, 0.9);
  border: 1px solid rgba(0, 209, 255, 0.12);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02) inset;
}

.event-list-card.featured {
  border-color: rgba(0, 209, 255, 0.32);
  box-shadow: 0 0 28px rgba(0, 209, 255, 0.08);
}

.event-list-card.muted {
  opacity: 0.96;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 209, 255, 0.14);
  color: #00d1ff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.card-badge.neutral {
  background: rgba(255, 255, 255, 0.08);
  color: #d1d7e0;
}

.event-list-card h3 {
  font-size: 30px;
  margin-bottom: 12px;
}

.event-list-meta {
  color: #8fa0b8;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.event-list-card p {
  color: #c5cfdd;
  line-height: 1.7;
}

.event-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 720px) {
  .events-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .event-list-card {
    padding: 24px;
  }

  .event-list-card h3 {
    font-size: 24px;
  }
}
.admin-page {
  padding-bottom: 40px;
}

.admin-hero {
  align-items: start;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.admin-card {
  background: rgba(22, 32, 51, 0.9);
  border: 1px solid rgba(0, 209, 255, 0.12);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02) inset;
}

.organizer-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.two-up {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row label {
  font-size: 14px;
  font-weight: 600;
  color: #dfe6ef;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(9, 14, 26, 0.9);
  color: #fff;
  border-radius: 12px;
  padding: 14px 14px;
  font-size: 15px;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(0, 209, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 209, 255, 0.08);
}

.field-help {
  color: #8fa0b8;
  font-size: 13px;
  line-height: 1.5;
}

.inline-action-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.small-btn {
  white-space: nowrap;
  padding: 12px 14px;
}

.admin-actions {
  margin-top: 8px;
}

.qr-card {
  display: grid;
  gap: 20px;
  align-content: start;
}

.qr-preview-header h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.qr-preview-header p {
  color: #c5cfdd;
  line-height: 1.7;
}

.qr-preview-shell {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  width: fit-content;
  margin: 0 auto;
}

#qrCanvas {
  display: block;
  width: 260px;
  height: 260px;
  max-width: 100%;
  border-radius: 8px;
}

.qr-meta {
  display: grid;
  gap: 14px;
}

.qr-meta-row {
  display: grid;
  gap: 6px;
}

.qr-meta-label {
  color: #8fa0b8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.qr-meta-value {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

code {
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.95em;
}

@media (max-width: 1100px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .form-row.two-up,
  .inline-action-row {
    grid-template-columns: 1fr;
  }

  .admin-card {
    padding: 22px;
  }
}
.qr-code-box {
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-box img,
.qr-code-box canvas {
  width: 260px !important;
  height: 260px !important;
}
.join-page {
  padding-bottom: 40px;
}

.join-hero {
  align-items: start;
}

.join-payload-card {
  margin-top: 28px;
  background: rgba(22, 32, 51, 0.9);
  border: 1px solid rgba(0, 209, 255, 0.12);
  border-radius: 16px;
  padding: 18px 20px;
  max-width: 860px;
}

.join-payload {
  margin-top: 8px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.5;
}

/* QR tab toggle (admin/event-setup) */
.qr-tab-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.qr-tab.active {
  background: rgba(0, 209, 255, 0.15);
  border-color: #00d1ff;
  color: #00d1ff;
}

/* QR display on public event page */
.event-qr-shell {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  width: fit-content;
  margin-bottom: 12px;
}

.event-qr-shell img,
.event-qr-shell canvas {
  display: block;
  width: 220px !important;
  height: 220px !important;
}

.event-qr-caption {
  color: #8fa0b8;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 4px;
}

.event-panel-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 20px 0;
}

/* In-app event QR on join page */
.join-qr-box {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
}

.join-qr-label {
  color: #8fa0b8;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.join-qr-shell {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  width: fit-content;
}

.join-qr-shell img,
.join-qr-shell canvas {
  display: block;
  width: 200px !important;
  height: 200px !important;
}

.join-qr-hint {
  color: #8fa0b8;
  font-size: 13px;
  line-height: 1.55;
  max-width: 360px;
}

/* ============================================================
   INTENT CAPTURE
   ============================================================ */
.intent-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 24px auto;
  max-width: 600px;
}

.intent-chip {
  background: rgba(22, 32, 51, 0.9);
  border: 1px solid rgba(0, 209, 255, 0.18);
  border-radius: 999px;
  color: #dfe6ef;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.intent-chip:hover {
  border-color: rgba(0, 209, 255, 0.5);
  background: rgba(0, 209, 255, 0.08);
}

.intent-chip.active {
  background: rgba(0, 209, 255, 0.18);
  border-color: #00d1ff;
  color: #00d1ff;
}

.intent-actions {
  text-align: center;
  margin-top: 16px;
}

.intent-status {
  text-align: center;
  color: #8fa0b8;
  font-size: 14px;
  margin-top: 12px;
  min-height: 20px;
}

/* ============================================================
   INTELLIGENCE PANEL
   ============================================================ */
.intel-section {
  margin-bottom: 32px;
}

.intel-section-title {
  font-size: 20px;
  color: #00d1ff;
  margin-bottom: 16px;
  text-align: left;
}

.intel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.intel-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(22, 32, 51, 0.9);
  border: 1px solid rgba(0, 209, 255, 0.12);
  border-radius: 14px;
  padding: 18px;
}

.intel-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.intel-avatar-placeholder {
  background: rgba(0, 209, 255, 0.14);
}

.intel-card-body {
  flex: 1;
  min-width: 0;
}

.intel-card-name {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.intel-card-reason {
  color: #aab4c5;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.intel-card-score {
  color: #7f8da4;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.intel-direction {
  font-size: 12px;
  margin-bottom: 4px;
  display: inline-block;
}
.intel-direction.outgoing { color: #6ec6a5; }
.intel-direction.incoming { color: #7ab8f5; }

.intel-empty {
  text-align: center;
  color: #8fa0b8;
  font-size: 16px;
  padding: 40px 20px;
}

@media (max-width: 720px) {
  .intent-grid {
    gap: 8px;
  }

  .intent-chip {
    padding: 10px 18px;
    font-size: 14px;
  }

  .intel-cards {
    grid-template-columns: 1fr;
  }
}

/* HOMEPAGE INTELLIGENCE */
.home-intel-subhead {
  color: #aab4c5;
  font-size: 16px;
  margin-bottom: 24px;
}

/* ADMIN EVENT LIST */
.admin-events-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.admin-event-row {
  background: rgba(22, 32, 51, 0.9);
  border: 1px solid rgba(0, 209, 255, 0.12);
  border-radius: 14px;
  padding: 18px 20px;
  display: grid;
  gap: 8px;
}

.admin-event-name {
  font-weight: 600;
  font-size: 16px;
}

.admin-event-meta {
  color: #8fa0b8;
  font-size: 13px;
}

.admin-event-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Admin action buttons — high contrast on dark backgrounds */
.admin-btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s ease;
}

.admin-btn:hover { opacity: 0.85; }
.admin-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.admin-btn-edit {
  background: #00d1ff;
  color: #0b0f1a;
}

.admin-btn-copy {
  background: rgba(255, 255, 255, 0.12);
  color: #dfe6ef;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-btn-delete {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.admin-btn-delete:hover {
  background: rgba(248, 113, 113, 0.25);
}

/* Inline link-style button for cancel edit */
.btn-inline-link {
  background: none;
  border: none;
  color: #00d1ff;
  cursor: pointer;
  font-size: inherit;
  text-decoration: underline;
  padding: 0;
}

.btn-inline-link:hover { opacity: 0.8; }

/* Join page hint text */
.join-hint {
  color: #8fa0b8;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
}

/* ============================================================
   NAV USER INDICATOR — injected by navAuth.js when signed in
   ============================================================ */
.nav-user-wrapper {
  position: relative;
  display: inline-flex;
  margin-left: 16px;
}

.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  background: rgba(0, 209, 255, 0.08);
  border: 1px solid rgba(0, 209, 255, 0.25);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  user-select: none;
}

.nav-user:hover,
.nav-user-wrapper.open .nav-user {
  background: rgba(0, 209, 255, 0.13);
  border-color: rgba(0, 209, 255, 0.45);
}

.nav-user-chevron {
  font-size: 10px;
  color: rgba(0, 209, 255, 0.7);
  line-height: 1;
  transition: transform 0.15s ease;
}

.nav-user-wrapper.open .nav-user-chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #161f33;
  border: 1px solid rgba(0, 209, 255, 0.2);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 8px;
  z-index: 100;
}

.nav-user-wrapper.open .nav-dropdown {
  display: block;
}

.nav-dropdown-email {
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 8px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 6px;
}

.nav-dropdown-signout {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #f87171;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.12s ease;
  font-family: inherit;
}

.nav-dropdown-signout:hover {
  background: rgba(248, 113, 113, 0.1);
}

.nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.nav-avatar-placeholder {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 209, 255, 0.18);
  color: var(--color-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}

.nav-user-name {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 720px) {
  .nav-user-wrapper {
    margin-left: 0;
    align-self: flex-start;
  }

  .nav-dropdown {
    left: 0;
    right: auto;
  }
}
