.poem-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 1.25rem;
}

.poem-card {
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  padding: 18px;
}

.poem-head {
  margin-bottom: 10px;
}

.poem-title {
  margin: 0;
  font-size: 1.2rem;
  color: #222;
}

.poem-sub {
  margin-top: 4px;
  color: #666;
  font-size: 0.92rem;
}

.poem-date {
  margin-top: 6px;
  color: #7a7a7a;
  font-size: 0.85rem;
}

.poem-body {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.poem-main {
  width: 70%;
  min-width: 0;
}

.poem-raw {
  white-space: pre-wrap;
  line-height: 1.9;
  color: #2f2f2f;
}

.poem-stanza {
  margin: 0.6rem 0;
  white-space: pre-wrap;
  text-indent: 2em;
  line-height: 1.9;
  color: #2f2f2f;
}

.poem-note {
  flex: 1;
  border-left: 2px solid #f0f0f0;
  padding-left: 14px;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.75;
}

.poem-note:empty {
  display: none;
}

.poem-note-title {
  margin: 0 0 6px 0;
  color: #444;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.poem-note-text {
  margin: 0;
}

.poem-card:not(.has-note) .poem-main {
  width: 100%;
}

@media (max-width: 900px) {
  .poem-body {
    flex-direction: column;
    gap: 12px;
  }

  .poem-main,
  .poem-card:not(.has-note) .poem-main {
    width: 100%;
  }

  .poem-note {
    border-left: 0;
    border-top: 2px solid #f0f0f0;
    padding-left: 0;
    padding-top: 10px;
  }
}
