.memory-story-panel {
  display: grid;
  gap: 12px;
  min-height: 0;
  background:
    radial-gradient(circle at 88% 6%, rgba(255, 176, 95, .18), transparent 30%),
    linear-gradient(145deg, rgba(10, 27, 44, .94), rgba(37, 25, 47, .88));
}

.memory-story-hero {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 248, 223, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
}

.memory-story-hero b {
  color: #fff8df;
  font-family: var(--font-cute);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
}

.memory-story-hero p {
  color: #d7e7f5;
  font-family: var(--font-soft);
  font-size: 13px;
  line-height: 1.6;
}

.memory-story-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.memory-story-meta span {
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: #cfe0ee;
  background: rgba(255, 255, 255, .055);
  font-family: var(--font-soft);
  font-size: 12px;
  line-height: 1.35;
}

.memory-story-meta b {
  display: block;
  margin-bottom: 2px;
  color: #fff8df;
  font-family: var(--font-cute);
  font-size: 15px;
  font-weight: 400;
}

.memory-story-panel button {
  width: 100%;
  min-height: 42px;
}

body.focus-ui [data-view="bits"] .memory-story-panel { order: 1; }
body.focus-ui [data-view="bits"] .moments-panel { order: 2; }
body.focus-ui [data-view="bits"] .memory-panel { order: 3; }

@media (max-width: 390px) {
  .memory-story-meta {
    grid-template-columns: 1fr;
  }
}
