/* ============================================================
   WiggMap Connect — Design System
   connect.css v1.0
   Mobile first, max-width 480px
   Palette : --wigg-night fond, --wigg-green action unique
   ============================================================ */

/* -------------------------------------------------------
   Variables CSS — palette, typo, espacements
   ------------------------------------------------------- */
:root {
  /* Couleurs fond — dark mode */
  --wigg-night:       #060d08;
  --wigg-card:        rgba(255,255,255,0.04);
  --wigg-surface:     rgba(255,255,255,0.07);
  --wigg-border:      rgba(255,255,255,0.08);

  /* Couleurs action */
  --wigg-green:       #1dd876;
  --wigg-green-dk:    #17b562;
  --wigg-green-bg:    rgba(29,216,118,0.12);

  /* Couleurs sémantiques */
  --wigg-blue:        #5ab7f5;
  --wigg-amber:       #f59e0b;
  --wigg-pink:        #f472b6;

  /* Texte */
  --wigg-text-1:      #f0f5f1;
  --wigg-text-2:      rgba(255,255,255,0.7);
  --wigg-text-3:      rgba(255,255,255,0.4);
  --wigg-text-4:      rgba(255,255,255,0.25);

  /* Fonds des badges post */
  --badge-temoignage-bg: rgba(29,216,118,0.12);
  --badge-flash-bg:      rgba(245,158,11,0.12);
  --badge-journal-bg:    rgba(90,183,245,0.12);
  --badge-question-bg:   rgba(244,114,182,0.12);
  --badge-commerce-bg:   rgba(255,255,255,0.06);

  /* Typographie */
  --font-base: 'Inter', system-ui, -apple-system, sans-serif;

  /* Espacements */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  32px;
  --sp-2xl: 48px;

  /* Border radius */
  --r-card:   16px;
  --r-pill:   999px;
  --r-btn:    12px;
  --r-input:  12px;
  --r-avatar: 50%;

  /* Bordures */
  --border: 1px solid var(--wigg-border);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  background: var(--wigg-night);
  color: var(--wigg-text-1);
  font-size: 12px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* -------------------------------------------------------
   Layout — conteneur mobile first
   ------------------------------------------------------- */
.connect-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
  /* Espace pour top bar (56px) + bottom bar (64px) */
  padding-top: 56px;
  padding-bottom: 80px;
}

/* -------------------------------------------------------
   Typographie
   ------------------------------------------------------- */
.text-display {
  font-size: 18px;
  font-weight: 500;
  color: var(--wigg-text-1);
}

.text-heading {
  font-size: 15px;
  font-weight: 500;
  color: var(--wigg-text-1);
}

.text-body {
  font-size: 12px;
  font-weight: 400;
  color: var(--wigg-text-1);
}

.text-caption {
  font-size: 10px;
  font-weight: 400;
  color: var(--wigg-text-2);
}

.text-micro {
  font-size: 9px;
  font-weight: 400;
  color: var(--wigg-text-3);
}

.text-secondary { color: var(--wigg-text-2); }
.text-tertiary  { color: var(--wigg-text-3); }
.text-green     { color: var(--wigg-green); }
.text-amber     { color: var(--wigg-amber); }
.text-blue      { color: var(--wigg-blue); }
.text-pink      { color: var(--wigg-pink); }

/* -------------------------------------------------------
   Top Bar
   ------------------------------------------------------- */
.connect-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--wigg-night);
  border-bottom: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-md);
  z-index: 100;
  max-width: 480px;
  margin: 0 auto;
}

/* Centrer la topbar sur desktop */
@media (min-width: 480px) {
  .connect-topbar {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 480px;
  }
}

.connect-topbar__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.connect-topbar__logo-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--wigg-text-1);
}

.connect-topbar__logo-text span {
  color: var(--wigg-green);
}

.connect-topbar__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.connect-topbar__icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wigg-surface);
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wigg-text-2);
}

.connect-topbar__icon-btn:active {
  background: var(--wigg-border);
}

/* -------------------------------------------------------
   Bottom Navigation Bar
   ------------------------------------------------------- */
.connect-bottombar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--wigg-night);
  border-top: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 var(--sp-sm);
  z-index: 100;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .connect-bottombar {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 480px;
  }
}

.connect-bottombar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: var(--sp-sm);
  color: var(--wigg-text-4);
  flex: 1;
  transition: color 0.15s;
}

.connect-bottombar__item.active,
.connect-bottombar__item:active {
  color: var(--wigg-green);
}

.connect-bottombar__item svg {
  width: 22px;
  height: 22px;
}

.connect-bottombar__label {
  font-size: 9px;
  font-weight: 500;
}

/* -------------------------------------------------------
   Cards
   ------------------------------------------------------- */
.card {
  background: var(--wigg-card);
  border: var(--border);
  border-radius: var(--r-card);
  padding: var(--sp-md);
}

.card--surface {
  background: var(--wigg-surface);
}

.card--flush {
  padding: 0;
  overflow: hidden;
}

.card + .card {
  margin-top: var(--sp-sm);
}

/* -------------------------------------------------------
   Badges de type post
   ------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.badge--temoignage {
  background: var(--badge-temoignage-bg);
  color: var(--wigg-green);
  border: 0.5px solid var(--wigg-green);
}

.badge--flash {
  background: var(--badge-flash-bg);
  color: var(--wigg-amber);
  border: 0.5px solid var(--wigg-amber);
}

.badge--journal {
  background: var(--badge-journal-bg);
  color: var(--wigg-blue);
  border: 0.5px solid var(--wigg-blue);
}

.badge--question {
  background: var(--badge-question-bg);
  color: var(--wigg-pink);
  border: 0.5px solid var(--wigg-pink);
}

.badge--commerce {
  background: var(--badge-commerce-bg);
  color: var(--wigg-text-2);
  border: 0.5px solid var(--wigg-text-4);
}

.badge--green {
  background: var(--wigg-green-bg);
  color: var(--wigg-green);
  border: 0.5px solid var(--wigg-green);
}

/* -------------------------------------------------------
   Pills de statut
   ------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--wigg-surface);
  border: var(--border);
  color: var(--wigg-text-2);
  white-space: nowrap;
}

.pill--open {
  background: var(--wigg-green-bg);
  border-color: var(--wigg-green);
  color: var(--wigg-green);
}

/* Dot animé pour statut "ouvert" */
.pill--open::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wigg-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

/* -------------------------------------------------------
   Boutons
   ------------------------------------------------------- */

/* Bouton primaire vert */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  height: 44px;
  padding: 0 var(--sp-lg);
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s, opacity 0.15s;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--wigg-green);
  color: #fff;
  border: none;
}

.btn--primary:active {
  background: var(--wigg-green-dk);
}

.btn--primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Bouton secondaire ghost */
.btn--ghost {
  background: transparent;
  color: var(--wigg-text-2);
  border: var(--border);
}

.btn--ghost:active {
  background: var(--wigg-surface);
  color: var(--wigg-text-1);
}

/* Bouton full width */
.btn--full {
  width: 100%;
}

/* Bouton petit */
.btn--sm {
  height: 34px;
  padding: 0 var(--sp-md);
  font-size: 12px;
  border-radius: var(--sp-sm);
}

/* -------------------------------------------------------
   Inputs
   ------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.form-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--wigg-text-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--wigg-surface);
  border: var(--border);
  border-radius: var(--r-input);
  padding: 10px var(--sp-md);
  font-size: 14px;
  color: var(--wigg-text-1);
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--wigg-text-4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--wigg-green);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238a9ab5' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-textarea {
  resize: none;
  min-height: 80px;
  line-height: 1.6;
}

.form-hint {
  font-size: 10px;
  color: var(--wigg-text-3);
}

.form-error {
  font-size: 10px;
  color: var(--wigg-pink);
}

/* Compteur de caractères */
.char-counter {
  font-size: 10px;
  color: var(--wigg-text-3);
  text-align: right;
}

.char-counter.near-limit {
  color: var(--wigg-amber);
}

.char-counter.at-limit {
  color: var(--wigg-pink);
}

/* -------------------------------------------------------
   Avatars
   ------------------------------------------------------- */
.avatar {
  border-radius: var(--r-avatar);
  object-fit: cover;
  background: var(--wigg-surface);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--wigg-text-2);
  border: var(--border);
}

.avatar--sm  { width: 28px; height: 28px; font-size: 10px; }
.avatar--md  { width: 40px; height: 40px; font-size: 14px; }
.avatar--lg  { width: 56px; height: 56px; font-size: 20px; }
.avatar--xl  { width: 80px; height: 80px; font-size: 28px; }

/* -------------------------------------------------------
   Route géographique (carte de vie)
   ------------------------------------------------------- */
.life-route {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: 10px;
  color: var(--wigg-text-2);
  flex-wrap: wrap;
}

.life-route__flag {
  font-size: 16px;
  line-height: 1;
}

.life-route__city {
  font-size: 10px;
  color: var(--wigg-text-2);
}

.life-route__arrow {
  color: var(--wigg-green);
  font-size: 12px;
  flex-shrink: 0;
}

/* Route hero (grande version sur page profil) */
.life-route--hero {
  font-size: 13px;
  gap: var(--sp-sm);
}

.life-route--hero .life-route__flag {
  font-size: 28px;
}

.life-route--hero .life-route__city {
  font-size: 13px;
  color: var(--wigg-text-1);
}

.life-route--hero .life-route__arrow {
  font-size: 18px;
}

/* -------------------------------------------------------
   Progress bar (onboarding)
   ------------------------------------------------------- */
.progress-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-lg);
}

.progress-bar__step {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--wigg-surface);
  transition: background 0.3s;
}

.progress-bar__step.active {
  background: var(--wigg-green);
}

.progress-bar__step.done {
  background: var(--wigg-green-dk);
}

.progress-label {
  font-size: 10px;
  color: var(--wigg-text-3);
  text-align: center;
  margin-bottom: var(--sp-md);
}

/* -------------------------------------------------------
   Radio buttons avec icônes (statuts de vie)
   ------------------------------------------------------- */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.radio-card {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-md);
  background: var(--wigg-surface);
  border: var(--border);
  border-radius: var(--r-card);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.radio-card:has(input:checked) {
  border-color: var(--wigg-green);
  background: var(--wigg-green-bg);
}

.radio-card input[type="radio"] {
  display: none;
}

.radio-card__icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.radio-card__content {
  flex: 1;
}

.radio-card__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--wigg-text-1);
}

.radio-card__desc {
  font-size: 10px;
  color: var(--wigg-text-3);
  margin-top: 2px;
}

.radio-card__check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}

.radio-card:has(input:checked) .radio-card__check {
  background: var(--wigg-green);
  border-color: var(--wigg-green);
}

.radio-card:has(input:checked) .radio-card__check::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

/* -------------------------------------------------------
   Multi-select pays (chips cliquables)
   ------------------------------------------------------- */
.country-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  max-height: 200px;
  overflow-y: auto;
  padding: var(--sp-xs);
}

.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: var(--wigg-surface);
  border: var(--border);
  border-radius: var(--r-pill);
  font-size: 11px;
  color: var(--wigg-text-2);
  cursor: pointer;
  transition: all 0.15s;
}

.country-chip.selected {
  background: var(--wigg-green-bg);
  border-color: var(--wigg-green);
  color: var(--wigg-green);
}

.country-chip .flag {
  font-size: 14px;
}

/* -------------------------------------------------------
   Niveau de langue (1-5 étoiles)
   ------------------------------------------------------- */
.lang-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-md);
  background: var(--wigg-surface);
  border: var(--border);
  border-radius: var(--r-input);
}

.lang-item__name {
  flex: 1;
  font-size: 13px;
  color: var(--wigg-text-1);
}

.lang-stars {
  display: flex;
  gap: 3px;
}

.lang-stars__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wigg-border);
  cursor: pointer;
  transition: background 0.1s;
}

.lang-stars__dot.active {
  background: var(--wigg-green);
}

/* -------------------------------------------------------
   Stats (profil)
   ------------------------------------------------------- */
.stats-row {
  display: flex;
  gap: var(--sp-sm);
}

.stat-box {
  flex: 1;
  background: var(--wigg-surface);
  border: var(--border);
  border-radius: var(--r-card);
  padding: var(--sp-md) var(--sp-sm);
  text-align: center;
}

.stat-box__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--wigg-text-1);
  line-height: 1;
}

.stat-box__label {
  font-size: 9px;
  color: var(--wigg-text-3);
  margin-top: 4px;
  line-height: 1.3;
}

/* -------------------------------------------------------
   Tags verts (reconnu par la communauté)
   ------------------------------------------------------- */
.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  background: var(--wigg-green-bg);
  border: 0.5px solid var(--wigg-green);
  border-radius: var(--r-pill);
  font-size: 10px;
  color: var(--wigg-green);
}

/* -------------------------------------------------------
   Séparateur de section
   ------------------------------------------------------- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-md);
}

.section-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wigg-text-3);
}

/* -------------------------------------------------------
   Checkbox stylisée
   ------------------------------------------------------- */
.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  cursor: pointer;
}

.checkbox-wrap input[type="checkbox"] {
  display: none;
}

.checkbox-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: var(--border);
  background: var(--wigg-surface);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.checkbox-wrap:has(input:checked) .checkbox-box {
  background: var(--wigg-green);
  border-color: var(--wigg-green);
}

.checkbox-wrap:has(input:checked) .checkbox-box::after {
  content: '✓';
  font-size: 11px;
  color: #fff;
  font-weight: 700;
}

.checkbox-label {
  font-size: 13px;
  color: var(--wigg-text-1);
}

/* -------------------------------------------------------
   Testimonial card (landing)
   ------------------------------------------------------- */
.testimonial-card {
  background: var(--wigg-card);
  border: var(--border);
  border-radius: var(--r-card);
  padding: var(--sp-md);
}

.testimonial-card__route {
  margin-bottom: var(--sp-sm);
}

.testimonial-card__text {
  font-size: 12px;
  color: var(--wigg-text-2);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--sp-sm);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.testimonial-card__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--wigg-text-1);
}

.testimonial-card__meta {
  font-size: 10px;
  color: var(--wigg-text-3);
}

/* -------------------------------------------------------
   Hero landing
   ------------------------------------------------------- */
.hero-section {
  padding: var(--sp-2xl) 0 var(--sp-xl);
  text-align: center;
}

.hero-section__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--wigg-text-1);
  line-height: 1.3;
  margin-bottom: var(--sp-md);
}

.hero-section__title em {
  color: var(--wigg-green);
  font-style: normal;
}

.hero-section__subtitle {
  font-size: 13px;
  color: var(--wigg-text-2);
  line-height: 1.6;
  margin-bottom: var(--sp-lg);
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* Exemple miroir */
.mirror-example {
  background: var(--wigg-card);
  border: var(--border);
  border-radius: var(--r-card);
  padding: var(--sp-md);
  margin-bottom: var(--sp-xl);
  text-align: left;
}

.mirror-example__row {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) 0;
}

.mirror-example__row + .mirror-example__row {
  border-top: var(--border);
}

.mirror-example__flag {
  font-size: 22px;
  flex-shrink: 0;
}

.mirror-example__text {
  flex: 1;
  font-size: 12px;
  color: var(--wigg-text-2);
}

.mirror-example__text strong {
  color: var(--wigg-text-1);
  display: block;
  font-size: 13px;
}

.mirror-example__score {
  font-size: 11px;
  font-weight: 700;
  color: var(--wigg-green);
  background: var(--wigg-green-bg);
  padding: 3px 8px;
  border-radius: var(--r-pill);
}

/* -------------------------------------------------------
   Blocs de valeur (landing)
   ------------------------------------------------------- */
.value-blocks {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}

.value-block {
  background: var(--wigg-card);
  border: var(--border);
  border-radius: var(--r-card);
  padding: var(--sp-md);
  display: flex;
  gap: var(--sp-md);
  align-items: flex-start;
}

.value-block__icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.value-block__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--wigg-text-1);
  margin-bottom: 4px;
}

.value-block__desc {
  font-size: 12px;
  color: var(--wigg-text-2);
  line-height: 1.5;
}

/* -------------------------------------------------------
   Section titre (landing/profil)
   ------------------------------------------------------- */
.section-sep {
  height: 1px;
  background: var(--wigg-border);
  margin: var(--sp-xl) 0;
}

/* -------------------------------------------------------
   Spinner de chargement
   ------------------------------------------------------- */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--wigg-border);
  border-top-color: var(--wigg-green);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* -------------------------------------------------------
   Toast / notification
   ------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--wigg-surface);
  border: var(--border);
  border-radius: var(--r-btn);
  padding: var(--sp-sm) var(--sp-md);
  font-size: 12px;
  color: var(--wigg-text-1);
  z-index: 200;
  white-space: nowrap;
  animation: toast-in 0.2s ease;
}

.toast--success {
  border-color: var(--wigg-green);
  color: var(--wigg-green);
  background: var(--wigg-green-bg);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* -------------------------------------------------------
   Utilitaires
   ------------------------------------------------------- */
.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-xs  { gap: var(--sp-xs); }
.gap-sm  { gap: var(--sp-sm); }
.gap-md  { gap: var(--sp-md); }
.flex-1  { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.mt-xs  { margin-top: var(--sp-xs); }
.mt-sm  { margin-top: var(--sp-sm); }
.mt-md  { margin-top: var(--sp-md); }
.mt-lg  { margin-top: var(--sp-lg); }
.mt-xl  { margin-top: var(--sp-xl); }
.mb-sm  { margin-bottom: var(--sp-sm); }
.mb-md  { margin-bottom: var(--sp-md); }
.mb-lg  { margin-bottom: var(--sp-lg); }

.text-center { text-align: center; }
.text-right  { text-align: right; }

.hidden { display: none !important; }
.w-full { width: 100%; }

/* Italic bio */
.bio-text {
  font-style: italic;
  font-size: 13px;
  color: var(--wigg-text-2);
  line-height: 1.6;
}

/* -------------------------------------------------------
   Header partagé — wc-header (index, onboarding, profile)
   ------------------------------------------------------- */
.wc-header {
  height: 64px;
  background: var(--wigg-night);
  border-bottom: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-md);
  z-index: 100;
}

.wc-header__back {
  font-size: 12px;
  color: var(--wigg-text-3);
  white-space: nowrap;
  flex-shrink: 0;
}

.wc-header__back:active { color: var(--wigg-text-2); }

.wc-header__logo {
  height: 28px;
  width: auto;
}

/* -------------------------------------------------------
   Lang switcher
   ------------------------------------------------------- */
.wc-lang {
  position: relative;
  flex-shrink: 0;
}

.wc-lang__btn {
  font-size: 11px;
  font-weight: 600;
  color: var(--wigg-text-2);
  background: var(--wigg-surface);
  border: var(--border);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.wc-lang__btn:active { background: var(--wigg-border); }

.wc-lang__dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--wigg-card);
  border: var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  min-width: 70px;
  z-index: 200;
}

.wc-lang__option {
  display: block;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--wigg-text-1);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: var(--border);
}

.wc-lang__option:last-child { border-bottom: none; }
.wc-lang__option:active     { background: var(--wigg-surface); }

/* Nouvelles classes du markup statique */
.wc-lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.wc-lang-active {
  font-size: 11px;
  font-weight: 600;
  color: var(--wigg-text-2);
  background: var(--wigg-surface);
  border: var(--border);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.wc-lang-active:active { background: var(--wigg-border); }

.wc-lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--wigg-card);
  border: var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  min-width: 70px;
  z-index: 200;
}

.wc-lang-option {
  display: block;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--wigg-text-1);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: var(--border);
}

.wc-lang-option:last-child { border-bottom: none; }
.wc-lang-option:active     { background: var(--wigg-surface); }

.wc-lang-dropdown.open { display: block; }

/* Footer Connect */
.wc-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: var(--sp-lg) var(--sp-md);
  font-size: 11px;
  color: var(--wigg-text-4);
  border-top: var(--border);
}

.wc-footer a {
  color: var(--wigg-text-3);
}

.wc-footer a:active { color: var(--wigg-text-2); }

/* ===================================================
   COMPOSANTS PARTAGÉS — Feed / Group / Swipe
   =================================================== */

/* Tab panels */
.tab-panel         { display: none; }
.tab-panel.active  { display: block; }

/* Pulse dot */
.pulse-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--wigg-green);
  animation: pulse-dot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
.pulse-dot--amber { background: var(--wigg-amber); }
.pulse-dot--pink  { background: var(--wigg-pink); }

/* Traj line — règle absolue spec */
.traj-line {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--wigg-text-1);
  line-height: 1.15;
}

/* Helped button */
.helped-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: var(--wigg-text-3);
  background: none;
  border: var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.helped-btn.done {
  color: var(--wigg-green);
  border-color: var(--wigg-green);
  background: var(--wigg-green-bg);
}

/* Active count badge */
.active-count {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--wigg-green);
  font-weight: 500;
}

/* ===================================================
   FEED — Styles spécifiques
   =================================================== */

/* Sticky tab bar feed */
.feed-tabs {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--wigg-night);
  border-bottom: var(--border);
  display: flex;
  max-width: 480px;
  margin: 0 auto;
}
.feed-tab {
  flex: 1;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--wigg-text-3);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.feed-tab.active {
  color: var(--wigg-green);
  border-bottom-color: var(--wigg-green);
}
@media (max-width: 480px) {
  .feed-tabs { left: 0; right: 0; }
}

/* Reel hero — 72vh */
.reel-hero {
  position: relative;
  height: 72vh;
  min-height: 380px;
  max-height: 560px;
  overflow: hidden;
  background: var(--wigg-card);
}
.reel-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1c1005 0%, #3d2008 40%, #0f1e1a 100%);
}
.reel-hero__bg--portugal  { background: linear-gradient(160deg, #241508 0%, #4a2810 45%, #181208 100%); }
.reel-hero__bg--japan     { background: linear-gradient(160deg, #1a0a15 0%, #2d1525 40%, #100a1a 100%); }
.reel-hero__bg--thailand  { background: linear-gradient(160deg, #0a1508 0%, #0e2210 40%, #081508 100%); }
.reel-hero__bg--germany   { background: linear-gradient(160deg, #08101a 0%, #0a1828 40%, #06100f 100%); }
.reel-hero__skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.18;
}
.reel-hero__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 32px;
  background: linear-gradient(to top,
    rgba(10,15,30,0.97) 0%,
    rgba(10,15,30,0.7) 55%,
    transparent 100%);
}
.reel-hero__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.reel-hero__location {
  font-size: 11px;
  color: var(--wigg-text-3);
}
.reel-hero__quote {
  font-size: 19px;
  font-weight: 600;
  color: var(--wigg-text-1);
  line-height: 1.35;
  margin-bottom: 16px;
}
.reel-hero__author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reel-hero__author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--wigg-text-1);
}
.reel-hero__author-traj {
  font-size: 12px;
  color: var(--wigg-green);
  font-weight: 500;
}
.reel-hero__read-btn {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 16px;
  cursor: pointer;
}

/* Feed card list */
.feed-list {
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 14px 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Base feed card */
.feed-card {
  background: var(--wigg-card);
  border: var(--border);
  border-radius: 16px;
  padding: 14px;
}
.feed-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.feed-card__confirm {
  font-size: 10px;
  color: var(--wigg-text-3);
}
.feed-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--wigg-text-1);
  line-height: 1.35;
  margin-bottom: 7px;
}
.feed-card__body {
  font-size: 12px;
  color: var(--wigg-text-2);
  line-height: 1.55;
  margin-bottom: 12px;
}
.feed-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Journal progress inside card */
.journal-progress {
  height: 2px;
  background: var(--wigg-surface);
  border-radius: 2px;
  margin-bottom: 12px;
}
.journal-progress__bar {
  height: 100%;
  background: var(--wigg-blue);
  border-radius: 2px;
}

/* Profil discovery */
.profile-disc {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.profile-disc__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--wigg-green-bg);
  border: var(--border);
  display: flex;
  align-items: center; justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--wigg-green);
  flex-shrink: 0;
}
.profile-disc__info { flex: 1; }
.profile-disc__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--wigg-text-1);
  margin-bottom: 3px;
}
.profile-disc__traj {
  font-size: 12px;
  color: var(--wigg-green);
  font-weight: 600;
  margin-bottom: 5px;
}
.profile-disc__bio {
  font-size: 11px;
  color: var(--wigg-text-3);
  line-height: 1.5;
}

/* Section discover */
.discover-section,
.pays-section {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 14px 90px;
}

/* Mini globe */
.mini-globe-wrap {
  height: 120px;
  background: var(--wigg-card);
  border-bottom: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.mini-globe-svg {
  width: 120px; height: 120px;
}

/* Pays card */
.pays-card {
  background: var(--wigg-card);
  border: var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.pays-card__cover {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--wigg-surface);
  display: flex;
  align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.pays-card__info { flex: 1; }
.pays-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--wigg-text-1);
  margin-bottom: 4px;
}
.pays-card__meta {
  font-size: 11px;
  color: var(--wigg-text-3);
  line-height: 1.4;
}
.pays-card__cta {
  font-size: 11px;
  font-weight: 600;
  color: var(--wigg-green);
  background: var(--wigg-green-bg);
  border: 0.5px solid var(--wigg-green);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  white-space: nowrap;
}

/* ===================================================
   GROUP — Styles spécifiques
   =================================================== */

/* Hero pays */
.group-hero {
  position: relative;
  height: 110px;
  overflow: hidden;
}
.group-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #241508 0%, #1a1008 100%);
}
.group-hero__bg--portugal { background: linear-gradient(135deg, #241508 0%, #3d2008 60%, #181208 100%); }
.group-hero__bg--france   { background: linear-gradient(135deg, #08103d 0%, #0d1840 60%, #060d1a 100%); }
.group-hero__bg--thailand { background: linear-gradient(135deg, #0a1508 0%, #0e2210 60%, #081008 100%); }
.group-hero__bg--japan    { background: linear-gradient(135deg, #1a0a15 0%, #2d1525 60%, #10081a 100%); }
.group-hero__bg--spain    { background: linear-gradient(135deg, #200808 0%, #3d1010 60%, #180808 100%); }
.group-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,0.88) 0%, transparent 80%);
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
  gap: 12px;
}
.group-hero__info { flex: 1; }
.group-hero__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--wigg-text-1);
  margin-bottom: 5px;
}
.group-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: var(--wigg-text-2);
  flex-wrap: wrap;
}
.group-hero__actions {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.group-hero__btn {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
}
.group-hero__btn--join {
  background: var(--wigg-green);
  color: #fff;
  border: none;
}
.group-hero__btn--follow {
  background: none;
  color: var(--wigg-text-2);
  border: var(--border);
}

/* City tiles */
.city-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  padding: 10px 14px;
}
.city-tile {
  border-radius: 12px;
  padding: 14px 12px 12px;
  position: relative;
  cursor: pointer;
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: var(--border);
  overflow: hidden;
  transition: opacity 0.15s;
}
.city-tile:active { opacity: 0.8; }
.city-tile--warm  { background: linear-gradient(135deg, #2d1c0e 0%, #1a1008 100%); }
.city-tile--cool  { background: linear-gradient(135deg, #0d1a2d 0%, #08101a 100%); }
.city-tile--green { background: linear-gradient(135deg, #0d1a10 0%, #08100a 100%); }
.city-tile--base  { background: var(--wigg-surface); }
.city-tile__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--wigg-text-1);
  margin-bottom: 2px;
}
.city-tile__actifs {
  font-size: 10px;
  color: var(--wigg-green);
  margin-bottom: 6px;
}
.city-tile__bar {
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}
.city-tile__bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--wigg-green);
  transition: width 0.3s;
}

/* Group tabs */
.group-tabs {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--wigg-night);
  border-bottom: var(--border);
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 480px;
  margin: 0 auto;
}
.group-tabs::-webkit-scrollbar { display: none; }
.group-tab {
  flex-shrink: 0;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--wigg-text-3);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.group-tab.active {
  color: var(--wigg-green);
  border-bottom-color: var(--wigg-green);
}

/* Group section wrapper */
.group-section {
  max-width: 480px;
  margin: 0 auto;
  padding: 14px 14px 90px;
}

/* Doc Vivant blocks */
.doc-section-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--wigg-text-4);
  padding: 10px 0 6px;
}
.doc-block {
  background: var(--wigg-card);
  border: var(--border);
  border-radius: 10px;
  padding: 12px 12px 12px 10px;
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.doc-block__freshbar {
  width: 3px;
  border-radius: 2px;
  flex-shrink: 0;
  align-self: stretch;
}
.doc-block__freshbar--green  { background: #22c55e; }
.doc-block__freshbar--yellow { background: #ef9f27; }
.doc-block__freshbar--orange { background: #f97316; }
.doc-block__freshbar--red    { background: #d4537e; }
.doc-block__content { flex: 1; }
.doc-block__category {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--wigg-text-4);
  margin-bottom: 4px;
}
.doc-block__fact {
  font-size: 12px;
  font-weight: 500;
  color: var(--wigg-text-1);
  line-height: 1.45;
  margin-bottom: 6px;
}
.doc-block__confirm  { font-size: 10px; color: var(--wigg-text-3); }
.doc-block__warn     { font-size: 10px; color: var(--wigg-pink); }
.doc-block__validate {
  font-size: 11px;
  font-weight: 500;
  color: var(--wigg-green);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}

/* Journal series card */
.journal-series-card {
  background: var(--wigg-card);
  border: var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}
.journal-series__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--wigg-text-1);
  margin-bottom: 4px;
}
.journal-series__meta {
  font-size: 11px;
  color: var(--wigg-text-3);
  margin-bottom: 10px;
}
.journal-series__bar {
  height: 2px;
  background: var(--wigg-surface);
  border-radius: 2px;
  margin-bottom: 12px;
}
.journal-series__bar-fill {
  height: 100%;
  background: var(--wigg-blue);
  border-radius: 2px;
}
.journal-series__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Question card */
.question-card {
  background: var(--wigg-card);
  border: var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}
.question-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.question-card__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--wigg-text-1);
  line-height: 1.45;
  margin-bottom: 10px;
}
.question-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.question-card__author { font-size: 11px; color: var(--wigg-text-3); }
.question-card__reply {
  font-size: 11px;
  font-weight: 500;
  color: var(--wigg-green);
  background: var(--wigg-green-bg);
  border: 0.5px solid var(--wigg-green);
  border-radius: 20px;
  padding: 4px 12px;
  cursor: pointer;
}

/* Member row */
.member-row {
  background: var(--wigg-card);
  border: var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.member-row__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--wigg-surface);
  border: var(--border);
  display: flex;
  align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--wigg-green);
  flex-shrink: 0;
}
.member-row__info { flex: 1; }
.member-row__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--wigg-text-1);
  margin-bottom: 2px;
}
.member-row__meta { font-size: 11px; color: var(--wigg-text-3); }
.member-row__follow {
  font-size: 11px;
  font-weight: 600;
  color: var(--wigg-green);
  background: none;
  border: 0.5px solid var(--wigg-green);
  border-radius: 20px;
  padding: 4px 12px;
  cursor: pointer;
}

/* Mirrors teaser */
.mirrors-teaser {
  background: var(--wigg-card);
  border: var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 12px;
}
.mirrors-teaser__count {
  font-size: 36px;
  font-weight: 700;
  color: var(--wigg-green);
  margin-bottom: 6px;
}
.mirrors-teaser__label {
  font-size: 12px;
  color: var(--wigg-text-2);
  margin-bottom: 18px;
  line-height: 1.5;
}

/* ===================================================
   SWIPE — Styles spécifiques
   =================================================== */

.swipe-header {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 16px 12px;
}
.swipe-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--wigg-text-1);
  margin-bottom: 4px;
}
.swipe-subtitle {
  font-size: 12px;
  color: var(--wigg-text-3);
  margin-bottom: 4px;
}

/* Card stage */
.swipe-stage {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 14px;
  position: relative;
}

/* Stack shadow hint */
.swipe-stack-hint {
  position: absolute;
  bottom: -6px;
  left: 20px;
  right: 20px;
  height: 10px;
  background: var(--wigg-surface);
  border: var(--border);
  border-radius: 0 0 16px 16px;
  z-index: 0;
}
.swipe-stack-hint-2 {
  bottom: -11px;
  left: 26px;
  right: 26px;
  background: var(--wigg-night);
  border-radius: 0 0 14px 14px;
}

/* Swipe card */
.swipe-card {
  background: var(--wigg-card);
  border: var(--border);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.swipe-card__cover {
  height: 230px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.swipe-card__cover-bg {
  position: absolute;
  inset: 0;
}
.swipe-card__cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(10,15,30,0.95) 0%,
    rgba(10,15,30,0.4) 50%,
    transparent 100%);
}
.swipe-card__traj {
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}
.swipe-card__body { padding: 16px; }
.swipe-card__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--wigg-text-1);
  margin-bottom: 3px;
}
.swipe-card__status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.swipe-card__bio {
  font-size: 12px;
  color: var(--wigg-text-2);
  line-height: 1.55;
  margin-bottom: 12px;
  font-style: italic;
}
.swipe-card__highlight {
  background: var(--wigg-surface);
  border: var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--wigg-text-2);
  margin-bottom: 12px;
  line-height: 1.45;
}
.swipe-card__highlight strong { color: var(--wigg-blue); }
.swipe-card__mirror-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.swipe-mirror-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--wigg-green);
  background: var(--wigg-green-bg);
  border: 0.5px solid var(--wigg-green);
  padding: 3px 10px;
  border-radius: 20px;
}
.swipe-mirror-label {
  font-size: 10px;
  color: var(--wigg-text-3);
}

/* Swipe actions */
.swipe-actions {
  max-width: 480px;
  margin: 16px auto 0;
  padding: 0 14px 24px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 10px;
}
.swipe-btn {
  height: 50px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.15s, transform 0.1s;
  border: var(--border);
}
.swipe-btn:active { transform: scale(0.96); }
.swipe-btn--pass    { background: var(--wigg-surface); color: var(--wigg-text-3); }
.swipe-btn--profile { background: var(--wigg-surface); color: var(--wigg-text-2); }
.swipe-btn--follow  {
  background: var(--wigg-green);
  color: #fff;
  border-color: var(--wigg-green);
  font-size: 14px;
}

/* Counter */
.swipe-counter {
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 16px 0;
  font-size: 11px;
  color: var(--wigg-text-4);
  text-align: center;
}

/* Empty state */
.empty-state {
  padding: 48px 20px;
  text-align: center;
}
.empty-state__icon { font-size: 36px; margin-bottom: 14px; }
.empty-state__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--wigg-text-1);
  margin-bottom: 8px;
}
.empty-state__sub {
  font-size: 12px;
  color: var(--wigg-text-3);
  line-height: 1.6;
  margin-bottom: 20px;
}
