html.embed, body.embed-page {
  margin: 0;
  min-height: 100vh;
  background: none;
}

.embed-page .activity-shell {
  background: none;
}

.embed-page #newThread {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.embed-shell {
  min-height: 100vh;
  padding: 18px 18px 28px;
}

.embed-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.embed-search {
  flex: 1;
}

.embed-search input {
  width: 100%;
}

.embed-page .activity-item,
.embed-page .thread {
  text-decoration: none;
  color: inherit;
}

.embed-page .activity-item:hover h4,
.embed-page .thread:hover .thread-title {
  text-decoration: underline;
}

.embed-powered {
  margin-top: 22px;
  text-align: center;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7a6f66;
}

.embed-powered a {
  color: inherit;
}

.embed-back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

body.embed-readonly #newThread,
body.embed-readonly #replyButton,
body.embed-readonly #authButton {
  display: none;
}

.read-only-note {
  margin: 0 0 16px;
  color: var(--muted, #647681);
  font-size: 14px;
}
