body.home {
  background:
    linear-gradient(150deg, rgba(31, 111, 235, 0.13) 0 22%, transparent 22% 100%),
    linear-gradient(28deg, rgba(245, 158, 11, 0.18) 0 20%, transparent 20% 100%),
    linear-gradient(180deg, #f8fbff 0, #ffffff 48%, #f7fbf6 100%);
}

.preview-write {
  grid-column: 1 / 5;
  grid-row: 1 / 5;
  background: linear-gradient(180deg, #fff8df, #ffffff);
}

.preview-card-mode {
  grid-column: 5 / 9;
  grid-row: 1 / 4;
  background: linear-gradient(180deg, #edf4ff, #ffffff);
}

.preview-rank {
  grid-column: 5 / 9;
  grid-row: 4 / 7;
  background: linear-gradient(180deg, #f1f8ed, #ffffff);
}

.preview-search {
  grid-column: 1 / 4;
  grid-row: 5 / 9;
}

.preview-place {
  grid-column: 4 / 9;
  grid-row: 7 / 9;
  background: #211c2b;
}

.preview-place strong,
.preview-place p,
.preview-place span {
  color: #ffffff;
}

.sync-band {
  background: #f5f9ff;
}

.trust-band {
  background: #fff8e8;
}

.markdown-card {
  overflow: hidden;
}

.file-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
}

.file-bar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #f59e0b;
}

.markdown-card pre {
  overflow: auto;
  margin: 0;
  padding: 22px;
  color: #2b3442;
  font: 15px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (max-width: 840px) {
  .preview-write,
  .preview-card-mode,
  .preview-rank,
  .preview-search,
  .preview-place {
    grid-column: auto;
    grid-row: auto;
  }
}
