.page-studio-wall-body > main {
  background: var(--studio-page-background, #ffffff);
  color: var(--text);
  display: flow-root;
}

.page-studio-wall-body .secret-room-icon:not(:hover),
.page-studio-wall-body .secret-room-controls__status {
  color: var(--text);
}

.page-studio-wall-body .secret-room-controls__status.is-error {
  color: var(--studio-status-error, #b72d38);
}

/* These surfaces have their own background, not the owner's wall color. */
.page-studio-wall-body > main :is(
  .my-studio-publications__exposition,
  .my-studio-exhibition .locality-autocomplete__results, .my-studio-gallery-warning,
  .studio-cover, .my-studio-move-feedback, .my-studio-sort-handle,
  .member-gallery__about, .page-share__dialog, .my-studio-help
) {
  --text: #303030;
  --muted: #6b6258;
  --site-meta-color: #858585;
  --link: #303030;
  --link-hover: #5b0f19;
  --link-active: #5b0f19;
  --link-line: #c0c0c0;
  --link-hover-line: #eacccc;
  --accent: #265c4b;
  color: var(--text);
}

.page-studio-wall-body > main .my-studio-publications .my-studio-publications__exposition {
  /* Keep small labels readable when the black wall shows through the surface. */
  --muted: #303030;
}

.studio-appearance-form {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0;
  position: relative;
}

.studio-appearance-status:not(.visually-hidden) {
  background: #fff;
  border: 1px solid #c41a1a;
  border-radius: 6px;
  color: #9e1717;
  font-size: 13px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(230px, 65vw);
  z-index: 91;
}

.studio-appearance-retry {
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  padding: 0;
  text-decoration: underline;
}


.page-studio-wall-body .member-category-cloud__tag:nth-child(6n + 1) { color: var(--studio-tag-1); }
.page-studio-wall-body .member-category-cloud__tag:nth-child(6n + 2) { color: var(--studio-tag-2); }
.page-studio-wall-body .member-category-cloud__tag:nth-child(6n + 3) { color: var(--studio-tag-3); }
.page-studio-wall-body .member-category-cloud__tag:nth-child(6n + 4) { color: var(--studio-tag-4); }
.page-studio-wall-body .member-category-cloud__tag:nth-child(6n + 5) { color: var(--studio-tag-5); }
.page-studio-wall-body .member-category-cloud__tag:nth-child(6n) { color: var(--studio-tag-6); }
.page-studio-wall-body .member-category-cloud__tag:hover { color: var(--link-hover); }

.page-studio-wall-body .member-category-cloud__tag {
  /* Depth still uses scale and position; faded text loses contrast on a colored wall. */
  opacity: 1 !important;
}

@media (max-width: 720px) {
  .page-my-studio-body.page-studio-wall-body .gallery-index__topbar {
    flex-wrap: wrap;
  }

  .page-my-studio-body.page-studio-wall-body .gallery-index__topbar > h1,
  .page-my-studio-body.page-studio-wall-body .gallery-index__topbar > .my-studio-heading {
    flex-basis: 100%;
    margin-bottom: 0;
  }

  .page-studio-wall-body .my-studio-topbar__actions {
    width: 100%;
  }

  .page-studio-wall-body {
    --artwork-frame-width: 3px;
  }

}
