.pb-community {
  margin: 0 0 clamp(27px, 4vw, 44px);
  padding: clamp(16px, 3.4vw, 32px);
  border: 1px solid #d9d4bc;
  border-radius: 22px;
  background: #eeeddf;
}

.pb-community-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 17px;
}

.pb-community-heading h2 {
  margin: 0 0 6px;
  color: var(--pb-ink);
  font: 500 clamp(27px, 4vw, 39px) / 1.06 Georgia, serif;
  letter-spacing: -.035em;
}

.pb-community-heading p,
.pb-community-status {
  margin: 0;
  color: #625a4d;
  font-size: 14px;
  line-height: 1.55;
}

.pb-community-create {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 44px;
  color: #4a5536;
  font-size: 13px;
  font-weight: 750;
  text-underline-offset: 3px;
}

.pb-community-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pb-community-card {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  min-width: 0;
  padding: 10px 13px 11px 9px;
  border: 1px solid var(--pb-border);
  border-radius: 14px;
  background: #fffbf1;
}

.pb-community-visual {
  width: 85px;
  height: 85px;
  align-self: center;
}

.pb-community-visual svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pb-community-card h3 {
  margin: 2px 0 4px;
  font-size: 16px;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.pb-community-meta,
.pb-community-ingredients {
  margin: 0 0 6px;
  color: #655c4e;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.pb-community-meta {
  color: #4a5536;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.pb-community-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 2px;
  padding: 6px 10px;
  border: 1px solid #d7d8bb;
  border-radius: 9px;
  background: #eff0e0;
  text-align: left;
  color: #434b31;
  font-size: 12px;
  font-weight: 750;
}

.pb-community-open:hover:not(:disabled) {
  border-color: var(--pb-olive);
}

.pb-community-retry,
.pb-community-more {
  margin-top: 12px;
  background: #f8f6ec;
}

.pb-community-share {
  padding: 12px 0 0;
  border-top: 1px dashed var(--pb-border);
}

.pb-community-share .pb-secondary {
  background: #fffbf1;
  color: #49412f;
}

.pb-community-share .pb-help {
  margin: 7px 0 0;
  color: #625a4d;
}

.pb-community-success {
  margin: 9px 0 0;
  color: #435332;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.pb-community-label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
}

.pb-community-dialog input {
  display: block;
  width: 100%;
  min-height: 47px;
  margin-bottom: 16px;
  padding: 10px 13px;
  border: 1px solid #bcb09d;
  border-radius: 10px;
  background: #fffdf8;
  color: var(--pb-ink);
  font-size: 16px;
}

.pb-community-dialog .pb-confirm-error {
  margin: 0 0 13px;
}

#pizzaBuilder {
  scroll-margin-top: 16px;
}

@media (max-width: 650px) {
  .pb-community { border-radius: 16px; }
  .pb-community-heading { display: block; margin-bottom: 9px; }
  .pb-community-heading p, .pb-community-status { font-size: 13px; }
  .pb-community-card { grid-template-columns: 68px minmax(0, 1fr); }
  .pb-community-visual { width: 68px; height: 68px; }
  .pb-community-share .pb-secondary { width: 100%; }
}
