/* ==========================================================================
   C8L PINK BOOK — ESTILO PINTEREST + COSMOS + DRIBBBLE CON IDENTIDAD C8L
   Archivo: 01-proyectos-codigo/c8l-inicio/pinkbook/pinkbook.css
   Fondo blanco VIVO líquido (degradado perla/rosa/azul suave en movimiento),
   barra lateral fina (88 px en PC, 72 px en tableta, barra inferior en móvil),
   botones >= 44x44 px SOLO con icono, pestañita role="tooltip" (.pb-etiqueta),
   corazón 3D de 7 cristales latiendo a ~70 lpm, y mosaico de 6 col PC / 3-4 tableta / 2 móvil.
   ========================================================================== */

:root {
  --pb-bg: #faf9fb;
  --pb-surface: rgba(255, 255, 255, 0.90);
  --pb-surface-solid: #ffffff;
  --pb-text: #111118;
  --pb-muted: #5f5d6b;
  --pb-border: rgba(17, 17, 24, 0.08);
  --pb-pink: #e11d74;
  --pb-pink-soft: #fce7f3;
  --pb-gold: #f59e0b;
  --pb-cyan: #0ea5e9;
  --pb-sidebar-w: 88px;
  --pb-header-h: 76px;
  --pb-radius-pin: 16px;
  --pb-shadow-soft: 0 8px 28px rgba(17, 17, 24, 0.07);
  --pb-shadow-pop: 0 16px 42px rgba(17, 17, 24, 0.14);
}

body.pb-dark-mode {
  --pb-bg: #0f0e15;
  --pb-surface: rgba(22, 20, 31, 0.92);
  --pb-surface-solid: #181623;
  --pb-text: #f8fafc;
  --pb-muted: #a19eb5;
  --pb-border: rgba(255, 255, 255, 0.10);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--pb-bg);
  color: var(--pb-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* 1. FONDO BLANCO VIVO (LÍQUIDO SUAVE DE DOS TONOS PERLA / ROSA / AZUL) */
.pb-liquid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(135deg, #fbfbfe 0%, #f7f4f9 48%, #f2f7fc 100%);
}

body.pb-dark-mode .pb-liquid-bg {
  background: linear-gradient(135deg, #0d0c13 0%, #161221 50%, #0e1624 100%);
}

.pb-liquid-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(78px);
  opacity: 0.58;
  will-change: transform;
}

.pb-blob-1 {
  width: 680px;
  height: 680px;
  top: -140px;
  left: 8%;
  background: radial-gradient(circle, rgba(251, 207, 232, 0.65) 0%, rgba(251, 207, 232, 0) 70%);
  animation: pbLiquidMove1 22s ease-in-out infinite alternate;
}

.pb-blob-2 {
  width: 740px;
  height: 740px;
  bottom: -180px;
  right: 4%;
  background: radial-gradient(circle, rgba(224, 242, 254, 0.75) 0%, rgba(224, 242, 254, 0) 70%);
  animation: pbLiquidMove2 26s ease-in-out infinite alternate;
}

.pb-blob-3 {
  width: 560px;
  height: 560px;
  top: 32%;
  left: 44%;
  background: radial-gradient(circle, rgba(243, 232, 255, 0.55) 0%, rgba(254, 243, 199, 0.25) 55%, transparent 72%);
  animation: pbLiquidMove3 19s ease-in-out infinite alternate;
}

@keyframes pbLiquidMove1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(90px, 60px, 0) scale(1.12); }
}

@keyframes pbLiquidMove2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-85px, -65px, 0) scale(1.10); }
}

@keyframes pbLiquidMove3 {
  0% { transform: translate3d(0, 0, 0) scale(0.96); }
  100% { transform: translate3d(-55px, 45px, 0) scale(1.08); }
}

/* 2. BARRA LATERAL PRINCIPAL (<nav aria-label="Barra principal">) */
.pb-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--pb-sidebar-w);
  background: var(--pb-surface);
  backdrop-filter: blur(18px);
  border-right: 1px solid var(--pb-border);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 18px;
}

/* Logotipo Corazón 3D de 7 Cristales con auriculares: late como un corazón real (~70 lpm: 0.86s ciclo, dos golpes y pausa) */
.pb-logo-heart {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  margin-bottom: 6px;
  animation: pbHeartbeat70 0.86s infinite cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pb-logo-heart img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

@keyframes pbHeartbeat70 {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 2px 6px rgba(225, 29, 116, 0.28));
  }
  14% {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 14px rgba(225, 29, 116, 0.62)) drop-shadow(0 0 8px rgba(56, 189, 248, 0.45));
  }
  28% {
    transform: scale(1);
    filter: drop-shadow(0 2px 6px rgba(225, 29, 116, 0.30));
  }
  42% {
    transform: scale(1.05);
    filter: drop-shadow(0 3px 11px rgba(245, 158, 11, 0.52)) drop-shadow(0 0 6px rgba(225, 29, 116, 0.48));
  }
  65%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 2px 6px rgba(225, 29, 116, 0.25));
  }
}

.pb-nav-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.pb-nav-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.pb-nav-btn {
  position: relative;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 14px;
  border: none;
  background: transparent;
  color: var(--pb-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.16s ease, transform 0.14s ease, color 0.16s ease;
}

.pb-nav-btn:hover {
  background: rgba(225, 29, 116, 0.08);
}

.pb-nav-btn.active {
  background: #111118;
  color: #ffffff;
}

body.pb-dark-mode .pb-nav-btn.active {
  background: var(--pb-pink);
  color: #ffffff;
}

.pb-badge-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  border: 1.5px solid #ffffff;
}

.pb-badge-dot.pb-badge-pink {
  background: var(--pb-pink);
}

/* Pestañita / Tooltip flotante (.pb-etiqueta / role="tooltip") */
.pb-etiqueta {
  position: fixed;
  z-index: 220;
  background: #111118;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 9px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity 0.12s ease;
}

.pb-etiqueta.visible {
  opacity: 1;
  width: auto;
  overflow: visible;
}

/* 3. CABECERA SUPERIOR FIJA (BUSCADOR GRIS CLARO REDONDEADO A TODO EL ANCHO + CÁMARA + PERFIL) */
.pb-header {
  position: sticky;
  top: 0;
  z-index: 80;
  margin-left: var(--pb-sidebar-w);
  height: var(--pb-header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--pb-surface);
  backdrop-filter: blur(18px);
}

.pb-search-container {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  background: #efefef;
  border-radius: 999px;
  height: 48px;
  padding: 0 14px 0 16px;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body.pb-dark-mode .pb-search-container {
  background: #232030;
}

.pb-search-container:focus-within {
  background: var(--pb-surface-solid);
  border-color: var(--pb-pink);
  box-shadow: 0 0 0 4px rgba(225, 29, 116, 0.12);
}

.pb-search-icon {
  color: var(--pb-muted);
  flex-shrink: 0;
  margin-right: 10px;
}

.pb-search-input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--pb-text);
  font-size: 15px;
  outline: none;
}

.pb-search-clear {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  color: var(--pb-text);
  cursor: pointer;
  margin-right: 4px;
}

.pb-camera-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--pb-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.pb-camera-btn:hover {
  background: rgba(225, 29, 116, 0.10);
  color: var(--pb-pink);
}

/* Desplegable del buscador (Búsquedas recientes en 2 columnas + Sugerencias) */
.pb-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--pb-surface-solid);
  border-radius: 20px;
  box-shadow: var(--pb-shadow-pop);
  border: 1px solid var(--pb-border);
  padding: 18px 20px;
  z-index: 120;
}

.pb-recent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.pb-recent-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 12px;
  background: #f6f5f8;
  cursor: pointer;
  border: none;
  text-align: left;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--pb-text);
}

.pb-recent-card img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.pb-profile-area {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.pb-profile-btn,
.pb-chevron-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--pb-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pb-profile-btn:hover,
.pb-chevron-btn:hover {
  background: rgba(17, 17, 24, 0.06);
}

.pb-profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.pb-account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  background: var(--pb-surface-solid);
  border-radius: 20px;
  box-shadow: var(--pb-shadow-pop);
  border: 1px solid var(--pb-border);
  padding: 16px;
  z-index: 130;
}

.pb-acc-label {
  font-size: 11.5px;
  color: var(--pb-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.pb-acc-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(225, 29, 116, 0.05);
}

.pb-acc-sub {
  font-size: 12px;
  color: var(--pb-muted);
  margin-top: 2px;
}

.pb-divider {
  border: none;
  border-top: 1px solid var(--pb-border);
  margin: 12px 0;
}

.pb-menu-item {
  width: 100%;
  min-height: 40px;
  border: none;
  background: transparent;
  color: var(--pb-text);
  text-align: left;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.pb-menu-item:hover {
  background: rgba(17, 17, 24, 0.05);
}

.pb-menu-item.danger {
  color: #dc2626;
}

/* 4. CONTENEDOR PRINCIPAL (<main>) Y PESTAÑAS («Todos» subrayada) */
.pb-main {
  position: relative;
  z-index: 10;
  margin-left: var(--pb-sidebar-w);
  padding: 4px 24px 64px;
}

.pb-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 14px;
  scrollbar-width: none;
}

.pb-tabs-bar::-webkit-scrollbar {
  display: none;
}

.pb-tab-btn {
  flex-shrink: 0 !important;
  width: auto !important;
  min-width: max-content !important;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--pb-text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}

.pb-tab-btn.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 3px;
  border-radius: 999px;
  background: var(--pb-text);
}

/* Chips de colores y filtros */
.pb-chips-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 14px;
  scrollbar-width: none;
}

.pb-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--pb-border);
  background: var(--pb-surface-solid);
  color: var(--pb-text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.pb-chip.active {
  background: #111118;
  color: #ffffff;
}

.pb-chip-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

/* 5. PANEL CONTEXTUAL DE CADA UNO DE LOS 8 BOTONES DE LA BARRA */
.pb-context-panel {
  background: var(--pb-surface-solid);
  border-radius: 24px;
  border: 1px solid var(--pb-border);
  box-shadow: var(--pb-shadow-soft);
  padding: 22px 24px;
  margin-bottom: 20px;
}

.pb-context-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pb-context-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.pb-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--pb-border);
  background: #efefef;
  color: #111118;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.pb-btn.primary {
  background: var(--pb-pink);
  color: #ffffff;
  border-color: transparent;
}

.pb-btn.primary:hover {
  background: #be185d;
}

/* 6. MOSAICO DE PINES (.pb-masonry)
   - PC (1920 px): 6 columnas (requisito >=5 columnas)
   - Tableta (768 px): 3–4 columnas
   - Móvil (390 px): 2 columnas
   Usamos columnas flex verticales (.pb-masonry-col) o CSS grid/columns para que cada tarjeta conserve su proporción real sin huecos */
.pb-masonry {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.pb-masonry-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.pb-pin {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: zoom-in;
  position: relative;
  user-select: none;
}

.pb-pin-card-media {
  position: relative;
  width: 100%;
  border-radius: var(--pb-radius-pin);
  overflow: hidden;
  background: #f1eff5;
}

.pb-pin-card-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--pb-radius-pin);
  transition: transform 0.22s ease;
}

.pb-pin:hover .pb-pin-card-media img {
  transform: scale(1.015);
}

.pb-pin-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.04) 45%, rgba(0, 0, 0, 0.42) 100%);
  opacity: 0;
  transition: opacity 0.16s ease;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pb-pin:hover .pb-pin-hover {
  opacity: 1;
}

.pb-pin-hover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.pb-pin-board-pill {
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.48);
  padding: 6px 10px;
  border-radius: 999px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-pin-save-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  background: var(--pb-pink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.pb-pin-hover-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.pb-pin-badge {
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(17, 17, 24, 0.68);
  padding: 4px 9px;
  border-radius: 999px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-pin-icon-mini {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #111118;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
}

.pb-pin-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 2px 0;
}

.pb-pin-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--pb-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-pin-more-dots {
  border: none;
  background: transparent;
  color: var(--pb-muted);
  font-size: 15px;
  padding: 2px 6px;
  border-radius: 999px;
  cursor: pointer;
}

/* 7. VISTA DE DETALLE DE UN PIN (COMO PINTEREST: IMAGEN A LA IZQUIERDA, ACCIONES Y AUTOR A LA DERECHA, «MÁS COMO ESTE» DEBAJO) */
.pb-pin-detail-view {
  margin: 8px 0 28px;
}

.pb-detail-card {
  max-width: 1080px;
  margin: 0 auto 32px;
  background: var(--pb-surface-solid);
  border-radius: 32px;
  box-shadow: var(--pb-shadow-pop);
  border: 1px solid var(--pb-border);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  overflow: hidden;
}

.pb-detail-media-col {
  background: #f6f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.pb-detail-media-col img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  border-radius: 20px;
}

.pb-detail-info-col {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pb-detail-top-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.pb-detail-icon-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pb-icon-action {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 999px;
  border: none;
  background: #f3f2f7;
  color: #111118;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.pb-icon-action:hover {
  background: #e5e4ec;
}

.pb-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--pb-border);
  border-bottom: 1px solid var(--pb-border);
}

.pb-author-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pb-author-meta img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.pb-Attribution-box {
  font-size: 12.5px;
  color: var(--pb-muted);
  background: #f8f7fb;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--pb-border);
}

.pb-more-like-this {
  margin-top: 18px;
}

.pb-more-like-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 18px;
}

/* 8. TABLETA (768 px) — Barra lateral fina (72 px), 3–4 columnas, botones >= 44x44 px SIN letras */
@media (max-width: 1100px) and (min-width: 700px) {
  :root {
    --pb-sidebar-w: 72px;
  }
  .pb-header {
    padding: 0 16px;
  }
  .pb-main {
    padding: 4px 16px 56px;
  }
  .pb-masonry {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
  .pb-detail-card {
    grid-template-columns: 1fr;
  }
}

/* 9. MÓVIL (< 700 px, ej. 390x844) — Barra ABAJO solo con iconos (>= 44x44 px, SIN letras), 2 columnas, viñetas compactas, paneles desde abajo */
@media (max-width: 699px) {
  :root {
    --pb-sidebar-w: 0px;
    --pb-header-h: 62px;
  }

  .pb-logo-heart {
    display: none;
  }

  .pb-sidebar {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    flex-direction: row;
    justify-content: space-around;
    padding: 0 4px;
    border-right: none;
    border-top: 1px solid var(--pb-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  }

  .pb-nav-group {
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
    width: 100%;
  }

  /* En móvil caben 7–8 iconos de >=44x44 o mostramos los principales sin desbordar */
  .pb-nav-bottom {
    display: none;
  }

  .pb-nav-btn {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    border-radius: 12px;
  }

  .pb-header {
    margin-left: 0;
    padding: 0 10px;
    gap: 8px;
  }

  .pb-search-container {
    height: 42px;
    padding: 0 8px 0 12px;
  }

  .pb-search-input {
    font-size: 13.5px;
  }

  .pb-main {
    margin-left: 0;
    padding: 4px 10px 82px;
  }

  .pb-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pb-masonry-col {
    gap: 12px;
  }

  .pb-pin-title {
    font-size: 11.5px;
  }

  .pb-context-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 60px;
    max-height: 76vh;
    overflow-y: auto;
    margin: 0;
    border-radius: 22px 22px 0 0;
    z-index: 88;
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.18);
  }

  .pb-detail-card {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .pb-detail-info-col {
    padding: 16px;
  }
}

/* 10. PREFERS-REDUCED-MOTION: corazón y fondo líquido quietos si el móvil o el sistema pide pocas animaciones */
@media (prefers-reduced-motion: reduce) {
  .pb-logo-heart,
  .pb-liquid-blob {
    animation: none !important;
  }
}
