.dream-article-entry {
  display: grid;
  justify-items: start;
  gap: .625rem;
  max-width: 39rem;
  margin: 1.15rem 0 1.35rem;
  padding: clamp(.85rem, 3vw, 1.15rem) clamp(.95rem, 4vw, 1.3rem);
  border: 1px solid #6f4a49;
  border-radius: .75rem;
  background: #281c24;
  color: #f5e7d3;
}
.dream-article-entry p,
.dream-flow-intro p,
.dream-next-tool p { margin: 0; color: #d5bdb2; line-height: 1.55; }
.dream-flow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  padding: .65rem 1rem;
  border: 1px solid #f0b78e;
  border-radius: .5rem;
  background: #f0b78e;
  color: #261318 !important;
  font: 700 1rem/1.35 Arial, sans-serif;
  text-align: center;
  text-decoration: none !important;
}
.dream-flow-button:hover { background: #f5c6a9; }
.dream-flow-button:focus-visible { outline: 2px solid #f5e7d3; outline-offset: 3px; }
.dream-flow-intro {
  margin: 0 0 .85rem;
  padding: 1rem;
  border-left: 2px solid #f0b78e;
  background: #281c24;
}
.dream-flow-intro h2 { margin: 0 0 .4rem; }
.dream-next-tool {
  margin: 1.3rem 0 0;
  padding: 1rem;
  border: 1px solid #6f4a49;
  border-radius: .65rem;
  background: #281c24;
}
.dream-next-tool a { margin-top: .6rem; }
[data-dream-article-flow="checking"] .diary-library,
[data-dream-article-flow="login"] .diary-library,
[data-dream-article-flow] > .diary-heading aside,
[data-dream-article-flow="checking"] > .diary-heading div p:last-child,
[data-dream-article-flow="login"] > .diary-heading div p:last-child,
[data-dream-article-flow="checking"] .diary-editor-heading,
[data-dream-article-flow="login"] .diary-editor-heading,
[data-dream-article-flow="checking"] #dream-form,
[data-dream-article-flow="login"] #dream-form,
[data-dream-article-flow="checking"] #dream-analysis,
[data-dream-article-flow="login"] #dream-analysis,
[data-dream-article-flow="write"] .dream-processing-note,
[data-dream-article-flow] #dream-analyse[hidden] { display: none; }
[data-dream-article-flow="login"] #dream-account-status,
[data-dream-article-flow="checking"] #dream-account-status { display: none; }
@media (max-width: 540px) {
  .dream-article-entry { justify-items: stretch; }
  .dream-next-tool .dream-flow-button { width: 100%; }
}
