.publish-page {
  // Gradient via the shared variable (a content element, so it renders fine).
  min-height: 100vh;
  background: var(--app-bg);
  color: $fg;
}

.publish-nav {
  position: relative;
  z-index: 20;
  box-sizing: border-box;
  min-height: 54px;
  padding-left: 20px;
}

.publish-nav__row {
  height: 54px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 8px;
  box-sizing: border-box;
}

.publish-nav__leading {
  min-width: 38px;
  display: flex;
  align-items: center;
}

.publish-nav__title {
  flex: 1;
  font-family: $font-display;
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
  color: $fg;
  text-align: center;
}

.publish-page__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(45, 34, 85, 0.4);
  border: 1px solid rgba(216, 180, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.publish-page__scroll {
  height: calc(100vh - 54px);
  padding-bottom: 154px;
  box-sizing: border-box;
}

.publish-page__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 8px;
}

.publish-page__label {
  color: $muted;
  font: 600 11px / 1 $font-display;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.publish-page__custom {
  color: $accent;
  font: 400 11px / 1 $font-body;
}

.publish-page__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px;
}

.publish-page__notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 20px 170px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 217, 168, 0.08);
  border: 1px solid rgba(255, 217, 168, 0.15);
  color: $fg-2;
  font: 400 11px / 1.5 $font-body;
}

.publish-page__notice .publish-icon {
  color: $primary;
}
