/* MyMappi v734 · optional emotional depth without visual clutter */

html body .app-shell .memory-inside-moment-editor,
html body main.app-shell .memory-inside-moment-editor {
  border: 1px solid rgba(15, 104, 112, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 8%, rgba(80, 201, 174, 0.13), transparent 32%),
    linear-gradient(145deg, rgba(249, 252, 248, 0.98), rgba(237, 247, 246, 0.96));
  box-shadow: 0 16px 36px rgba(3, 48, 65, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  padding: 0;
  overflow: clip;
}

html body .app-shell .memory-inside-moment-editor > summary,
html body main.app-shell .memory-inside-moment-editor > summary {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 14px;
  padding: 13px 16px;
  color: #063746;
  cursor: pointer;
  list-style: none;
}

html body .app-shell .memory-inside-moment-editor > summary::-webkit-details-marker,
html body main.app-shell .memory-inside-moment-editor > summary::-webkit-details-marker {
  display: none;
}

html body .app-shell .memory-inside-moment-editor > summary::after,
html body main.app-shell .memory-inside-moment-editor > summary::after {
  content: "+";
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f7fffc;
  background: linear-gradient(135deg, #063f55, #0a7c79);
  box-shadow: 0 8px 18px rgba(4, 70, 83, 0.18);
  font-size: 1.25rem;
  font-weight: 700;
}

html body .app-shell .memory-inside-moment-editor[open] > summary::after,
html body main.app-shell .memory-inside-moment-editor[open] > summary::after {
  content: "−";
}

html body .app-shell .memory-inside-moment-editor > summary > span,
html body main.app-shell .memory-inside-moment-editor > summary > span {
  font-size: 0.98rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

html body .app-shell .memory-inside-moment-editor > summary > small,
html body main.app-shell .memory-inside-moment-editor > summary > small {
  color: #59767a;
  font-size: 0.76rem;
  line-height: 1.35;
}

html body .app-shell .memory-inside-moment-editor[open] > :not(summary),
html body main.app-shell .memory-inside-moment-editor[open] > :not(summary) {
  margin-inline: 16px;
}

html body .app-shell .memory-inside-moment-editor[open] > :last-child,
html body main.app-shell .memory-inside-moment-editor[open] > :last-child {
  margin-bottom: 16px;
}

html body .app-shell .memory-inside-feature-field textarea,
html body main.app-shell .memory-inside-feature-field textarea {
  border-color: rgba(9, 115, 105, 0.3);
  background: rgba(255, 255, 251, 0.98);
  box-shadow: 0 8px 20px rgba(8, 69, 78, 0.06);
}

html body .app-shell .memory-sound-capture,
html body main.app-shell .memory-sound-capture {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(28, 132, 137, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(68, 211, 183, 0.18), transparent 34%),
    linear-gradient(140deg, rgba(2, 35, 57, 0.98), rgba(5, 82, 101, 0.96));
  color: #f7fffc;
  box-shadow: 0 15px 30px rgba(3, 48, 69, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

html body .app-shell .memory-sound-capture-heading,
html body main.app-shell .memory-sound-capture-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

html body .app-shell .memory-sound-capture-heading > span:last-child,
html body main.app-shell .memory-sound-capture-heading > span:last-child {
  display: grid;
  gap: 2px;
}

html body .app-shell .memory-sound-capture-heading strong,
html body main.app-shell .memory-sound-capture-heading strong {
  font-size: 0.92rem;
  color: #f7fffc;
}

html body .app-shell .memory-sound-capture-heading small,
html body main.app-shell .memory-sound-capture-heading small {
  color: rgba(231, 247, 244, 0.76);
  font-size: 0.72rem;
  line-height: 1.35;
}

html body .app-shell .memory-sound-capture-icon,
html body main.app-shell .memory-sound-capture-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #032c3f;
  background: linear-gradient(145deg, #d8fff1, #6cddbf);
  box-shadow: 0 8px 18px rgba(1, 23, 36, 0.24);
}

html body .app-shell .memory-sound-capture-actions,
html body main.app-shell .memory-sound-capture-actions {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

html body .app-shell #memoryVoicePickButton,
html body main.app-shell #memoryVoicePickButton {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-color: rgba(178, 242, 225, 0.4);
  color: #f7fffc;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

html body .app-shell .memory-sound-capture-status,
html body main.app-shell .memory-sound-capture-status {
  color: rgba(232, 250, 246, 0.8);
  font-size: 0.72rem;
  line-height: 1.3;
}

html body .app-shell .memory-sound-link-field,
html body main.app-shell .memory-sound-link-field {
  color: rgba(239, 252, 249, 0.84);
  font-size: 0.72rem;
}

html body .app-shell .memory-sound-link-field input,
html body main.app-shell .memory-sound-link-field input {
  border-color: rgba(188, 239, 227, 0.25);
  background: rgba(255, 255, 255, 0.94);
  color: #073c4d;
}

html body .app-shell .full-memory-capsule .memory-capsule-inside,
html body main.app-shell .full-memory-capsule .memory-capsule-inside {
  display: grid;
  gap: 13px;
}

html body .app-shell .full-memory-capsule .memory-capsule-inside-heading,
html body main.app-shell .full-memory-capsule .memory-capsule-inside-heading {
  display: grid;
  gap: 3px;
  padding: 2px 2px 1px;
}

html body .app-shell .full-memory-capsule .memory-capsule-inside-heading > span,
html body main.app-shell .full-memory-capsule .memory-capsule-inside-heading > span {
  color: #0b7e78;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html body .app-shell .full-memory-capsule .memory-capsule-inside-heading h3,
html body main.app-shell .full-memory-capsule .memory-capsule-inside-heading h3 {
  margin: 0;
  color: #073746;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.16rem, 2vw, 1.42rem);
  font-weight: 650;
  letter-spacing: -0.025em;
}

html body .app-shell .full-memory-capsule .memory-capsule-inside-card,
html body main.app-shell .full-memory-capsule .memory-capsule-inside-card {
  display: grid;
  gap: 11px;
  padding: 15px;
  border: 1px solid rgba(7, 91, 101, 0.14);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 254, 248, 0.97), rgba(241, 249, 246, 0.95));
  box-shadow: 0 12px 28px rgba(5, 52, 65, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html body .app-shell .full-memory-capsule .memory-capsule-inside-card > header,
html body main.app-shell .full-memory-capsule .memory-capsule-inside-card > header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

html body .app-shell .full-memory-capsule .memory-capsule-inside-card > header > svg,
html body main.app-shell .full-memory-capsule .memory-capsule-inside-card > header > svg,
html body .app-shell .full-memory-capsule .memory-capsule-inside-card > header > [data-lucide],
html body main.app-shell .full-memory-capsule .memory-capsule-inside-card > header > [data-lucide] {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 13px;
  color: #08776f;
  background: rgba(116, 218, 190, 0.2);
}

html body .app-shell .full-memory-capsule .memory-capsule-inside-card > header > span:last-child,
html body main.app-shell .full-memory-capsule .memory-capsule-inside-card > header > span:last-child {
  display: grid;
  gap: 1px;
}

html body .app-shell .full-memory-capsule .memory-capsule-inside-card header small,
html body main.app-shell .full-memory-capsule .memory-capsule-inside-card header small {
  color: #6b8586;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

html body .app-shell .full-memory-capsule .memory-capsule-inside-card header strong,
html body main.app-shell .full-memory-capsule .memory-capsule-inside-card header strong {
  color: #073746;
  font-size: 0.88rem;
}

html body .app-shell .full-memory-capsule .memory-capsule-inside-card p,
html body main.app-shell .full-memory-capsule .memory-capsule-inside-card p,
html body .app-shell .full-memory-capsule .memory-capsule-inside-card blockquote,
html body main.app-shell .full-memory-capsule .memory-capsule-inside-card blockquote {
  margin: 0;
  color: #234f58;
  font-size: 0.91rem;
  line-height: 1.58;
}

html body .app-shell .full-memory-capsule .memory-capsule-what-stayed,
html body main.app-shell .full-memory-capsule .memory-capsule-what-stayed {
  border-color: rgba(18, 126, 116, 0.22);
  background:
    radial-gradient(circle at 94% 12%, rgba(87, 213, 177, 0.18), transparent 35%),
    linear-gradient(145deg, rgba(250, 255, 249, 0.98), rgba(232, 247, 241, 0.97));
}

html body .app-shell .full-memory-capsule .memory-capsule-what-stayed blockquote,
html body main.app-shell .full-memory-capsule .memory-capsule-what-stayed blockquote {
  color: #0a4652;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  font-style: italic;
  line-height: 1.55;
}

html body .app-shell .full-memory-capsule .memory-capsule-soundscape,
html body main.app-shell .full-memory-capsule .memory-capsule-soundscape {
  color: #f7fffc;
  border-color: rgba(48, 151, 157, 0.3);
  background:
    radial-gradient(circle at 90% 8%, rgba(72, 214, 178, 0.2), transparent 34%),
    linear-gradient(140deg, #03263e, #07596a 58%, #087c70);
  box-shadow: 0 16px 32px rgba(2, 42, 59, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

html body .app-shell .full-memory-capsule .memory-capsule-soundscape > header > svg,
html body main.app-shell .full-memory-capsule .memory-capsule-soundscape > header > svg,
html body .app-shell .full-memory-capsule .memory-capsule-soundscape > header > [data-lucide],
html body main.app-shell .full-memory-capsule .memory-capsule-soundscape > header > [data-lucide] {
  color: #063a4a;
  background: linear-gradient(145deg, #d9fff3, #75dfc1);
}

html body .app-shell .full-memory-capsule .memory-capsule-soundscape header strong,
html body main.app-shell .full-memory-capsule .memory-capsule-soundscape header strong,
html body .app-shell .full-memory-capsule .memory-capsule-soundscape .memory-capsule-voice-heading strong,
html body main.app-shell .full-memory-capsule .memory-capsule-soundscape .memory-capsule-voice-heading strong {
  color: #f7fffc;
}

html body .app-shell .full-memory-capsule .memory-capsule-soundscape header small,
html body main.app-shell .full-memory-capsule .memory-capsule-soundscape header small,
html body .app-shell .full-memory-capsule .memory-capsule-soundscape .memory-capsule-voice-heading small,
html body main.app-shell .full-memory-capsule .memory-capsule-soundscape .memory-capsule-voice-heading small {
  color: rgba(229, 248, 242, 0.74);
}

html body .app-shell .full-memory-capsule .memory-capsule-soundscape .memory-capsule-voice-row,
html body main.app-shell .full-memory-capsule .memory-capsule-soundscape .memory-capsule-voice-row {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

html body .app-shell .full-memory-capsule .memory-capsule-song,
html body main.app-shell .full-memory-capsule .memory-capsule-song {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(224, 251, 244, 0.16);
}

html body .app-shell .full-memory-capsule .memory-capsule-song > svg,
html body main.app-shell .full-memory-capsule .memory-capsule-song > svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 12px;
  color: #cffff0;
  background: rgba(255, 255, 255, 0.1);
}

html body .app-shell .full-memory-capsule .memory-capsule-song > span,
html body main.app-shell .full-memory-capsule .memory-capsule-song > span {
  display: grid;
  gap: 2px;
}

html body .app-shell .full-memory-capsule .memory-capsule-song small,
html body main.app-shell .full-memory-capsule .memory-capsule-song small {
  color: rgba(230, 248, 244, 0.7);
  font-size: 0.64rem;
}

html body .app-shell .full-memory-capsule .memory-capsule-song strong,
html body main.app-shell .full-memory-capsule .memory-capsule-song strong {
  color: #f7fffc;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

html body .app-shell .full-memory-capsule .memory-capsule-atmosphere > div,
html body main.app-shell .full-memory-capsule .memory-capsule-atmosphere > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

html body .app-shell .full-memory-capsule .memory-capsule-atmosphere > div > span,
html body main.app-shell .full-memory-capsule .memory-capsule-atmosphere > div > span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(8, 113, 111, 0.13);
  border-radius: 999px;
  color: #245d62;
  background: rgba(231, 247, 241, 0.74);
  font-size: 0.74rem;
  font-weight: 700;
}

html body .app-shell .full-memory-capsule .memory-capsule-atmosphere > div svg,
html body main.app-shell .full-memory-capsule .memory-capsule-atmosphere > div svg {
  width: 15px;
  height: 15px;
  color: #0a8277;
}

html body .app-shell .full-memory-capsule .memory-capsule-reflection,
html body main.app-shell .full-memory-capsule .memory-capsule-reflection {
  border-color: rgba(32, 92, 128, 0.18);
  background: linear-gradient(145deg, rgba(246, 250, 247, 0.98), rgba(231, 241, 245, 0.97));
}

html body .app-shell .full-memory-capsule .memory-capsule-story,
html body main.app-shell .full-memory-capsule .memory-capsule-story {
  margin: 0;
}

@media (max-width: 680px), (hover: none) and (pointer: coarse) {
  html body .app-shell .memory-sound-capture-actions,
  html body main.app-shell .memory-sound-capture-actions {
    grid-template-columns: 1fr;
  }

  html body .app-shell #memoryVoicePickButton,
  html body main.app-shell #memoryVoicePickButton {
    width: 100%;
  }

  html body .app-shell .full-memory-capsule .memory-capsule-inside,
  html body main.app-shell .full-memory-capsule .memory-capsule-inside {
    gap: 11px;
  }

  html body .app-shell .full-memory-capsule .memory-capsule-inside-card,
  html body main.app-shell .full-memory-capsule .memory-capsule-inside-card {
    padding: 13px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .app-shell .memory-inside-moment-editor > summary::after,
  html body main.app-shell .memory-inside-moment-editor > summary::after,
  html body .app-shell #memoryVoicePickButton,
  html body main.app-shell #memoryVoicePickButton {
    transition: none !important;
  }
}
