body[data-page="profile"] .profile-reviews-top-grid {
  grid-template-columns: 1fr !important;
  justify-items: center;
}

body[data-page="profile"] .profile-review-ideas-card {
  display: none !important;
}

body[data-page="profile"] .profile-reviews-hero-card {
  grid-template-columns: minmax(0, 720px) !important;
  justify-content: center;
  width: min(100%, 760px);
  margin-inline: auto;
}

body[data-page="profile"] .profile-reviews-hero-copy {
  display: none !important;
}

body[data-page="profile"] .profile-review-composer-shell {
  order: 0;
  width: 100%;
}

body[data-page="profile"] .profile-review-compose-form {
  height: auto;
  min-height: 0;
  width: 100%;
}

body[data-page="profile"] .profile-review-book-picker {
  position: relative;
  display: grid;
  gap: 8px;
}

body[data-page="profile"] .profile-review-book-trigger,
body[data-page="profile"] .profile-review-book-menu .profile-review-book-row {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

body[data-page="profile"] .profile-review-book-trigger:focus-visible,
body[data-page="profile"] .profile-review-book-menu .profile-review-book-row:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}

body[data-page="profile"] .profile-review-book-row-caret {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

body[data-page="profile"] .profile-review-book-menu {
  position: absolute;
  inset: calc(100% + 8px) 0 auto 0;
  z-index: 20;
  display: grid;
  gap: 6px;
  max-height: 280px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-card) 94%, var(--bg-elevated) 6%);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

body[data-page="profile"] .profile-review-book-menu[hidden] {
  display: none;
}

body[data-page="profile"] .profile-review-form-grid-compact {
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1fr);
}

body[data-page="profile"] .profile-review-rating-stars {
  font-size: 19px;
}

body[data-page="profile"] .profile-review-form-footer {
  justify-content: flex-end;
}

body[data-page="profile"] .profile-review-publish-button {
  min-width: 180px;
}

body[data-page="profile"] .profile-review-tags-grid,
body[data-page="profile"] .profile-reviews-section .profile-reviews-empty-state,
body[data-page="profile"] .profile-reviews-section .profile-reviews-empty-state-clean {
  display: none !important;
}

@media (max-width: 760px) {
  body[data-page="profile"] .profile-review-form-grid-compact {
    grid-template-columns: 1fr;
  }

  body[data-page="profile"] .profile-review-publish-button {
    width: 100%;
  }
}
