/* Little Space — pastel nursery theme layered on the base stylesheet */
.ls-theme {
  background: linear-gradient(180deg, #fdeef4 0%, #eef3ff 55%, #f2fbf4 100%);
  color: #4a3b52;
  font-family: "Quicksand", sans-serif;
  min-height: 100vh;
}
.ls-theme .nav.ls-nav {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f3d7e4;
}
.ls-theme .nav a, .ls-theme .btn-link { color: #7a5c88; }
.ls-theme .nav a.active { color: #d16a9f; }
.brand.ls-brand {
  font-family: "Pacifico", cursive;
  color: #d16a9f;
  font-size: 1.3rem;
}
.brand.ls-brand span { color: #8aa8e8; }

.ls-hero { text-align: center; padding: 46px 16px 26px; }
.ls-hero h1 {
  font-family: "Pacifico", cursive;
  font-size: clamp(1.9rem, 5vw, 3rem);
  color: #d16a9f;
  margin: 0 0 10px;
}
.ls-hero p { color: #8a7796; font-size: 1.05rem; }

.ls-card {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid #f3d7e4;
  border-radius: 24px;
  padding: 26px 24px;
  margin: 0 auto 26px;
  max-width: 760px;
  box-shadow: 0 8px 30px rgba(209, 106, 159, 0.08);
}
.ls-mood-bar { display:flex; align-items:center; gap:10px; max-width:760px; margin:0 auto 14px; font-size:0.88rem; color:#7a5c88; padding:0 4px; }
.ls-mood-pill { display:inline-block; padding:3px 14px; border-radius:50px; font-weight:700; font-size:0.82rem; background:#f9dff0; color:#c04f94; border:1.5px solid #f0b8d8; text-transform:capitalize; }
.ls-mood-pill.satisfied  { background:#e8f5e9; color:#2e7d32; border-color:#a5d6a7; }
.ls-mood-pill.playful    { background:#e3f2fd; color:#1565c0; border-color:#90caf9; }
.ls-mood-pill.bored      { background:#f5f5f5; color:#757575; border-color:#bdbdbd; }
.ls-mood-pill.demanding  { background:#fce4ec; color:#b71c1c; border-color:#ef9a9a; }
.ls-mood-pill.restless   { background:#fff3e0; color:#e65100; border-color:#ffcc80; }
.ls-mood-pill.displeased { background:#4a1942; color:#f8bbd0; border-color:#9c407a; }

.ls-photo-of-day .ls-pod-text { font-style:italic; color:#5a4a6a; margin:0 0 12px; line-height:1.6; }
.ls-pod-img { width:100%; border-radius:16px; max-height:420px; object-fit:cover; display:block; }
.ls-album-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(90px, 1fr)); gap:8px; }
.ls-album-thumb { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:12px; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease; background:#f3e6f2; }
.ls-album-thumb:hover { transform:scale(1.04); box-shadow:0 4px 14px rgba(180,120,190,.35); }

.ls-card h2 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  color: #b45786;
  margin: 0 0 16px;
  font-size: 1.25rem;
}
.ls-muted { color: #9b88a8; font-size: 0.92rem; }

.ls-breeze-msg {
  background: #fff6fa;
  border: 1px solid #f6dfe9;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.ls-breeze-msg h3 { margin: 0 0 6px; color: #c05f92; font-size: 1rem; }
.ls-breeze-msg p { margin: 0; white-space: pre-wrap; color: #5d4a68; }
.ls-breeze-msg time { display: block; margin-top: 8px; font-size: 0.75rem; color: #b8a4c4; }

.ls-locked { text-align: center; padding: 26px 10px; }
.ls-lock-icon { font-size: 2.4rem; margin-bottom: 8px; }

.ls-chat-box {
  background: #fbf7ff;
  border: 1px solid #e7dcf5;
  border-radius: 16px;
}
.ls-theme .chat-form input {
  background: #ffffff;
  border: 2px solid #f3d7e4;
  color: #4a3b52;
  border-radius: 999px;
}
.ls-theme .chat-form button {
  background: #d16a9f;
  color: #fff;
  border-radius: 999px;
  border: none;
}
.ls-theme .chat-form button:hover { background: #b45786; }
.ls-theme .msg.user { background: #e3ecff; color: #3d4a6b; }
.ls-theme .msg.assistant { background: #ffe4f0; color: #6b3d55; }
.ls-theme .reddit-share {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #ff4500;
  text-decoration: none;
  opacity: 0.75;
}
.ls-theme .reddit-share:hover { opacity: 1; text-decoration: underline; }
.ls-notice {
  background: #fff3cd; border: 2px dashed #e6b800; color: #7a5c00;
  border-radius: 14px; padding: 12px 16px; margin: 0 0 18px; font-weight: 600;
}
.ls-points { font-size: 1.1rem; }
.ls-board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .ls-board-grid { grid-template-columns: 1fr; } }
.ls-list { margin: 6px 0 0; padding-left: 18px; }
.ls-list li { margin-bottom: 6px; }
.chat-img { max-width: 100%; border-radius: 12px; display: block; }
.attach-btn { cursor: pointer; font-size: 1.2rem; align-self: center; }
#tts-toggle, #mic-btn { background: none; border: none; font-size: 1.2rem; cursor: pointer; }
.ls-footer.footer { color: #b8a4c4; }
.ls-scene-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.ls-scene { margin: 0; position: relative; }
.ls-scene-delete { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: none; border-radius: 50%; background: rgba(0,0,0,0.55); color: #fff; font-size: 0.8rem; line-height: 1; cursor: pointer; }
.ls-scene-delete:hover { background: rgba(200,30,60,0.85); }
.ls-scene-delete:disabled { opacity: 0.5; cursor: default; }
.ls-scene img { width: 100%; border-radius: 12px; display: block; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.ls-scene figcaption { margin-top: 4px; font-size: 0.75rem; text-align: center; }
/* Before/after pairing: original gallery photo beside its editorial re-shoot. */
.ls-scene-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-items: start; }
.ls-scene-pair figcaption { grid-column: 1 / -1; }
.ls-scene-before { position: relative; display: block; }
.ls-scene-before img { width: 100%; border-radius: 12px; display: block; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.ls-scene-pair-tag { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(0,0,0,0.55); color: #fff; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* "Let Bella watch" webcam supervision */
.supervision-bar { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
#watch-toggle {
  background: #fdeef4; border: 2px solid #f3d7e4; border-radius: 999px;
  padding: 6px 14px; font-size: 0.9rem; font-weight: 600; color: #d16a9f; cursor: pointer;
}
#watch-toggle:hover { background: #fbdff0; }
.watch-indicator {
  color: #c2185b; font-weight: 700; font-size: 0.9rem;
  animation: watch-pulse 2s ease-in-out infinite;
}
@keyframes watch-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
#watch-video { display: none; }

/* Ambush messages from Bella */
.ls-ambush {
  margin: 10px 0;
  padding: 12px 16px;
  border: 2px solid #e91e63;
  border-radius: 10px;
  background: rgba(233, 30, 99, 0.12);
  font-weight: 600;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.ls-ambush.ls-ambush-show { opacity: 1; transform: translateY(0); }
.blog-post { border-bottom: 1px dashed #d4bde0; padding: 14px 0; }
.blog-post:last-child { border-bottom: none; }
.blog-post h3 { margin: 0 0 4px; font-size: 1.05rem; color: #5a3d6b; }
.btn-listen { margin-top: 10px; background: #7a5c88; color: #fff; border: none; border-radius: 20px; padding: 5px 16px; font-size: 0.85rem; cursor: pointer; transition: background 0.2s; }
.btn-listen:hover:not(:disabled) { background: #c06ea0; }
.btn-listen:disabled { opacity: 0.65; cursor: default; }
