bash

cat > /mnt/user-data/outputs/cleo.css << 'ENDOFFILE'
/* ═══════════════════════════════════════════════════════════════
   CLEO SOCIAL — Responsive Layout v2.0
   Móvil: topbar arriba + nav abajo
   Tablet/Desktop: nav lateral izquierda (como Instagram)
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Reset ────────────────────────────────────────────────────── */
#cleo-app, #cleo-app * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
#cleo-app {
  font-family: 'DM Sans', sans-serif;
  background: #F5F2EC;
  position: fixed;
  inset: 0;
  overflow: hidden;
}
#cleo-app ::-webkit-scrollbar { display: none; }
#cleo-app input, #cleo-app textarea, #cleo-app button {
  font-family: 'DM Sans', sans-serif;
  outline: none;
  border: none;
}
#cleo-app button { cursor: pointer; background: transparent; }

/* ══════════════════════════════════════════════════════════════
   MÓVIL (< 768px) — topbar arriba, nav abajo
══════════════════════════════════════════════════════════════ */
#cleo-root {
  width: 100%;
  height: 100dvh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #F5F2EC;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

/* Topbar visible en móvil */
.cl-topbar {
  background: #FDFBF7;
  border-bottom: 1px solid #E8E3D8;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  z-index: 50;
}

/* Área de scroll */
.cl-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* Nav inferior en móvil */
.cl-bottomnav {
  background: #FDFBF7;
  border-top: 1px solid #E8E3D8;
  display: flex;
  flex-shrink: 0;
  z-index: 50;
  padding-bottom: env(safe-area-inset-bottom, 4px);
}
.cl-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 0 7px;
  color: #9A8E7C;
  font-size: 10px;
  font-weight: 400;
  transition: color 0.15s;
  position: relative;
}
.cl-nav-btn.active { color: #BF8D2C; }
.cl-nav-btn span { display: block; }
.cl-nav-action-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0 7px;
  cursor: pointer;
}
.cl-nav-action {
  background: #BF8D2C;
  border-radius: 13px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: -10px;
  box-shadow: 0 3px 12px rgba(191,141,44,0.38);
}

/* ══════════════════════════════════════════════════════════════
   TABLET (768px - 1199px) — nav lateral compacta (solo iconos)
══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  #cleo-app {
    display: flex;
    flex-direction: row;
  }

  /* Nav lateral izquierda */
  .cl-bottomnav {
    width: 72px;
    height: 100dvh;
    height: 100vh;
    flex-direction: column;
    border-top: none;
    border-right: 1px solid #E8E3D8;
    padding: 0;
    padding-bottom: 0;
    align-items: center;
    justify-content: flex-start;
    padding-top: 12px;
    gap: 4px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
  }

  .cl-nav-btn {
    width: 100%;
    flex: 0;
    flex-direction: column;
    padding: 12px 0;
    font-size: 9px;
  }

  /* Ocultar labels en tablet */
  .cl-nav-btn span { display: none; }

  .cl-nav-action-wrap {
    flex: 0;
    width: 100%;
    padding: 12px 0;
  }
  .cl-nav-action { margin-top: 0; }

  /* Shell principal desplazado a la derecha */
  #cleo-root {
    margin-left: 72px;
    width: calc(100% - 72px);
    max-width: 100%;
  }

  /* Topbar: ocultar en tablet/desktop (el logo va en la nav lateral) */
  .cl-topbar {
    display: none;
  }

  /* Logo en la nav lateral */
  .cl-bottomnav::before {
    content: 'Cleo𓂀';
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    font-weight: 600;
    color: #1A1916;
    padding: 16px 0 20px;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid #E8E3D8;
    margin-bottom: 8px;
    flex-shrink: 0;
  }

  /* Iconos de mensajes y notificaciones: van al final de la nav */
  .cl-topbar-icons { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   DESKTOP (≥ 1200px) — nav lateral con labels (como Instagram)
══════════════════════════════════════════════════════════════ */
@media (min-width: 1200px) {
  /* Nav lateral ancha con labels */
  .cl-bottomnav {
    width: 220px;
    align-items: flex-start;
    padding: 0 12px;
    padding-top: 12px;
    gap: 2px;
  }

  .cl-nav-btn {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
  }
  .cl-nav-btn:hover { background: #F0EBE0; }
  .cl-nav-btn.active { color: #BF8D2C; background: #FBF6E9; }

  /* Mostrar labels en desktop */
  .cl-nav-btn span { display: block; }

  .cl-nav-action-wrap {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 8px 14px;
    width: 100%;
  }
  .cl-nav-action {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  /* Logo más grande */
  .cl-bottomnav::before {
    font-size: 22px;
    padding: 20px 14px 24px;
    text-align: left;
    border-bottom: none;
    margin-bottom: 4px;
  }

  /* Contenido centrado con max-width */
  #cleo-root {
    margin-left: 220px;
    width: calc(100% - 220px);
    max-width: 100%;
  }

  /* Contenido con max-width para no estirar demasiado */
  .cl-scroll > * {
    max-width: 630px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ══════════════════════════════════════════════════════════════
   COMPONENTES (igual en todos los breakpoints)
══════════════════════════════════════════════════════════════ */

/* Badges */
.cl-badge {
  position: absolute;
  top: 4px; right: 4px;
  background: #D95555;
  color: #fff;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid #FDFBF7;
}
.cl-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: #1A1916;
}
.cl-icon-btn {
  padding: 7px;
  color: #1A1916;
  position: relative;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.cl-icon-btn:hover { background: #F0EBE0; }

/* Post */
.cl-post { background: #FDFBF7; border-bottom: 8px solid #F5F2EC; }
.cl-post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px 7px;
}
.cl-avatar {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
}
.cl-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-post-caption { font-size: 14px; color: #1A1916; padding: 0 14px 9px; line-height: 1.5; }
.cl-post-img { width: 100%; display: block; max-height: 520px; object-fit: cover; cursor: zoom-in; }
.cl-post-actions { display: flex; align-items: center; gap: 2px; padding: 8px 10px 7px; }
.cl-action-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 9px; font-size: 13px; font-weight: 500;
  color: #9A8E7C; border-radius: 9px; transition: all 0.15s;
}
.cl-action-btn:hover { background: #F0EBE0; }
.cl-action-btn.liked { color: #D95555; }

/* Comments */
.cl-comments { border-top: 1px solid #E8E3D8; padding: 4px 12px 8px; }
.cl-comment-row { display: flex; gap: 9px; padding: 7px 0; border-bottom: 1px solid #F0EBE0; }
.cl-comment-row:last-child { border-bottom: none; }
.cl-comment-input-row { display: flex; gap: 9px; padding: 8px 12px 10px; align-items: center; border-top: 1px solid #E8E3D8; }
.cl-comment-input { flex: 1; font-size: 13px; color: #1A1916; padding: 6px 0; background: transparent; }
.cl-comment-input::placeholder { color: #B5A898; }
.cl-send-btn {
  background: #BF8D2C; border-radius: 50%; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0; border: none;
}

/* Compose */
.cl-compose { background: #FDFBF7; border-bottom: 8px solid #F5F2EC; padding: 12px 14px; display: flex; gap: 10px; align-items: center; }
.cl-compose-trigger { flex: 1; padding: 10px 15px; border-radius: 22px; border: 1px solid #E8E3D8; background: #F5F2EC; font-size: 13px; color: #B5A898; cursor: pointer; text-align: left; }

/* Overlay */
.cl-overlay {
  position: absolute; inset: 0; z-index: 80;
  display: flex; flex-direction: column;
  background: #FDFBF7; animation: clSlideUp 0.22s ease; overflow: hidden;
}
.cl-overlay-header { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid #E8E3D8; background: #FDFBF7; flex-shrink: 0; }
.cl-overlay-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: #1A1916; }
.cl-back-btn { padding: 4px; border-radius: 7px; color: #1A1916; display: flex; }
.cl-back-btn:hover { background: #F0EBE0; }

/* Lightbox */
.cl-lightbox { position: absolute; inset: 0; z-index: 100; background: rgba(0,0,0,0.96); display: flex; align-items: center; justify-content: center; cursor: zoom-out; animation: clFadeIn 0.18s ease; }
.cl-lightbox img { max-width: 96%; max-height: 92vh; object-fit: contain; border-radius: 6px; }
.cl-lightbox-close { position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,0.14); border: none; border-radius: 50%; width: 38px; height: 38px; color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* Modal */
.cl-modal-bg { position: absolute; inset: 0; z-index: 90; background: rgba(0,0,0,0.44); display: flex; align-items: flex-end; }
.cl-modal-sheet { background: #FDFBF7; border-radius: 20px 20px 0 0; width: 100%; padding-bottom: env(safe-area-inset-bottom, 16px); animation: clSlideUp 0.22s ease; max-height: 90vh; overflow-y: auto; }
.cl-modal-header { display: flex; align-items: center; padding: 13px 14px; border-bottom: 1px solid #E8E3D8; position: sticky; top: 0; background: #FDFBF7; z-index: 1; }
.cl-modal-title { flex: 1; text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; color: #1A1916; }

/* Confirm */
.cl-confirm-bg { position: absolute; inset: 0; z-index: 95; background: rgba(0,0,0,0.42); display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.cl-confirm-box { background: #FDFBF7; border-radius: 16px; padding: 26px 22px; width: 100%; max-width: 320px; text-align: center; animation: clSlideUp 0.2s ease; }

/* Messages */
.cl-conv-btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid #E8E3D8; background: transparent; text-align: left; transition: background 0.12s; border-left: none; border-right: none; border-top: none; }
.cl-conv-btn:hover { background: #F5F2EC; }
.cl-conv-btn.unread { background: rgba(245,236,207,0.35); }
.cl-msg-input { flex: 1; padding: 10px 14px; border-radius: 22px; background: #F5F2EC; border: 1px solid #E8E3D8; font-size: 14px; color: #1A1916; }
.cl-msg-send { width: 38px; height: 38px; border-radius: 50%; background: #BF8D2C; border: none; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }

/* Members */
.cl-members-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; }
@media (min-width: 768px) { .cl-members-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .cl-members-grid { grid-template-columns: repeat(4, 1fr); } }
.cl-member-card { background: #FDFBF7; border-radius: 14px; border: 1px solid #E8E3D8; padding: 18px 12px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.cl-member-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.07); }
.cl-member-name { font-weight: 600; font-size: 13px; color: #1A1916; }
.cl-member-handle { font-size: 11px; color: #9A8E7C; }

/* Profile */
.cl-profile-avatar-outer { position: absolute; top: -46px; left: 14px; }
.cl-profile-avatar-img { position: relative; display: inline-block; }
.cl-avatar-edit-btn { position: absolute; bottom: 2px; right: 2px; width: 26px; height: 26px; border-radius: 50%; background: #BF8D2C; border: 2px solid #FDFBF7; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }
.cl-cover-edit-btn { position: absolute; bottom: 10px; right: 12px; background: rgba(0,0,0,0.4); border-radius: 8px; padding: 6px 10px; color: #fff; cursor: pointer; display: flex; align-items: center; gap: 4px; font-size: 12px; }
.cl-stats-row { display: flex; border-top: 1px solid #E8E3D8; border-bottom: 1px solid #E8E3D8; }
.cl-stat-cell { flex: 1; text-align: center; padding: 10px 4px; border-right: 1px solid #E8E3D8; }
.cl-stat-cell:last-child { border-right: none; }
.cl-stat-val { font-weight: 700; font-size: 17px; color: #1A1916; }
.cl-stat-lbl { font-size: 10px; color: #9A8E7C; margin-top: 1px; }
.cl-profile-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; width: 100%; }
.cl-profile-grid3 .cl-grid-thumb { aspect-ratio: 1; overflow: hidden; cursor: pointer; background: #F0EAE0; }
.cl-profile-grid3 .cl-grid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-profile-tabs { display: flex; border-bottom: 1px solid #EDE9E0; background: #FDFBF7; }
.cl-ptab { flex: 1; padding: 10px 0; background: none; border: none; border-bottom: 2px solid transparent; font-size: 13px; font-weight: 500; color: #9A8E7C; cursor: pointer; transition: all 0.15s; }
.cl-ptab.active { color: #BF8D2C; border-bottom-color: #BF8D2C; font-weight: 600; }

/* Misc */
.cl-section-title { padding: 13px 14px 8px; font-size: 11px; font-weight: 600; color: #9A8E7C; letter-spacing: .08em; text-transform: uppercase; }
.cl-user-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #E8E3D8; }
.cl-online-dot { position: absolute; bottom: 1px; right: 1px; width: 10px; height: 10px; border-radius: 50%; background: #4DAF7D; border: 2px solid #FDFBF7; }
.cl-pill { padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 500; cursor: pointer; border: none; transition: all 0.15s; white-space: nowrap; }
.cl-pill-gold   { background: #BF8D2C; color: #fff; }
.cl-pill-light  { background: #F5ECCF; color: #BF8D2C; border: 1px solid #E8D8A8; }
.cl-pill-ghost  { background: transparent; color: #9A8E7C; border: 1px solid #E8E3D8; }
.cl-pill-red    { background: transparent; color: #D95555; border: 1.5px solid #f0c0c0; }
.cl-pill-green  { background: #4DAF7D; color: #fff; }
.cl-pill-danger { background: #D95555; color: #fff; }
.cl-notif-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid #E8E3D8; transition: background 0.1s; }
.cl-notif-row.unread { background: #FBF6E9; }
.cl-notif-dot { position: absolute; top: 1px; right: 1px; width: 9px; height: 9px; border-radius: 50%; background: #BF8D2C; border: 2px solid #FDFBF7; }
.cl-search-bar { display: flex; align-items: center; gap: 9px; background: #FDFBF7; border: 1px solid #E8E3D8; border-radius: 12px; padding: 9px 13px; margin: 14px; }
.cl-search-input { flex: 1; font-size: 14px; color: #1A1916; background: transparent; }
.cl-search-input::placeholder { color: #B5A898; }
.cl-spinner { display: flex; align-items: center; justify-content: center; padding: 40px; }
.cl-spinner::after { content: ''; width: 28px; height: 28px; border: 2.5px solid #E8E3D8; border-top-color: #BF8D2C; border-radius: 50%; animation: clSpin 0.7s linear infinite; }
.cl-toast { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); background: #1A1916; color: #fff; padding: 10px 18px; border-radius: 22px; font-size: 13px; font-weight: 500; z-index: 200; animation: clFadeIn 0.2s ease, clFadeOut 0.3s ease 2s forwards; white-space: nowrap; pointer-events: none; }
.cl-empty { padding: 50px 24px; text-align: center; color: #9A8E7C; }
.cl-empty-icon { font-size: 32px; margin-bottom: 10px; }
.cl-empty-text { font-size: 14px; line-height: 1.5; }
.cl-pub-preview { position: relative; padding: 0 14px 12px; display: inline-block; max-width: 100%; }
.cl-pub-preview img { max-height: 180px; border-radius: 10px; object-fit: cover; max-width: 100%; }
.cl-pub-remove { position: absolute; top: 4px; right: 18px; background: rgba(0,0,0,0.55); border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; cursor: pointer; }
.cl-pub-textarea { flex: 1; resize: none; font-size: 15px; color: #1A1916; line-height: 1.55; background: transparent; font-family: 'DM Sans', sans-serif; }
.cl-pub-textarea::placeholder { color: #B5A898; }
.cl-file-label { display: flex; align-items: center; gap: 6px; color: #BF8D2C; cursor: pointer; font-size: 13px; font-weight: 500; }
.cl-file-label input[type=file] { display: none; }

/* Utility */
.cl-flex { display: flex; } .cl-flex-1 { flex: 1; } .cl-center { align-items: center; }
.cl-gap8 { gap: 8px; } .cl-gap12 { gap: 12px; } .cl-muted { color: #9A8E7C; }
.cl-bold { font-weight: 600; } .cl-serif { font-family: 'Cormorant Garamond', serif; }

/* Fix mensajes */
#cleo-root .cl-bubble.me { background: #BF8D2C !important; color: #fff !important; }
#cleo-root .cl-bubble.them { background: #EDE9DF !important; color: #1A1916 !important; }
#cleo-root .cl-msg-send { background: #BF8D2C !important; color: #fff !important; border: none !important; }
#cleo-root .cl-msg-send svg { stroke: #fff !important; }

/* Login */
.cleo-login-wrap { background: #fff; border: 1px solid #E8E2D8; border-radius: 4px; padding: 3rem 2.5rem; box-shadow: 0 2px 24px rgba(28,26,23,0.06); text-align: center; }
.cleo-login-brand { margin-bottom: 2rem; }
.cleo-login-logo { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 400; color: #1C1A17; display: block; margin-bottom: 0.4rem; }
.cleo-login-brand p { font-size: 0.85rem; color: #7A7060; }
.cleo-login-footer { margin-top: 1.5rem; font-size: 0.82rem; color: #7A7060; }
.cleo-login-footer a { color: #B8915A; text-decoration: underline; }

/* Animations */
@keyframes clSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes clFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes clFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes clSpin { to { transform: rotate(360deg); } }
@keyframes clHeartPop { 0% { transform: scale(1); } 40% { transform: scale(1.65); } 70% { transform: scale(0.88); } 100% { transform: scale(1.1); } }
.cl-heart-pop { animation: clHeartPop 0.36s cubic-bezier(.17,.89,.32,1.49) forwards; }
ENDOFFILE
echo "OK"
Salida

OK