body.play-screen #panel .community-panel {
  color: var(--ui-ink);
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;

  & p { margin: 0; }
  & :is(h3, h4) { margin: 0 0 4px; font-weight: 900; }
  & h3 { font-size: 22px; }
  & h4 { font-size: 18px; }
  & :is(button, [tabindex]):focus-visible { outline: 2px solid #65428b; outline-offset: 2px; }
  & button {
    min-width: 44px;
    min-height: 44px;
    max-width: 100%;
    padding: 6px 12px;
    white-space: normal;
    line-height: 1.2;
  }

  & :is(.community-intro,.community-status:not(:empty)) {
    padding: 9px 12px;
    border-radius: 8px;
    background: #eee6f6;
    color: #604b60;
  }

  & .community-intro[data-pantry-complete="true"] { background: #edf5dd; color: #38542a; }
  & .community-status { margin-bottom: 10px; }
  & .community-status:empty { margin-bottom: 0; }

  & :is(.community-project,.community-recipes) {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 10px;
    margin-block: 12px;
  }

  & article {
    display: grid;
    justify-items: start;
    gap: 7px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #e3c8b9;
    border-radius: 10px;
    background: #fff3e3;
  }

  & .community-saved {
    border-color: #a6b58d;
    background: #edf5dd;
  }

  & [data-recipe-preview="true"] { border-color: #986bb1; }

  & .community-saved-label { display: inline-flex; align-items: center; gap: 4px; color: #38542a; }
  & .community-item { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; vertical-align: middle; }
  & .community-item canvas { flex: none; width: 40px; height: 40px; image-rendering: pixelated; }
  & .community-item > span { font-weight: 800; }
  & .community-item small { display: block; font-weight: 400; }

  & .community-focus {
    min-width: 0;
    margin: 16px 0;
    padding: 8px 12px 12px;
    border: 0;
    border-radius: 10px;
    background: #f1e7f6;
  }

  & .community-focus legend { padding: 0; font-size: 20px; font-weight: 900; }
  & .community-focus-options { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 8px; }
  & [data-community-tip] { font-weight: 800; }

  & .community-exchange { display: grid; gap: 6px; width: 100%; margin: 0; }
  & .community-exchange div {
    display: grid;
    grid-template-columns: minmax(60px, 1fr) minmax(0, 2fr);
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
    border-radius: 6px;
    background: #f1e7f6;
  }
  & .community-exchange div:last-child { background: #edf5dd; }
  & .community-exchange dt { font-size: 13px; font-weight: 800; }
  & .community-exchange dd { margin: 0; }
  & .community-exchange canvas { width: 32px; height: 32px; }

  & .community-stock { display: grid; gap: 4px; font-size: 13px; }
  & .community-stock canvas { width: 24px; height: 24px; }
  & .community-stock small { display: none; }

  & .community-preview {
    display: grid;
    gap: 6px;
    width: 100%;
    padding: 8px;
    border: 1px solid #d1bade;
    border-radius: 8px;
    background: #fff9ee;
  }
  & .community-actions { display: flex; flex-wrap: wrap; gap: 6px; }
}
