.project-community {
  display: flex;
  gap: 8px;
  align-self: flex-start;
  margin: 10px 24px 0;
}
.project-community a {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  border: 1px solid #62696d;
  border-radius: 8px;
  background: #171b1e;
}
.project-community a:hover { background: #292d30; }
.project-community a:focus-visible {
  outline: 2px solid #e8bd77;
  outline-offset: 2px;
}
.project-community-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wechat-group-dialog {
  box-sizing: border-box;
  width: min(480px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 16px;
  overflow: auto;
  border: 1px solid #62696d;
  border-radius: 10px;
  background: #191919;
  color: #eeeae2;
}

.wechat-group-dialog:modal { overscroll-behavior: contain; }
.wechat-group-dialog::backdrop {
  background: #000b;
  overflow: hidden;
  overscroll-behavior: contain;
}

.wechat-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.wechat-group-header h2 { margin: 0; font: 600 17px/1.4 system-ui, sans-serif; }
.wechat-group-header form { margin: 0; }
.wechat-group-header button {
  min-width: 56px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #62696d;
  border-radius: 5px;
  background: #292d30;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.wechat-group-dialog img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 124px);
  margin: auto;
  object-fit: contain;
}
@media (max-width: 760px) {
  .project-community { margin-inline: 18px; }
}
